<?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("ProfileList/geo_category_linkage.partial.html.twig", "ProfileList/list.html.twig", 20)->display($context);
// line 21
echo "
";
// line 22
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.', 22, $this->source); })()))) {
// line 23
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.', 23, $this->source); })()), "hasSaloons", [], "any", false, false, false, 23)) {
// line 24
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.', 24, $this->source); })()), "uriIdentity", [], "any", false, false, false, 24)]), "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.', 24, $this->source); })()), "name", [], "any", false, false, false, 24)), "html", null, true);
echo "</a></h3>
<div class=\"row mb-3\">
";
// line 26
$this->loadTemplate("SaloonList/list.saloons.html.twig", "ProfileList/list.html.twig", 26)->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.', 26, $this->source); })()), "saloons", [], "any", false, false, false, 26)]));
// line 27
echo " </div>
";
}
// line 29
echo "
";
// line 30
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.', 30, $this->source); })()), "hasMasseurs", [], "any", false, false, false, 30)) {
// line 31
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.', 31, $this->source); })()), "uriIdentity", [], "any", false, false, false, 31)]), "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.', 31, $this->source); })()), "name", [], "any", false, false, false, 31)), "html", null, true);
echo "</a></h3>
<div class=\"row mb-3\">
";
// line 33
$this->loadTemplate("ProfileList/list.profiles.html.twig", "ProfileList/list.html.twig", 33)->display(twig_array_merge($context, ["profiles" => twig_get_attribute($this->env, $this->source, // line 34
(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.', 34, $this->source); })()), "masseurs", [], "any", false, false, false, 34), "show_total_count" => false]));
// line 37
echo " </div>
";
}
// line 39
echo " ";
}
// line 40
echo "
";
// line 80
echo "
";
// line 81
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.', 81, $this->source); })()));
echo "
";
// line 83
$this->displayBlock('mainList', $context, $blocks);
// line 93
echo "
";
// line 94
$this->displayBlock('showMore', $context, $blocks);
// line 97
echo "
";
// line 98
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.', 98, $this->source); })()));
echo "
";
// line 100
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.', 100, $this->source); })())))) {
// line 101
echo " <h4>Рекомендуемые</h4>
<div class=\"row mb-3\">
";
// line 103
$this->loadTemplate("ProfileList/list.profiles.html.twig", "ProfileList/list.html.twig", 103)->display(twig_array_merge($context, ["profiles" => // line 104
(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.', 104, $this->source); })()), "show_total_count" => false]));
// line 107
echo " </div>
";
} else {
// line 109
echo " ";
$this->loadTemplate("Recommendations/_profile_recommendations.html.twig", "ProfileList/list.html.twig", 109)->display($context);
// line 110
echo " ";
}
// line 111
echo "
";
// line 112
$context["cities_circle"] = $this->extensions['App\Twig\CityMainPagesLinkageExtension']->cityMainPagesLinkageCircle();
// line 113
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.', 113, $this->source); })()))) {
// line 114
echo " <div class=\"city_main_pages_linkage_circle\">
<h3>Также рекомендуем:</h3>
";
// line 116
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.', 116, $this->source); })()), 0, [], "array", false, false, false, 116))) {
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.', 116, $this->source); })()), 0, [], "array", false, false, false, 116), "href", [], "any", false, false, false, 116), "html", null, true);
echo "\"
style=\"text-transform: capitalize;\">";
// line 117
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), "text", [], "any", false, false, false, 117), "html", null, true);
echo "</a>
<br/>";
}
// line 119
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.', 119, $this->source); })()), 1, [], "array", false, false, false, 119))) {
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.', 119, $this->source); })()), 1, [], "array", false, false, false, 119), "href", [], "any", false, false, false, 119), "html", null, true);
echo "\"
style=\"text-transform: capitalize;\">";
// line 120
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), "text", [], "any", false, false, false, 120), "html", null, true);
echo "</a>";
}
// line 121
echo " </div>
";
}
// line 123
echo "
";
// line 124
$context["cities_circle"] = $this->extensions['App\Twig\CityMainPagesLinkageByCountriesExtension']->cityMainPagesLinkageCircleByCountries();
// line 125
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.', 125, $this->source); })()))) {
// line 126
echo " <div class=\"city_main_pages_linkage_circle\">
<h3>Также рекомендуем:</h3>
";
// line 128
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.', 128, $this->source); })()), 0, [], "array", false, false, false, 128))) {
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.', 128, $this->source); })()), 0, [], "array", false, false, false, 128), "href", [], "any", false, false, false, 128), "html", null, true);
echo "\"
style=\"text-transform: capitalize;\">";
// line 129
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), "text", [], "any", false, false, false, 129), "html", null, true);
echo "</a>
<br/>";
}
// line 131
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.', 131, $this->source); })()), 1, [], "array", false, false, false, 131))) {
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.', 131, $this->source); })()), 1, [], "array", false, false, false, 131), "href", [], "any", false, false, false, 131), "html", null, true);
echo "\"
style=\"text-transform: capitalize;\">";
// line 132
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), "text", [], "any", false, false, false, 132), "html", null, true);
echo "</a>";
}
// line 133
echo " </div>
";
}
// line 135
echo "
";
// line 142
echo " ";
$context["circle"] = $this->extensions['App\Twig\InnerLinkageCircleExtension']->innerLinkageCircle("prostitutes");
// line 143
echo " ";
if ( !(null === (isset($context["circle"]) || array_key_exists("circle", $context) ? $context["circle"] : (function () { throw new RuntimeError('Variable "circle" does not exist.', 143, $this->source); })()))) {
// line 144
echo " <div class=\"inner_linkage_circle\">
<h3>Также интересуются:</h3>
<a href=\"";
// line 146
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.', 146, $this->source); })()), 0, [], "array", false, false, false, 146), "href", [], "any", false, false, false, 146), "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.', 146, $this->source); })()), 0, [], "array", false, false, false, 146), "text", [], "any", false, false, false, 146), "html", null, true);
echo "</a><br/>
<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); })()), 1, [], "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); })()), 1, [], "array", false, false, false, 147), "text", [], "any", false, false, false, 147), "html", null, true);
echo "</a>
</div>
";
}
// line 150
echo "
";
// line 151
$context["districts_circle"] = $this->extensions['App\Twig\DistrictsLinkageExtension']->districtsLinkageCircle();
// line 152
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.', 152, $this->source); })()))) {
// line 153
echo " <div class=\"city_main_pages_linkage_circle\">
<h3>Также интересуются:</h3>
";
// line 155
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.', 155, $this->source); })()), 0, [], "array", false, false, false, 155))) {
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.', 155, $this->source); })()), 0, [], "array", false, false, false, 155), "href", [], "any", false, false, false, 155), "html", null, true);
echo "\"
style=\"text-transform: capitalize;\">";
// line 156
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), "text", [], "any", false, false, false, 156), "html", null, true);
echo "</a>
<br/>";
}
// line 158
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.', 158, $this->source); })()), 1, [], "array", false, false, false, 158))) {
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.', 158, $this->source); })()), 1, [], "array", false, false, false, 158), "href", [], "any", false, false, false, 158), "html", null, true);
echo "\"
style=\"text-transform: capitalize;\">";
// line 159
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), "text", [], "any", false, false, false, 159), "html", null, true);
echo "</a>";
}
// line 160
echo " </div>
";
}
// line 162
echo "
";
// line 163
$context["stations_circle"] = $this->extensions['App\Twig\StationPagesLinkageExtension']->stationMainPagesLinkageCircle();
// line 164
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.', 164, $this->source); })()))) {
// line 165
echo " <div class=\"station_pages_linkage_circle\">
<h3>Также интересуются:</h3>
";
// line 167
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.', 167, $this->source); })()), 0, [], "array", false, false, false, 167))) {
echo "<a
href=\"";
// line 168
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.', 168, $this->source); })()), 0, [], "array", false, false, false, 168), "href", [], "any", false, false, false, 168), "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.', 168, $this->source); })()), 0, [], "array", false, false, false, 168), "text", [], "any", false, false, false, 168), "html", null, true);
echo "</a><br/>";
}
// line 169
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.', 169, $this->source); })()), 1, [], "array", false, false, false, 169))) {
echo "<a
href=\"";
// line 170
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.', 170, $this->source); })()), 1, [], "array", false, false, false, 170), "href", [], "any", false, false, false, 170), "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.', 170, $this->source); })()), 1, [], "array", false, false, false, 170), "text", [], "any", false, false, false, 170), "html", null, true);
echo "</a>";
}
// line 171
echo " </div>
";
}
// line 173
echo "
";
// line 174
$this->loadTemplate("last_girl_list.html.twig", "ProfileList/list.html.twig", 174)->display($context);
// line 175
echo "
";
// line 177
echo " ";
$this->loadTemplate("ProfileList/station_comments.partial.html.twig", "ProfileList/list.html.twig", 177)->display($context);
// line 178
echo "
";
// line 179
$this->loadTemplate("ProfileList/profile_filter.partial.html.twig", "ProfileList/list.html.twig", 179)->display($context);
// line 180
echo "
<h3>Виджет Анкеты по категориям</h3>
<div id=\"widget_profiles_by_categories\" style=\"display:flex;gap:10px\"></div>
<script type=\"text/javascript\">
";
// line 185
$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.', 185, $this->source); })()), "request", [], "any", false, false, false, 185), "get", ["_route"], "method", false, false, false, 185);
// line 186
echo " ";
if ((( // line 187
(isset($context["route"]) || array_key_exists("route", $context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.', 187, $this->source); })()) == "homepage") || (( // line 188
(isset($context["route"]) || array_key_exists("route", $context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.', 188, $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.', 188, $this->source); })()), "request", [], "any", false, false, false, 188), "get", ["city"], "method", false, false, false, 188), "id", [], "any", false, false, false, 188) == twig_get_attribute($this->env, $this->source, $this->extensions['App\Twig\DefaultCityExtension']->defaultCity(), "id", [], "any", false, false, false, 188))))) {
// line 189
echo " document.addEventListener('DOMContentLoaded', _ => {
fetch('";
// line 190
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.', 190, $this->source); })()), "request", [], "any", false, false, false, 190), "attributes", [], "any", false, false, false, 190), "get", ["city", $this->extensions['App\Twig\DefaultCityExtension']->defaultCity()], "method", false, false, false, 190), "uriIdentity", [], "any", false, false, false, 190)]), "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 210
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 227
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 235
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.', 235, $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 83
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 84
echo " <div
id=\"profile-list\"
class=\"row mb-3\"
data-recommendations-fill-applied=\"";
// line 87
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.', 87, $this->source); })()), false)) : (false))) ? (1) : (0));
echo "\"
data-recommendations-fill-original-count=\"";
// line 88
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.', 88, $this->source); })()), ((twig_get_attribute($this->env, $this->source, ($context["profiles"] ?? null), "totalCount", [], "any", true, true, false, 88)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["profiles"] ?? null), "totalCount", [], "any", false, false, false, 88), 0)) : (0)))) : (((twig_get_attribute($this->env, $this->source, ($context["profiles"] ?? null), "totalCount", [], "any", true, true, false, 88)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["profiles"] ?? null), "totalCount", [], "any", false, false, false, 88), 0)) : (0)))), "html", null, true);
echo "\"
>
";
// line 90
$this->loadTemplate("ProfileList/list.profiles.html.twig", "ProfileList/list.html.twig", 90)->display($context);
// line 91
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 94
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 95
echo " ";
$this->loadTemplate("ProfileList/_show_more.profiles.html.twig", "ProfileList/list.html.twig", 95)->display($context);
// line 96
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 ( 616 => 96, 613 => 95, 600 => 94, 586 => 91, 584 => 90, 579 => 88, 575 => 87, 570 => 84, 557 => 83, 537 => 235, 526 => 227, 507 => 210, 484 => 190, 481 => 189, 479 => 188, 478 => 187, 476 => 186, 474 => 185, 467 => 180, 465 => 179, 462 => 178, 459 => 177, 456 => 175, 454 => 174, 451 => 173, 447 => 171, 441 => 170, 436 => 169, 430 => 168, 426 => 167, 422 => 165, 419 => 164, 417 => 163, 414 => 162, 410 => 160, 406 => 159, 399 => 158, 394 => 156, 388 => 155, 384 => 153, 381 => 152, 379 => 151, 376 => 150, 368 => 147, 362 => 146, 358 => 144, 355 => 143, 352 => 142, 349 => 135, 345 => 133, 341 => 132, 334 => 131, 329 => 129, 323 => 128, 319 => 126, 316 => 125, 314 => 124, 311 => 123, 307 => 121, 303 => 120, 296 => 119, 291 => 117, 285 => 116, 281 => 114, 278 => 113, 276 => 112, 273 => 111, 270 => 110, 267 => 109, 263 => 107, 261 => 104, 260 => 103, 256 => 101, 254 => 100, 249 => 98, 246 => 97, 244 => 94, 241 => 93, 239 => 83, 234 => 81, 231 => 80, 228 => 40, 225 => 39, 221 => 37, 219 => 34, 218 => 33, 210 => 31, 208 => 30, 205 => 29, 201 => 27, 199 => 26, 191 => 24, 188 => 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 '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 '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");
}
}