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

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