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

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"], "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.         echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoExtension']->metaTitle(), "html"nulltrue);
  68.         
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  70.         
  71.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  72.         
  73.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  74.     }
  75.     // line 7
  76.     public function block_metaDescription($context, array $blocks = [])
  77.     {
  78.         $macros $this->macros;
  79.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  80.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  81.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  82.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  83.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  84.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  85.         // line 8
  86.         echo "    <meta name=\"description\" content=\"";
  87.         echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoExtension']->metaDescription(), "html"nulltrue);
  88.         echo "\">
  89. ";
  90.         
  91.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  92.         
  93.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  94.         
  95.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  96.     }
  97.     // line 11
  98.     public function block_navbar($context, array $blocks = [])
  99.     {
  100.         $macros $this->macros;
  101.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  102.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar"));
  103.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  104.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar"));
  105.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  106.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar"));
  107.         // line 12
  108.         echo "    ";
  109.         $this->displayParentBlock("navbar"$context$blocks);
  110.         echo "
  111.     ";
  112.         // line 13
  113.         if (((isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'13$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.'13$this->source); })()), "currentPage", [], "any"falsefalsefalse13) >= 2))) {
  114.             // line 14
  115.             echo "        ";
  116.             $context["excludeRecommendationProfileIds"] = [];
  117.             // line 15
  118.             echo "        ";
  119.             $this->loadTemplate("Recommendations/_profile_recommendations.html.twig""ProfileList/list.html.twig"15)->display($context);
  120.             // line 16
  121.             echo "    ";
  122.         }
  123.         
  124.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  125.         
  126.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  127.         
  128.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  129.     }
  130.     // line 19
  131.     public function block_mainContainer($context, array $blocks = [])
  132.     {
  133.         $macros $this->macros;
  134.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  135.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  136.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  137.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  138.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  139.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  140.         // line 20
  141.         echo "    ";
  142.         echo $this->extensions['App\Twig\SeoExtension']->topHtml();
  143.         echo "
  144.     <h1>";
  145.         // line 21
  146.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Проститутки %ofCity%, шлюхи и путаны", ["%ofCity%" => $this->extensions['BigIdea\Bundle\GeographicalNamesInflectionBundle\Twig\GeographicalNamesInflectionTwigExtension']->geoNameInflection($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.'21$this->source); })()), "name", [], "any"falsefalsefalse21)), "genitive")], "messages");
  147.         echo "</h1>
  148. ";
  149.         // line 55
  150.         echo "
  151.     ";
  152.         // line 56
  153.         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.'56$this->source); })()));
  154.         echo "
  155.     ";
  156.         // line 58
  157.         $this->displayBlock('mainList'$context$blocks);
  158.         // line 63
  159.         echo "
  160.     ";
  161.         // line 64
  162.         $this->displayBlock('showMore'$context$blocks);
  163.         // line 67
  164.         echo "
  165.     ";
  166.         // line 68
  167.         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.'68$this->source); })()));
  168.         echo "
  169.     ";
  170.         // line 70
  171.         $context["cities_circle"] = $this->extensions['App\Twig\CityMainPagesLinkageExtension']->cityMainPagesLinkageCircle();
  172.         // line 71
  173.         echo "    ";
  174.         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.'71$this->source); })()))) {
  175.             // line 72
  176.             echo "        <div class=\"city_main_pages_linkage_circle\">
  177.             <h3>Также рекомендуем:</h3>
  178.             ";
  179.             // line 74
  180.             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.'74$this->source); })()), 0, [], "array"falsefalsefalse74))) {
  181.                 echo "<a href=\"";
  182.                 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.'74$this->source); })()), 0, [], "array"falsefalsefalse74), "href", [], "any"falsefalsefalse74), "html"nulltrue);
  183.                 echo "\" style=\"text-transform: capitalize;\">";
  184.                 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.'74$this->source); })()), 0, [], "array"falsefalsefalse74), "text", [], "any"falsefalsefalse74), "html"nulltrue);
  185.                 echo "</a><br/>";
  186.             }
  187.             // line 75
  188.             echo "            ";
  189.             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.'75$this->source); })()), 1, [], "array"falsefalsefalse75))) {
  190.                 echo "<a href=\"";
  191.                 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.'75$this->source); })()), 1, [], "array"falsefalsefalse75), "href", [], "any"falsefalsefalse75), "html"nulltrue);
  192.                 echo "\" style=\"text-transform: capitalize;\">";
  193.                 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.'75$this->source); })()), 1, [], "array"falsefalsefalse75), "text", [], "any"falsefalsefalse75), "html"nulltrue);
  194.                 echo "</a>";
  195.             }
  196.             // line 76
  197.             echo "        </div>
  198.     ";
  199.         }
  200.         // line 78
  201.         echo "
  202.     ";
  203.         // line 79
  204.         $context["cities_circle"] = $this->extensions['App\Twig\CityMainPagesLinkageByCountriesExtension']->cityMainPagesLinkageCircleByCountries();
  205.         // line 80
  206.         echo "    ";
  207.         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.'80$this->source); })()))) {
  208.             // line 81
  209.             echo "    <div class=\"city_main_pages_linkage_circle\">
  210.         <h3>Также рекомендуем:</h3>
  211.         ";
  212.             // line 83
  213.             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.'83$this->source); })()), 0, [], "array"falsefalsefalse83))) {
  214.                 echo "<a href=\"";
  215.                 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.'83$this->source); })()), 0, [], "array"falsefalsefalse83), "href", [], "any"falsefalsefalse83), "html"nulltrue);
  216.                 echo "\" style=\"text-transform: capitalize;\">";
  217.                 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.'83$this->source); })()), 0, [], "array"falsefalsefalse83), "text", [], "any"falsefalsefalse83), "html"nulltrue);
  218.                 echo "</a><br/>";
  219.             }
  220.             // line 84
  221.             echo "        ";
  222.             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.'84$this->source); })()), 1, [], "array"falsefalsefalse84))) {
  223.                 echo "<a href=\"";
  224.                 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.'84$this->source); })()), 1, [], "array"falsefalsefalse84), "href", [], "any"falsefalsefalse84), "html"nulltrue);
  225.                 echo "\" style=\"text-transform: capitalize;\">";
  226.                 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.'84$this->source); })()), 1, [], "array"falsefalsefalse84), "text", [], "any"falsefalsefalse84), "html"nulltrue);
  227.                 echo "</a>";
  228.             }
  229.             // line 85
  230.             echo "    </div>
  231.     ";
  232.         }
  233.         // line 87
  234.         echo "
  235.     ";
  236.         // line 94
  237.         echo "    ";
  238.         $context["circle"] = $this->extensions['App\Twig\InnerLinkageCircleExtension']->innerLinkageCircle("prostitutes");
  239.         // line 95
  240.         echo "    ";
  241.         if ( !(null === (isset($context["circle"]) || array_key_exists("circle"$context) ? $context["circle"] : (function () { throw new RuntimeError('Variable "circle" does not exist.'95$this->source); })()))) {
  242.             // line 96
  243.             echo "        <div class=\"inner_linkage_circle\">
  244.                 <h3>Также интересуются:</h3>
  245.                 <a href=\"";
  246.             // line 98
  247.             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.'98$this->source); })()), 0, [], "array"falsefalsefalse98), "href", [], "any"falsefalsefalse98), "html"nulltrue);
  248.             echo "\">";
  249.             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.'98$this->source); })()), 0, [], "array"falsefalsefalse98), "text", [], "any"falsefalsefalse98), "html"nulltrue);
  250.             echo "</a><br/>
  251.                 <a href=\"";
  252.             // line 99
  253.             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.'99$this->source); })()), 1, [], "array"falsefalsefalse99), "href", [], "any"falsefalsefalse99), "html"nulltrue);
  254.             echo "\">";
  255.             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.'99$this->source); })()), 1, [], "array"falsefalsefalse99), "text", [], "any"falsefalsefalse99), "html"nulltrue);
  256.             echo "</a>
  257.         </div>
  258.     ";
  259.         }
  260.         // line 102
  261.         echo "
  262.     ";
  263.         // line 103
  264.         $context["districts_circle"] = $this->extensions['App\Twig\DistrictsLinkageExtension']->districtsLinkageCircle();
  265.         // line 104
  266.         echo "    ";
  267.         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.'104$this->source); })()))) {
  268.             // line 105
  269.             echo "        <div class=\"city_main_pages_linkage_circle\">
  270.             <h3>Также интересуются:</h3>
  271.             ";
  272.             // line 107
  273.             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.'107$this->source); })()), 0, [], "array"falsefalsefalse107))) {
  274.                 echo "<a href=\"";
  275.                 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.'107$this->source); })()), 0, [], "array"falsefalsefalse107), "href", [], "any"falsefalsefalse107), "html"nulltrue);
  276.                 echo "\" style=\"text-transform: capitalize;\">";
  277.                 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.'107$this->source); })()), 0, [], "array"falsefalsefalse107), "text", [], "any"falsefalsefalse107), "html"nulltrue);
  278.                 echo "</a><br/>";
  279.             }
  280.             // line 108
  281.             echo "            ";
  282.             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.'108$this->source); })()), 1, [], "array"falsefalsefalse108))) {
  283.                 echo "<a href=\"";
  284.                 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.'108$this->source); })()), 1, [], "array"falsefalsefalse108), "href", [], "any"falsefalsefalse108), "html"nulltrue);
  285.                 echo "\" style=\"text-transform: capitalize;\">";
  286.                 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.'108$this->source); })()), 1, [], "array"falsefalsefalse108), "text", [], "any"falsefalsefalse108), "html"nulltrue);
  287.                 echo "</a>";
  288.             }
  289.             // line 109
  290.             echo "        </div>
  291.     ";
  292.         }
  293.         // line 111
  294.         echo "
  295.     ";
  296.         // line 112
  297.         $context["stations_circle"] = $this->extensions['App\Twig\StationPagesLinkageExtension']->stationMainPagesLinkageCircle();
  298.         // line 113
  299.         echo "    ";
  300.         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.'113$this->source); })()))) {
  301.             // line 114
  302.             echo "        <div class=\"station_pages_linkage_circle\">
  303.             <h3>Также интересуются:</h3>
  304.             ";
  305.             // line 116
  306.             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.'116$this->source); })()), 0, [], "array"falsefalsefalse116))) {
  307.                 echo "<a href=\"";
  308.                 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.'116$this->source); })()), 0, [], "array"falsefalsefalse116), "href", [], "any"falsefalsefalse116), "html"nulltrue);
  309.                 echo "\">";
  310.                 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.'116$this->source); })()), 0, [], "array"falsefalsefalse116), "text", [], "any"falsefalsefalse116), "html"nulltrue);
  311.                 echo "</a><br/>";
  312.             }
  313.             // line 117
  314.             echo "            ";
  315.             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.'117$this->source); })()), 1, [], "array"falsefalsefalse117))) {
  316.                 echo "<a href=\"";
  317.                 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.'117$this->source); })()), 1, [], "array"falsefalsefalse117), "href", [], "any"falsefalsefalse117), "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["stations_circle"]) || array_key_exists("stations_circle"$context) ? $context["stations_circle"] : (function () { throw new RuntimeError('Variable "stations_circle" does not exist.'117$this->source); })()), 1, [], "array"falsefalsefalse117), "text", [], "any"falsefalsefalse117), "html"nulltrue);
  320.                 echo "</a>";
  321.             }
  322.             // line 118
  323.             echo "        </div>
  324.     ";
  325.         }
  326.         // line 120
  327.         echo "
  328.     ";
  329.         // line 121
  330.         $this->loadTemplate("last_girl_list.html.twig""ProfileList/list.html.twig"121)->display($context);
  331.         // line 122
  332.         echo "
  333.     ";
  334.         // line 124
  335.         echo "    ";
  336.         $this->loadTemplate("ProfileList/station_comments.partial.html.twig""ProfileList/list.html.twig"124)->display($context);
  337.         // line 125
  338.         echo "
  339.     ";
  340.         // line 126
  341.         $this->loadTemplate("ProfileList/profile_filter.partial.html.twig""ProfileList/list.html.twig"126)->display($context);
  342.         // line 127
  343.         echo "
  344.     <h3>Виджет Анкеты по категориям</h3>
  345.     <div id=\"widget_profiles_by_categories\" style=\"display:flex;gap:10px\"></div>
  346.     <script type=\"text/javascript\">
  347.         ";
  348.         // line 132
  349.         $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.'132$this->source); })()), "request", [], "any"falsefalsefalse132), "get", ["_route"], "method"falsefalsefalse132);
  350.         // line 133
  351.         echo "        ";
  352.         if (((        // line 134
  353. (isset($context["route"]) || array_key_exists("route"$context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.'134$this->source); })()) == "homepage") || ((        // line 135
  354. (isset($context["route"]) || array_key_exists("route"$context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.'135$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.'135$this->source); })()), "request", [], "any"falsefalsefalse135), "get", ["city"], "method"falsefalsefalse135), "id", [], "any"falsefalsefalse135) == twig_get_attribute($this->env$this->source$this->extensions['App\Twig\DefaultCityExtension']->defaultCity(), "id", [], "any"falsefalsefalse135))))) {
  355.             // line 137
  356.             echo "            document.addEventListener('DOMContentLoaded', _ => {
  357.                 fetch('";
  358.             // line 138
  359.             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.'138$this->source); })()), "request", [], "any"falsefalsefalse138), "attributes", [], "any"falsefalsefalse138), "get", ["city"$this->extensions['App\Twig\DefaultCityExtension']->defaultCity()], "method"falsefalsefalse138), "uriIdentity", [], "any"falsefalsefalse138)]), "html"nulltrue);
  360.             echo "', {
  361.                     method: 'GET',
  362.                     headers: {
  363.                         \"X-Requested-With\": \"XMLHttpRequest\"
  364.                     },
  365.                 }).then(response => {
  366.                     if (response.status < 300) {
  367.                         return response.text();
  368.                     } else {
  369.                         console.warn(\"🤔\");
  370.                         return null;
  371.                     }
  372.                 }).then(response => {
  373.                     document.querySelector('#widget_profiles_by_categories').innerHTML = response;
  374.                     filterData();
  375.                 });
  376.             });
  377.         ";
  378.         }
  379.         // line 156
  380.         echo "    </script>
  381. ";
  382.         
  383.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  384.         
  385.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  386.         
  387.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  388.     }
  389.     // line 58
  390.     public function block_mainList($context, array $blocks = [])
  391.     {
  392.         $macros $this->macros;
  393.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  394.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainList"));
  395.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  396.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainList"));
  397.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  398.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainList"));
  399.         // line 59
  400.         echo "    <div id=\"profile-list\" class=\"row mb-3\">
  401.         ";
  402.         // line 60
  403.         $this->loadTemplate("ProfileList/list.profiles.html.twig""ProfileList/list.html.twig"60)->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.'60$this->source); })()), "currentPage", [], "any"falsefalsefalse60) < 2)) ? ($this->extensions['App\Twig\PaidPlacementsExtension']->currentTopPlacement()) : (null))]));
  404.         // line 61
  405.         echo "    </div>
  406.     ";
  407.         
  408.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  409.         
  410.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  411.         
  412.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  413.     }
  414.     // line 64
  415.     public function block_showMore($context, array $blocks = [])
  416.     {
  417.         $macros $this->macros;
  418.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  419.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""showMore"));
  420.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  421.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""showMore"));
  422.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  423.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""showMore"));
  424.         // line 65
  425.         echo "        ";
  426.         $this->loadTemplate("ProfileList/_show_more.profiles.html.twig""ProfileList/list.html.twig"65)->display($context);
  427.         // line 66
  428.         echo "    ";
  429.         
  430.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  431.         
  432.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  433.         
  434.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  435.     }
  436.     /**
  437.      * @codeCoverageIgnore
  438.      */
  439.     public function getTemplateName()
  440.     {
  441.         return "ProfileList/list.html.twig";
  442.     }
  443.     /**
  444.      * @codeCoverageIgnore
  445.      */
  446.     public function isTraitable()
  447.     {
  448.         return false;
  449.     }
  450.     /**
  451.      * @codeCoverageIgnore
  452.      */
  453.     public function getDebugInfo()
  454.     {
  455.         return array (  484 => 66,  481 => 65,  468 => 64,  454 => 61,  452 => 60,  449 => 59,  436 => 58,  421 => 156,  400 => 138,  397 => 137,  395 => 135,  394 => 134,  392 => 133,  390 => 132,  383 => 127,  381 => 126,  378 => 125,  375 => 124,  372 => 122,  370 => 121,  367 => 120,  363 => 118,  354 => 117,  346 => 116,  342 => 114,  339 => 113,  337 => 112,  334 => 111,  330 => 109,  321 => 108,  313 => 107,  309 => 105,  306 => 104,  304 => 103,  301 => 102,  293 => 99,  287 => 98,  283 => 96,  280 => 95,  277 => 94,  274 => 87,  270 => 85,  261 => 84,  253 => 83,  249 => 81,  246 => 80,  244 => 79,  241 => 78,  237 => 76,  228 => 75,  220 => 74,  216 => 72,  213 => 71,  211 => 70,  206 => 68,  203 => 67,  201 => 64,  198 => 63,  196 => 58,  191 => 56,  188 => 55,  184 => 21,  179 => 20,  166 => 19,  152 => 16,  149 => 15,  146 => 14,  144 => 13,  139 => 12,  126 => 11,  110 => 8,  97 => 7,  72 => 5,  58 => 1,  56 => 3,  40 => 1,);
  456.     }
  457.     public function getSourceContext()
  458.     {
  459.         return new Source("{% extends 'grid.html.twig' %}
  460. {% set city = app.request.get('city') %}
  461. {% block title %}{{ seo_title() }}{% endblock %}
  462. {% block metaDescription %}
  463.     <meta name=\"description\" content=\"{{ seo_description() }}\">
  464. {% endblock %}
  465. {% block navbar %}
  466.     {{ parent() }}
  467.     {% if profiles and profiles.currentPage >= 2 %}
  468.         {% set excludeRecommendationProfileIds = [] %}
  469.         {% include 'Recommendations/_profile_recommendations.html.twig' %}
  470.     {% endif %}
  471. {% endblock %}
  472. {% block mainContainer %}
  473.     {{ seo_top() }}
  474.     <h1>{% trans with {'%ofCity%': city.name|trans|geo_name('genitive')} %}Проститутки %ofCity%, шлюхи и путаны{% endtrans %}</h1>
  475. {#
  476.     {% if source is defined and source %}
  477.     <h6 style=\"background-color: #ee4056;height: 20px;\">
  478.         {% if source == 'county' %}К сожалению, все девушки из округа <a href=\"{{ category_url }}\">{{ county.name }}</a> сейчас отдыхают, посмотрите проституток из других округов города {{ city.name|trans }}.{% endif %}
  479.         {% if source == 'district' %}К сожалению, все девушки из района <a href=\"{{ category_url }}\">{{ district.name }}</a> сейчас отдыхают, посмотрите проституток из других районов города {{ city.name|trans }}.{% endif %}
  480.         {% if source == 'station' %}К сожалению, все девушки работающие вблизи метро <a href=\"{{ category_url }}\">{{ station.name }}</a> сейчас отдыхают, посмотрите проституток у других станций метро в этом районе города {{ city.name|trans }}.{% endif %}
  481.         {% if source == 'approved' or source == 'with_comments' or  source == 'with_video' or source == 'elite' or source == 'with_selfie' %}
  482.             {% if source == 'approved' %}
  483.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_approved', {city:city.uriIdentity}) ~ '\">Проверенные анкеты</a>' %}
  484.             {% elseif source == 'with_comments' %}
  485.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_with_comments', {city:city.uriIdentity}) ~ '\">Анкеты с отзывами</a>' %}
  486.             {% elseif source == 'with_video' %}
  487.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_with_video', {city:city.uriIdentity}) ~ '\">Анкеты с видео</a>' %}
  488.             {% elseif source == 'with_selfie' %}
  489.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_with_selfie', {city:city.uriIdentity}) ~ '\">Анкеты с селфи</a>' %}
  490.             {% elseif source == 'elite' %}
  491.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_for_elite_girls', {city:city.uriIdentity}) ~ '\">Элитные проститутки</a>' %}
  492.             {% else %}
  493.                 {% set source_name = '' %}
  494.             {% endif %}
  495.             {% if source_default == 'approved' %}К сожалению, все <a href=\"{{ category_url }}\">проверенные девушки</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
  496.             {% if source_default == 'with_comments' %}К сожалению, все <a href=\"{{ category_url }}\">девушки, у которых есть отзывы</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
  497.             {% if source_default == 'with_video' %}К сожалению, все <a href=\"{{ category_url }}\">девушки, у которых есть видео</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
  498.             {% if source_default == 'with_selfie' %}К сожалению, все <a href=\"{{ category_url }}\">девушки, у которых есть селфи</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
  499.         {% endif %}
  500.         {% if source == 'by_params' %}К сожалению, раздел пуст. Посмотрите другие анкеты, которые мы подобрали для Вас.{% endif %}
  501.         {% if source == 'service' %}К сожалению, все девушки, которые практикуют услугу <a href=\"{{ category_url }}\">{{ service.name }}</a> сейчас отдыхают. Но мы подобрали для Вас девушек которые не против оказать Вам похожие услуги, взгляните!{% endif %}
  502.         {% if source == 'city' %}К сожалению, данный раздел пуст. Взгляните на другие анкеты, которые мы нашли для Вас в городе {{ city.name|trans }}.{% endif %}
  503.         {% if source == 'country' %}К сожалению, данный раздел пуст. Взгляните на анкеты которые мы подобрали для Вас.{% endif %}
  504.         {% if source == 'massage_service' %}К сожалению, все девушки для которых массаж — это призвание сейчас отдыхают. Посмотрите проституток, которые также готовы сделать Вам массаж.{% endif %}
  505.     </h6>
  506.     {% endif %}
  507. #}
  508.     {{ porpaginas_render(profiles) }}
  509.     {% block mainList %}
  510.     <div id=\"profile-list\" class=\"row mb-3\">
  511.         {% include 'ProfileList/list.profiles.html.twig' with { 'top_profile': profiles.currentPage < 2 ? profile_top_placement() : null } %}
  512.     </div>
  513.     {% endblock %}
  514.     {% block showMore %}
  515.         {% include 'ProfileList/_show_more.profiles.html.twig' %}
  516.     {% endblock showMore %}
  517.     {{ porpaginas_render(profiles) }}
  518.     {% set cities_circle = city_main_pages_linkage_circle() %}
  519.     {% if cities_circle is not null %}
  520.         <div class=\"city_main_pages_linkage_circle\">
  521.             <h3>Также рекомендуем:</h3>
  522.             {% if cities_circle[0] is not null %}<a href=\"{{ cities_circle[0].href }}\" style=\"text-transform: capitalize;\">{{ cities_circle[0].text }}</a><br/>{% endif %}
  523.             {% if cities_circle[1] is not null %}<a href=\"{{ cities_circle[1].href }}\" style=\"text-transform: capitalize;\">{{ cities_circle[1].text }}</a>{% endif %}
  524.         </div>
  525.     {% endif %}
  526.     {% set cities_circle = city_main_pages_linkage_by_countries_circle() %}
  527.     {% if cities_circle is not null %}
  528.     <div class=\"city_main_pages_linkage_circle\">
  529.         <h3>Также рекомендуем:</h3>
  530.         {% if cities_circle[0] is not null %}<a href=\"{{ cities_circle[0].href }}\" style=\"text-transform: capitalize;\">{{ cities_circle[0].text }}</a><br/>{% endif %}
  531.         {% if cities_circle[1] is not null %}<a href=\"{{ cities_circle[1].href }}\" style=\"text-transform: capitalize;\">{{ cities_circle[1].text }}</a>{% endif %}
  532.     </div>
  533.     {% endif %}
  534.     {#
  535.         если указать в вызове параметр kind, напр. 'myCustomKind', то из перевода будут браться соответственно
  536.         MYCUSTOMKIND_FIRST_ и MYCUSTOMKIND_SECOND_ + падеж указанный в конфиге кольцовки, напр. MYCUSTOMKIND_FIRST_NOMINATIVE
  537.         можно использовать вызов без параметра, тогда из перевода будут браться соответственно PROSTITUTES_ и INDIVIDUALS_ с соответствующими падежfvb
  538.     #}
  539.     {% set circle = inner_linkage_circle('prostitutes') %}
  540.     {% if circle is not null %}
  541.         <div class=\"inner_linkage_circle\">
  542.                 <h3>Также интересуются:</h3>
  543.                 <a href=\"{{ circle[0].href }}\">{{ circle[0].text }}</a><br/>
  544.                 <a href=\"{{ circle[1].href }}\">{{ circle[1].text }}</a>
  545.         </div>
  546.     {% endif %}
  547.     {% set districts_circle = districts_linkage_circle() %}
  548.     {% if districts_circle is not null %}
  549.         <div class=\"city_main_pages_linkage_circle\">
  550.             <h3>Также интересуются:</h3>
  551.             {% if districts_circle[0] is not null %}<a href=\"{{ districts_circle[0].href }}\" style=\"text-transform: capitalize;\">{{ districts_circle[0].text }}</a><br/>{% endif %}
  552.             {% if districts_circle[1] is not null %}<a href=\"{{ districts_circle[1].href }}\" style=\"text-transform: capitalize;\">{{ districts_circle[1].text }}</a>{% endif %}
  553.         </div>
  554.     {% endif %}
  555.     {% set stations_circle = station_pages_linkage_circle() %}
  556.     {% if stations_circle is not null %}
  557.         <div class=\"station_pages_linkage_circle\">
  558.             <h3>Также интересуются:</h3>
  559.             {% if stations_circle[0] is not null %}<a href=\"{{ stations_circle[0].href }}\">{{ stations_circle[0].text }}</a><br/>{% endif %}
  560.             {% if stations_circle[1] is not null %}<a href=\"{{ stations_circle[1].href }}\">{{ stations_circle[1].text }}</a>{% endif %}
  561.         </div>
  562.     {% endif %}
  563.     {% include 'last_girl_list.html.twig' %}
  564.     {# комменты анкет для листинга станции #}
  565.     {% include 'ProfileList/station_comments.partial.html.twig' %}
  566.     {% include 'ProfileList/profile_filter.partial.html.twig' %}
  567.     <h3>Виджет Анкеты по категориям</h3>
  568.     <div id=\"widget_profiles_by_categories\" style=\"display:flex;gap:10px\"></div>
  569.     <script type=\"text/javascript\">
  570.         {% set route = app.request.get('_route') %}
  571.         {% if
  572.             route == 'homepage'
  573.             or (route == 'profile_list.list_by_city' and app.request.get('city').id == default_city().id)
  574.         %}
  575.             document.addEventListener('DOMContentLoaded', _ => {
  576.                 fetch('{{ path('profile_widget.by_categories', {city: app.request.attributes.get('city', default_city()).uriIdentity}) }}', {
  577.                     method: 'GET',
  578.                     headers: {
  579.                         \"X-Requested-With\": \"XMLHttpRequest\"
  580.                     },
  581.                 }).then(response => {
  582.                     if (response.status < 300) {
  583.                         return response.text();
  584.                     } else {
  585.                         console.warn(\"🤔\");
  586.                         return null;
  587.                     }
  588.                 }).then(response => {
  589.                     document.querySelector('#widget_profiles_by_categories').innerHTML = response;
  590.                     filterData();
  591.                 });
  592.             });
  593.         {% endif %}
  594.     </script>
  595. {% endblock %}
  596. ""ProfileList/list.html.twig""/app/templates/ProfileList/list.html.twig");
  597.     }
  598. }