<?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_f49c39a4c43b1547c78629bf9b634da0 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 "
";
// line 15
if (((isset($context["profiles"]) || array_key_exists("profiles", $context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.', 15, $this->source); })()) && (twig_get_attribute($this->env, $this->source, (isset($context["profiles"]) || array_key_exists("profiles", $context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.', 15, $this->source); })()), "currentPage", [], "any", false, false, false, 15) >= 2))) {
// line 16
echo " ";
$context["excludeRecommendationProfileIds"] = [];
// line 17
echo " ";
$this->loadTemplate("Recommendations/_profile_recommendations.html.twig", "ProfileList/list.html.twig", 17)->display($context);
// line 18
echo " ";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 21
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 22
echo " ";
echo $this->extensions['App\Twig\SeoExtension']->topHtml();
echo "
<h1>";
// line 23
echo $this->extensions['App\Twig\SeoExtension']->pageHeading();
echo "</h1>
";
// line 24
$this->loadTemplate("ProfileList/geo_category_linkage.partial.html.twig", "ProfileList/list.html.twig", 24)->display($context);
// line 25
echo "
";
// line 26
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.', 26, $this->source); })()))) {
// line 27
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.', 27, $this->source); })()), "hasSaloons", [], "any", false, false, false, 27)) {
// line 28
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.', 28, $this->source); })()), "uriIdentity", [], "any", false, false, false, 28)]), "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.', 28, $this->source); })()), "name", [], "any", false, false, false, 28)), "html", null, true);
echo "</a></h3>
<div class=\"row mb-3\">
";
// line 30
$this->loadTemplate("SaloonList/list.saloons.html.twig", "ProfileList/list.html.twig", 30)->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.', 30, $this->source); })()), "saloons", [], "any", false, false, false, 30)]));
// line 31
echo " </div>
";
}
// line 33
echo "
";
// line 34
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.', 34, $this->source); })()), "hasMasseurs", [], "any", false, false, false, 34)) {
// line 35
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.', 35, $this->source); })()), "uriIdentity", [], "any", false, false, false, 35)]), "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.', 35, $this->source); })()), "name", [], "any", false, false, false, 35)), "html", null, true);
echo "</a></h3>
<div class=\"row mb-3\">
";
// line 37
$this->loadTemplate("ProfileList/list.profiles.html.twig", "ProfileList/list.html.twig", 37)->display(twig_array_merge($context, ["profiles" => twig_get_attribute($this->env, $this->source, // line 38
(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.', 38, $this->source); })()), "masseurs", [], "any", false, false, false, 38), "show_total_count" => false]));
// line 41
echo " </div>
";
}
// line 43
echo " ";
}
// line 44
echo "
";
// line 84
echo "
";
// line 85
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.', 85, $this->source); })()));
echo "
";
// line 87
$this->displayBlock('mainList', $context, $blocks);
// line 92
echo "
";
// line 93
$this->displayBlock('showMore', $context, $blocks);
// line 96
echo "
";
// line 97
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.', 97, $this->source); })()));
echo "
";
// line 99
$context["cities_circle"] = $this->extensions['App\Twig\CityMainPagesLinkageExtension']->cityMainPagesLinkageCircle();
// line 100
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.', 100, $this->source); })()))) {
// line 101
echo " <div class=\"city_main_pages_linkage_circle\">
<h3>Также рекомендуем:</h3>
";
// line 103
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.', 103, $this->source); })()), 0, [], "array", false, false, false, 103))) {
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.', 103, $this->source); })()), 0, [], "array", false, false, false, 103), "href", [], "any", false, false, false, 103), "html", null, true);
echo "\"
style=\"text-transform: capitalize;\">";
// line 104
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.', 104, $this->source); })()), 0, [], "array", false, false, false, 104), "text", [], "any", false, false, false, 104), "html", null, true);
echo "</a>
<br/>";
}
// line 106
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.', 106, $this->source); })()), 1, [], "array", false, false, false, 106))) {
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.', 106, $this->source); })()), 1, [], "array", false, false, false, 106), "href", [], "any", false, false, false, 106), "html", null, true);
echo "\"
style=\"text-transform: capitalize;\">";
// line 107
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.', 107, $this->source); })()), 1, [], "array", false, false, false, 107), "text", [], "any", false, false, false, 107), "html", null, true);
echo "</a>";
}
// line 108
echo " </div>
";
}
// line 110
echo "
";
// line 111
$context["cities_circle"] = $this->extensions['App\Twig\CityMainPagesLinkageByCountriesExtension']->cityMainPagesLinkageCircleByCountries();
// line 112
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.', 112, $this->source); })()))) {
// line 113
echo " <div class=\"city_main_pages_linkage_circle\">
<h3>Также рекомендуем:</h3>
";
// line 115
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.', 115, $this->source); })()), 0, [], "array", false, false, false, 115))) {
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.', 115, $this->source); })()), 0, [], "array", false, false, false, 115), "href", [], "any", false, false, false, 115), "html", null, true);
echo "\"
style=\"text-transform: capitalize;\">";
// line 116
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), "text", [], "any", false, false, false, 116), "html", null, true);
echo "</a>
<br/>";
}
// line 118
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.', 118, $this->source); })()), 1, [], "array", false, false, false, 118))) {
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.', 118, $this->source); })()), 1, [], "array", false, false, false, 118), "href", [], "any", false, false, false, 118), "html", null, true);
echo "\"
style=\"text-transform: capitalize;\">";
// line 119
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), "text", [], "any", false, false, false, 119), "html", null, true);
echo "</a>";
}
// line 120
echo " </div>
";
}
// line 122
echo "
";
// line 129
echo " ";
$context["circle"] = $this->extensions['App\Twig\InnerLinkageCircleExtension']->innerLinkageCircle("prostitutes");
// line 130
echo " ";
if ( !(null === (isset($context["circle"]) || array_key_exists("circle", $context) ? $context["circle"] : (function () { throw new RuntimeError('Variable "circle" does not exist.', 130, $this->source); })()))) {
// line 131
echo " <div class=\"inner_linkage_circle\">
<h3>Также интересуются:</h3>
<a href=\"";
// line 133
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.', 133, $this->source); })()), 0, [], "array", false, false, false, 133), "href", [], "any", false, false, false, 133), "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.', 133, $this->source); })()), 0, [], "array", false, false, false, 133), "text", [], "any", false, false, false, 133), "html", null, true);
echo "</a><br/>
<a href=\"";
// line 134
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.', 134, $this->source); })()), 1, [], "array", false, false, false, 134), "href", [], "any", false, false, false, 134), "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.', 134, $this->source); })()), 1, [], "array", false, false, false, 134), "text", [], "any", false, false, false, 134), "html", null, true);
echo "</a>
</div>
";
}
// line 137
echo "
";
// line 138
$context["districts_circle"] = $this->extensions['App\Twig\DistrictsLinkageExtension']->districtsLinkageCircle();
// line 139
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.', 139, $this->source); })()))) {
// line 140
echo " <div class=\"city_main_pages_linkage_circle\">
<h3>Также интересуются:</h3>
";
// line 142
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.', 142, $this->source); })()), 0, [], "array", false, false, false, 142))) {
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.', 142, $this->source); })()), 0, [], "array", false, false, false, 142), "href", [], "any", false, false, false, 142), "html", null, true);
echo "\"
style=\"text-transform: capitalize;\">";
// line 143
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.', 143, $this->source); })()), 0, [], "array", false, false, false, 143), "text", [], "any", false, false, false, 143), "html", null, true);
echo "</a>
<br/>";
}
// line 145
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.', 145, $this->source); })()), 1, [], "array", false, false, false, 145))) {
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.', 145, $this->source); })()), 1, [], "array", false, false, false, 145), "href", [], "any", false, false, false, 145), "html", null, true);
echo "\"
style=\"text-transform: capitalize;\">";
// line 146
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.', 146, $this->source); })()), 1, [], "array", false, false, false, 146), "text", [], "any", false, false, false, 146), "html", null, true);
echo "</a>";
}
// line 147
echo " </div>
";
}
// line 149
echo "
";
// line 150
$context["stations_circle"] = $this->extensions['App\Twig\StationPagesLinkageExtension']->stationMainPagesLinkageCircle();
// line 151
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.', 151, $this->source); })()))) {
// line 152
echo " <div class=\"station_pages_linkage_circle\">
<h3>Также интересуются:</h3>
";
// line 154
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.', 154, $this->source); })()), 0, [], "array", false, false, false, 154))) {
echo "<a
href=\"";
// line 155
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.', 155, $this->source); })()), 0, [], "array", false, false, false, 155), "href", [], "any", false, false, false, 155), "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.', 155, $this->source); })()), 0, [], "array", false, false, false, 155), "text", [], "any", false, false, false, 155), "html", null, true);
echo "</a><br/>";
}
// line 156
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.', 156, $this->source); })()), 1, [], "array", false, false, false, 156))) {
echo "<a
href=\"";
// line 157
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.', 157, $this->source); })()), 1, [], "array", false, false, false, 157), "href", [], "any", false, false, false, 157), "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.', 157, $this->source); })()), 1, [], "array", false, false, false, 157), "text", [], "any", false, false, false, 157), "html", null, true);
echo "</a>";
}
// line 158
echo " </div>
";
}
// line 160
echo "
";
// line 161
$this->loadTemplate("last_girl_list.html.twig", "ProfileList/list.html.twig", 161)->display($context);
// line 162
echo "
";
// line 164
echo " ";
$this->loadTemplate("ProfileList/station_comments.partial.html.twig", "ProfileList/list.html.twig", 164)->display($context);
// line 165
echo "
";
// line 166
$this->loadTemplate("ProfileList/profile_filter.partial.html.twig", "ProfileList/list.html.twig", 166)->display($context);
// line 167
echo "
<h3>Виджет Анкеты по категориям</h3>
<div id=\"widget_profiles_by_categories\" style=\"display:flex;gap:10px\"></div>
<script type=\"text/javascript\">
";
// line 172
$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.', 172, $this->source); })()), "request", [], "any", false, false, false, 172), "get", ["_route"], "method", false, false, false, 172);
// line 173
echo " ";
if ((( // line 174
(isset($context["route"]) || array_key_exists("route", $context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.', 174, $this->source); })()) == "homepage") || (( // line 175
(isset($context["route"]) || array_key_exists("route", $context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.', 175, $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.', 175, $this->source); })()), "request", [], "any", false, false, false, 175), "get", ["city"], "method", false, false, false, 175), "id", [], "any", false, false, false, 175) == twig_get_attribute($this->env, $this->source, $this->extensions['App\Twig\DefaultCityExtension']->defaultCity(), "id", [], "any", false, false, false, 175))))) {
// line 176
echo " document.addEventListener('DOMContentLoaded', _ => {
fetch('";
// line 177
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.', 177, $this->source); })()), "request", [], "any", false, false, false, 177), "attributes", [], "any", false, false, false, 177), "get", ["city", $this->extensions['App\Twig\DefaultCityExtension']->defaultCity()], "method", false, false, false, 177), "uriIdentity", [], "any", false, false, false, 177)]), "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;
filterData();
});
});
";
}
// line 195
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 212
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 220
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.', 220, $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 87
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 88
echo " <div id=\"profile-list\" class=\"row mb-3\">
";
// line 89
$this->loadTemplate("ProfileList/list.profiles.html.twig", "ProfileList/list.html.twig", 89)->display($context);
// line 90
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 93
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 94
echo " ";
$this->loadTemplate("ProfileList/_show_more.profiles.html.twig", "ProfileList/list.html.twig", 94)->display($context);
// line 95
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 ( 592 => 95, 589 => 94, 576 => 93, 562 => 90, 560 => 89, 557 => 88, 544 => 87, 524 => 220, 513 => 212, 494 => 195, 473 => 177, 470 => 176, 468 => 175, 467 => 174, 465 => 173, 463 => 172, 456 => 167, 454 => 166, 451 => 165, 448 => 164, 445 => 162, 443 => 161, 440 => 160, 436 => 158, 430 => 157, 425 => 156, 419 => 155, 415 => 154, 411 => 152, 408 => 151, 406 => 150, 403 => 149, 399 => 147, 395 => 146, 388 => 145, 383 => 143, 377 => 142, 373 => 140, 370 => 139, 368 => 138, 365 => 137, 357 => 134, 351 => 133, 347 => 131, 344 => 130, 341 => 129, 338 => 122, 334 => 120, 330 => 119, 323 => 118, 318 => 116, 312 => 115, 308 => 113, 305 => 112, 303 => 111, 300 => 110, 296 => 108, 292 => 107, 285 => 106, 280 => 104, 274 => 103, 270 => 101, 267 => 100, 265 => 99, 260 => 97, 257 => 96, 255 => 93, 252 => 92, 250 => 87, 245 => 85, 242 => 84, 239 => 44, 236 => 43, 232 => 41, 230 => 38, 229 => 37, 221 => 35, 219 => 34, 216 => 33, 212 => 31, 210 => 30, 202 => 28, 199 => 27, 197 => 26, 194 => 25, 192 => 24, 188 => 23, 183 => 22, 170 => 21, 156 => 18, 153 => 17, 150 => 16, 148 => 15, 143 => 14, 130 => 13, 114 => 10, 101 => 9, 85 => 6, 72 => 5, 58 => 1, 56 => 3, 40 => 1,);
}
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() }}
{% if profiles and profiles.currentPage >= 2 %}
{% set excludeRecommendationProfileIds = [] %}
{% include 'Recommendations/_profile_recommendations.html.twig' %}
{% endif %}
{% 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\">
{% include 'ProfileList/list.profiles.html.twig' %}
</div>
{% endblock %}
{% block showMore %}
{% include 'ProfileList/_show_more.profiles.html.twig' %}
{% endblock showMore %}
{{ porpaginas_render(profiles) }}
{% 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;
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");
}
}