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

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* ProfileList/list.html.twig */
  14. class __TwigTemplate_09c006177d0309b7aaecc091c4a4831a extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'metaDescription' => [$this'block_metaDescription'],
  25.             'navbar' => [$this'block_navbar'],
  26.             'mainContainer' => [$this'block_mainContainer'],
  27.             'mainList' => [$this'block_mainList'],
  28.             'showMore' => [$this'block_showMore'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context)
  32.     {
  33.         // line 1
  34.         return "grid.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  40.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/list.html.twig"));
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/list.html.twig"));
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/list.html.twig"));
  45.         // line 3
  46.         $context["city"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'3$this->source); })()), "request", [], "any"falsefalsefalse3), "get", ["city"$this->extensions['App\Twig\DefaultCityExtension']->defaultCity()], "method"falsefalsefalse3);
  47.         // line 1
  48.         $this->parent $this->loadTemplate("grid.html.twig""ProfileList/list.html.twig"1);
  49.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  50.         
  51.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  52.         
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  54.         
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  56.     }
  57.     // line 5
  58.     public function block_title($context, array $blocks = [])
  59.     {
  60.         $macros $this->macros;
  61.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  62.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  63.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  65.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  67.         // line 6
  68.         echo "    ";
  69.         echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoExtension']->metaTitle(), "html"nulltrue);
  70.         echo "
  71. ";
  72.         
  73.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  74.         
  75.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  76.         
  77.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  78.     }
  79.     // line 9
  80.     public function block_metaDescription($context, array $blocks = [])
  81.     {
  82.         $macros $this->macros;
  83.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  84.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  85.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  86.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  87.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  88.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  89.         // line 10
  90.         echo "    <meta name=\"description\" content=\"";
  91.         echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoExtension']->metaDescription(), "html"nulltrue);
  92.         echo "\">
  93. ";
  94.         
  95.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  96.         
  97.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  98.         
  99.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  100.     }
  101.     // line 13
  102.     public function block_navbar($context, array $blocks = [])
  103.     {
  104.         $macros $this->macros;
  105.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  106.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar"));
  107.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  108.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar"));
  109.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  110.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar"));
  111.         // line 14
  112.         echo "    ";
  113.         $this->displayParentBlock("navbar"$context$blocks);
  114.         echo "
  115.     ";
  116.         // line 15
  117.         if (((isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'15$this->source); })()) && (twig_get_attribute($this->env$this->source, (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'15$this->source); })()), "currentPage", [], "any"falsefalsefalse15) >= 2))) {
  118.             // line 16
  119.             echo "        ";
  120.             $context["excludeRecommendationProfileIds"] = [];
  121.             // line 17
  122.             echo "        ";
  123.             $this->loadTemplate("Recommendations/_profile_recommendations.html.twig""ProfileList/list.html.twig"17)->display($context);
  124.             // line 18
  125.             echo "    ";
  126.         }
  127.         
  128.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  129.         
  130.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  131.         
  132.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  133.     }
  134.     // line 21
  135.     public function block_mainContainer($context, array $blocks = [])
  136.     {
  137.         $macros $this->macros;
  138.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  139.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  140.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  141.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  142.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  143.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  144.         // line 22
  145.         echo "    ";
  146.         echo $this->extensions['App\Twig\SeoExtension']->topHtml();
  147.         echo "
  148.     <h1>";
  149.         // line 23
  150.         (($this->extensions['App\Twig\SeoExtension']->pageHeading()) ? (print ($this->extensions['App\Twig\SeoExtension']->pageHeading())) : (print (twig_escape_filter($this->env$this->extensions['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.'23$this->source); })()), "name", [], "any"falsefalsefalse23)), "genitive")]), "html"nulltrue))));
  151.         echo "</h1>
  152.     ";
  153.         // line 57
  154.         echo "
  155.     ";
  156.         // line 58
  157.         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.'58$this->source); })()));
  158.         echo "
  159.     ";
  160.         // line 60
  161.         $this->displayBlock('mainList'$context$blocks);
  162.         // line 65
  163.         echo "
  164.     ";
  165.         // line 66
  166.         $this->displayBlock('showMore'$context$blocks);
  167.         // line 69
  168.         echo "
  169.     ";
  170.         // line 70
  171.         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.'70$this->source); })()));
  172.         echo "
  173.     ";
  174.         // line 72
  175.         $context["cities_circle"] = $this->extensions['App\Twig\CityMainPagesLinkageExtension']->cityMainPagesLinkageCircle();
  176.         // line 73
  177.         echo "    ";
  178.         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.'73$this->source); })()))) {
  179.             // line 74
  180.             echo "        <div class=\"city_main_pages_linkage_circle\">
  181.             <h3>Также рекомендуем:</h3>
  182.             ";
  183.             // line 76
  184.             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.'76$this->source); })()), 0, [], "array"falsefalsefalse76))) {
  185.                 echo "<a href=\"";
  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.'76$this->source); })()), 0, [], "array"falsefalsefalse76), "href", [], "any"falsefalsefalse76), "html"nulltrue);
  187.                 echo "\"
  188.                                                     style=\"text-transform: capitalize;\">";
  189.                 // line 77
  190.                 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); })()), 0, [], "array"falsefalsefalse77), "text", [], "any"falsefalsefalse77), "html"nulltrue);
  191.                 echo "</a>
  192.                 <br/>";
  193.             }
  194.             // line 79
  195.             echo "            ";
  196.             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.'79$this->source); })()), 1, [], "array"falsefalsefalse79))) {
  197.                 echo "<a href=\"";
  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.'79$this->source); })()), 1, [], "array"falsefalsefalse79), "href", [], "any"falsefalsefalse79), "html"nulltrue);
  199.                 echo "\"
  200.                                                     style=\"text-transform: capitalize;\">";
  201.                 // line 80
  202.                 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); })()), 1, [], "array"falsefalsefalse80), "text", [], "any"falsefalsefalse80), "html"nulltrue);
  203.                 echo "</a>";
  204.             }
  205.             // line 81
  206.             echo "        </div>
  207.     ";
  208.         }
  209.         // line 83
  210.         echo "
  211.     ";
  212.         // line 84
  213.         $context["cities_circle"] = $this->extensions['App\Twig\CityMainPagesLinkageByCountriesExtension']->cityMainPagesLinkageCircleByCountries();
  214.         // line 85
  215.         echo "    ";
  216.         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.'85$this->source); })()))) {
  217.             // line 86
  218.             echo "        <div class=\"city_main_pages_linkage_circle\">
  219.             <h3>Также рекомендуем:</h3>
  220.             ";
  221.             // line 88
  222.             if ( !(null === twig_get_attribute($this->env$this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle"$context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.'88$this->source); })()), 0, [], "array"falsefalsefalse88))) {
  223.                 echo "<a href=\"";
  224.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle"$context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.'88$this->source); })()), 0, [], "array"falsefalsefalse88), "href", [], "any"falsefalsefalse88), "html"nulltrue);
  225.                 echo "\"
  226.                                                     style=\"text-transform: capitalize;\">";
  227.                 // line 89
  228.                 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); })()), 0, [], "array"falsefalsefalse89), "text", [], "any"falsefalsefalse89), "html"nulltrue);
  229.                 echo "</a>
  230.                 <br/>";
  231.             }
  232.             // line 91
  233.             echo "            ";
  234.             if ( !(null === twig_get_attribute($this->env$this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle"$context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.'91$this->source); })()), 1, [], "array"falsefalsefalse91))) {
  235.                 echo "<a href=\"";
  236.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle"$context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.'91$this->source); })()), 1, [], "array"falsefalsefalse91), "href", [], "any"falsefalsefalse91), "html"nulltrue);
  237.                 echo "\"
  238.                                                     style=\"text-transform: capitalize;\">";
  239.                 // line 92
  240.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["cities_circle"]) || array_key_exists("cities_circle"$context) ? $context["cities_circle"] : (function () { throw new RuntimeError('Variable "cities_circle" does not exist.'92$this->source); })()), 1, [], "array"falsefalsefalse92), "text", [], "any"falsefalsefalse92), "html"nulltrue);
  241.                 echo "</a>";
  242.             }
  243.             // line 93
  244.             echo "        </div>
  245.     ";
  246.         }
  247.         // line 95
  248.         echo "
  249.     ";
  250.         // line 102
  251.         echo "    ";
  252.         $context["circle"] = $this->extensions['App\Twig\InnerLinkageCircleExtension']->innerLinkageCircle("prostitutes");
  253.         // line 103
  254.         echo "    ";
  255.         if ( !(null === (isset($context["circle"]) || array_key_exists("circle"$context) ? $context["circle"] : (function () { throw new RuntimeError('Variable "circle" does not exist.'103$this->source); })()))) {
  256.             // line 104
  257.             echo "        <div class=\"inner_linkage_circle\">
  258.             <h3>Также интересуются:</h3>
  259.             <a href=\"";
  260.             // line 106
  261.             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.'106$this->source); })()), 0, [], "array"falsefalsefalse106), "href", [], "any"falsefalsefalse106), "html"nulltrue);
  262.             echo "\">";
  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.'106$this->source); })()), 0, [], "array"falsefalsefalse106), "text", [], "any"falsefalsefalse106), "html"nulltrue);
  264.             echo "</a><br/>
  265.             <a href=\"";
  266.             // line 107
  267.             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.'107$this->source); })()), 1, [], "array"falsefalsefalse107), "href", [], "any"falsefalsefalse107), "html"nulltrue);
  268.             echo "\">";
  269.             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.'107$this->source); })()), 1, [], "array"falsefalsefalse107), "text", [], "any"falsefalsefalse107), "html"nulltrue);
  270.             echo "</a>
  271.         </div>
  272.     ";
  273.         }
  274.         // line 110
  275.         echo "
  276.     ";
  277.         // line 111
  278.         $context["districts_circle"] = $this->extensions['App\Twig\DistrictsLinkageExtension']->districtsLinkageCircle();
  279.         // line 112
  280.         echo "    ";
  281.         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.'112$this->source); })()))) {
  282.             // line 113
  283.             echo "        <div class=\"city_main_pages_linkage_circle\">
  284.             <h3>Также интересуются:</h3>
  285.             ";
  286.             // line 115
  287.             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.'115$this->source); })()), 0, [], "array"falsefalsefalse115))) {
  288.                 echo "<a href=\"";
  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.'115$this->source); })()), 0, [], "array"falsefalsefalse115), "href", [], "any"falsefalsefalse115), "html"nulltrue);
  290.                 echo "\"
  291.                                                        style=\"text-transform: capitalize;\">";
  292.                 // line 116
  293.                 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); })()), 0, [], "array"falsefalsefalse116), "text", [], "any"falsefalsefalse116), "html"nulltrue);
  294.                 echo "</a>
  295.                 <br/>";
  296.             }
  297.             // line 118
  298.             echo "            ";
  299.             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.'118$this->source); })()), 1, [], "array"falsefalsefalse118))) {
  300.                 echo "<a href=\"";
  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.'118$this->source); })()), 1, [], "array"falsefalsefalse118), "href", [], "any"falsefalsefalse118), "html"nulltrue);
  302.                 echo "\"
  303.                                                        style=\"text-transform: capitalize;\">";
  304.                 // line 119
  305.                 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); })()), 1, [], "array"falsefalsefalse119), "text", [], "any"falsefalsefalse119), "html"nulltrue);
  306.                 echo "</a>";
  307.             }
  308.             // line 120
  309.             echo "        </div>
  310.     ";
  311.         }
  312.         // line 122
  313.         echo "
  314.     ";
  315.         // line 123
  316.         $context["stations_circle"] = $this->extensions['App\Twig\StationPagesLinkageExtension']->stationMainPagesLinkageCircle();
  317.         // line 124
  318.         echo "    ";
  319.         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.'124$this->source); })()))) {
  320.             // line 125
  321.             echo "        <div class=\"station_pages_linkage_circle\">
  322.             <h3>Также интересуются:</h3>
  323.             ";
  324.             // line 127
  325.             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); })()), 0, [], "array"falsefalsefalse127))) {
  326.                 echo "<a
  327.                 href=\"";
  328.                 // line 128
  329.                 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); })()), 0, [], "array"falsefalsefalse128), "href", [], "any"falsefalsefalse128), "html"nulltrue);
  330.                 echo "\">";
  331.                 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); })()), 0, [], "array"falsefalsefalse128), "text", [], "any"falsefalsefalse128), "html"nulltrue);
  332.                 echo "</a><br/>";
  333.             }
  334.             // line 129
  335.             echo "            ";
  336.             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.'129$this->source); })()), 1, [], "array"falsefalsefalse129))) {
  337.                 echo "<a
  338.                 href=\"";
  339.                 // line 130
  340.                 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.'130$this->source); })()), 1, [], "array"falsefalsefalse130), "href", [], "any"falsefalsefalse130), "html"nulltrue);
  341.                 echo "\">";
  342.                 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.'130$this->source); })()), 1, [], "array"falsefalsefalse130), "text", [], "any"falsefalsefalse130), "html"nulltrue);
  343.                 echo "</a>";
  344.             }
  345.             // line 131
  346.             echo "        </div>
  347.     ";
  348.         }
  349.         // line 133
  350.         echo "
  351.     ";
  352.         // line 134
  353.         $this->loadTemplate("last_girl_list.html.twig""ProfileList/list.html.twig"134)->display($context);
  354.         // line 135
  355.         echo "
  356.     ";
  357.         // line 137
  358.         echo "    ";
  359.         $this->loadTemplate("ProfileList/station_comments.partial.html.twig""ProfileList/list.html.twig"137)->display($context);
  360.         // line 138
  361.         echo "
  362.     ";
  363.         // line 139
  364.         $this->loadTemplate("ProfileList/profile_filter.partial.html.twig""ProfileList/list.html.twig"139)->display($context);
  365.         // line 140
  366.         echo "
  367.     <h3>Виджет Анкеты по категориям</h3>
  368.     <div id=\"widget_profiles_by_categories\" style=\"display:flex;gap:10px\"></div>
  369.     <script type=\"text/javascript\">
  370.         ";
  371.         // line 145
  372.         $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.'145$this->source); })()), "request", [], "any"falsefalsefalse145), "get", ["_route"], "method"falsefalsefalse145);
  373.         // line 146
  374.         echo "        ";
  375.         if (((        // line 147
  376. (isset($context["route"]) || array_key_exists("route"$context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.'147$this->source); })()) == "homepage") || ((        // line 148
  377. (isset($context["route"]) || array_key_exists("route"$context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.'148$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.'148$this->source); })()), "request", [], "any"falsefalsefalse148), "get", ["city"], "method"falsefalsefalse148), "id", [], "any"falsefalsefalse148) == twig_get_attribute($this->env$this->source$this->extensions['App\Twig\DefaultCityExtension']->defaultCity(), "id", [], "any"falsefalsefalse148))))) {
  378.             // line 149
  379.             echo "        document.addEventListener('DOMContentLoaded', _ => {
  380.             fetch('";
  381.             // line 150
  382.             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.'150$this->source); })()), "request", [], "any"falsefalsefalse150), "attributes", [], "any"falsefalsefalse150), "get", ["city"$this->extensions['App\Twig\DefaultCityExtension']->defaultCity()], "method"falsefalsefalse150), "uriIdentity", [], "any"falsefalsefalse150)]), "html"nulltrue);
  383.             echo "', {
  384.                 method: 'GET',
  385.                 headers: {
  386.                     \"X-Requested-With\": \"XMLHttpRequest\"
  387.                 },
  388.             }).then(response => {
  389.                 if (response.status < 300) {
  390.                     return response.text();
  391.                 } else {
  392.                     console.warn(\"🤔\");
  393.                     return null;
  394.                 }
  395.             }).then(response => {
  396.                 document.querySelector('#widget_profiles_by_categories').innerHTML = response;
  397.                 filterData();
  398.             });
  399.         });
  400.         ";
  401.         }
  402.         // line 168
  403.         echo "    </script>
  404. ";
  405.         
  406.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  407.         
  408.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  409.         
  410.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  411.     }
  412.     // line 60
  413.     public function block_mainList($context, array $blocks = [])
  414.     {
  415.         $macros $this->macros;
  416.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  417.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainList"));
  418.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  419.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainList"));
  420.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  421.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainList"));
  422.         // line 61
  423.         echo "        <div id=\"profile-list\" class=\"row mb-3\">
  424.             ";
  425.         // line 62
  426.         $this->loadTemplate("ProfileList/list.profiles.html.twig""ProfileList/list.html.twig"62)->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.'62$this->source); })()), "currentPage", [], "any"falsefalsefalse62) < 2)) ? ($this->extensions['App\Twig\PaidPlacementsExtension']->currentTopPlacement()) : (null))]));
  427.         // line 63
  428.         echo "        </div>
  429.     ";
  430.         
  431.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  432.         
  433.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  434.         
  435.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  436.     }
  437.     // line 66
  438.     public function block_showMore($context, array $blocks = [])
  439.     {
  440.         $macros $this->macros;
  441.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  442.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""showMore"));
  443.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  444.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""showMore"));
  445.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  446.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""showMore"));
  447.         // line 67
  448.         echo "        ";
  449.         $this->loadTemplate("ProfileList/_show_more.profiles.html.twig""ProfileList/list.html.twig"67)->display($context);
  450.         // line 68
  451.         echo "    ";
  452.         
  453.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  454.         
  455.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  456.         
  457.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  458.     }
  459.     /**
  460.      * @codeCoverageIgnore
  461.      */
  462.     public function getTemplateName()
  463.     {
  464.         return "ProfileList/list.html.twig";
  465.     }
  466.     /**
  467.      * @codeCoverageIgnore
  468.      */
  469.     public function isTraitable()
  470.     {
  471.         return false;
  472.     }
  473.     /**
  474.      * @codeCoverageIgnore
  475.      */
  476.     public function getDebugInfo()
  477.     {
  478.         return array (  507 => 68,  504 => 67,  491 => 66,  477 => 63,  475 => 62,  472 => 61,  459 => 60,  444 => 168,  423 => 150,  420 => 149,  418 => 148,  417 => 147,  415 => 146,  413 => 145,  406 => 140,  404 => 139,  401 => 138,  398 => 137,  395 => 135,  393 => 134,  390 => 133,  386 => 131,  380 => 130,  375 => 129,  369 => 128,  365 => 127,  361 => 125,  358 => 124,  356 => 123,  353 => 122,  349 => 120,  345 => 119,  338 => 118,  333 => 116,  327 => 115,  323 => 113,  320 => 112,  318 => 111,  315 => 110,  307 => 107,  301 => 106,  297 => 104,  294 => 103,  291 => 102,  288 => 95,  284 => 93,  280 => 92,  273 => 91,  268 => 89,  262 => 88,  258 => 86,  255 => 85,  253 => 84,  250 => 83,  246 => 81,  242 => 80,  235 => 79,  230 => 77,  224 => 76,  220 => 74,  217 => 73,  215 => 72,  210 => 70,  207 => 69,  205 => 66,  202 => 65,  200 => 60,  195 => 58,  192 => 57,  188 => 23,  183 => 22,  170 => 21,  156 => 18,  153 => 17,  150 => 16,  148 => 15,  143 => 14,  130 => 13,  114 => 10,  101 => 9,  85 => 6,  72 => 5,  58 => 1,  56 => 3,  40 => 1,);
  479.     }
  480.     public function getSourceContext()
  481.     {
  482.         return new Source("{% extends 'grid.html.twig' %}
  483. {% set city = app.request.get('city', default_city()) %}
  484. {% block title %}
  485.     {{ seo_title() }}
  486. {% endblock %}
  487. {% block metaDescription %}
  488.     <meta name=\"description\" content=\"{{ seo_description() }}\">
  489. {% endblock %}
  490. {% block navbar %}
  491.     {{ parent() }}
  492.     {% if profiles and profiles.currentPage >= 2 %}
  493.         {% set excludeRecommendationProfileIds = [] %}
  494.         {% include 'Recommendations/_profile_recommendations.html.twig' %}
  495.     {% endif %}
  496. {% endblock %}
  497. {% block mainContainer %}
  498.     {{ seo_top() }}
  499.     <h1>{{ seo_heading() ?: ('Проститутки %ofCity%, шлюхи и путаны'|trans({'%ofCity%': city.name|trans|geo_name('genitive')})) }}</h1>
  500.     {#
  501.     {% if source is defined and source %}
  502.     <h6 style=\"background-color: #ee4056;height: 20px;\">
  503.         {% if source == 'county' %}К сожалению, все девушки из округа <a href=\"{{ category_url }}\">{{ county.name }}</a> сейчас отдыхают, посмотрите проституток из других округов города {{ city.name|trans }}.{% endif %}
  504.         {% if source == 'district' %}К сожалению, все девушки из района <a href=\"{{ category_url }}\">{{ district.name }}</a> сейчас отдыхают, посмотрите проституток из других районов города {{ city.name|trans }}.{% endif %}
  505.         {% if source == 'station' %}К сожалению, все девушки работающие вблизи метро <a href=\"{{ category_url }}\">{{ station.name }}</a> сейчас отдыхают, посмотрите проституток у других станций метро в этом районе города {{ city.name|trans }}.{% endif %}
  506.         {% if source == 'approved' or source == 'with_comments' or  source == 'with_video' or source == 'elite' or source == 'with_selfie' %}
  507.             {% if source == 'approved' %}
  508.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_approved', {city:city.uriIdentity}) ~ '\">Проверенные анкеты</a>' %}
  509.             {% elseif source == 'with_comments' %}
  510.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_with_comments', {city:city.uriIdentity}) ~ '\">Анкеты с отзывами</a>' %}
  511.             {% elseif source == 'with_video' %}
  512.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_with_video', {city:city.uriIdentity}) ~ '\">Анкеты с видео</a>' %}
  513.             {% elseif source == 'with_selfie' %}
  514.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_with_selfie', {city:city.uriIdentity}) ~ '\">Анкеты с селфи</a>' %}
  515.             {% elseif source == 'elite' %}
  516.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_for_elite_girls', {city:city.uriIdentity}) ~ '\">Элитные проститутки</a>' %}
  517.             {% else %}
  518.                 {% set source_name = '' %}
  519.             {% endif %}
  520.             {% if source_default == 'approved' %}К сожалению, все <a href=\"{{ category_url }}\">проверенные девушки</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
  521.             {% if source_default == 'with_comments' %}К сожалению, все <a href=\"{{ category_url }}\">девушки, у которых есть отзывы</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
  522.             {% if source_default == 'with_video' %}К сожалению, все <a href=\"{{ category_url }}\">девушки, у которых есть видео</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
  523.             {% if source_default == 'with_selfie' %}К сожалению, все <a href=\"{{ category_url }}\">девушки, у которых есть селфи</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. }