<?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_09c006177d0309b7aaecc091c4a4831a 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"], "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"));
echo twig_escape_filter($this->env, $this->extensions['App\Twig\SeoExtension']->metaTitle(), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 7
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 8
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 11
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 12
echo " ";
$this->displayParentBlock("navbar", $context, $blocks);
echo "
";
// line 13
if (((isset($context["profiles"]) || array_key_exists("profiles", $context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.', 13, $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.', 13, $this->source); })()), "currentPage", [], "any", false, false, false, 13) >= 2))) {
// line 14
echo " ";
$context["excludeRecommendationProfileIds"] = [];
// line 15
echo " ";
$this->loadTemplate("Recommendations/_profile_recommendations.html.twig", "ProfileList/list.html.twig", 15)->display($context);
// line 16
echo " ";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 19
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 20
echo " ";
echo $this->extensions['App\Twig\SeoExtension']->topHtml();
echo "
<h1>";
// line 21
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Проститутки %ofCity%, шлюхи и путаны", ["%ofCity%" => $this->extensions['BigIdea\Bundle\GeographicalNamesInflectionBundle\Twig\GeographicalNamesInflectionTwigExtension']->geoNameInflection($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.', 21, $this->source); })()), "name", [], "any", false, false, false, 21)), "genitive")], "messages");
echo "</h1>
";
// line 55
echo "
";
// line 56
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.', 56, $this->source); })()));
echo "
";
// line 58
$this->displayBlock('mainList', $context, $blocks);
// line 63
echo "
";
// line 64
$this->displayBlock('showMore', $context, $blocks);
// line 67
echo "
";
// line 68
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.', 68, $this->source); })()));
echo "
";
// line 70
$context["cities_circle"] = $this->extensions['App\Twig\CityMainPagesLinkageExtension']->cityMainPagesLinkageCircle();
// line 71
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.', 71, $this->source); })()))) {
// line 72
echo " <div class=\"city_main_pages_linkage_circle\">
<h3>Также рекомендуем:</h3>
";
// line 74
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.', 74, $this->source); })()), 0, [], "array", false, false, false, 74))) {
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.', 74, $this->source); })()), 0, [], "array", false, false, false, 74), "href", [], "any", false, false, false, 74), "html", null, true);
echo "\" style=\"text-transform: capitalize;\">";
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.', 74, $this->source); })()), 0, [], "array", false, false, false, 74), "text", [], "any", false, false, false, 74), "html", null, true);
echo "</a><br/>";
}
// line 75
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.', 75, $this->source); })()), 1, [], "array", false, false, false, 75))) {
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.', 75, $this->source); })()), 1, [], "array", false, false, false, 75), "href", [], "any", false, false, false, 75), "html", null, true);
echo "\" style=\"text-transform: capitalize;\">";
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.', 75, $this->source); })()), 1, [], "array", false, false, false, 75), "text", [], "any", false, false, false, 75), "html", null, true);
echo "</a>";
}
// line 76
echo " </div>
";
}
// line 78
echo "
";
// line 79
$context["cities_circle"] = $this->extensions['App\Twig\CityMainPagesLinkageByCountriesExtension']->cityMainPagesLinkageCircleByCountries();
// line 80
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.', 80, $this->source); })()))) {
// line 81
echo " <div class=\"city_main_pages_linkage_circle\">
<h3>Также рекомендуем:</h3>
";
// line 83
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.', 83, $this->source); })()), 0, [], "array", false, false, false, 83))) {
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.', 83, $this->source); })()), 0, [], "array", false, false, false, 83), "href", [], "any", false, false, false, 83), "html", null, true);
echo "\" style=\"text-transform: capitalize;\">";
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.', 83, $this->source); })()), 0, [], "array", false, false, false, 83), "text", [], "any", false, false, false, 83), "html", null, true);
echo "</a><br/>";
}
// line 84
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.', 84, $this->source); })()), 1, [], "array", false, false, false, 84))) {
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.', 84, $this->source); })()), 1, [], "array", false, false, false, 84), "href", [], "any", false, false, false, 84), "html", null, true);
echo "\" style=\"text-transform: capitalize;\">";
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.', 84, $this->source); })()), 1, [], "array", false, false, false, 84), "text", [], "any", false, false, false, 84), "html", null, true);
echo "</a>";
}
// line 85
echo " </div>
";
}
// line 87
echo "
";
// line 94
echo " ";
$context["circle"] = $this->extensions['App\Twig\InnerLinkageCircleExtension']->innerLinkageCircle("prostitutes");
// line 95
echo " ";
if ( !(null === (isset($context["circle"]) || array_key_exists("circle", $context) ? $context["circle"] : (function () { throw new RuntimeError('Variable "circle" does not exist.', 95, $this->source); })()))) {
// line 96
echo " <div class=\"inner_linkage_circle\">
<h3>Также интересуются:</h3>
<a href=\"";
// line 98
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.', 98, $this->source); })()), 0, [], "array", false, false, false, 98), "href", [], "any", false, false, false, 98), "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.', 98, $this->source); })()), 0, [], "array", false, false, false, 98), "text", [], "any", false, false, false, 98), "html", null, true);
echo "</a><br/>
<a href=\"";
// line 99
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.', 99, $this->source); })()), 1, [], "array", false, false, false, 99), "href", [], "any", false, false, false, 99), "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.', 99, $this->source); })()), 1, [], "array", false, false, false, 99), "text", [], "any", false, false, false, 99), "html", null, true);
echo "</a>
</div>
";
}
// line 102
echo "
";
// line 103
$context["districts_circle"] = $this->extensions['App\Twig\DistrictsLinkageExtension']->districtsLinkageCircle();
// line 104
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.', 104, $this->source); })()))) {
// line 105
echo " <div class=\"city_main_pages_linkage_circle\">
<h3>Также интересуются:</h3>
";
// line 107
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.', 107, $this->source); })()), 0, [], "array", false, false, false, 107))) {
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.', 107, $this->source); })()), 0, [], "array", false, false, false, 107), "href", [], "any", false, false, false, 107), "html", null, true);
echo "\" style=\"text-transform: capitalize;\">";
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.', 107, $this->source); })()), 0, [], "array", false, false, false, 107), "text", [], "any", false, false, false, 107), "html", null, true);
echo "</a><br/>";
}
// line 108
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.', 108, $this->source); })()), 1, [], "array", false, false, false, 108))) {
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.', 108, $this->source); })()), 1, [], "array", false, false, false, 108), "href", [], "any", false, false, false, 108), "html", null, true);
echo "\" style=\"text-transform: capitalize;\">";
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.', 108, $this->source); })()), 1, [], "array", false, false, false, 108), "text", [], "any", false, false, false, 108), "html", null, true);
echo "</a>";
}
// line 109
echo " </div>
";
}
// line 111
echo "
";
// line 112
$context["stations_circle"] = $this->extensions['App\Twig\StationPagesLinkageExtension']->stationMainPagesLinkageCircle();
// line 113
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.', 113, $this->source); })()))) {
// line 114
echo " <div class=\"station_pages_linkage_circle\">
<h3>Также интересуются:</h3>
";
// line 116
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.', 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["stations_circle"]) || array_key_exists("stations_circle", $context) ? $context["stations_circle"] : (function () { throw new RuntimeError('Variable "stations_circle" does not exist.', 116, $this->source); })()), 0, [], "array", false, false, false, 116), "href", [], "any", false, false, false, 116), "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.', 116, $this->source); })()), 0, [], "array", false, false, false, 116), "text", [], "any", false, false, false, 116), "html", null, true);
echo "</a><br/>";
}
// line 117
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.', 117, $this->source); })()), 1, [], "array", false, false, false, 117))) {
echo "<a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["stations_circle"]) || array_key_exists("stations_circle", $context) ? $context["stations_circle"] : (function () { throw new RuntimeError('Variable "stations_circle" does not exist.', 117, $this->source); })()), 1, [], "array", false, false, false, 117), "href", [], "any", false, false, false, 117), "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.', 117, $this->source); })()), 1, [], "array", false, false, false, 117), "text", [], "any", false, false, false, 117), "html", null, true);
echo "</a>";
}
// line 118
echo " </div>
";
}
// line 120
echo "
";
// line 121
$this->loadTemplate("last_girl_list.html.twig", "ProfileList/list.html.twig", 121)->display($context);
// line 122
echo "
";
// line 124
echo " ";
$this->loadTemplate("ProfileList/station_comments.partial.html.twig", "ProfileList/list.html.twig", 124)->display($context);
// line 125
echo "
";
// line 126
$this->loadTemplate("ProfileList/profile_filter.partial.html.twig", "ProfileList/list.html.twig", 126)->display($context);
// line 127
echo "
<h3>Виджет Анкеты по категориям</h3>
<div id=\"widget_profiles_by_categories\" style=\"display:flex;gap:10px\"></div>
<script type=\"text/javascript\">
";
// line 132
$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.', 132, $this->source); })()), "request", [], "any", false, false, false, 132), "get", ["_route"], "method", false, false, false, 132);
// line 133
echo " ";
if ((( // line 134
(isset($context["route"]) || array_key_exists("route", $context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.', 134, $this->source); })()) == "homepage") || (( // line 135
(isset($context["route"]) || array_key_exists("route", $context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.', 135, $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.', 135, $this->source); })()), "request", [], "any", false, false, false, 135), "get", ["city"], "method", false, false, false, 135), "id", [], "any", false, false, false, 135) == twig_get_attribute($this->env, $this->source, $this->extensions['App\Twig\DefaultCityExtension']->defaultCity(), "id", [], "any", false, false, false, 135))))) {
// line 137
echo " document.addEventListener('DOMContentLoaded', _ => {
fetch('";
// line 138
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.', 138, $this->source); })()), "request", [], "any", false, false, false, 138), "attributes", [], "any", false, false, false, 138), "get", ["city", $this->extensions['App\Twig\DefaultCityExtension']->defaultCity()], "method", false, false, false, 138), "uriIdentity", [], "any", false, false, false, 138)]), "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 156
echo " </script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 58
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 59
echo " <div id=\"profile-list\" class=\"row mb-3\">
";
// line 60
$this->loadTemplate("ProfileList/list.profiles.html.twig", "ProfileList/list.html.twig", 60)->display(twig_array_merge($context, ["top_profile" => (((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.', 60, $this->source); })()), "currentPage", [], "any", false, false, false, 60) < 2)) ? ($this->extensions['App\Twig\PaidPlacementsExtension']->currentTopPlacement()) : (null))]));
// line 61
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 64
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 65
echo " ";
$this->loadTemplate("ProfileList/_show_more.profiles.html.twig", "ProfileList/list.html.twig", 65)->display($context);
// line 66
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 ( 484 => 66, 481 => 65, 468 => 64, 454 => 61, 452 => 60, 449 => 59, 436 => 58, 421 => 156, 400 => 138, 397 => 137, 395 => 135, 394 => 134, 392 => 133, 390 => 132, 383 => 127, 381 => 126, 378 => 125, 375 => 124, 372 => 122, 370 => 121, 367 => 120, 363 => 118, 354 => 117, 346 => 116, 342 => 114, 339 => 113, 337 => 112, 334 => 111, 330 => 109, 321 => 108, 313 => 107, 309 => 105, 306 => 104, 304 => 103, 301 => 102, 293 => 99, 287 => 98, 283 => 96, 280 => 95, 277 => 94, 274 => 87, 270 => 85, 261 => 84, 253 => 83, 249 => 81, 246 => 80, 244 => 79, 241 => 78, 237 => 76, 228 => 75, 220 => 74, 216 => 72, 213 => 71, 211 => 70, 206 => 68, 203 => 67, 201 => 64, 198 => 63, 196 => 58, 191 => 56, 188 => 55, 184 => 21, 179 => 20, 166 => 19, 152 => 16, 149 => 15, 146 => 14, 144 => 13, 139 => 12, 126 => 11, 110 => 8, 97 => 7, 72 => 5, 58 => 1, 56 => 3, 40 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'grid.html.twig' %}
{% set city = app.request.get('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>{% trans with {'%ofCity%': city.name|trans|geo_name('genitive')} %}Проститутки %ofCity%, шлюхи и путаны{% endtrans %}</h1>
{#
{% 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 == '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 %}
{% 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' with { 'top_profile': profiles.currentPage < 2 ? profile_top_placement() : null } %}
</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>
{% endblock %}
", "ProfileList/list.html.twig", "/app/templates/ProfileList/list.html.twig");
}
}