var/cache/review/twig/aa/aa03855f132eb195ce0a6e5f6a80002a.php line 72

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* ProfileList/list.html.twig */
  14. class __TwigTemplate_f49c39a4c43b1547c78629bf9b634da0 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'metaDescription' => [$this'block_metaDescription'],
  25.             'navbar' => [$this'block_navbar'],
  26.             'mainContainer' => [$this'block_mainContainer'],
  27.             'mainList' => [$this'block_mainList'],
  28.             'showMore' => [$this'block_showMore'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context)
  32.     {
  33.         // line 1
  34.         return "grid.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  40.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/list.html.twig"));
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/list.html.twig"));
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/list.html.twig"));
  45.         // line 3
  46.         $context["city"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'3$this->source); })()), "request", [], "any"falsefalsefalse3), "get", ["city"$this->extensions['App\Twig\DefaultCityExtension']->defaultCity()], "method"falsefalsefalse3);
  47.         // line 1
  48.         $this->parent $this->loadTemplate("grid.html.twig""ProfileList/list.html.twig"1);
  49.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  50.         
  51.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  52.         
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  54.         
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  56.     }
  57.     // line 5
  58.     public function block_title($context, array $blocks = [])
  59.     {
  60.         $macros $this->macros;
  61.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  62.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  63.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  65.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  67.         // line 6
  68.         echo "    ";
  69.         echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoExtension']->metaTitle(), "html"nulltrue);
  70.         echo "
  71. ";
  72.         
  73.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  74.         
  75.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  76.         
  77.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  78.     }
  79.     // line 9
  80.     public function block_metaDescription($context, array $blocks = [])
  81.     {
  82.         $macros $this->macros;
  83.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  84.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  85.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  86.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  87.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  88.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  89.         // line 10
  90.         echo "    <meta name=\"description\" content=\"";
  91.         echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoExtension']->metaDescription(), "html"nulltrue);
  92.         echo "\">
  93. ";
  94.         
  95.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  96.         
  97.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  98.         
  99.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  100.     }
  101.     // line 13
  102.     public function block_navbar($context, array $blocks = [])
  103.     {
  104.         $macros $this->macros;
  105.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  106.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar"));
  107.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  108.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar"));
  109.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  110.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar"));
  111.         // line 14
  112.         echo "    ";
  113.         $this->displayParentBlock("navbar"$context$blocks);
  114.         echo "
  115.     ";
  116.         // line 15
  117.         if (((isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'15$this->source); })()) && (twig_get_attribute($this->env$this->source, (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'15$this->source); })()), "currentPage", [], "any"falsefalsefalse15) >= 2))) {
  118.             // line 16
  119.             echo "        ";
  120.             $context["excludeRecommendationProfileIds"] = [];
  121.             // line 17
  122.             echo "        ";
  123.             $this->loadTemplate("Recommendations/_profile_recommendations.html.twig""ProfileList/list.html.twig"17)->display($context);
  124.             // line 18
  125.             echo "    ";
  126.         }
  127.         
  128.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  129.         
  130.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  131.         
  132.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  133.     }
  134.     // line 21
  135.     public function block_mainContainer($context, array $blocks = [])
  136.     {
  137.         $macros $this->macros;
  138.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  139.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  140.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  141.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  142.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  143.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  144.         // line 22
  145.         echo "    ";
  146.         echo $this->extensions['App\Twig\SeoExtension']->topHtml();
  147.         echo "
  148.     <h1>";
  149.         // line 23
  150.         echo $this->extensions['App\Twig\SeoExtension']->pageHeading();
  151.         echo "</h1>
  152.     ";
  153.         // line 24
  154.         $this->loadTemplate("ProfileList/geo_category_linkage.partial.html.twig""ProfileList/list.html.twig"24)->display($context);
  155.         // line 25
  156.         echo "
  157.     ";
  158.         // line 26
  159.         if ((array_key_exists("homepage_city_listings_block"$context) && (isset($context["homepage_city_listings_block"]) || array_key_exists("homepage_city_listings_block"$context) ? $context["homepage_city_listings_block"] : (function () { throw new RuntimeError('Variable "homepage_city_listings_block" does not exist.'26$this->source); })()))) {
  160.             // line 27
  161.             echo "        ";
  162.             if (twig_get_attribute($this->env$this->source, (isset($context["homepage_city_listings_block"]) || array_key_exists("homepage_city_listings_block"$context) ? $context["homepage_city_listings_block"] : (function () { throw new RuntimeError('Variable "homepage_city_listings_block" does not exist.'27$this->source); })()), "hasSaloons", [], "any"falsefalsefalse27)) {
  163.                 // line 28
  164.                 echo "            <h3><a href=\"";
  165.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("saloon_list.list_by_city", ["city" => twig_get_attribute($this->env$this->source, (isset($context["city"]) || array_key_exists("city"$context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.'28$this->source); })()), "uriIdentity", [], "any"falsefalsefalse28)]), "html"nulltrue);
  166.                 echo "\">Интим-салоны ";
  167.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source, (isset($context["city"]) || array_key_exists("city"$context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.'28$this->source); })()), "name", [], "any"falsefalsefalse28)), "html"nulltrue);
  168.                 echo "</a></h3>
  169.             <div class=\"row mb-3\">
  170.                 ";
  171.                 // line 30
  172.                 $this->loadTemplate("SaloonList/list.saloons.html.twig""ProfileList/list.html.twig"30)->display(twig_array_merge($context, ["saloons" => twig_get_attribute($this->env$this->source, (isset($context["homepage_city_listings_block"]) || array_key_exists("homepage_city_listings_block"$context) ? $context["homepage_city_listings_block"] : (function () { throw new RuntimeError('Variable "homepage_city_listings_block" does not exist.'30$this->source); })()), "saloons", [], "any"falsefalsefalse30)]));
  173.                 // line 31
  174.                 echo "            </div>
  175.         ";
  176.             }
  177.             // line 33
  178.             echo "
  179.         ";
  180.             // line 34
  181.             if (twig_get_attribute($this->env$this->source, (isset($context["homepage_city_listings_block"]) || array_key_exists("homepage_city_listings_block"$context) ? $context["homepage_city_listings_block"] : (function () { throw new RuntimeError('Variable "homepage_city_listings_block" does not exist.'34$this->source); })()), "hasMasseurs", [], "any"falsefalsefalse34)) {
  182.                 // line 35
  183.                 echo "            <h3><a href=\"";
  184.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("masseur_list.page", ["city" => twig_get_attribute($this->env$this->source, (isset($context["city"]) || array_key_exists("city"$context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.'35$this->source); })()), "uriIdentity", [], "any"falsefalsefalse35)]), "html"nulltrue);
  185.                 echo "\">Массажистки ";
  186.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source, (isset($context["city"]) || array_key_exists("city"$context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.'35$this->source); })()), "name", [], "any"falsefalsefalse35)), "html"nulltrue);
  187.                 echo "</a></h3>
  188.             <div class=\"row mb-3\">
  189.                 ";
  190.                 // line 37
  191.                 $this->loadTemplate("ProfileList/list.profiles.html.twig""ProfileList/list.html.twig"37)->display(twig_array_merge($context, ["profiles" => twig_get_attribute($this->env$this->source,                 // line 38
  192. (isset($context["homepage_city_listings_block"]) || array_key_exists("homepage_city_listings_block"$context) ? $context["homepage_city_listings_block"] : (function () { throw new RuntimeError('Variable "homepage_city_listings_block" does not exist.'38$this->source); })()), "masseurs", [], "any"falsefalsefalse38), "show_total_count" => false]));
  193.                 // line 41
  194.                 echo "            </div>
  195.         ";
  196.             }
  197.             // line 43
  198.             echo "    ";
  199.         }
  200.         // line 44
  201.         echo "
  202.     ";
  203.         // line 84
  204.         echo "
  205.     ";
  206.         // line 85
  207.         echo $this->extensions['Porpaginas\Twig\PorpaginasExtension']->renderPagination($this->env, (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'85$this->source); })()));
  208.         echo "
  209.     ";
  210.         // line 87
  211.         $this->displayBlock('mainList'$context$blocks);
  212.         // line 92
  213.         echo "
  214.     ";
  215.         // line 93
  216.         $this->displayBlock('showMore'$context$blocks);
  217.         // line 96
  218.         echo "
  219.     ";
  220.         // line 97
  221.         echo $this->extensions['Porpaginas\Twig\PorpaginasExtension']->renderPagination($this->env, (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'97$this->source); })()));
  222.         echo "
  223.     ";
  224.         // line 99
  225.         $context["cities_circle"] = $this->extensions['App\Twig\CityMainPagesLinkageExtension']->cityMainPagesLinkageCircle();
  226.         // line 100
  227.         echo "    ";
  228.         if ( !(null === (isset($context["cities_circle"]) || array_key_exists("cities_circle"$context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.'100$this->source); })()))) {
  229.             // line 101
  230.             echo "        <div class=\"city_main_pages_linkage_circle\">
  231.             <h3>Также рекомендуем:</h3>
  232.             ";
  233.             // line 103
  234.             if ( !(null === twig_get_attribute($this->env$this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle"$context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.'103$this->source); })()), 0, [], "array"falsefalsefalse103))) {
  235.                 echo "<a href=\"";
  236.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle"$context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.'103$this->source); })()), 0, [], "array"falsefalsefalse103), "href", [], "any"falsefalsefalse103), "html"nulltrue);
  237.                 echo "\"
  238.                                                     style=\"text-transform: capitalize;\">";
  239.                 // line 104
  240.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle"$context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.'104$this->source); })()), 0, [], "array"falsefalsefalse104), "text", [], "any"falsefalsefalse104), "html"nulltrue);
  241.                 echo "</a>
  242.                 <br/>";
  243.             }
  244.             // line 106
  245.             echo "            ";
  246.             if ( !(null === twig_get_attribute($this->env$this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle"$context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.'106$this->source); })()), 1, [], "array"falsefalsefalse106))) {
  247.                 echo "<a href=\"";
  248.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle"$context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.'106$this->source); })()), 1, [], "array"falsefalsefalse106), "href", [], "any"falsefalsefalse106), "html"nulltrue);
  249.                 echo "\"
  250.                                                     style=\"text-transform: capitalize;\">";
  251.                 // line 107
  252.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle"$context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.'107$this->source); })()), 1, [], "array"falsefalsefalse107), "text", [], "any"falsefalsefalse107), "html"nulltrue);
  253.                 echo "</a>";
  254.             }
  255.             // line 108
  256.             echo "        </div>
  257.     ";
  258.         }
  259.         // line 110
  260.         echo "
  261.     ";
  262.         // line 111
  263.         $context["cities_circle"] = $this->extensions['App\Twig\CityMainPagesLinkageByCountriesExtension']->cityMainPagesLinkageCircleByCountries();
  264.         // line 112
  265.         echo "    ";
  266.         if ( !(null === (isset($context["cities_circle"]) || array_key_exists("cities_circle"$context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.'112$this->source); })()))) {
  267.             // line 113
  268.             echo "        <div class=\"city_main_pages_linkage_circle\">
  269.             <h3>Также рекомендуем:</h3>
  270.             ";
  271.             // line 115
  272.             if ( !(null === twig_get_attribute($this->env$this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle"$context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.'115$this->source); })()), 0, [], "array"falsefalsefalse115))) {
  273.                 echo "<a href=\"";
  274.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle"$context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.'115$this->source); })()), 0, [], "array"falsefalsefalse115), "href", [], "any"falsefalsefalse115), "html"nulltrue);
  275.                 echo "\"
  276.                                                     style=\"text-transform: capitalize;\">";
  277.                 // line 116
  278.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle"$context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.'116$this->source); })()), 0, [], "array"falsefalsefalse116), "text", [], "any"falsefalsefalse116), "html"nulltrue);
  279.                 echo "</a>
  280.                 <br/>";
  281.             }
  282.             // line 118
  283.             echo "            ";
  284.             if ( !(null === twig_get_attribute($this->env$this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle"$context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.'118$this->source); })()), 1, [], "array"falsefalsefalse118))) {
  285.                 echo "<a href=\"";
  286.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle"$context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.'118$this->source); })()), 1, [], "array"falsefalsefalse118), "href", [], "any"falsefalsefalse118), "html"nulltrue);
  287.                 echo "\"
  288.                                                     style=\"text-transform: capitalize;\">";
  289.                 // line 119
  290.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle"$context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.'119$this->source); })()), 1, [], "array"falsefalsefalse119), "text", [], "any"falsefalsefalse119), "html"nulltrue);
  291.                 echo "</a>";
  292.             }
  293.             // line 120
  294.             echo "        </div>
  295.     ";
  296.         }
  297.         // line 122
  298.         echo "
  299.     ";
  300.         // line 129
  301.         echo "    ";
  302.         $context["circle"] = $this->extensions['App\Twig\InnerLinkageCircleExtension']->innerLinkageCircle("prostitutes");
  303.         // line 130
  304.         echo "    ";
  305.         if ( !(null === (isset($context["circle"]) || array_key_exists("circle"$context) ? $context["circle"] : (function () { throw new RuntimeError('Variable "circle" does not exist.'130$this->source); })()))) {
  306.             // line 131
  307.             echo "        <div class=\"inner_linkage_circle\">
  308.             <h3>Также интересуются:</h3>
  309.             <a href=\"";
  310.             // line 133
  311.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["circle"]) || array_key_exists("circle"$context) ? $context["circle"] : (function () { throw new RuntimeError('Variable "circle" does not exist.'133$this->source); })()), 0, [], "array"falsefalsefalse133), "href", [], "any"falsefalsefalse133), "html"nulltrue);
  312.             echo "\">";
  313.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["circle"]) || array_key_exists("circle"$context) ? $context["circle"] : (function () { throw new RuntimeError('Variable "circle" does not exist.'133$this->source); })()), 0, [], "array"falsefalsefalse133), "text", [], "any"falsefalsefalse133), "html"nulltrue);
  314.             echo "</a><br/>
  315.             <a href=\"";
  316.             // line 134
  317.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["circle"]) || array_key_exists("circle"$context) ? $context["circle"] : (function () { throw new RuntimeError('Variable "circle" does not exist.'134$this->source); })()), 1, [], "array"falsefalsefalse134), "href", [], "any"falsefalsefalse134), "html"nulltrue);
  318.             echo "\">";
  319.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["circle"]) || array_key_exists("circle"$context) ? $context["circle"] : (function () { throw new RuntimeError('Variable "circle" does not exist.'134$this->source); })()), 1, [], "array"falsefalsefalse134), "text", [], "any"falsefalsefalse134), "html"nulltrue);
  320.             echo "</a>
  321.         </div>
  322.     ";
  323.         }
  324.         // line 137
  325.         echo "
  326.     ";
  327.         // line 138
  328.         $context["districts_circle"] = $this->extensions['App\Twig\DistrictsLinkageExtension']->districtsLinkageCircle();
  329.         // line 139
  330.         echo "    ";
  331.         if ( !(null === (isset($context["districts_circle"]) || array_key_exists("districts_circle"$context) ? $context["districts_circle"] : (function () { throw new RuntimeError('Variable "districts_circle" does not exist.'139$this->source); })()))) {
  332.             // line 140
  333.             echo "        <div class=\"city_main_pages_linkage_circle\">
  334.             <h3>Также интересуются:</h3>
  335.             ";
  336.             // line 142
  337.             if ( !(null === twig_get_attribute($this->env$this->source, (isset($context["districts_circle"]) || array_key_exists("districts_circle"$context) ? $context["districts_circle"] : (function () { throw new RuntimeError('Variable "districts_circle" does not exist.'142$this->source); })()), 0, [], "array"falsefalsefalse142))) {
  338.                 echo "<a href=\"";
  339.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["districts_circle"]) || array_key_exists("districts_circle"$context) ? $context["districts_circle"] : (function () { throw new RuntimeError('Variable "districts_circle" does not exist.'142$this->source); })()), 0, [], "array"falsefalsefalse142), "href", [], "any"falsefalsefalse142), "html"nulltrue);
  340.                 echo "\"
  341.                                                        style=\"text-transform: capitalize;\">";
  342.                 // line 143
  343.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["districts_circle"]) || array_key_exists("districts_circle"$context) ? $context["districts_circle"] : (function () { throw new RuntimeError('Variable "districts_circle" does not exist.'143$this->source); })()), 0, [], "array"falsefalsefalse143), "text", [], "any"falsefalsefalse143), "html"nulltrue);
  344.                 echo "</a>
  345.                 <br/>";
  346.             }
  347.             // line 145
  348.             echo "            ";
  349.             if ( !(null === twig_get_attribute($this->env$this->source, (isset($context["districts_circle"]) || array_key_exists("districts_circle"$context) ? $context["districts_circle"] : (function () { throw new RuntimeError('Variable "districts_circle" does not exist.'145$this->source); })()), 1, [], "array"falsefalsefalse145))) {
  350.                 echo "<a href=\"";
  351.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["districts_circle"]) || array_key_exists("districts_circle"$context) ? $context["districts_circle"] : (function () { throw new RuntimeError('Variable "districts_circle" does not exist.'145$this->source); })()), 1, [], "array"falsefalsefalse145), "href", [], "any"falsefalsefalse145), "html"nulltrue);
  352.                 echo "\"
  353.                                                        style=\"text-transform: capitalize;\">";
  354.                 // line 146
  355.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["districts_circle"]) || array_key_exists("districts_circle"$context) ? $context["districts_circle"] : (function () { throw new RuntimeError('Variable "districts_circle" does not exist.'146$this->source); })()), 1, [], "array"falsefalsefalse146), "text", [], "any"falsefalsefalse146), "html"nulltrue);
  356.                 echo "</a>";
  357.             }
  358.             // line 147
  359.             echo "        </div>
  360.     ";
  361.         }
  362.         // line 149
  363.         echo "
  364.     ";
  365.         // line 150
  366.         $context["stations_circle"] = $this->extensions['App\Twig\StationPagesLinkageExtension']->stationMainPagesLinkageCircle();
  367.         // line 151
  368.         echo "    ";
  369.         if ( !(null === (isset($context["stations_circle"]) || array_key_exists("stations_circle"$context) ? $context["stations_circle"] : (function () { throw new RuntimeError('Variable "stations_circle" does not exist.'151$this->source); })()))) {
  370.             // line 152
  371.             echo "        <div class=\"station_pages_linkage_circle\">
  372.             <h3>Также интересуются:</h3>
  373.             ";
  374.             // line 154
  375.             if ( !(null === twig_get_attribute($this->env$this->source, (isset($context["stations_circle"]) || array_key_exists("stations_circle"$context) ? $context["stations_circle"] : (function () { throw new RuntimeError('Variable "stations_circle" does not exist.'154$this->source); })()), 0, [], "array"falsefalsefalse154))) {
  376.                 echo "<a
  377.                 href=\"";
  378.                 // line 155
  379.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["stations_circle"]) || array_key_exists("stations_circle"$context) ? $context["stations_circle"] : (function () { throw new RuntimeError('Variable "stations_circle" does not exist.'155$this->source); })()), 0, [], "array"falsefalsefalse155), "href", [], "any"falsefalsefalse155), "html"nulltrue);
  380.                 echo "\">";
  381.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["stations_circle"]) || array_key_exists("stations_circle"$context) ? $context["stations_circle"] : (function () { throw new RuntimeError('Variable "stations_circle" does not exist.'155$this->source); })()), 0, [], "array"falsefalsefalse155), "text", [], "any"falsefalsefalse155), "html"nulltrue);
  382.                 echo "</a><br/>";
  383.             }
  384.             // line 156
  385.             echo "            ";
  386.             if ( !(null === twig_get_attribute($this->env$this->source, (isset($context["stations_circle"]) || array_key_exists("stations_circle"$context) ? $context["stations_circle"] : (function () { throw new RuntimeError('Variable "stations_circle" does not exist.'156$this->source); })()), 1, [], "array"falsefalsefalse156))) {
  387.                 echo "<a
  388.                 href=\"";
  389.                 // line 157
  390.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["stations_circle"]) || array_key_exists("stations_circle"$context) ? $context["stations_circle"] : (function () { throw new RuntimeError('Variable "stations_circle" does not exist.'157$this->source); })()), 1, [], "array"falsefalsefalse157), "href", [], "any"falsefalsefalse157), "html"nulltrue);
  391.                 echo "\">";
  392.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["stations_circle"]) || array_key_exists("stations_circle"$context) ? $context["stations_circle"] : (function () { throw new RuntimeError('Variable "stations_circle" does not exist.'157$this->source); })()), 1, [], "array"falsefalsefalse157), "text", [], "any"falsefalsefalse157), "html"nulltrue);
  393.                 echo "</a>";
  394.             }
  395.             // line 158
  396.             echo "        </div>
  397.     ";
  398.         }
  399.         // line 160
  400.         echo "
  401.     ";
  402.         // line 161
  403.         $this->loadTemplate("last_girl_list.html.twig""ProfileList/list.html.twig"161)->display($context);
  404.         // line 162
  405.         echo "
  406.     ";
  407.         // line 164
  408.         echo "    ";
  409.         $this->loadTemplate("ProfileList/station_comments.partial.html.twig""ProfileList/list.html.twig"164)->display($context);
  410.         // line 165
  411.         echo "
  412.     ";
  413.         // line 166
  414.         $this->loadTemplate("ProfileList/profile_filter.partial.html.twig""ProfileList/list.html.twig"166)->display($context);
  415.         // line 167
  416.         echo "
  417.     <h3>Виджет Анкеты по категориям</h3>
  418.     <div id=\"widget_profiles_by_categories\" style=\"display:flex;gap:10px\"></div>
  419.     <script type=\"text/javascript\">
  420.         ";
  421.         // line 172
  422.         $context["route"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'172$this->source); })()), "request", [], "any"falsefalsefalse172), "get", ["_route"], "method"falsefalsefalse172);
  423.         // line 173
  424.         echo "        ";
  425.         if (((        // line 174
  426. (isset($context["route"]) || array_key_exists("route"$context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.'174$this->source); })()) == "homepage") || ((        // line 175
  427. (isset($context["route"]) || array_key_exists("route"$context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.'175$this->source); })()) == "profile_list.list_by_city") && (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'175$this->source); })()), "request", [], "any"falsefalsefalse175), "get", ["city"], "method"falsefalsefalse175), "id", [], "any"falsefalsefalse175) == twig_get_attribute($this->env$this->source$this->extensions['App\Twig\DefaultCityExtension']->defaultCity(), "id", [], "any"falsefalsefalse175))))) {
  428.             // line 176
  429.             echo "        document.addEventListener('DOMContentLoaded', _ => {
  430.             fetch('";
  431.             // line 177
  432.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_widget.by_categories", ["city" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'177$this->source); })()), "request", [], "any"falsefalsefalse177), "attributes", [], "any"falsefalsefalse177), "get", ["city"$this->extensions['App\Twig\DefaultCityExtension']->defaultCity()], "method"falsefalsefalse177), "uriIdentity", [], "any"falsefalsefalse177)]), "html"nulltrue);
  433.             echo "', {
  434.                 method: 'GET',
  435.                 headers: {
  436.                     \"X-Requested-With\": \"XMLHttpRequest\"
  437.                 },
  438.             }).then(response => {
  439.                 if (response.status < 300) {
  440.                     return response.text();
  441.                 } else {
  442.                     console.warn(\"🤔\");
  443.                     return null;
  444.                 }
  445.             }).then(response => {
  446.                 document.querySelector('#widget_profiles_by_categories').innerHTML = response;
  447.                 filterData();
  448.             });
  449.         });
  450.         ";
  451.         }
  452.         // line 195
  453.         echo "    </script>
  454.     <script type=\"text/javascript\">
  455.         document.addEventListener('DOMContentLoaded', function () {
  456.             const profileNodes = document.querySelectorAll('[data-profile-id]');
  457.             if (!profileNodes.length) {
  458.                 return;
  459.             }
  460.             const profileIds = Array.from(profileNodes)
  461.                 .map(node => parseInt(node.dataset.profileId, 10))
  462.                 .filter(Number.isInteger);
  463.             if (!profileIds.length) {
  464.                 return;
  465.             }
  466.             fetch('";
  467.         // line 212
  468.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_ctr.increase_shows");
  469.         echo "', {
  470.                 method: 'POST',
  471.                 headers: {
  472.                     'Content-Type': 'application/json',
  473.                     'X-Requested-With': 'XMLHttpRequest',
  474.                 },
  475.                 body: JSON.stringify({
  476.                     profiles: profileIds,
  477.                     source: '";
  478.         // line 220
  479.         echo twig_escape_filter($this->env, ((array_key_exists("source"$context)) ? (_twig_default_filter((isset($context["source"]) || array_key_exists("source"$context) ? $context["source"] : (function () { throw new RuntimeError('Variable "source" does not exist.'220$this->source); })()), "")) : ("")), "html"nulltrue);
  480.         echo "',
  481.                 }),
  482.             });
  483.         });
  484.     </script>
  485. ";
  486.         
  487.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  488.         
  489.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  490.         
  491.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  492.     }
  493.     // line 87
  494.     public function block_mainList($context, array $blocks = [])
  495.     {
  496.         $macros $this->macros;
  497.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  498.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainList"));
  499.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  500.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainList"));
  501.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  502.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainList"));
  503.         // line 88
  504.         echo "        <div id=\"profile-list\" class=\"row mb-3\">
  505.             ";
  506.         // line 89
  507.         $this->loadTemplate("ProfileList/list.profiles.html.twig""ProfileList/list.html.twig"89)->display($context);
  508.         // line 90
  509.         echo "        </div>
  510.     ";
  511.         
  512.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  513.         
  514.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  515.         
  516.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  517.     }
  518.     // line 93
  519.     public function block_showMore($context, array $blocks = [])
  520.     {
  521.         $macros $this->macros;
  522.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  523.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""showMore"));
  524.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  525.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""showMore"));
  526.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  527.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""showMore"));
  528.         // line 94
  529.         echo "        ";
  530.         $this->loadTemplate("ProfileList/_show_more.profiles.html.twig""ProfileList/list.html.twig"94)->display($context);
  531.         // line 95
  532.         echo "    ";
  533.         
  534.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  535.         
  536.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  537.         
  538.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  539.     }
  540.     /**
  541.      * @codeCoverageIgnore
  542.      */
  543.     public function getTemplateName()
  544.     {
  545.         return "ProfileList/list.html.twig";
  546.     }
  547.     /**
  548.      * @codeCoverageIgnore
  549.      */
  550.     public function isTraitable()
  551.     {
  552.         return false;
  553.     }
  554.     /**
  555.      * @codeCoverageIgnore
  556.      */
  557.     public function getDebugInfo()
  558.     {
  559.         return array (  592 => 95,  589 => 94,  576 => 93,  562 => 90,  560 => 89,  557 => 88,  544 => 87,  524 => 220,  513 => 212,  494 => 195,  473 => 177,  470 => 176,  468 => 175,  467 => 174,  465 => 173,  463 => 172,  456 => 167,  454 => 166,  451 => 165,  448 => 164,  445 => 162,  443 => 161,  440 => 160,  436 => 158,  430 => 157,  425 => 156,  419 => 155,  415 => 154,  411 => 152,  408 => 151,  406 => 150,  403 => 149,  399 => 147,  395 => 146,  388 => 145,  383 => 143,  377 => 142,  373 => 140,  370 => 139,  368 => 138,  365 => 137,  357 => 134,  351 => 133,  347 => 131,  344 => 130,  341 => 129,  338 => 122,  334 => 120,  330 => 119,  323 => 118,  318 => 116,  312 => 115,  308 => 113,  305 => 112,  303 => 111,  300 => 110,  296 => 108,  292 => 107,  285 => 106,  280 => 104,  274 => 103,  270 => 101,  267 => 100,  265 => 99,  260 => 97,  257 => 96,  255 => 93,  252 => 92,  250 => 87,  245 => 85,  242 => 84,  239 => 44,  236 => 43,  232 => 41,  230 => 38,  229 => 37,  221 => 35,  219 => 34,  216 => 33,  212 => 31,  210 => 30,  202 => 28,  199 => 27,  197 => 26,  194 => 25,  192 => 24,  188 => 23,  183 => 22,  170 => 21,  156 => 18,  153 => 17,  150 => 16,  148 => 15,  143 => 14,  130 => 13,  114 => 10,  101 => 9,  85 => 6,  72 => 5,  58 => 1,  56 => 3,  40 => 1,);
  560.     }
  561.     public function getSourceContext()
  562.     {
  563.         return new Source("{% extends 'grid.html.twig' %}
  564. {% set city = app.request.get('city', default_city()) %}
  565. {% block title %}
  566.     {{ seo_title() }}
  567. {% endblock %}
  568. {% block metaDescription %}
  569.     <meta name=\"description\" content=\"{{ seo_description() }}\">
  570. {% endblock %}
  571. {% block navbar %}
  572.     {{ parent() }}
  573.     {% if profiles and profiles.currentPage >= 2 %}
  574.         {% set excludeRecommendationProfileIds = [] %}
  575.         {% include 'Recommendations/_profile_recommendations.html.twig' %}
  576.     {% endif %}
  577. {% endblock %}
  578. {% block mainContainer %}
  579.     {{ seo_top() }}
  580.     <h1>{{ seo_heading() }}</h1>
  581.     {% include 'ProfileList/geo_category_linkage.partial.html.twig' %}
  582.     {% if homepage_city_listings_block is defined and homepage_city_listings_block %}
  583.         {% if homepage_city_listings_block.hasSaloons %}
  584.             <h3><a href=\"{{ path('saloon_list.list_by_city', {city: city.uriIdentity}) }}\">Интим-салоны {{ city.name|trans }}</a></h3>
  585.             <div class=\"row mb-3\">
  586.                 {% include 'SaloonList/list.saloons.html.twig' with { 'saloons': homepage_city_listings_block.saloons } %}
  587.             </div>
  588.         {% endif %}
  589.         {% if homepage_city_listings_block.hasMasseurs %}
  590.             <h3><a href=\"{{ path('masseur_list.page', {city: city.uriIdentity}) }}\">Массажистки {{ city.name|trans }}</a></h3>
  591.             <div class=\"row mb-3\">
  592.                 {% include 'ProfileList/list.profiles.html.twig' with {
  593.                     'profiles': homepage_city_listings_block.masseurs,
  594.                     'show_total_count': false
  595.                 } %}
  596.             </div>
  597.         {% endif %}
  598.     {% endif %}
  599.     {#
  600.     {% if source is defined and source %}
  601.     <h6 style=\"background-color: #ee4056;height: 20px;\">
  602.         {% if source == 'county' %}К сожалению, все девушки из округа <a href=\"{{ category_url }}\">{{ county.name }}</a> сейчас отдыхают, посмотрите проституток из других округов города {{ city.name|trans }}.{% endif %}
  603.         {% if source == 'district' %}К сожалению, все девушки из района <a href=\"{{ category_url }}\">{{ district.name }}</a> сейчас отдыхают, посмотрите проституток из других районов города {{ city.name|trans }}.{% endif %}
  604.         {% if source == 'station' %}К сожалению, все девушки работающие вблизи метро <a href=\"{{ category_url }}\">{{ station.name }}</a> сейчас отдыхают, посмотрите проституток у других станций метро в этом районе города {{ city.name|trans }}.{% endif %}
  605.         {% if source == 'approved' or source == 'with_comments' or  source == 'with_video' or source == 'elite' or source == 'with_selfie' %}
  606.             {% if source == 'approved' %}
  607.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_approved', {city:city.uriIdentity}) ~ '\">Проверенные анкеты</a>' %}
  608.             {% elseif source == 'with_comments' %}
  609.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_with_comments', {city:city.uriIdentity}) ~ '\">Анкеты с отзывами</a>' %}
  610.             {% elseif source == 'with_video' %}
  611.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_with_video', {city:city.uriIdentity}) ~ '\">Анкеты с видео</a>' %}
  612.             {% elseif source == 'with_selfie' %}
  613.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_with_selfie', {city:city.uriIdentity}) ~ '\">Анкеты с селфи</a>' %}
  614.             {% elseif source == 'with_whatsapp' %}
  615.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_with_whatsapp', {city:city.uriIdentity}) ~ '\">Анкеты с WhatsApp</a>' %}
  616.             {% elseif source == 'with_telegram' %}
  617.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_with_telegram', {city:city.uriIdentity}) ~ '\">Анкеты с Telegram</a>' %}
  618.             {% elseif source == 'elite' %}
  619.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_for_elite_girls', {city:city.uriIdentity}) ~ '\">Элитные проститутки</a>' %}
  620.             {% else %}
  621.                 {% set source_name = '' %}
  622.             {% endif %}
  623.             {% if source_default == 'approved' %}К сожалению, все <a href=\"{{ category_url }}\">проверенные девушки</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
  624.             {% if source_default == 'with_comments' %}К сожалению, все <a href=\"{{ category_url }}\">девушки, у которых есть отзывы</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
  625.             {% if source_default == 'with_video' %}К сожалению, все <a href=\"{{ category_url }}\">девушки, у которых есть видео</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
  626.             {% if source_default == 'with_selfie' %}К сожалению, все <a href=\"{{ category_url }}\">девушки, у которых есть селфи</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
  627.             {% if source_default == 'with_whatsapp' %}К сожалению, все <a href=\"{{ category_url }}\">девушки с WhatsApp</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
  628.             {% if source_default == 'with_telegram' %}К сожалению, все <a href=\"{{ category_url }}\">девушки с Telegram</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
  629.         {% endif %}
  630.         {% if source == 'by_params' %}К сожалению, раздел пуст. Посмотрите другие анкеты, которые мы подобрали для Вас.{% endif %}
  631.         {% if source == 'service' %}К сожалению, все девушки, которые практикуют услугу <a href=\"{{ category_url }}\">{{ service.name }}</a> сейчас отдыхают. Но мы подобрали для Вас девушек которые не против оказать Вам похожие услуги, взгляните!{% endif %}
  632.         {% if source == 'city' %}К сожалению, данный раздел пуст. Взгляните на другие анкеты, которые мы нашли для Вас в городе {{ city.name|trans }}.{% endif %}
  633.         {% if source == 'country' %}К сожалению, данный раздел пуст. Взгляните на анкеты которые мы подобрали для Вас.{% endif %}
  634.         {% if source == 'massage_service' %}К сожалению, все девушки для которых массаж — это призвание сейчас отдыхают. Посмотрите проституток, которые также готовы сделать Вам массаж.{% endif %}
  635.     </h6>
  636.     {% endif %}
  637.     #}
  638.     {{ porpaginas_render(profiles) }}
  639.     {% block mainList %}
  640.         <div id=\"profile-list\" class=\"row mb-3\">
  641.             {% include 'ProfileList/list.profiles.html.twig' %}
  642.         </div>
  643.     {% endblock %}
  644.     {% block showMore %}
  645.         {% include 'ProfileList/_show_more.profiles.html.twig' %}
  646.     {% endblock showMore %}
  647.     {{ porpaginas_render(profiles) }}
  648.     {% set cities_circle = city_main_pages_linkage_circle() %}
  649.     {% if cities_circle is not null %}
  650.         <div class=\"city_main_pages_linkage_circle\">
  651.             <h3>Также рекомендуем:</h3>
  652.             {% if cities_circle[0] is not null %}<a href=\"{{ cities_circle[0].href }}\"
  653.                                                     style=\"text-transform: capitalize;\">{{ cities_circle[0].text }}</a>
  654.                 <br/>{% endif %}
  655.             {% if cities_circle[1] is not null %}<a href=\"{{ cities_circle[1].href }}\"
  656.                                                     style=\"text-transform: capitalize;\">{{ cities_circle[1].text }}</a>{% endif %}
  657.         </div>
  658.     {% endif %}
  659.     {% set cities_circle = city_main_pages_linkage_by_countries_circle() %}
  660.     {% if cities_circle is not null %}
  661.         <div class=\"city_main_pages_linkage_circle\">
  662.             <h3>Также рекомендуем:</h3>
  663.             {% if cities_circle[0] is not null %}<a href=\"{{ cities_circle[0].href }}\"
  664.                                                     style=\"text-transform: capitalize;\">{{ cities_circle[0].text }}</a>
  665.                 <br/>{% endif %}
  666.             {% if cities_circle[1] is not null %}<a href=\"{{ cities_circle[1].href }}\"
  667.                                                     style=\"text-transform: capitalize;\">{{ cities_circle[1].text }}</a>{% endif %}
  668.         </div>
  669.     {% endif %}
  670.     {#
  671.     если указать в вызове параметр kind, напр. 'myCustomKind', то из перевода будут браться соответственно
  672.     MYCUSTOMKIND_FIRST_ и MYCUSTOMKIND_SECOND_ + падеж указанный в конфиге кольцовки, напр. MYCUSTOMKIND_FIRST_NOMINATIVE
  673.     можно использовать вызов без параметра, тогда из перевода будут браться соответственно PROSTITUTES_ и INDIVIDUALS_ с соответствующими падежfvb
  674.     #}
  675.     {% set circle = inner_linkage_circle('prostitutes') %}
  676.     {% if circle is not null %}
  677.         <div class=\"inner_linkage_circle\">
  678.             <h3>Также интересуются:</h3>
  679.             <a href=\"{{ circle[0].href }}\">{{ circle[0].text }}</a><br/>
  680.             <a href=\"{{ circle[1].href }}\">{{ circle[1].text }}</a>
  681.         </div>
  682.     {% endif %}
  683.     {% set districts_circle = districts_linkage_circle() %}
  684.     {% if districts_circle is not null %}
  685.         <div class=\"city_main_pages_linkage_circle\">
  686.             <h3>Также интересуются:</h3>
  687.             {% if districts_circle[0] is not null %}<a href=\"{{ districts_circle[0].href }}\"
  688.                                                        style=\"text-transform: capitalize;\">{{ districts_circle[0].text }}</a>
  689.                 <br/>{% endif %}
  690.             {% if districts_circle[1] is not null %}<a href=\"{{ districts_circle[1].href }}\"
  691.                                                        style=\"text-transform: capitalize;\">{{ districts_circle[1].text }}</a>{% endif %}
  692.         </div>
  693.     {% endif %}
  694.     {% set stations_circle = station_pages_linkage_circle() %}
  695.     {% if stations_circle is not null %}
  696.         <div class=\"station_pages_linkage_circle\">
  697.             <h3>Также интересуются:</h3>
  698.             {% if stations_circle[0] is not null %}<a
  699.                 href=\"{{ stations_circle[0].href }}\">{{ stations_circle[0].text }}</a><br/>{% endif %}
  700.             {% if stations_circle[1] is not null %}<a
  701.                 href=\"{{ stations_circle[1].href }}\">{{ stations_circle[1].text }}</a>{% endif %}
  702.         </div>
  703.     {% endif %}
  704.     {% include 'last_girl_list.html.twig' %}
  705.     {# комменты анкет для листинга станции #}
  706.     {% include 'ProfileList/station_comments.partial.html.twig' %}
  707.     {% include 'ProfileList/profile_filter.partial.html.twig' %}
  708.     <h3>Виджет Анкеты по категориям</h3>
  709.     <div id=\"widget_profiles_by_categories\" style=\"display:flex;gap:10px\"></div>
  710.     <script type=\"text/javascript\">
  711.         {% set route = app.request.get('_route') %}
  712.         {% if
  713.             route == 'homepage'
  714.             or (route == 'profile_list.list_by_city' and app.request.get('city').id == default_city().id) %}
  715.         document.addEventListener('DOMContentLoaded', _ => {
  716.             fetch('{{ path('profile_widget.by_categories', {city: app.request.attributes.get('city', default_city()).uriIdentity}) }}', {
  717.                 method: 'GET',
  718.                 headers: {
  719.                     \"X-Requested-With\": \"XMLHttpRequest\"
  720.                 },
  721.             }).then(response => {
  722.                 if (response.status < 300) {
  723.                     return response.text();
  724.                 } else {
  725.                     console.warn(\"🤔\");
  726.                     return null;
  727.                 }
  728.             }).then(response => {
  729.                 document.querySelector('#widget_profiles_by_categories').innerHTML = response;
  730.                 filterData();
  731.             });
  732.         });
  733.         {% endif %}
  734.     </script>
  735.     <script type=\"text/javascript\">
  736.         document.addEventListener('DOMContentLoaded', function () {
  737.             const profileNodes = document.querySelectorAll('[data-profile-id]');
  738.             if (!profileNodes.length) {
  739.                 return;
  740.             }
  741.             const profileIds = Array.from(profileNodes)
  742.                 .map(node => parseInt(node.dataset.profileId, 10))
  743.                 .filter(Number.isInteger);
  744.             if (!profileIds.length) {
  745.                 return;
  746.             }
  747.             fetch('{{ path('profile_ctr.increase_shows') }}', {
  748.                 method: 'POST',
  749.                 headers: {
  750.                     'Content-Type': 'application/json',
  751.                     'X-Requested-With': 'XMLHttpRequest',
  752.                 },
  753.                 body: JSON.stringify({
  754.                     profiles: profileIds,
  755.                     source: '{{ source|default('') }}',
  756.                 }),
  757.             });
  758.         });
  759.     </script>
  760. {% endblock %}
  761. ""ProfileList/list.html.twig""/app/templates/ProfileList/list.html.twig");
  762.     }
  763. }