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

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