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

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.         echo $this->extensions['App\Twig\SeoExtension']->pageHeading();
  151.         echo "</h1>
  152.     ";
  153.         // line 63
  154.         echo "
  155.     ";
  156.         // line 64
  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.'64$this->source); })()));
  158.         echo "
  159.     ";
  160.         // line 66
  161.         $this->displayBlock('mainList'$context$blocks);
  162.         // line 71
  163.         echo "
  164.     ";
  165.         // line 72
  166.         $this->displayBlock('showMore'$context$blocks);
  167.         // line 75
  168.         echo "
  169.     ";
  170.         // line 76
  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.'76$this->source); })()));
  172.         echo "
  173.     ";
  174.         // line 78
  175.         $context["cities_circle"] = $this->extensions['App\Twig\CityMainPagesLinkageExtension']->cityMainPagesLinkageCircle();
  176.         // line 79
  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.'79$this->source); })()))) {
  179.             // line 80
  180.             echo "        <div class=\"city_main_pages_linkage_circle\">
  181.             <h3>Также рекомендуем:</h3>
  182.             ";
  183.             // line 82
  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.'82$this->source); })()), 0, [], "array"falsefalsefalse82))) {
  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.'82$this->source); })()), 0, [], "array"falsefalsefalse82), "href", [], "any"falsefalsefalse82), "html"nulltrue);
  187.                 echo "\"
  188.                                                     style=\"text-transform: capitalize;\">";
  189.                 // line 83
  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.'83$this->source); })()), 0, [], "array"falsefalsefalse83), "text", [], "any"falsefalsefalse83), "html"nulltrue);
  191.                 echo "</a>
  192.                 <br/>";
  193.             }
  194.             // line 85
  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.'85$this->source); })()), 1, [], "array"falsefalsefalse85))) {
  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.'85$this->source); })()), 1, [], "array"falsefalsefalse85), "href", [], "any"falsefalsefalse85), "html"nulltrue);
  199.                 echo "\"
  200.                                                     style=\"text-transform: capitalize;\">";
  201.                 // line 86
  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.'86$this->source); })()), 1, [], "array"falsefalsefalse86), "text", [], "any"falsefalsefalse86), "html"nulltrue);
  203.                 echo "</a>";
  204.             }
  205.             // line 87
  206.             echo "        </div>
  207.     ";
  208.         }
  209.         // line 89
  210.         echo "
  211.     ";
  212.         // line 90
  213.         $context["cities_circle"] = $this->extensions['App\Twig\CityMainPagesLinkageByCountriesExtension']->cityMainPagesLinkageCircleByCountries();
  214.         // line 91
  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.'91$this->source); })()))) {
  217.             // line 92
  218.             echo "        <div class=\"city_main_pages_linkage_circle\">
  219.             <h3>Также рекомендуем:</h3>
  220.             ";
  221.             // line 94
  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.'94$this->source); })()), 0, [], "array"falsefalsefalse94))) {
  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.'94$this->source); })()), 0, [], "array"falsefalsefalse94), "href", [], "any"falsefalsefalse94), "html"nulltrue);
  225.                 echo "\"
  226.                                                     style=\"text-transform: capitalize;\">";
  227.                 // line 95
  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.'95$this->source); })()), 0, [], "array"falsefalsefalse95), "text", [], "any"falsefalsefalse95), "html"nulltrue);
  229.                 echo "</a>
  230.                 <br/>";
  231.             }
  232.             // line 97
  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.'97$this->source); })()), 1, [], "array"falsefalsefalse97))) {
  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.'97$this->source); })()), 1, [], "array"falsefalsefalse97), "href", [], "any"falsefalsefalse97), "html"nulltrue);
  237.                 echo "\"
  238.                                                     style=\"text-transform: capitalize;\">";
  239.                 // line 98
  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.'98$this->source); })()), 1, [], "array"falsefalsefalse98), "text", [], "any"falsefalsefalse98), "html"nulltrue);
  241.                 echo "</a>";
  242.             }
  243.             // line 99
  244.             echo "        </div>
  245.     ";
  246.         }
  247.         // line 101
  248.         echo "
  249.     ";
  250.         // line 108
  251.         echo "    ";
  252.         $context["circle"] = $this->extensions['App\Twig\InnerLinkageCircleExtension']->innerLinkageCircle("prostitutes");
  253.         // line 109
  254.         echo "    ";
  255.         if ( !(null === (isset($context["circle"]) || array_key_exists("circle"$context) ? $context["circle"] : (function () { throw new RuntimeError('Variable "circle" does not exist.'109$this->source); })()))) {
  256.             // line 110
  257.             echo "        <div class=\"inner_linkage_circle\">
  258.             <h3>Также интересуются:</h3>
  259.             <a href=\"";
  260.             // line 112
  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.'112$this->source); })()), 0, [], "array"falsefalsefalse112), "href", [], "any"falsefalsefalse112), "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.'112$this->source); })()), 0, [], "array"falsefalsefalse112), "text", [], "any"falsefalsefalse112), "html"nulltrue);
  264.             echo "</a><br/>
  265.             <a href=\"";
  266.             // line 113
  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.'113$this->source); })()), 1, [], "array"falsefalsefalse113), "href", [], "any"falsefalsefalse113), "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.'113$this->source); })()), 1, [], "array"falsefalsefalse113), "text", [], "any"falsefalsefalse113), "html"nulltrue);
  270.             echo "</a>
  271.         </div>
  272.     ";
  273.         }
  274.         // line 116
  275.         echo "
  276.     ";
  277.         // line 117
  278.         $context["districts_circle"] = $this->extensions['App\Twig\DistrictsLinkageExtension']->districtsLinkageCircle();
  279.         // line 118
  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.'118$this->source); })()))) {
  282.             // line 119
  283.             echo "        <div class=\"city_main_pages_linkage_circle\">
  284.             <h3>Также интересуются:</h3>
  285.             ";
  286.             // line 121
  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.'121$this->source); })()), 0, [], "array"falsefalsefalse121))) {
  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.'121$this->source); })()), 0, [], "array"falsefalsefalse121), "href", [], "any"falsefalsefalse121), "html"nulltrue);
  290.                 echo "\"
  291.                                                        style=\"text-transform: capitalize;\">";
  292.                 // line 122
  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.'122$this->source); })()), 0, [], "array"falsefalsefalse122), "text", [], "any"falsefalsefalse122), "html"nulltrue);
  294.                 echo "</a>
  295.                 <br/>";
  296.             }
  297.             // line 124
  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.'124$this->source); })()), 1, [], "array"falsefalsefalse124))) {
  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.'124$this->source); })()), 1, [], "array"falsefalsefalse124), "href", [], "any"falsefalsefalse124), "html"nulltrue);
  302.                 echo "\"
  303.                                                        style=\"text-transform: capitalize;\">";
  304.                 // line 125
  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.'125$this->source); })()), 1, [], "array"falsefalsefalse125), "text", [], "any"falsefalsefalse125), "html"nulltrue);
  306.                 echo "</a>";
  307.             }
  308.             // line 126
  309.             echo "        </div>
  310.     ";
  311.         }
  312.         // line 128
  313.         echo "
  314.     ";
  315.         // line 129
  316.         $context["stations_circle"] = $this->extensions['App\Twig\StationPagesLinkageExtension']->stationMainPagesLinkageCircle();
  317.         // line 130
  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.'130$this->source); })()))) {
  320.             // line 131
  321.             echo "        <div class=\"station_pages_linkage_circle\">
  322.             <h3>Также интересуются:</h3>
  323.             ";
  324.             // line 133
  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.'133$this->source); })()), 0, [], "array"falsefalsefalse133))) {
  326.                 echo "<a
  327.                 href=\"";
  328.                 // line 134
  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.'134$this->source); })()), 0, [], "array"falsefalsefalse134), "href", [], "any"falsefalsefalse134), "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.'134$this->source); })()), 0, [], "array"falsefalsefalse134), "text", [], "any"falsefalsefalse134), "html"nulltrue);
  332.                 echo "</a><br/>";
  333.             }
  334.             // line 135
  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.'135$this->source); })()), 1, [], "array"falsefalsefalse135))) {
  337.                 echo "<a
  338.                 href=\"";
  339.                 // line 136
  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.'136$this->source); })()), 1, [], "array"falsefalsefalse136), "href", [], "any"falsefalsefalse136), "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.'136$this->source); })()), 1, [], "array"falsefalsefalse136), "text", [], "any"falsefalsefalse136), "html"nulltrue);
  343.                 echo "</a>";
  344.             }
  345.             // line 137
  346.             echo "        </div>
  347.     ";
  348.         }
  349.         // line 139
  350.         echo "
  351.     ";
  352.         // line 140
  353.         $this->loadTemplate("last_girl_list.html.twig""ProfileList/list.html.twig"140)->display($context);
  354.         // line 141
  355.         echo "
  356.     ";
  357.         // line 143
  358.         echo "    ";
  359.         $this->loadTemplate("ProfileList/station_comments.partial.html.twig""ProfileList/list.html.twig"143)->display($context);
  360.         // line 144
  361.         echo "
  362.     ";
  363.         // line 145
  364.         $this->loadTemplate("ProfileList/profile_filter.partial.html.twig""ProfileList/list.html.twig"145)->display($context);
  365.         // line 146
  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 151
  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.'151$this->source); })()), "request", [], "any"falsefalsefalse151), "get", ["_route"], "method"falsefalsefalse151);
  373.         // line 152
  374.         echo "        ";
  375.         if (((        // line 153
  376. (isset($context["route"]) || array_key_exists("route"$context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.'153$this->source); })()) == "homepage") || ((        // line 154
  377. (isset($context["route"]) || array_key_exists("route"$context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.'154$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.'154$this->source); })()), "request", [], "any"falsefalsefalse154), "get", ["city"], "method"falsefalsefalse154), "id", [], "any"falsefalsefalse154) == twig_get_attribute($this->env$this->source$this->extensions['App\Twig\DefaultCityExtension']->defaultCity(), "id", [], "any"falsefalsefalse154))))) {
  378.             // line 155
  379.             echo "        document.addEventListener('DOMContentLoaded', _ => {
  380.             fetch('";
  381.             // line 156
  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.'156$this->source); })()), "request", [], "any"falsefalsefalse156), "attributes", [], "any"falsefalsefalse156), "get", ["city"$this->extensions['App\Twig\DefaultCityExtension']->defaultCity()], "method"falsefalsefalse156), "uriIdentity", [], "any"falsefalsefalse156)]), "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 174
  403.         echo "    </script>
  404.     <script type=\"text/javascript\">
  405.         document.addEventListener('DOMContentLoaded', function () {
  406.             const profileNodes = document.querySelectorAll('[data-profile-id]');
  407.             if (!profileNodes.length) {
  408.                 return;
  409.             }
  410.             const profileIds = Array.from(profileNodes)
  411.                 .map(node => parseInt(node.dataset.profileId, 10))
  412.                 .filter(Number.isInteger);
  413.             if (!profileIds.length) {
  414.                 return;
  415.             }
  416.             fetch('";
  417.         // line 191
  418.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_ctr.increase_shows");
  419.         echo "', {
  420.                 method: 'POST',
  421.                 headers: {
  422.                     'Content-Type': 'application/json',
  423.                     'X-Requested-With': 'XMLHttpRequest',
  424.                 },
  425.                 body: JSON.stringify({
  426.                     profiles: profileIds,
  427.                     source: '";
  428.         // line 199
  429.         echo twig_escape_filter($this->env, ((array_key_exists("source"$context)) ? (_twig_default_filter((isset($context["source"]) || array_key_exists("source"$context) ? $context["source"] : (function () { throw new RuntimeError('Variable "source" does not exist.'199$this->source); })()), "")) : ("")), "html"nulltrue);
  430.         echo "',
  431.                 }),
  432.             });
  433.         });
  434.     </script>
  435. ";
  436.         
  437.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  438.         
  439.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  440.         
  441.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  442.     }
  443.     // line 66
  444.     public function block_mainList($context, array $blocks = [])
  445.     {
  446.         $macros $this->macros;
  447.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  448.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainList"));
  449.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  450.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainList"));
  451.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  452.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainList"));
  453.         // line 67
  454.         echo "        <div id=\"profile-list\" class=\"row mb-3\">
  455.             ";
  456.         // line 68
  457.         $this->loadTemplate("ProfileList/list.profiles.html.twig""ProfileList/list.html.twig"68)->display($context);
  458.         // line 69
  459.         echo "        </div>
  460.     ";
  461.         
  462.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  463.         
  464.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  465.         
  466.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  467.     }
  468.     // line 72
  469.     public function block_showMore($context, array $blocks = [])
  470.     {
  471.         $macros $this->macros;
  472.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  473.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""showMore"));
  474.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  475.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""showMore"));
  476.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  477.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""showMore"));
  478.         // line 73
  479.         echo "        ";
  480.         $this->loadTemplate("ProfileList/_show_more.profiles.html.twig""ProfileList/list.html.twig"73)->display($context);
  481.         // line 74
  482.         echo "    ";
  483.         
  484.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  485.         
  486.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  487.         
  488.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  489.     }
  490.     /**
  491.      * @codeCoverageIgnore
  492.      */
  493.     public function getTemplateName()
  494.     {
  495.         return "ProfileList/list.html.twig";
  496.     }
  497.     /**
  498.      * @codeCoverageIgnore
  499.      */
  500.     public function isTraitable()
  501.     {
  502.         return false;
  503.     }
  504.     /**
  505.      * @codeCoverageIgnore
  506.      */
  507.     public function getDebugInfo()
  508.     {
  509.         return array (  542 => 74,  539 => 73,  526 => 72,  512 => 69,  510 => 68,  507 => 67,  494 => 66,  474 => 199,  463 => 191,  444 => 174,  423 => 156,  420 => 155,  418 => 154,  417 => 153,  415 => 152,  413 => 151,  406 => 146,  404 => 145,  401 => 144,  398 => 143,  395 => 141,  393 => 140,  390 => 139,  386 => 137,  380 => 136,  375 => 135,  369 => 134,  365 => 133,  361 => 131,  358 => 130,  356 => 129,  353 => 128,  349 => 126,  345 => 125,  338 => 124,  333 => 122,  327 => 121,  323 => 119,  320 => 118,  318 => 117,  315 => 116,  307 => 113,  301 => 112,  297 => 110,  294 => 109,  291 => 108,  288 => 101,  284 => 99,  280 => 98,  273 => 97,  268 => 95,  262 => 94,  258 => 92,  255 => 91,  253 => 90,  250 => 89,  246 => 87,  242 => 86,  235 => 85,  230 => 83,  224 => 82,  220 => 80,  217 => 79,  215 => 78,  210 => 76,  207 => 75,  205 => 72,  202 => 71,  200 => 66,  195 => 64,  192 => 63,  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,);
  510.     }
  511.     public function getSourceContext()
  512.     {
  513.         return new Source("{% extends 'grid.html.twig' %}
  514. {% set city = app.request.get('city', default_city()) %}
  515. {% block title %}
  516.     {{ seo_title() }}
  517. {% endblock %}
  518. {% block metaDescription %}
  519.     <meta name=\"description\" content=\"{{ seo_description() }}\">
  520. {% endblock %}
  521. {% block navbar %}
  522.     {{ parent() }}
  523.     {% if profiles and profiles.currentPage >= 2 %}
  524.         {% set excludeRecommendationProfileIds = [] %}
  525.         {% include 'Recommendations/_profile_recommendations.html.twig' %}
  526.     {% endif %}
  527. {% endblock %}
  528. {% block mainContainer %}
  529.     {{ seo_top() }}
  530.     <h1>{{ seo_heading() }}</h1>
  531.     {#
  532.     {% if source is defined and source %}
  533.     <h6 style=\"background-color: #ee4056;height: 20px;\">
  534.         {% if source == 'county' %}К сожалению, все девушки из округа <a href=\"{{ category_url }}\">{{ county.name }}</a> сейчас отдыхают, посмотрите проституток из других округов города {{ city.name|trans }}.{% endif %}
  535.         {% if source == 'district' %}К сожалению, все девушки из района <a href=\"{{ category_url }}\">{{ district.name }}</a> сейчас отдыхают, посмотрите проституток из других районов города {{ city.name|trans }}.{% endif %}
  536.         {% if source == 'station' %}К сожалению, все девушки работающие вблизи метро <a href=\"{{ category_url }}\">{{ station.name }}</a> сейчас отдыхают, посмотрите проституток у других станций метро в этом районе города {{ city.name|trans }}.{% endif %}
  537.         {% if source == 'approved' or source == 'with_comments' or  source == 'with_video' or source == 'elite' or source == 'with_selfie' %}
  538.             {% if source == 'approved' %}
  539.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_approved', {city:city.uriIdentity}) ~ '\">Проверенные анкеты</a>' %}
  540.             {% elseif source == 'with_comments' %}
  541.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_with_comments', {city:city.uriIdentity}) ~ '\">Анкеты с отзывами</a>' %}
  542.             {% elseif source == 'with_video' %}
  543.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_with_video', {city:city.uriIdentity}) ~ '\">Анкеты с видео</a>' %}
  544.             {% elseif source == 'with_selfie' %}
  545.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_with_selfie', {city:city.uriIdentity}) ~ '\">Анкеты с селфи</a>' %}
  546.             {% elseif source == 'with_whatsapp' %}
  547.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_with_whatsapp', {city:city.uriIdentity}) ~ '\">Анкеты с WhatsApp</a>' %}
  548.             {% elseif source == 'with_telegram' %}
  549.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_with_telegram', {city:city.uriIdentity}) ~ '\">Анкеты с Telegram</a>' %}
  550.             {% elseif source == 'elite' %}
  551.                 {% set source_name = '<a href=\"' ~ path('profile_list.list_for_elite_girls', {city:city.uriIdentity}) ~ '\">Элитные проститутки</a>' %}
  552.             {% else %}
  553.                 {% set source_name = '' %}
  554.             {% endif %}
  555.             {% if source_default == 'approved' %}К сожалению, все <a href=\"{{ category_url }}\">проверенные девушки</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
  556.             {% if source_default == 'with_comments' %}К сожалению, все <a href=\"{{ category_url }}\">девушки, у которых есть отзывы</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
  557.             {% if source_default == 'with_video' %}К сожалению, все <a href=\"{{ category_url }}\">девушки, у которых есть видео</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
  558.             {% if source_default == 'with_selfie' %}К сожалению, все <a href=\"{{ category_url }}\">девушки, у которых есть селфи</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
  559.             {% if source_default == 'with_whatsapp' %}К сожалению, все <a href=\"{{ category_url }}\">девушки с WhatsApp</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
  560.             {% if source_default == 'with_telegram' %}К сожалению, все <a href=\"{{ category_url }}\">девушки с Telegram</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
  561.         {% endif %}
  562.         {% if source == 'by_params' %}К сожалению, раздел пуст. Посмотрите другие анкеты, которые мы подобрали для Вас.{% endif %}
  563.         {% if source == 'service' %}К сожалению, все девушки, которые практикуют услугу <a href=\"{{ category_url }}\">{{ service.name }}</a> сейчас отдыхают. Но мы подобрали для Вас девушек которые не против оказать Вам похожие услуги, взгляните!{% endif %}
  564.         {% if source == 'city' %}К сожалению, данный раздел пуст. Взгляните на другие анкеты, которые мы нашли для Вас в городе {{ city.name|trans }}.{% endif %}
  565.         {% if source == 'country' %}К сожалению, данный раздел пуст. Взгляните на анкеты которые мы подобрали для Вас.{% endif %}
  566.         {% if source == 'massage_service' %}К сожалению, все девушки для которых массаж — это призвание сейчас отдыхают. Посмотрите проституток, которые также готовы сделать Вам массаж.{% endif %}
  567.     </h6>
  568.     {% endif %}
  569.     #}
  570.     {{ porpaginas_render(profiles) }}
  571.     {% block mainList %}
  572.         <div id=\"profile-list\" class=\"row mb-3\">
  573.             {% include 'ProfileList/list.profiles.html.twig' %}
  574.         </div>
  575.     {% endblock %}
  576.     {% block showMore %}
  577.         {% include 'ProfileList/_show_more.profiles.html.twig' %}
  578.     {% endblock showMore %}
  579.     {{ porpaginas_render(profiles) }}
  580.     {% set cities_circle = city_main_pages_linkage_circle() %}
  581.     {% if cities_circle is not null %}
  582.         <div class=\"city_main_pages_linkage_circle\">
  583.             <h3>Также рекомендуем:</h3>
  584.             {% if cities_circle[0] is not null %}<a href=\"{{ cities_circle[0].href }}\"
  585.                                                     style=\"text-transform: capitalize;\">{{ cities_circle[0].text }}</a>
  586.                 <br/>{% endif %}
  587.             {% if cities_circle[1] is not null %}<a href=\"{{ cities_circle[1].href }}\"
  588.                                                     style=\"text-transform: capitalize;\">{{ cities_circle[1].text }}</a>{% endif %}
  589.         </div>
  590.     {% endif %}
  591.     {% set cities_circle = city_main_pages_linkage_by_countries_circle() %}
  592.     {% if cities_circle is not null %}
  593.         <div class=\"city_main_pages_linkage_circle\">
  594.             <h3>Также рекомендуем:</h3>
  595.             {% if cities_circle[0] is not null %}<a href=\"{{ cities_circle[0].href }}\"
  596.                                                     style=\"text-transform: capitalize;\">{{ cities_circle[0].text }}</a>
  597.                 <br/>{% endif %}
  598.             {% if cities_circle[1] is not null %}<a href=\"{{ cities_circle[1].href }}\"
  599.                                                     style=\"text-transform: capitalize;\">{{ cities_circle[1].text }}</a>{% endif %}
  600.         </div>
  601.     {% endif %}
  602.     {#
  603.     если указать в вызове параметр kind, напр. 'myCustomKind', то из перевода будут браться соответственно
  604.     MYCUSTOMKIND_FIRST_ и MYCUSTOMKIND_SECOND_ + падеж указанный в конфиге кольцовки, напр. MYCUSTOMKIND_FIRST_NOMINATIVE
  605.     можно использовать вызов без параметра, тогда из перевода будут браться соответственно PROSTITUTES_ и INDIVIDUALS_ с соответствующими падежfvb
  606.     #}
  607.     {% set circle = inner_linkage_circle('prostitutes') %}
  608.     {% if circle is not null %}
  609.         <div class=\"inner_linkage_circle\">
  610.             <h3>Также интересуются:</h3>
  611.             <a href=\"{{ circle[0].href }}\">{{ circle[0].text }}</a><br/>
  612.             <a href=\"{{ circle[1].href }}\">{{ circle[1].text }}</a>
  613.         </div>
  614.     {% endif %}
  615.     {% set districts_circle = districts_linkage_circle() %}
  616.     {% if districts_circle is not null %}
  617.         <div class=\"city_main_pages_linkage_circle\">
  618.             <h3>Также интересуются:</h3>
  619.             {% if districts_circle[0] is not null %}<a href=\"{{ districts_circle[0].href }}\"
  620.                                                        style=\"text-transform: capitalize;\">{{ districts_circle[0].text }}</a>
  621.                 <br/>{% endif %}
  622.             {% if districts_circle[1] is not null %}<a href=\"{{ districts_circle[1].href }}\"
  623.                                                        style=\"text-transform: capitalize;\">{{ districts_circle[1].text }}</a>{% endif %}
  624.         </div>
  625.     {% endif %}
  626.     {% set stations_circle = station_pages_linkage_circle() %}
  627.     {% if stations_circle is not null %}
  628.         <div class=\"station_pages_linkage_circle\">
  629.             <h3>Также интересуются:</h3>
  630.             {% if stations_circle[0] is not null %}<a
  631.                 href=\"{{ stations_circle[0].href }}\">{{ stations_circle[0].text }}</a><br/>{% endif %}
  632.             {% if stations_circle[1] is not null %}<a
  633.                 href=\"{{ stations_circle[1].href }}\">{{ stations_circle[1].text }}</a>{% endif %}
  634.         </div>
  635.     {% endif %}
  636.     {% include 'last_girl_list.html.twig' %}
  637.     {# комменты анкет для листинга станции #}
  638.     {% include 'ProfileList/station_comments.partial.html.twig' %}
  639.     {% include 'ProfileList/profile_filter.partial.html.twig' %}
  640.     <h3>Виджет Анкеты по категориям</h3>
  641.     <div id=\"widget_profiles_by_categories\" style=\"display:flex;gap:10px\"></div>
  642.     <script type=\"text/javascript\">
  643.         {% set route = app.request.get('_route') %}
  644.         {% if
  645.             route == 'homepage'
  646.             or (route == 'profile_list.list_by_city' and app.request.get('city').id == default_city().id) %}
  647.         document.addEventListener('DOMContentLoaded', _ => {
  648.             fetch('{{ path('profile_widget.by_categories', {city: app.request.attributes.get('city', default_city()).uriIdentity}) }}', {
  649.                 method: 'GET',
  650.                 headers: {
  651.                     \"X-Requested-With\": \"XMLHttpRequest\"
  652.                 },
  653.             }).then(response => {
  654.                 if (response.status < 300) {
  655.                     return response.text();
  656.                 } else {
  657.                     console.warn(\"🤔\");
  658.                     return null;
  659.                 }
  660.             }).then(response => {
  661.                 document.querySelector('#widget_profiles_by_categories').innerHTML = response;
  662.                 filterData();
  663.             });
  664.         });
  665.         {% endif %}
  666.     </script>
  667.     <script type=\"text/javascript\">
  668.         document.addEventListener('DOMContentLoaded', function () {
  669.             const profileNodes = document.querySelectorAll('[data-profile-id]');
  670.             if (!profileNodes.length) {
  671.                 return;
  672.             }
  673.             const profileIds = Array.from(profileNodes)
  674.                 .map(node => parseInt(node.dataset.profileId, 10))
  675.                 .filter(Number.isInteger);
  676.             if (!profileIds.length) {
  677.                 return;
  678.             }
  679.             fetch('{{ path('profile_ctr.increase_shows') }}', {
  680.                 method: 'POST',
  681.                 headers: {
  682.                     'Content-Type': 'application/json',
  683.                     'X-Requested-With': 'XMLHttpRequest',
  684.                 },
  685.                 body: JSON.stringify({
  686.                     profiles: profileIds,
  687.                     source: '{{ source|default('') }}',
  688.                 }),
  689.             });
  690.         });
  691.     </script>
  692. {% endblock %}""ProfileList/list.html.twig""/app/templates/ProfileList/list.html.twig");
  693.     }
  694. }