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

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.             'name_page' => [$this'block_name_page'],
  26.             'current_menu_map' => [$this'block_current_menu_map'],
  27.             'mainContainer' => [$this'block_mainContainer'],
  28.             'profileList' => [$this'block_profileList'],
  29.             'javascripts' => [$this'block_javascripts'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context)
  33.     {
  34.         // line 1
  35.         return "grid.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = [])
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  41.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/list.html.twig"));
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/list.html.twig"));
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/list.html.twig"));
  46.         $this->parent $this->loadTemplate("grid.html.twig""ProfileList/list.html.twig"1);
  47.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  48.         
  49.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  50.         
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  52.         
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  54.     }
  55.     // line 3
  56.     public function block_title($context, array $blocks = [])
  57.     {
  58.         $macros $this->macros;
  59.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  60.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  62.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  64.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  65.         echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoExtension']->metaTitle(), "html"nulltrue);
  66.         
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  68.         
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  70.         
  71.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  72.     }
  73.     // line 5
  74.     public function block_metaDescription($context, array $blocks = [])
  75.     {
  76.         $macros $this->macros;
  77.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  78.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  83.         // line 6
  84.         echo "\t<meta name=\"description\" content=\"";
  85.         echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoExtension']->metaDescription(), "html"nulltrue);
  86.         echo "\">
  87. ";
  88.         
  89.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  90.         
  91.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  92.         
  93.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  94.     }
  95.     // line 9
  96.     public function block_name_page($context, array $blocks = [])
  97.     {
  98.         $macros $this->macros;
  99.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  100.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""name_page"));
  101.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  102.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""name_page"));
  103.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  104.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""name_page"));
  105.         echo "girls-list";
  106.         
  107.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  108.         
  109.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  110.         
  111.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  112.     }
  113.     // line 10
  114.     public function block_current_menu_map($context, array $blocks = [])
  115.     {
  116.         $macros $this->macros;
  117.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  118.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""current_menu_map"));
  119.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  120.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""current_menu_map"));
  121.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  122.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""current_menu_map"));
  123.         echo " current";
  124.         
  125.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  126.         
  127.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  128.         
  129.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  130.     }
  131.     // line 12
  132.     public function block_mainContainer($context, array $blocks = [])
  133.     {
  134.         $macros $this->macros;
  135.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  136.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  137.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  138.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  139.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  140.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  141.         // line 13
  142.         echo "\t";
  143.         $context["forYandex"] = ((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.'13$this->source); })()), "request", [], "any"falsefalsefalse13), "requestUri", [], "any"falsefalsefalse13) == "/") && ((isset($context["page_metadata_variant"]) || array_key_exists("page_metadata_variant"$context) ? $context["page_metadata_variant"] : (function () { throw new RuntimeError('Variable "page_metadata_variant" does not exist.'13$this->source); })()) == "yandex"));
  144.         // line 14
  145.         echo "\t";
  146.         $context["excludeRecommendationProfileIds"] = [];
  147.         // line 15
  148.         echo "
  149. \t";
  150.         // line 16
  151.         echo $this->extensions['Knp\Menu\Twig\MenuExtension']->render("breadcrumbs", ["template" => "_menu/breadcrumbs.html.twig"]);
  152.         echo "
  153. \t<header class=\"list_heading border-line\" role=\"heading\">
  154. \t\t<div class=\"list_heading-inner\">
  155. \t\t\t<h1 class=\"list_heading__title\" role=\"heading\">";
  156.         // line 20
  157.         if ((isset($context["forYandex"]) || array_key_exists("forYandex"$context) ? $context["forYandex"] : (function () { throw new RuntimeError('Variable "forYandex" does not exist.'20$this->source); })())) {
  158.             echo "Проститутки Москвы индивидуалки";
  159.         } else {
  160.             echo $this->extensions['App\Twig\SeoExtension']->pageHeading();
  161.         }
  162.         echo "</h1>
  163. \t\t\t<span class=\"list_heading__count\">";
  164.         // line 21
  165.         echo twig_escape_filter($this->envtwig_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.'21$this->source); })()), "totalCount", [], "any"falsefalsefalse21), "html"nulltrue);
  166.         echo "</span>
  167. \t\t</div>
  168. \t</header>
  169. \t";
  170.         // line 26
  171.         echo "
  172. \t";
  173.         // line 99
  174.         echo "
  175. \t<div class=\"profiles-items-row\" id=\"profile-list\">
  176. \t\t";
  177.         // line 101
  178.         $this->displayBlock('profileList'$context$blocks);
  179.         // line 104
  180.         echo "\t</div>
  181.     ";
  182.         // line 106
  183.         $this->loadTemplate("ProfileList/_show_more.profiles.html.twig""ProfileList/list.html.twig"106)->display($context);
  184.         // line 107
  185.         echo "\t";
  186.         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.'107$this->source); })()));
  187.         echo "
  188. \t";
  189.         // line 117
  190.         echo "\t";
  191.         // line 127
  192.         echo "
  193. \t";
  194.         // line 147
  195.         echo "
  196.     ";
  197.         // line 156
  198.         echo "\t";
  199.         if (((isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'156$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.'156$this->source); })()), "currentPage", [], "any"falsefalsefalse156) >= 2))) {
  200.             // line 157
  201.             echo "\t\t";
  202.             echo twig_include($this->env$context"components/_profile_recommendations.html.twig", ["classname" => "recommendations-list-page"]);
  203.             echo "
  204. \t";
  205.         }
  206.         // line 159
  207.         echo "
  208. \t";
  209.         // line 161
  210.         echo "\t";
  211.         // line 162
  212.         echo "\t\t";
  213.         // line 163
  214.         echo "\t";
  215.         // line 164
  216.         echo "\t";
  217.         echo twig_include($this->env$context"components/seo.partial.twig", ["type" => "top"]);
  218.         echo "
  219. \t";
  220.         // line 165
  221.         echo twig_include($this->env$context"components/seo.partial.twig", ["type" => "bottom"]);
  222.         echo "
  223. ";
  224.         
  225.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  226.         
  227.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  228.         
  229.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  230.     }
  231.     // line 101
  232.     public function block_profileList($context, array $blocks = [])
  233.     {
  234.         $macros $this->macros;
  235.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  236.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""profileList"));
  237.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  238.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""profileList"));
  239.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  240.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""profileList"));
  241.         // line 102
  242.         echo "\t\t\t";
  243.         $this->loadTemplate("ProfileList/list.profiles.html.twig""ProfileList/list.html.twig"102)->display(twig_array_merge($context, ["profileList" => (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'102$this->source); })())]));
  244.         // line 103
  245.         echo "\t\t";
  246.         
  247.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  248.         
  249.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  250.         
  251.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  252.     }
  253.     // line 168
  254.     public function block_javascripts($context, array $blocks = [])
  255.     {
  256.         $macros $this->macros;
  257.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  258.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  259.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  260.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  261.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  262.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  263.         // line 169
  264.         echo "\t";
  265.         $this->displayParentBlock("javascripts"$context$blocks);
  266.         echo "
  267. \t<script>
  268. \t\twindow._strl = {
  269. \t\t\tstations: {";
  270.         // line 174
  271.         $context['_parent'] = $context;
  272.         $context['_seq'] = twig_ensure_traversable($this->extensions['App\Twig\StationsExtension']->stations());
  273.         $context['loop'] = [
  274.           'parent' => $context['_parent'],
  275.           'index0' => 0,
  276.           'index'  => 1,
  277.           'first'  => true,
  278.         ];
  279.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  280.             $length count($context['_seq']);
  281.             $context['loop']['revindex0'] = $length 1;
  282.             $context['loop']['revindex'] = $length;
  283.             $context['loop']['length'] = $length;
  284.             $context['loop']['last'] = === $length;
  285.         }
  286.         foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
  287.             // line 175
  288.             echo "\"";
  289.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["station"], "name", [], "any"falsefalsefalse175)), "html"nulltrue);
  290.             echo "\": \"";
  291.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_station", ["city" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["station"], "city", [], "any"falsefalsefalse175), "uriIdentity", [], "any"falsefalsefalse175), "station" => twig_get_attribute($this->env$this->source$context["station"], "uriIdentity", [], "any"falsefalsefalse175)]), "html"nulltrue);
  292.             echo "\"";
  293.             if ( !twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse175)) {
  294.                 echo ",";
  295.             }
  296.             ++$context['loop']['index0'];
  297.             ++$context['loop']['index'];
  298.             $context['loop']['first'] = false;
  299.             if (isset($context['loop']['length'])) {
  300.                 --$context['loop']['revindex0'];
  301.                 --$context['loop']['revindex'];
  302.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  303.             }
  304.         }
  305.         $_parent $context['_parent'];
  306.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
  307.         $context array_intersect_key($context$_parent) + $_parent;
  308.         // line 177
  309.         echo "}
  310. \t\t};
  311.         window._lD = {
  312.             setLastViewedListing: '";
  313.         // line 180
  314.         echo twig_escape_filter($this->envtwig_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.'180$this->source); })()), "request", [], "any"falsefalsefalse180), "attributes", [], "any"falsefalsefalse180), "get", ["_route"], "method"falsefalsefalse180), "html"nulltrue);
  315.         echo "',
  316.             cityUrl: \"";
  317.         // line 181
  318.         echo twig_escape_filter($this->envtwig_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.'181$this->source); })()), "uriIdentity", [], "any"falsefalsefalse181), "html"nulltrue);
  319.         echo "\",
  320.         };
  321. \t\t";
  322.         // line 192
  323.         echo "\t</script>
  324. ";
  325.         
  326.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  327.         
  328.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  329.         
  330.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  331.     }
  332.     /**
  333.      * @codeCoverageIgnore
  334.      */
  335.     public function getTemplateName()
  336.     {
  337.         return "ProfileList/list.html.twig";
  338.     }
  339.     /**
  340.      * @codeCoverageIgnore
  341.      */
  342.     public function isTraitable()
  343.     {
  344.         return false;
  345.     }
  346.     /**
  347.      * @codeCoverageIgnore
  348.      */
  349.     public function getDebugInfo()
  350.     {
  351.         return array (  387 => 192,  382 => 181,  378 => 180,  373 => 177,  352 => 175,  335 => 174,  327 => 169,  314 => 168,  301 => 103,  298 => 102,  285 => 101,  270 => 165,  265 => 164,  263 => 163,  261 => 162,  259 => 161,  256 => 159,  250 => 157,  247 => 156,  244 => 147,  241 => 127,  239 => 117,  233 => 107,  231 => 106,  227 => 104,  225 => 101,  221 => 99,  218 => 26,  211 => 21,  203 => 20,  196 => 16,  193 => 15,  190 => 14,  187 => 13,  174 => 12,  149 => 10,  124 => 9,  108 => 6,  95 => 5,  70 => 3,  41 => 1,);
  352.     }
  353.     public function getSourceContext()
  354.     {
  355.         return new Source("{% extends 'grid.html.twig' %}
  356. {% block title %}{{ seo_title() }}{% endblock %}
  357. {% block metaDescription %}
  358. \t<meta name=\"description\" content=\"{{ seo_description() }}\">
  359. {% endblock %}
  360. {% block name_page %}girls-list{% endblock %}
  361. {% block current_menu_map %} current{% endblock %}
  362. {% block mainContainer %}
  363. \t{% set forYandex = app.request.requestUri == \"/\" and page_metadata_variant == \"yandex\" %}
  364. \t{% set excludeRecommendationProfileIds = [] %}
  365. \t{{ knp_menu_render('breadcrumbs', {'template': '_menu/breadcrumbs.html.twig'}) }}
  366. \t<header class=\"list_heading border-line\" role=\"heading\">
  367. \t\t<div class=\"list_heading-inner\">
  368. \t\t\t<h1 class=\"list_heading__title\" role=\"heading\">{% if forYandex %}Проститутки Москвы индивидуалки{% else %}{{ seo_heading() }}{% endif %}</h1>
  369. \t\t\t<span class=\"list_heading__count\">{{ profiles.totalCount }}</span>
  370. \t\t</div>
  371. \t</header>
  372. \t{# {{ include('components/top_seo.html.twig', { 'type': 'main' }) }} #}
  373. \t{#{% if source is defined and source %}
  374. \t\t<div class=\"empty-category level d-flex overflow-hidden mb-4\">
  375. \t\t\t<div class=\"empty-category__icon d-flex align-items-center justify-content-center\">
  376. \t\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewbox=\"0 0 34 30\"><path fill=\"#FF3F40\" fill-rule=\"evenodd\" d=\"M.5 29.25L17 .75l16.5 28.5H.5zm27.8-3L17 6.73 5.7 26.25h22.6zm-12.8-4.5v3h3v-3h-3zm0-9h3v6h-3v-6z\" clip-rule=\"evenodd\"/></svg>
  377. \t\t\t</div>
  378. \t\t\t<div class=\"flex-fill px-3 px-sm-4 py-3\">
  379. \t\t\t\t<p class=\"m-0\">
  380. \t\t\t\t\t{% if source == 'county' %}К сожалению, все девушки из округа
  381. \t\t\t\t\t\t<a href=\"{{ category_url }}\">{{ county.name }}</a>
  382. \t\t\t\t\t\tсейчас отдыхают, посмотрите проституток из других округов города
  383. \t\t\t\t\t\t{{ city.name|trans }}.
  384. \t\t\t\t\t{% endif %}
  385. \t\t\t\t\t{% if source == 'district' %}К сожалению, все девушки из района
  386. \t\t\t\t\t\t<a href=\"{{ category_url }}\">{{ district.name }}</a>
  387. \t\t\t\t\t\tсейчас отдыхают, посмотрите проституток из других районов города
  388. \t\t\t\t\t\t{{ city.name|trans }}.
  389. \t\t\t\t\t{% endif %}
  390. \t\t\t\t\t{% if source == 'station' %}К сожалению, все девушки работающие вблизи метро
  391. \t\t\t\t\t\t<a href=\"{{ category_url }}\">{{ station.name }}</a>
  392. \t\t\t\t\t\tсейчас отдыхают, посмотрите проституток у других станций метро в этом районе города
  393. \t\t\t\t\t\t{{ city.name|trans }}.
  394. \t\t\t\t\t{% endif %}
  395. \t\t\t\t\t{% if source == 'approved' or source == 'with_comments' or  source == 'with_video' or source == 'elite' or source == 'with_selfie' %}
  396. \t\t\t\t\t\t{% if source == 'approved' %}
  397. \t\t\t\t\t\t\t{% set source_name = '<a href=\"' ~ path('profile_list.list_approved', {city:city.uriIdentity}) ~ '\">Проверенные анкеты</a>' %}
  398. \t\t\t\t\t\t{% elseif source == 'with_comments' %}
  399. \t\t\t\t\t\t\t{% set source_name = '<a href=\"' ~ path('profile_list.list_with_comments', {city:city.uriIdentity}) ~ '\">Анкеты с отзывами</a>' %}
  400. \t\t\t\t\t\t{% elseif source == 'with_video' %}
  401. \t\t\t\t\t\t\t{% set source_name = '<a href=\"' ~ path('profile_list.list_with_video', {city:city.uriIdentity}) ~ '\">Анкеты с видео</a>' %}
  402. \t\t\t\t\t\t{% elseif source == 'with_selfie' %}
  403. \t\t\t\t\t\t\t{% set source_name = '<a href=\"' ~ path('profile_list.list_with_selfie', {city:city.uriIdentity}) ~ '\">Анкеты с селфи</a>' %}
  404. \t\t\t\t\t\t{% elseif source == 'elite' %}
  405. \t\t\t\t\t\t\t{% set source_name = '<a href=\"' ~ path('profile_list.list_for_elite_girls', {city:city.uriIdentity}) ~ '\" style=\"pointer-events:none\">Элитные проститутки</a>' %}
  406. \t\t\t\t\t\t{% else %}
  407. \t\t\t\t\t\t\t{% set source_name = '' %}
  408. \t\t\t\t\t\t{% endif %}
  409. \t\t\t\t\t\t{% if source_default == 'approved' %}К сожалению, все
  410. \t\t\t\t\t\t\t<a href=\"{{ category_url }}\">проверенные девушки</a>
  411. \t\t\t\t\t\t\tсейчас отдыхают, посмотрите раздел
  412. \t\t\t\t\t\t\t{{ source_name|raw }}
  413. \t\t\t\t\t\t{% endif %}
  414. \t\t\t\t\t\t{% if source_default == 'with_comments' %}К сожалению, все
  415. \t\t\t\t\t\t\t<a href=\"{{ category_url }}\">девушки, у которых есть отзывы</a>
  416. \t\t\t\t\t\t\tсейчас отдыхают, посмотрите раздел
  417. \t\t\t\t\t\t\t{{ source_name|raw }}
  418. \t\t\t\t\t\t{% endif %}
  419. \t\t\t\t\t\t{% if source_default == 'with_video' %}К сожалению, все
  420. \t\t\t\t\t\t\t<a href=\"{{ category_url }}\">девушки, у которых есть видео</a>
  421. \t\t\t\t\t\t\tсейчас отдыхают, посмотрите раздел
  422. \t\t\t\t\t\t\t{{ source_name|raw }}
  423. \t\t\t\t\t\t{% endif %}
  424. \t\t\t\t\t\t{% if source_default == 'with_selfie' %}
  425. \t\t\t\t\t\t\tК сожалению, все <a href=\"{{ category_url }}\">девушки, у которых есть селфи</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}
  426. \t\t\t\t\t\t{% endif %}
  427. \t\t\t\t\t{% endif %}
  428. \t\t\t\t\t{% if source == 'by_params' %}К сожалению, раздел пуст. Посмотрите другие анкеты, которые мы подобрали для Вас.
  429. \t\t\t\t\t{% endif %}
  430. \t\t\t\t\t{% if source == 'service' %}К сожалению, все девушки, которые практикуют услугу
  431. \t\t\t\t\t\t<a href=\"{{ category_url }}\">{{ service.name }}</a>
  432. \t\t\t\t\t\tсейчас отдыхают. Но мы подобрали для Вас девушек которые не против оказать Вам похожие услуги, взгляните!
  433. \t\t\t\t\t{% endif %}
  434. \t\t\t\t\t{% if source == 'city' %}К сожалению, данный раздел пуст. Взгляните на другие анкеты, которые мы нашли для Вас в городе
  435. \t\t\t\t\t\t{{ city.name|trans }}.
  436. \t\t\t\t\t{% endif %}
  437. \t\t\t\t\t{% if source == 'country' %}К сожалению, данный раздел пуст. Взгляните на анкеты которые мы подобрали для Вас.
  438. \t\t\t\t\t{% endif %}
  439. \t\t\t\t\t{% if source == 'massage_service' %}К сожалению, все девушки для которых массаж — это призвание сейчас отдыхают. Посмотрите проституток, которые также готовы сделать Вам массаж.
  440. \t\t\t\t\t{% endif %}
  441. \t\t\t\t</p>
  442. \t\t\t</div>
  443. \t\t</div>
  444. \t{% endif %}#}
  445. \t<div class=\"profiles-items-row\" id=\"profile-list\">
  446. \t\t{% block profileList %}
  447. \t\t\t{% include 'ProfileList/list.profiles.html.twig' with {'profileList': profiles } %}
  448. \t\t{% endblock %}
  449. \t</div>
  450.     {% include 'ProfileList/_show_more.profiles.html.twig' %}
  451. \t{{ porpaginas_render(profiles) }}
  452. \t{# {% set cities_circle = city_main_pages_linkage_circle() %}
  453.     {% if cities_circle is not null %}
  454.         <div class=\"city-main-pages-linkage-circle\">
  455.             {% if cities_circle[0] is not null %}<a href=\"{{ cities_circle[0].href }}\" style=\"text-transform: capitalize;\"><i class=\"prev\"></i>{{ cities_circle[0].text }}</a>{% endif %}
  456. \t\t\t<span class=\"sep\"></span>
  457.             {% if cities_circle[1] is not null %}<a href=\"{{ cities_circle[1].href }}\" style=\"text-transform: capitalize;\">{{ cities_circle[1].text }}<i class=\"next\"></i></a>{% endif %}
  458.         </div>
  459.     {% endif %} #}
  460. \t{# {% if app.request.pathInfo != '/' %}
  461. \t\t{% set cities_circle = city_main_pages_linkage_by_countries_circle() %}
  462. \t\t{% if cities_circle is not null %}
  463. \t\t\t<div class=\"city-main-pages-linkage-circle\">
  464. \t\t\t\t{% if cities_circle[0] is not null %}<a href=\"{{ cities_circle[0].href }}\" style=\"text-transform: capitalize;\"><i class=\"prev\"></i>{{ cities_circle[0].text }}</a>{% endif %}
  465. \t\t\t\t\t<span class=\"sep\"></span>
  466. \t\t\t\t{% if cities_circle[1] is not null %}<a href=\"{{ cities_circle[1].href }}\" style=\"text-transform: capitalize;\">{{ cities_circle[1].text }}<i class=\"next\"></i></a>{% endif %}
  467. \t\t\t</div>
  468. \t\t{% endif %}
  469. \t{% endif %} #}
  470. \t{# {% set districts_circle = districts_linkage_circle() %}
  471.     {% if districts_circle is not null %}
  472. \t\t<div class=\"city-main-pages-linkage-circle\">
  473.             <h3 class=\"city-main-pages-linkage-circle-title\">Также интересуются:</h3>
  474.             {% if districts_circle[0] is not null %}<a href=\"{{ districts_circle[0].href }}\" style=\"text-transform: capitalize;\"><i class=\"prev\"></i>{{ districts_circle[0].text }}</a>{% endif %}
  475. \t\t\t<span class=\"sep\"></span>
  476.             {% if districts_circle[1] is not null %}<a href=\"{{ districts_circle[1].href }}\" style=\"text-transform: capitalize;\">{{ districts_circle[1].text }}<i class=\"next\"></i></a>{% endif %}
  477.         </div>
  478.     {% endif %}
  479.     {% set stations_circle = station_pages_linkage_circle() %}
  480.     {% if stations_circle is not null %}
  481.         <div class=\"city-main-pages-linkage-circle\">
  482.             <h3 class=\"city-main-pages-linkage-circle-title\">Также интересуются:</h3>
  483.             {% if stations_circle[0] is not null %}<a href=\"{{ stations_circle[0].href }}\"><i class=\"prev\"></i>{{ stations_circle[0].text }}</a><br/>{% endif %}
  484. \t\t\t<span class=\"sep\"></span>
  485.             {% if stations_circle[1] is not null %}<a href=\"{{ stations_circle[1].href }}\">{{ stations_circle[1].text }}<i class=\"next\"></i></a>{% endif %}
  486.         </div>
  487.     {% endif %} #}
  488.     {# {% set circle = inner_linkage_circle() %}
  489.     {% if circle is not null %}
  490.         <div class=\"city-main-pages-linkage-circle\">
  491. \t\t\t{% if circle[0] is not null %}<a href=\"{{ circle[0].href }}\"><i class=\"prev\"></i>{{ circle[0].text }}</a>{% endif %}
  492. \t\t\t<span class=\"sep\"></span>
  493. \t\t\t{% if circle[1] is not null %}<a href=\"{{ circle[1].href }}\">{{ circle[1].text }}<i class=\"next\"></i></a>{% endif %}
  494.         </div>
  495.     {% endif %} #}
  496. \t{% if profiles and profiles.currentPage >= 2 %}
  497. \t\t{{ include('components/_profile_recommendations.html.twig', {'classname': 'recommendations-list-page'}) }}
  498. \t{% endif %}
  499. \t{# {% set cityBlagoveshensk = city is defined and city.uriIdentity == 'blagoveshensk' %} #}
  500. \t{# {% if not cityBlagoveshensk %} #}
  501. \t\t{# {{ include('components/big_footer.html.twig') }} #}
  502. \t{# {% endif %} #}
  503. \t{{ include('components/seo.partial.twig', {type: 'top'}) }}
  504. \t{{ include('components/seo.partial.twig', {type: 'bottom'}) }}
  505. {% endblock %}
  506. {% block javascripts %}
  507. \t{{ parent() }}
  508. \t<script>
  509. \t\twindow._strl = {
  510. \t\t\tstations: {
  511. \t\t\t\t{%- for station in stations() -%}
  512. \t\t\t\t\t\"{{ station.name|trans }}\": \"{{ path('profile_list.list_by_station', {'city': station.city.uriIdentity, 'station': station.uriIdentity}) }}\"{% if not loop.last %},{% endif %}
  513. \t\t\t\t{%- endfor -%}
  514. \t\t\t}
  515. \t\t};
  516.         window._lD = {
  517.             setLastViewedListing: '{{ app.request.attributes.get('_route') }}',
  518.             cityUrl: \"{{city.uriIdentity}}\",
  519.         };
  520. \t\t{# document.addEventListener('DOMContentLoaded', function() {
  521. \t\t\t{% if profiles and profiles.totalCount > 0 %}
  522. \t\t\t\t{%- set profilesId = profiles|map(p => p.id)|join(',') -%}
  523. \t\t\t\twindow.increase_shows({
  524. \t\t\t\t\tprofiles: [{{ profilesId }}],
  525. \t\t\t\t\troute: '{{ app.request.attributes.get('_route') }}',
  526. \t\t\t\t})
  527. \t\t\t{% endif %}
  528. \t\t}); #}
  529. \t</script>
  530. {% endblock %}""ProfileList/list.html.twig""/app/templates/ProfileList/list.html.twig");
  531.     }
  532. }