var/cache/review/twig/1a/1a8211030ba900daa430d1af59cde3a1.php line 86

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