{% 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 %}