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

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->extensions['App\Twig\SeoExtension']->pageHeading();
  147.         echo "</h1>
  148.     ";
  149.         // line 61
  150.         echo "
  151.     ";
  152.         // line 62
  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.'62$this->source); })()));
  154.         echo "
  155.     ";
  156.         // line 64
  157.         $this->displayBlock('mainList'$context$blocks);
  158.         // line 69
  159.         echo "
  160.     ";
  161.         // line 70
  162.         $this->displayBlock('showMore'$context$blocks);
  163.         // line 73
  164.         echo "
  165.     ";
  166.         // line 74
  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.'74$this->source); })()));
  168.         echo "
  169.     ";
  170.         // line 76
  171.         $context["cities_circle"] = $this->extensions['App\Twig\CityMainPagesLinkageExtension']->cityMainPagesLinkageCircle();
  172.         // line 77
  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.'77$this->source); })()))) {
  175.             // line 78
  176.             echo "        <div class=\"city_main_pages_linkage_circle\">
  177.             <h3>Также рекомендуем:</h3>
  178.             ";
  179.             // line 80
  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.'80$this->source); })()), 0, [], "array"falsefalsefalse80))) {
  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.'80$this->source); })()), 0, [], "array"falsefalsefalse80), "href", [], "any"falsefalsefalse80), "html"nulltrue);
  183.                 echo "\"
  184.                                                     style=\"text-transform: capitalize;\">";
  185.                 // line 81
  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.'81$this->source); })()), 0, [], "array"falsefalsefalse81), "text", [], "any"falsefalsefalse81), "html"nulltrue);
  187.                 echo "</a>
  188.                 <br/>";
  189.             }
  190.             // line 83
  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.'83$this->source); })()), 1, [], "array"falsefalsefalse83))) {
  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.'83$this->source); })()), 1, [], "array"falsefalsefalse83), "href", [], "any"falsefalsefalse83), "html"nulltrue);
  195.                 echo "\"
  196.                                                     style=\"text-transform: capitalize;\">";
  197.                 // line 84
  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.'84$this->source); })()), 1, [], "array"falsefalsefalse84), "text", [], "any"falsefalsefalse84), "html"nulltrue);
  199.                 echo "</a>";
  200.             }
  201.             // line 85
  202.             echo "        </div>
  203.     ";
  204.         }
  205.         // line 87
  206.         echo "
  207.     ";
  208.         // line 88
  209.         $context["cities_circle"] = $this->extensions['App\Twig\CityMainPagesLinkageByCountriesExtension']->cityMainPagesLinkageCircleByCountries();
  210.         // line 89
  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.'89$this->source); })()))) {
  213.             // line 90
  214.             echo "        <div class=\"city_main_pages_linkage_circle\">
  215.             <h3>Также рекомендуем:</h3>
  216.             ";
  217.             // line 92
  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.'92$this->source); })()), 0, [], "array"falsefalsefalse92))) {
  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.'92$this->source); })()), 0, [], "array"falsefalsefalse92), "href", [], "any"falsefalsefalse92), "html"nulltrue);
  221.                 echo "\"
  222.                                                     style=\"text-transform: capitalize;\">";
  223.                 // line 93
  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.'93$this->source); })()), 0, [], "array"falsefalsefalse93), "text", [], "any"falsefalsefalse93), "html"nulltrue);
  225.                 echo "</a>
  226.                 <br/>";
  227.             }
  228.             // line 95
  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.'95$this->source); })()), 1, [], "array"falsefalsefalse95))) {
  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.'95$this->source); })()), 1, [], "array"falsefalsefalse95), "href", [], "any"falsefalsefalse95), "html"nulltrue);
  233.                 echo "\"
  234.                                                     style=\"text-transform: capitalize;\">";
  235.                 // line 96
  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.'96$this->source); })()), 1, [], "array"falsefalsefalse96), "text", [], "any"falsefalsefalse96), "html"nulltrue);
  237.                 echo "</a>";
  238.             }
  239.             // line 97
  240.             echo "        </div>
  241.     ";
  242.         }
  243.         // line 99
  244.         echo "
  245.     ";
  246.         // line 106
  247.         echo "    ";
  248.         $context["circle"] = $this->extensions['App\Twig\InnerLinkageCircleExtension']->innerLinkageCircle("prostitutes");
  249.         // line 107
  250.         echo "    ";
  251.         if ( !(null === (isset($context["circle"]) || array_key_exists("circle"$context) ? $context["circle"] : (function () { throw new RuntimeError('Variable "circle" does not exist.'107$this->source); })()))) {
  252.             // line 108
  253.             echo "        <div class=\"inner_linkage_circle\">
  254.             <h3>Также интересуются:</h3>
  255.             <a href=\"";
  256.             // line 110
  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.'110$this->source); })()), 0, [], "array"falsefalsefalse110), "href", [], "any"falsefalsefalse110), "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.'110$this->source); })()), 0, [], "array"falsefalsefalse110), "text", [], "any"falsefalsefalse110), "html"nulltrue);
  260.             echo "</a><br/>
  261.             <a href=\"";
  262.             // line 111
  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.'111$this->source); })()), 1, [], "array"falsefalsefalse111), "href", [], "any"falsefalsefalse111), "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.'111$this->source); })()), 1, [], "array"falsefalsefalse111), "text", [], "any"falsefalsefalse111), "html"nulltrue);
  266.             echo "</a>
  267.         </div>
  268.     ";
  269.         }
  270.         // line 114
  271.         echo "
  272.     ";
  273.         // line 115
  274.         $context["districts_circle"] = $this->extensions['App\Twig\DistrictsLinkageExtension']->districtsLinkageCircle();
  275.         // line 116
  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.'116$this->source); })()))) {
  278.             // line 117
  279.             echo "        <div class=\"city_main_pages_linkage_circle\">
  280.             <h3>Также интересуются:</h3>
  281.             ";
  282.             // line 119
  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.'119$this->source); })()), 0, [], "array"falsefalsefalse119))) {
  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.'119$this->source); })()), 0, [], "array"falsefalsefalse119), "href", [], "any"falsefalsefalse119), "html"nulltrue);
  286.                 echo "\"
  287.                                                        style=\"text-transform: capitalize;\">";
  288.                 // line 120
  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.'120$this->source); })()), 0, [], "array"falsefalsefalse120), "text", [], "any"falsefalsefalse120), "html"nulltrue);
  290.                 echo "</a>
  291.                 <br/>";
  292.             }
  293.             // line 122
  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.'122$this->source); })()), 1, [], "array"falsefalsefalse122))) {
  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.'122$this->source); })()), 1, [], "array"falsefalsefalse122), "href", [], "any"falsefalsefalse122), "html"nulltrue);
  298.                 echo "\"
  299.                                                        style=\"text-transform: capitalize;\">";
  300.                 // line 123
  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.'123$this->source); })()), 1, [], "array"falsefalsefalse123), "text", [], "any"falsefalsefalse123), "html"nulltrue);
  302.                 echo "</a>";
  303.             }
  304.             // line 124
  305.             echo "        </div>
  306.     ";
  307.         }
  308.         // line 126
  309.         echo "
  310.     ";
  311.         // line 127
  312.         $context["stations_circle"] = $this->extensions['App\Twig\StationPagesLinkageExtension']->stationMainPagesLinkageCircle();
  313.         // line 128
  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.'128$this->source); })()))) {
  316.             // line 129
  317.             echo "        <div class=\"station_pages_linkage_circle\">
  318.             <h3>Также интересуются:</h3>
  319.             ";
  320.             // line 131
  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.'131$this->source); })()), 0, [], "array"falsefalsefalse131))) {
  322.                 echo "<a
  323.                 href=\"";
  324.                 // line 132
  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.'132$this->source); })()), 0, [], "array"falsefalsefalse132), "href", [], "any"falsefalsefalse132), "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.'132$this->source); })()), 0, [], "array"falsefalsefalse132), "text", [], "any"falsefalsefalse132), "html"nulltrue);
  328.                 echo "</a><br/>";
  329.             }
  330.             // line 133
  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.'133$this->source); })()), 1, [], "array"falsefalsefalse133))) {
  333.                 echo "<a
  334.                 href=\"";
  335.                 // line 134
  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.'134$this->source); })()), 1, [], "array"falsefalsefalse134), "href", [], "any"falsefalsefalse134), "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.'134$this->source); })()), 1, [], "array"falsefalsefalse134), "text", [], "any"falsefalsefalse134), "html"nulltrue);
  339.                 echo "</a>";
  340.             }
  341.             // line 135
  342.             echo "        </div>
  343.     ";
  344.         }
  345.         // line 137
  346.         echo "
  347.     ";
  348.         // line 138
  349.         $this->loadTemplate("last_girl_list.html.twig""ProfileList/list.html.twig"138)->display($context);
  350.         // line 139
  351.         echo "
  352.     ";
  353.         // line 141
  354.         echo "    ";
  355.         $this->loadTemplate("ProfileList/station_comments.partial.html.twig""ProfileList/list.html.twig"141)->display($context);
  356.         // line 142
  357.         echo "
  358.     ";
  359.         // line 143
  360.         $this->loadTemplate("ProfileList/profile_filter.partial.html.twig""ProfileList/list.html.twig"143)->display($context);
  361.         // line 144
  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 149
  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.'149$this->source); })()), "request", [], "any"falsefalsefalse149), "get", ["_route"], "method"falsefalsefalse149);
  369.         // line 150
  370.         echo "        ";
  371.         if (((        // line 151
  372. (isset($context["route"]) || array_key_exists("route"$context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.'151$this->source); })()) == "homepage") || ((        // line 152
  373. (isset($context["route"]) || array_key_exists("route"$context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.'152$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.'152$this->source); })()), "request", [], "any"falsefalsefalse152), "get", ["city"], "method"falsefalsefalse152), "id", [], "any"falsefalsefalse152) == twig_get_attribute($this->env$this->source$this->extensions['App\Twig\DefaultCityExtension']->defaultCity(), "id", [], "any"falsefalsefalse152))))) {
  374.             // line 153
  375.             echo "        document.addEventListener('DOMContentLoaded', _ => {
  376.             fetch('";
  377.             // line 154
  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.'154$this->source); })()), "request", [], "any"falsefalsefalse154), "attributes", [], "any"falsefalsefalse154), "get", ["city"$this->extensions['App\Twig\DefaultCityExtension']->defaultCity()], "method"falsefalsefalse154), "uriIdentity", [], "any"falsefalsefalse154)]), "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 172
  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 64
  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 65
  419.         echo "        <div id=\"profile-list\" class=\"row mb-3\">
  420.             ";
  421.         // line 66
  422.         $this->loadTemplate("ProfileList/list.profiles.html.twig""ProfileList/list.html.twig"66)->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.'66$this->source); })()), "currentPage", [], "any"falsefalsefalse66) < 2)) ? ($this->extensions['App\Twig\PaidPlacementsExtension']->currentTopPlacement()) : (null))]));
  423.         // line 67
  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 70
  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 71
  444.         echo "        ";
  445.         $this->loadTemplate("ProfileList/_show_more.profiles.html.twig""ProfileList/list.html.twig"71)->display($context);
  446.         // line 72
  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 => 72,  500 => 71,  487 => 70,  473 => 67,  471 => 66,  468 => 65,  455 => 64,  440 => 172,  419 => 154,  416 => 153,  414 => 152,  413 => 151,  411 => 150,  409 => 149,  402 => 144,  400 => 143,  397 => 142,  394 => 141,  391 => 139,  389 => 138,  386 => 137,  382 => 135,  376 => 134,  371 => 133,  365 => 132,  361 => 131,  357 => 129,  354 => 128,  352 => 127,  349 => 126,  345 => 124,  341 => 123,  334 => 122,  329 => 120,  323 => 119,  319 => 117,  316 => 116,  314 => 115,  311 => 114,  303 => 111,  297 => 110,  293 => 108,  290 => 107,  287 => 106,  284 => 99,  280 => 97,  276 => 96,  269 => 95,  264 => 93,  258 => 92,  254 => 90,  251 => 89,  249 => 88,  246 => 87,  242 => 85,  238 => 84,  231 => 83,  226 => 81,  220 => 80,  216 => 78,  213 => 77,  211 => 76,  206 => 74,  203 => 73,  201 => 70,  198 => 69,  196 => 64,  191 => 62,  188 => 61,  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>{{ seo_heading() }}</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 == 'with_whatsapp' %}
  510.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_with_whatsapp', {city:city.uriIdentity}) ~ '\">Анкеты с WhatsApp</a>' %}
  511.             {% elseif source == 'with_telegram' %}
  512.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_with_telegram', {city:city.uriIdentity}) ~ '\">Анкеты с Telegram</a>' %}
  513.             {% elseif source == 'elite' %}
  514.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_for_elite_girls', {city:city.uriIdentity}) ~ '\">Элитные проститутки</a>' %}
  515.             {% else %}
  516.                 {% set source_name = '' %}
  517.             {% endif %}
  518.             {% if source_default == 'approved' %}К сожалению, все <a href=\"{{ category_url }}\">проверенные девушки</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
  519.             {% if source_default == 'with_comments' %}К сожалению, все <a href=\"{{ category_url }}\">девушки, у которых есть отзывы</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
  520.             {% if source_default == 'with_video' %}К сожалению, все <a href=\"{{ category_url }}\">девушки, у которых есть видео</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
  521.             {% if source_default == 'with_selfie' %}К сожалению, все <a href=\"{{ category_url }}\">девушки, у которых есть селфи</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
  522.             {% if source_default == 'with_whatsapp' %}К сожалению, все <a href=\"{{ category_url }}\">девушки с WhatsApp</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
  523.             {% if source_default == 'with_telegram' %}К сожалению, все <a href=\"{{ category_url }}\">девушки с Telegram</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
  524.         {% endif %}
  525.         {% if source == 'by_params' %}К сожалению, раздел пуст. Посмотрите другие анкеты, которые мы подобрали для Вас.{% endif %}
  526.         {% if source == 'service' %}К сожалению, все девушки, которые практикуют услугу <a href=\"{{ category_url }}\">{{ service.name }}</a> сейчас отдыхают. Но мы подобрали для Вас девушек которые не против оказать Вам похожие услуги, взгляните!{% endif %}
  527.         {% if source == 'city' %}К сожалению, данный раздел пуст. Взгляните на другие анкеты, которые мы нашли для Вас в городе {{ city.name|trans }}.{% endif %}
  528.         {% if source == 'country' %}К сожалению, данный раздел пуст. Взгляните на анкеты которые мы подобрали для Вас.{% endif %}
  529.         {% if source == 'massage_service' %}К сожалению, все девушки для которых массаж — это призвание сейчас отдыхают. Посмотрите проституток, которые также готовы сделать Вам массаж.{% endif %}
  530.     </h6>
  531.     {% endif %}
  532.     #}
  533.     {{ porpaginas_render(profiles) }}
  534.     {% block mainList %}
  535.         <div id=\"profile-list\" class=\"row mb-3\">
  536.             {% include 'ProfileList/list.profiles.html.twig' with { 'top_profile': profiles.currentPage < 2 ? profile_top_placement() : null } %}
  537.         </div>
  538.     {% endblock %}
  539.     {% block showMore %}
  540.         {% include 'ProfileList/_show_more.profiles.html.twig' %}
  541.     {% endblock showMore %}
  542.     {{ porpaginas_render(profiles) }}
  543.     {% set cities_circle = city_main_pages_linkage_circle() %}
  544.     {% if cities_circle is not null %}
  545.         <div class=\"city_main_pages_linkage_circle\">
  546.             <h3>Также рекомендуем:</h3>
  547.             {% if cities_circle[0] is not null %}<a href=\"{{ cities_circle[0].href }}\"
  548.                                                     style=\"text-transform: capitalize;\">{{ cities_circle[0].text }}</a>
  549.                 <br/>{% endif %}
  550.             {% if cities_circle[1] is not null %}<a href=\"{{ cities_circle[1].href }}\"
  551.                                                     style=\"text-transform: capitalize;\">{{ cities_circle[1].text }}</a>{% endif %}
  552.         </div>
  553.     {% endif %}
  554.     {% set cities_circle = city_main_pages_linkage_by_countries_circle() %}
  555.     {% if cities_circle is not null %}
  556.         <div class=\"city_main_pages_linkage_circle\">
  557.             <h3>Также рекомендуем:</h3>
  558.             {% if cities_circle[0] is not null %}<a href=\"{{ cities_circle[0].href }}\"
  559.                                                     style=\"text-transform: capitalize;\">{{ cities_circle[0].text }}</a>
  560.                 <br/>{% endif %}
  561.             {% if cities_circle[1] is not null %}<a href=\"{{ cities_circle[1].href }}\"
  562.                                                     style=\"text-transform: capitalize;\">{{ cities_circle[1].text }}</a>{% endif %}
  563.         </div>
  564.     {% endif %}
  565.     {#
  566.     если указать в вызове параметр kind, напр. 'myCustomKind', то из перевода будут браться соответственно
  567.     MYCUSTOMKIND_FIRST_ и MYCUSTOMKIND_SECOND_ + падеж указанный в конфиге кольцовки, напр. MYCUSTOMKIND_FIRST_NOMINATIVE
  568.     можно использовать вызов без параметра, тогда из перевода будут браться соответственно PROSTITUTES_ и INDIVIDUALS_ с соответствующими падежfvb
  569.     #}
  570.     {% set circle = inner_linkage_circle('prostitutes') %}
  571.     {% if circle is not null %}
  572.         <div class=\"inner_linkage_circle\">
  573.             <h3>Также интересуются:</h3>
  574.             <a href=\"{{ circle[0].href }}\">{{ circle[0].text }}</a><br/>
  575.             <a href=\"{{ circle[1].href }}\">{{ circle[1].text }}</a>
  576.         </div>
  577.     {% endif %}
  578.     {% set districts_circle = districts_linkage_circle() %}
  579.     {% if districts_circle is not null %}
  580.         <div class=\"city_main_pages_linkage_circle\">
  581.             <h3>Также интересуются:</h3>
  582.             {% if districts_circle[0] is not null %}<a href=\"{{ districts_circle[0].href }}\"
  583.                                                        style=\"text-transform: capitalize;\">{{ districts_circle[0].text }}</a>
  584.                 <br/>{% endif %}
  585.             {% if districts_circle[1] is not null %}<a href=\"{{ districts_circle[1].href }}\"
  586.                                                        style=\"text-transform: capitalize;\">{{ districts_circle[1].text }}</a>{% endif %}
  587.         </div>
  588.     {% endif %}
  589.     {% set stations_circle = station_pages_linkage_circle() %}
  590.     {% if stations_circle is not null %}
  591.         <div class=\"station_pages_linkage_circle\">
  592.             <h3>Также интересуются:</h3>
  593.             {% if stations_circle[0] is not null %}<a
  594.                 href=\"{{ stations_circle[0].href }}\">{{ stations_circle[0].text }}</a><br/>{% endif %}
  595.             {% if stations_circle[1] is not null %}<a
  596.                 href=\"{{ stations_circle[1].href }}\">{{ stations_circle[1].text }}</a>{% endif %}
  597.         </div>
  598.     {% endif %}
  599.     {% include 'last_girl_list.html.twig' %}
  600.     {# комменты анкет для листинга станции #}
  601.     {% include 'ProfileList/station_comments.partial.html.twig' %}
  602.     {% include 'ProfileList/profile_filter.partial.html.twig' %}
  603.     <h3>Виджет Анкеты по категориям</h3>
  604.     <div id=\"widget_profiles_by_categories\" style=\"display:flex;gap:10px\"></div>
  605.     <script type=\"text/javascript\">
  606.         {% set route = app.request.get('_route') %}
  607.         {% if
  608.             route == 'homepage'
  609.             or (route == 'profile_list.list_by_city' and app.request.get('city').id == default_city().id) %}
  610.         document.addEventListener('DOMContentLoaded', _ => {
  611.             fetch('{{ path('profile_widget.by_categories', {city: app.request.attributes.get('city', default_city()).uriIdentity}) }}', {
  612.                 method: 'GET',
  613.                 headers: {
  614.                     \"X-Requested-With\": \"XMLHttpRequest\"
  615.                 },
  616.             }).then(response => {
  617.                 if (response.status < 300) {
  618.                     return response.text();
  619.                 } else {
  620.                     console.warn(\"🤔\");
  621.                     return null;
  622.                 }
  623.             }).then(response => {
  624.                 document.querySelector('#widget_profiles_by_categories').innerHTML = response;
  625.                 filterData();
  626.             });
  627.         });
  628.         {% endif %}
  629.     </script>
  630. {% endblock %}""ProfileList/list.html.twig""/app/templates/ProfileList/list.html.twig");
  631.     }
  632. }