<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* ProfileList/list.html.twig */
class __TwigTemplate_e173a29e29304ddfac1bf9964067db8a extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'metaDescription' => [$this, 'block_metaDescription'],
'navbar' => [$this, 'block_navbar'],
'mainContainer' => [$this, 'block_mainContainer'],
'mainList' => [$this, 'block_mainList'],
'showMore' => [$this, 'block_showMore'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "grid.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ProfileList/list.html.twig"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ProfileList/list.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ProfileList/list.html.twig"));
// line 3
$context["city"] = twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 3), "get", ["city", $this->extensions['App\Twig\DefaultCityExtension']->defaultCity()], "method", false, false, false, 3);
// line 1
$this->parent = $this->loadTemplate("grid.html.twig", "ProfileList/list.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 5
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
// line 6
echo " ";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\SeoExtension']->metaTitle(), "html", null, true);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 9
public function block_metaDescription($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaDescription"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaDescription"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaDescription"));
// line 10
echo " <meta name=\"description\" content=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\SeoExtension']->metaDescription(), "html", null, true);
echo "\">
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 13
public function block_navbar($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navbar"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navbar"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navbar"));
// line 14
echo " ";
$this->displayParentBlock("navbar", $context, $blocks);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 17
public function block_mainContainer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainContainer"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainContainer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainContainer"));
// line 18
echo " ";
echo $this->extensions['App\Twig\SeoExtension']->topHtml();
echo "
<h1>";
// line 19
echo $this->extensions['App\Twig\SeoExtension']->pageHeading();
echo "</h1>
";
// line 20
$this->loadTemplate("ProfileNameList/_popular_names.html.twig", "ProfileList/list.html.twig", 20)->display($context);
// line 21
echo " ";
$this->loadTemplate("ProfileList/geo_category_linkage.partial.html.twig", "ProfileList/list.html.twig", 21)->display($context);
// line 22
echo "
";
// line 23
if ((array_key_exists("homepage_city_listings_block", $context) && (isset($context["homepage_city_listings_block"]) || array_key_exists("homepage_city_listings_block", $context) ? $context["homepage_city_listings_block"] : (function () { throw new RuntimeError('Variable "homepage_city_listings_block" does not exist.', 23, $this->source); })()))) {
// line 24
echo " ";
if (twig_get_attribute($this->env, $this->source, (isset($context["homepage_city_listings_block"]) || array_key_exists("homepage_city_listings_block", $context) ? $context["homepage_city_listings_block"] : (function () { throw new RuntimeError('Variable "homepage_city_listings_block" does not exist.', 24, $this->source); })()), "hasSaloons", [], "any", false, false, false, 24)) {
// line 25
echo " <h3><a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("saloon_list.list_by_city", ["city" => 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.', 25, $this->source); })()), "uriIdentity", [], "any", false, false, false, 25)]), "html", null, true);
echo "\">Интим-салоны ";
echo twig_escape_filter($this->env, $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.', 25, $this->source); })()), "name", [], "any", false, false, false, 25)), "html", null, true);
echo "</a></h3>
<div class=\"row mb-3\">
";
// line 27
$this->loadTemplate("SaloonList/list.saloons.html.twig", "ProfileList/list.html.twig", 27)->display(twig_array_merge($context, ["saloons" => twig_get_attribute($this->env, $this->source, (isset($context["homepage_city_listings_block"]) || array_key_exists("homepage_city_listings_block", $context) ? $context["homepage_city_listings_block"] : (function () { throw new RuntimeError('Variable "homepage_city_listings_block" does not exist.', 27, $this->source); })()), "saloons", [], "any", false, false, false, 27)]));
// line 28
echo " </div>
";
}
// line 30
echo "
";
// line 31
if (twig_get_attribute($this->env, $this->source, (isset($context["homepage_city_listings_block"]) || array_key_exists("homepage_city_listings_block", $context) ? $context["homepage_city_listings_block"] : (function () { throw new RuntimeError('Variable "homepage_city_listings_block" does not exist.', 31, $this->source); })()), "hasMasseurs", [], "any", false, false, false, 31)) {
// line 32
echo " <h3><a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("masseur_list.page", ["city" => 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.', 32, $this->source); })()), "uriIdentity", [], "any", false, false, false, 32)]), "html", null, true);
echo "\">Массажистки ";
echo twig_escape_filter($this->env, $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.', 32, $this->source); })()), "name", [], "any", false, false, false, 32)), "html", null, true);
echo "</a></h3>
<div class=\"row mb-3\">
";
// line 34
$this->loadTemplate("ProfileList/list.profiles.html.twig", "ProfileList/list.html.twig", 34)->display(twig_array_merge($context, ["profiles" => twig_get_attribute($this->env, $this->source, // line 35
(isset($context["homepage_city_listings_block"]) || array_key_exists("homepage_city_listings_block", $context) ? $context["homepage_city_listings_block"] : (function () { throw new RuntimeError('Variable "homepage_city_listings_block" does not exist.', 35, $this->source); })()), "masseurs", [], "any", false, false, false, 35), "show_total_count" => false]));
// line 38
echo " </div>
";
}
// line 40
echo " ";
}
// line 41
echo "
";
// line 81
echo "
";
// line 82
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.', 82, $this->source); })()));
echo "
";
// line 84
$this->displayBlock('mainList', $context, $blocks);
// line 94
echo "
";
// line 95
$this->displayBlock('showMore', $context, $blocks);
// line 98
echo "
";
// line 99
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.', 99, $this->source); })()));
echo "
";
// line 101
if ((array_key_exists("ssr_recommended_profiles", $context) && !twig_test_empty((isset($context["ssr_recommended_profiles"]) || array_key_exists("ssr_recommended_profiles", $context) ? $context["ssr_recommended_profiles"] : (function () { throw new RuntimeError('Variable "ssr_recommended_profiles" does not exist.', 101, $this->source); })())))) {
// line 102
echo " <h4>Рекомендуемые</h4>
<div class=\"row mb-3\">
";
// line 104
$this->loadTemplate("ProfileList/list.profiles.html.twig", "ProfileList/list.html.twig", 104)->display(twig_array_merge($context, ["profiles" => // line 105
(isset($context["ssr_recommended_profiles"]) || array_key_exists("ssr_recommended_profiles", $context) ? $context["ssr_recommended_profiles"] : (function () { throw new RuntimeError('Variable "ssr_recommended_profiles" does not exist.', 105, $this->source); })()), "show_total_count" => false]));
// line 108
echo " </div>
";
} else {
// line 110
echo " ";
$this->loadTemplate("Recommendations/_profile_recommendations.html.twig", "ProfileList/list.html.twig", 110)->display($context);
// line 111
echo " ";
}
// line 112
echo "
";
// line 113
$context["cities_circle"] = $this->extensions['App\Twig\CityMainPagesLinkageExtension']->cityMainPagesLinkageCircle();
// line 114
echo " ";
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.', 114, $this->source); })()))) {
// line 115
echo " <div class=\"city_main_pages_linkage_circle\">
<h3>Также рекомендуем:</h3>
";
// line 117
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.', 117, $this->source); })()), 0, [], "array", false, false, false, 117))) {
echo "<a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 117, $this->source); })()), 0, [], "array", false, false, false, 117), "href", [], "any", false, false, false, 117), "html", null, true);
echo "\"
style=\"text-transform: capitalize;\">";
// line 118
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 118, $this->source); })()), 0, [], "array", false, false, false, 118), "text", [], "any", false, false, false, 118), "html", null, true);
echo "</a>
<br/>";
}
// line 120
echo " ";
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.', 120, $this->source); })()), 1, [], "array", false, false, false, 120))) {
echo "<a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 120, $this->source); })()), 1, [], "array", false, false, false, 120), "href", [], "any", false, false, false, 120), "html", null, true);
echo "\"
style=\"text-transform: capitalize;\">";
// line 121
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 121, $this->source); })()), 1, [], "array", false, false, false, 121), "text", [], "any", false, false, false, 121), "html", null, true);
echo "</a>";
}
// line 122
echo " </div>
";
}
// line 124
echo "
";
// line 125
$context["cities_circle"] = $this->extensions['App\Twig\CityMainPagesLinkageByCountriesExtension']->cityMainPagesLinkageCircleByCountries();
// line 126
echo " ";
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.', 126, $this->source); })()))) {
// line 127
echo " <div class=\"city_main_pages_linkage_circle\">
<h3>Также рекомендуем:</h3>
";
// line 129
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.', 129, $this->source); })()), 0, [], "array", false, false, false, 129))) {
echo "<a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 129, $this->source); })()), 0, [], "array", false, false, false, 129), "href", [], "any", false, false, false, 129), "html", null, true);
echo "\"
style=\"text-transform: capitalize;\">";
// line 130
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 130, $this->source); })()), 0, [], "array", false, false, false, 130), "text", [], "any", false, false, false, 130), "html", null, true);
echo "</a>
<br/>";
}
// line 132
echo " ";
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.', 132, $this->source); })()), 1, [], "array", false, false, false, 132))) {
echo "<a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 132, $this->source); })()), 1, [], "array", false, false, false, 132), "href", [], "any", false, false, false, 132), "html", null, true);
echo "\"
style=\"text-transform: capitalize;\">";
// line 133
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 133, $this->source); })()), 1, [], "array", false, false, false, 133), "text", [], "any", false, false, false, 133), "html", null, true);
echo "</a>";
}
// line 134
echo " </div>
";
}
// line 136
echo "
";
// line 143
echo " ";
$context["circle"] = $this->extensions['App\Twig\InnerLinkageCircleExtension']->innerLinkageCircle("prostitutes");
// line 144
echo " ";
if ( !(null === (isset($context["circle"]) || array_key_exists("circle", $context) ? $context["circle"] : (function () { throw new RuntimeError('Variable "circle" does not exist.', 144, $this->source); })()))) {
// line 145
echo " <div class=\"inner_linkage_circle\">
<h3>Также интересуются:</h3>
<a href=\"";
// line 147
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_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.', 147, $this->source); })()), 0, [], "array", false, false, false, 147), "href", [], "any", false, false, false, 147), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_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.', 147, $this->source); })()), 0, [], "array", false, false, false, 147), "text", [], "any", false, false, false, 147), "html", null, true);
echo "</a><br/>
<a href=\"";
// line 148
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_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.', 148, $this->source); })()), 1, [], "array", false, false, false, 148), "href", [], "any", false, false, false, 148), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_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.', 148, $this->source); })()), 1, [], "array", false, false, false, 148), "text", [], "any", false, false, false, 148), "html", null, true);
echo "</a>
</div>
";
}
// line 151
echo "
";
// line 152
$context["districts_circle"] = $this->extensions['App\Twig\DistrictsLinkageExtension']->districtsLinkageCircle();
// line 153
echo " ";
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.', 153, $this->source); })()))) {
// line 154
echo " <div class=\"city_main_pages_linkage_circle\">
<h3>Также интересуются:</h3>
";
// line 156
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.', 156, $this->source); })()), 0, [], "array", false, false, false, 156))) {
echo "<a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 156, $this->source); })()), 0, [], "array", false, false, false, 156), "href", [], "any", false, false, false, 156), "html", null, true);
echo "\"
style=\"text-transform: capitalize;\">";
// line 157
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 157, $this->source); })()), 0, [], "array", false, false, false, 157), "text", [], "any", false, false, false, 157), "html", null, true);
echo "</a>
<br/>";
}
// line 159
echo " ";
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.', 159, $this->source); })()), 1, [], "array", false, false, false, 159))) {
echo "<a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 159, $this->source); })()), 1, [], "array", false, false, false, 159), "href", [], "any", false, false, false, 159), "html", null, true);
echo "\"
style=\"text-transform: capitalize;\">";
// line 160
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 160, $this->source); })()), 1, [], "array", false, false, false, 160), "text", [], "any", false, false, false, 160), "html", null, true);
echo "</a>";
}
// line 161
echo " </div>
";
}
// line 163
echo "
";
// line 164
$context["stations_circle"] = $this->extensions['App\Twig\StationPagesLinkageExtension']->stationMainPagesLinkageCircle();
// line 165
echo " ";
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.', 165, $this->source); })()))) {
// line 166
echo " <div class=\"station_pages_linkage_circle\">
<h3>Также интересуются:</h3>
";
// line 168
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.', 168, $this->source); })()), 0, [], "array", false, false, false, 168))) {
echo "<a
href=\"";
// line 169
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 169, $this->source); })()), 0, [], "array", false, false, false, 169), "href", [], "any", false, false, false, 169), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 169, $this->source); })()), 0, [], "array", false, false, false, 169), "text", [], "any", false, false, false, 169), "html", null, true);
echo "</a><br/>";
}
// line 170
echo " ";
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.', 170, $this->source); })()), 1, [], "array", false, false, false, 170))) {
echo "<a
href=\"";
// line 171
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 171, $this->source); })()), 1, [], "array", false, false, false, 171), "href", [], "any", false, false, false, 171), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 171, $this->source); })()), 1, [], "array", false, false, false, 171), "text", [], "any", false, false, false, 171), "html", null, true);
echo "</a>";
}
// line 172
echo " </div>
";
}
// line 174
echo "
";
// line 175
$this->loadTemplate("ProfileNameList/_popular_names.html.twig", "ProfileList/list.html.twig", 175)->display($context);
// line 176
echo "
";
// line 177
$this->loadTemplate("last_girl_list.html.twig", "ProfileList/list.html.twig", 177)->display($context);
// line 178
echo "
";
// line 180
echo " ";
$this->loadTemplate("ProfileList/station_comments.partial.html.twig", "ProfileList/list.html.twig", 180)->display($context);
// line 181
echo "
";
// line 182
$this->loadTemplate("ProfileList/profile_filter.partial.html.twig", "ProfileList/list.html.twig", 182)->display($context);
// line 183
echo "
<h3>Виджет Анкеты по категориям</h3>
<div id=\"widget_profiles_by_categories\" style=\"display:flex;gap:10px\"></div>
<script type=\"text/javascript\">
";
// line 188
$context["route"] = twig_get_attribute($this->env, $this->source, twig_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.', 188, $this->source); })()), "request", [], "any", false, false, false, 188), "get", ["_route"], "method", false, false, false, 188);
// line 189
echo " ";
if ((( // line 190
(isset($context["route"]) || array_key_exists("route", $context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.', 190, $this->source); })()) == "homepage") || (( // line 191
(isset($context["route"]) || array_key_exists("route", $context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.', 191, $this->source); })()) == "profile_list.list_by_city") && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_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.', 191, $this->source); })()), "request", [], "any", false, false, false, 191), "get", ["city"], "method", false, false, false, 191), "id", [], "any", false, false, false, 191) == twig_get_attribute($this->env, $this->source, $this->extensions['App\Twig\DefaultCityExtension']->defaultCity(), "id", [], "any", false, false, false, 191))))) {
// line 192
echo " document.addEventListener('DOMContentLoaded', _ => {
fetch('";
// line 193
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->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_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.', 193, $this->source); })()), "request", [], "any", false, false, false, 193), "attributes", [], "any", false, false, false, 193), "get", ["city", $this->extensions['App\Twig\DefaultCityExtension']->defaultCity()], "method", false, false, false, 193), "uriIdentity", [], "any", false, false, false, 193)]), "html", null, true);
echo "', {
method: 'GET',
headers: {
\"X-Requested-With\": \"XMLHttpRequest\"
},
}).then(response => {
if (response.status < 300) {
return response.text();
} else {
console.warn(\"🤔\");
return null;
}
}).then(response => {
document.querySelector('#widget_profiles_by_categories').innerHTML = response;
if (typeof filterData === 'function') {
filterData();
}
});
});
";
}
// line 213
echo " </script>
<script type=\"text/javascript\">
document.addEventListener('DOMContentLoaded', function () {
const profileNodes = document.querySelectorAll('[data-profile-id]');
if (!profileNodes.length) {
return;
}
const profileIds = Array.from(profileNodes)
.map(node => parseInt(node.dataset.profileId, 10))
.filter(Number.isInteger);
if (!profileIds.length) {
return;
}
fetch('";
// line 230
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_ctr.increase_shows");
echo "', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-Requested-With': 'XMLHttpRequest',
},
body: JSON.stringify({
profiles: profileIds,
source: '";
// line 238
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.', 238, $this->source); })()), "")) : ("")), "html", null, true);
echo "',
}),
});
});
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 84
public function block_mainList($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainList"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainList"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainList"));
// line 85
echo " <div
id=\"profile-list\"
class=\"row mb-3\"
data-recommendations-fill-applied=\"";
// line 88
echo ((((array_key_exists("recommendations_fill_applied", $context)) ? (_twig_default_filter((isset($context["recommendations_fill_applied"]) || array_key_exists("recommendations_fill_applied", $context) ? $context["recommendations_fill_applied"] : (function () { throw new RuntimeError('Variable "recommendations_fill_applied" does not exist.', 88, $this->source); })()), false)) : (false))) ? (1) : (0));
echo "\"
data-recommendations-fill-original-count=\"";
// line 89
echo twig_escape_filter($this->env, ((array_key_exists("recommendations_fill_original_count", $context)) ? (_twig_default_filter((isset($context["recommendations_fill_original_count"]) || array_key_exists("recommendations_fill_original_count", $context) ? $context["recommendations_fill_original_count"] : (function () { throw new RuntimeError('Variable "recommendations_fill_original_count" does not exist.', 89, $this->source); })()), ((twig_get_attribute($this->env, $this->source, ($context["profiles"] ?? null), "totalCount", [], "any", true, true, false, 89)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["profiles"] ?? null), "totalCount", [], "any", false, false, false, 89), 0)) : (0)))) : (((twig_get_attribute($this->env, $this->source, ($context["profiles"] ?? null), "totalCount", [], "any", true, true, false, 89)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["profiles"] ?? null), "totalCount", [], "any", false, false, false, 89), 0)) : (0)))), "html", null, true);
echo "\"
>
";
// line 91
$this->loadTemplate("ProfileList/list.profiles.html.twig", "ProfileList/list.html.twig", 91)->display($context);
// line 92
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 95
public function block_showMore($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "showMore"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "showMore"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "showMore"));
// line 96
echo " ";
$this->loadTemplate("ProfileList/_show_more.profiles.html.twig", "ProfileList/list.html.twig", 96)->display($context);
// line 97
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "ProfileList/list.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 624 => 97, 621 => 96, 608 => 95, 594 => 92, 592 => 91, 587 => 89, 583 => 88, 578 => 85, 565 => 84, 545 => 238, 534 => 230, 515 => 213, 492 => 193, 489 => 192, 487 => 191, 486 => 190, 484 => 189, 482 => 188, 475 => 183, 473 => 182, 470 => 181, 467 => 180, 464 => 178, 462 => 177, 459 => 176, 457 => 175, 454 => 174, 450 => 172, 444 => 171, 439 => 170, 433 => 169, 429 => 168, 425 => 166, 422 => 165, 420 => 164, 417 => 163, 413 => 161, 409 => 160, 402 => 159, 397 => 157, 391 => 156, 387 => 154, 384 => 153, 382 => 152, 379 => 151, 371 => 148, 365 => 147, 361 => 145, 358 => 144, 355 => 143, 352 => 136, 348 => 134, 344 => 133, 337 => 132, 332 => 130, 326 => 129, 322 => 127, 319 => 126, 317 => 125, 314 => 124, 310 => 122, 306 => 121, 299 => 120, 294 => 118, 288 => 117, 284 => 115, 281 => 114, 279 => 113, 276 => 112, 273 => 111, 270 => 110, 266 => 108, 264 => 105, 263 => 104, 259 => 102, 257 => 101, 252 => 99, 249 => 98, 247 => 95, 244 => 94, 242 => 84, 237 => 82, 234 => 81, 231 => 41, 228 => 40, 224 => 38, 222 => 35, 221 => 34, 213 => 32, 211 => 31, 208 => 30, 204 => 28, 202 => 27, 194 => 25, 191 => 24, 189 => 23, 186 => 22, 183 => 21, 181 => 20, 177 => 19, 172 => 18, 159 => 17, 143 => 14, 130 => 13, 114 => 10, 101 => 9, 85 => 6, 72 => 5, 58 => 1, 56 => 3, 40 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'grid.html.twig' %}
{% set city = app.request.get('city', default_city()) %}
{% block title %}
{{ seo_title() }}
{% endblock %}
{% block metaDescription %}
<meta name=\"description\" content=\"{{ seo_description() }}\">
{% endblock %}
{% block navbar %}
{{ parent() }}
{% endblock %}
{% block mainContainer %}
{{ seo_top() }}
<h1>{{ seo_heading() }}</h1>
{% include 'ProfileNameList/_popular_names.html.twig' %}
{% include 'ProfileList/geo_category_linkage.partial.html.twig' %}
{% if homepage_city_listings_block is defined and homepage_city_listings_block %}
{% if homepage_city_listings_block.hasSaloons %}
<h3><a href=\"{{ path('saloon_list.list_by_city', {city: city.uriIdentity}) }}\">Интим-салоны {{ city.name|trans }}</a></h3>
<div class=\"row mb-3\">
{% include 'SaloonList/list.saloons.html.twig' with { 'saloons': homepage_city_listings_block.saloons } %}
</div>
{% endif %}
{% if homepage_city_listings_block.hasMasseurs %}
<h3><a href=\"{{ path('masseur_list.page', {city: city.uriIdentity}) }}\">Массажистки {{ city.name|trans }}</a></h3>
<div class=\"row mb-3\">
{% include 'ProfileList/list.profiles.html.twig' with {
'profiles': homepage_city_listings_block.masseurs,
'show_total_count': false
} %}
</div>
{% endif %}
{% endif %}
{#
{% if source is defined and source %}
<h6 style=\"background-color: #ee4056;height: 20px;\">
{% if source == 'county' %}К сожалению, все девушки из округа <a href=\"{{ category_url }}\">{{ county.name }}</a> сейчас отдыхают, посмотрите проституток из других округов города {{ city.name|trans }}.{% endif %}
{% if source == 'district' %}К сожалению, все девушки из района <a href=\"{{ category_url }}\">{{ district.name }}</a> сейчас отдыхают, посмотрите проституток из других районов города {{ city.name|trans }}.{% endif %}
{% if source == 'station' %}К сожалению, все девушки работающие вблизи метро <a href=\"{{ category_url }}\">{{ station.name }}</a> сейчас отдыхают, посмотрите проституток у других станций метро в этом районе города {{ city.name|trans }}.{% endif %}
{% if source == 'approved' or source == 'with_comments' or source == 'with_video' or source == 'elite' or source == 'with_selfie' %}
{% if source == 'approved' %}
{% set source_name = '<a href=\"' ~ path('profile_list.list_approved', {city:city.uriIdentity}) ~ '\">Проверенные анкеты</a>' %}
{% elseif source == 'with_comments' %}
{% set source_name = '<a href=\"' ~ path('profile_list.list_with_comments', {city:city.uriIdentity}) ~ '\">Анкеты с отзывами</a>' %}
{% elseif source == 'with_video' %}
{% set source_name = '<a href=\"' ~ path('profile_list.list_with_video', {city:city.uriIdentity}) ~ '\">Анкеты с видео</a>' %}
{% elseif source == 'with_selfie' %}
{% set source_name = '<a href=\"' ~ path('profile_list.list_with_selfie', {city:city.uriIdentity}) ~ '\">Анкеты с селфи</a>' %}
{% elseif source == 'with_whatsapp' %}
{% set source_name = '<a href=\"' ~ path('profile_list.list_with_whatsapp', {city:city.uriIdentity}) ~ '\">Анкеты с WhatsApp</a>' %}
{% elseif source == 'with_telegram' %}
{% set source_name = '<a href=\"' ~ path('profile_list.list_with_telegram', {city:city.uriIdentity}) ~ '\">Анкеты с Telegram</a>' %}
{% elseif source == 'elite' %}
{% set source_name = '<a href=\"' ~ path('profile_list.list_for_elite_girls', {city:city.uriIdentity}) ~ '\">Элитные проститутки</a>' %}
{% else %}
{% set source_name = '' %}
{% endif %}
{% if source_default == 'approved' %}К сожалению, все <a href=\"{{ category_url }}\">проверенные девушки</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
{% if source_default == 'with_comments' %}К сожалению, все <a href=\"{{ category_url }}\">девушки, у которых есть отзывы</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
{% if source_default == 'with_video' %}К сожалению, все <a href=\"{{ category_url }}\">девушки, у которых есть видео</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
{% if source_default == 'with_selfie' %}К сожалению, все <a href=\"{{ category_url }}\">девушки, у которых есть селфи</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
{% if source_default == 'with_whatsapp' %}К сожалению, все <a href=\"{{ category_url }}\">девушки с WhatsApp</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
{% if source_default == 'with_telegram' %}К сожалению, все <a href=\"{{ category_url }}\">девушки с Telegram</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}{% endif %}
{% endif %}
{% if source == 'by_params' %}К сожалению, раздел пуст. Посмотрите другие анкеты, которые мы подобрали для Вас.{% endif %}
{% if source == 'service' %}К сожалению, все девушки, которые практикуют услугу <a href=\"{{ category_url }}\">{{ service.name }}</a> сейчас отдыхают. Но мы подобрали для Вас девушек которые не против оказать Вам похожие услуги, взгляните!{% endif %}
{% if source == 'city' %}К сожалению, данный раздел пуст. Взгляните на другие анкеты, которые мы нашли для Вас в городе {{ city.name|trans }}.{% endif %}
{% if source == 'country' %}К сожалению, данный раздел пуст. Взгляните на анкеты которые мы подобрали для Вас.{% endif %}
{% if source == 'massage_service' %}К сожалению, все девушки для которых массаж — это призвание сейчас отдыхают. Посмотрите проституток, которые также готовы сделать Вам массаж.{% endif %}
</h6>
{% endif %}
#}
{{ porpaginas_render(profiles) }}
{% block mainList %}
<div
id=\"profile-list\"
class=\"row mb-3\"
data-recommendations-fill-applied=\"{{ recommendations_fill_applied|default(false) ? 1 : 0 }}\"
data-recommendations-fill-original-count=\"{{ recommendations_fill_original_count|default(profiles.totalCount|default(0)) }}\"
>
{% include 'ProfileList/list.profiles.html.twig' %}
</div>
{% endblock %}
{% block showMore %}
{% include 'ProfileList/_show_more.profiles.html.twig' %}
{% endblock showMore %}
{{ porpaginas_render(profiles) }}
{% if ssr_recommended_profiles is defined and ssr_recommended_profiles is not empty %}
<h4>Рекомендуемые</h4>
<div class=\"row mb-3\">
{% include 'ProfileList/list.profiles.html.twig' with {
profiles: ssr_recommended_profiles,
show_total_count: false
} %}
</div>
{% else %}
{% include 'Recommendations/_profile_recommendations.html.twig' %}
{% endif %}
{% set cities_circle = city_main_pages_linkage_circle() %}
{% if cities_circle is not null %}
<div class=\"city_main_pages_linkage_circle\">
<h3>Также рекомендуем:</h3>
{% if cities_circle[0] is not null %}<a href=\"{{ cities_circle[0].href }}\"
style=\"text-transform: capitalize;\">{{ cities_circle[0].text }}</a>
<br/>{% endif %}
{% if cities_circle[1] is not null %}<a href=\"{{ cities_circle[1].href }}\"
style=\"text-transform: capitalize;\">{{ cities_circle[1].text }}</a>{% endif %}
</div>
{% endif %}
{% set cities_circle = city_main_pages_linkage_by_countries_circle() %}
{% if cities_circle is not null %}
<div class=\"city_main_pages_linkage_circle\">
<h3>Также рекомендуем:</h3>
{% if cities_circle[0] is not null %}<a href=\"{{ cities_circle[0].href }}\"
style=\"text-transform: capitalize;\">{{ cities_circle[0].text }}</a>
<br/>{% endif %}
{% if cities_circle[1] is not null %}<a href=\"{{ cities_circle[1].href }}\"
style=\"text-transform: capitalize;\">{{ cities_circle[1].text }}</a>{% endif %}
</div>
{% endif %}
{#
если указать в вызове параметр kind, напр. 'myCustomKind', то из перевода будут браться соответственно
MYCUSTOMKIND_FIRST_ и MYCUSTOMKIND_SECOND_ + падеж указанный в конфиге кольцовки, напр. MYCUSTOMKIND_FIRST_NOMINATIVE
можно использовать вызов без параметра, тогда из перевода будут браться соответственно PROSTITUTES_ и INDIVIDUALS_ с соответствующими падежfvb
#}
{% set circle = inner_linkage_circle('prostitutes') %}
{% if circle is not null %}
<div class=\"inner_linkage_circle\">
<h3>Также интересуются:</h3>
<a href=\"{{ circle[0].href }}\">{{ circle[0].text }}</a><br/>
<a href=\"{{ circle[1].href }}\">{{ circle[1].text }}</a>
</div>
{% endif %}
{% set districts_circle = districts_linkage_circle() %}
{% if districts_circle is not null %}
<div class=\"city_main_pages_linkage_circle\">
<h3>Также интересуются:</h3>
{% if districts_circle[0] is not null %}<a href=\"{{ districts_circle[0].href }}\"
style=\"text-transform: capitalize;\">{{ districts_circle[0].text }}</a>
<br/>{% endif %}
{% if districts_circle[1] is not null %}<a href=\"{{ districts_circle[1].href }}\"
style=\"text-transform: capitalize;\">{{ districts_circle[1].text }}</a>{% endif %}
</div>
{% endif %}
{% set stations_circle = station_pages_linkage_circle() %}
{% if stations_circle is not null %}
<div class=\"station_pages_linkage_circle\">
<h3>Также интересуются:</h3>
{% if stations_circle[0] is not null %}<a
href=\"{{ stations_circle[0].href }}\">{{ stations_circle[0].text }}</a><br/>{% endif %}
{% if stations_circle[1] is not null %}<a
href=\"{{ stations_circle[1].href }}\">{{ stations_circle[1].text }}</a>{% endif %}
</div>
{% endif %}
{% include 'ProfileNameList/_popular_names.html.twig' %}
{% include 'last_girl_list.html.twig' %}
{# комменты анкет для листинга станции #}
{% include 'ProfileList/station_comments.partial.html.twig' %}
{% include 'ProfileList/profile_filter.partial.html.twig' %}
<h3>Виджет Анкеты по категориям</h3>
<div id=\"widget_profiles_by_categories\" style=\"display:flex;gap:10px\"></div>
<script type=\"text/javascript\">
{% set route = app.request.get('_route') %}
{% if
route == 'homepage'
or (route == 'profile_list.list_by_city' and app.request.get('city').id == default_city().id) %}
document.addEventListener('DOMContentLoaded', _ => {
fetch('{{ path('profile_widget.by_categories', {city: app.request.attributes.get('city', default_city()).uriIdentity}) }}', {
method: 'GET',
headers: {
\"X-Requested-With\": \"XMLHttpRequest\"
},
}).then(response => {
if (response.status < 300) {
return response.text();
} else {
console.warn(\"🤔\");
return null;
}
}).then(response => {
document.querySelector('#widget_profiles_by_categories').innerHTML = response;
if (typeof filterData === 'function') {
filterData();
}
});
});
{% endif %}
</script>
<script type=\"text/javascript\">
document.addEventListener('DOMContentLoaded', function () {
const profileNodes = document.querySelectorAll('[data-profile-id]');
if (!profileNodes.length) {
return;
}
const profileIds = Array.from(profileNodes)
.map(node => parseInt(node.dataset.profileId, 10))
.filter(Number.isInteger);
if (!profileIds.length) {
return;
}
fetch('{{ path('profile_ctr.increase_shows') }}', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-Requested-With': 'XMLHttpRequest',
},
body: JSON.stringify({
profiles: profileIds,
source: '{{ source|default('') }}',
}),
});
});
</script>
{% endblock %}
", "ProfileList/list.html.twig", "/app/templates/ProfileList/list.html.twig");
}
}