templates/ProfileList/list.html.twig line 106

Open in your IDE?
  1. {% extends 'grid.html.twig' %}
  2. {% set listingPage = profiles.currentPage is defined and profiles.currentPage > 1 %}
  3. {% set isFirstPage = profiles.currentPage is defined and profiles.currentPage == 1 %}
  4. {% set forYandex = app.request.requestUri == "/" and page_metadata_variant == "yandex" %}
  5. {% block title %}{{ seo_title() }}{% endblock %}
  6. {% block metaDescription %}
  7.     <meta name="description" content="{{ seo_description() }}">
  8. {% endblock %}
  9. {% block name_page %}girls-list{% endblock %}
  10. {% block current_menu_map %} current{% endblock %}
  11. {% block canonical %}<link rel="canonical" href="{{ canonical_url() }}{{ listingPage ? 'page' ~ profiles.currentPage ~ '/' : ''}}">{% endblock %}
  12. {% block mainContainer %}
  13.     {% set excludeRecommendationProfileIds = [] %}
  14.     {{ knp_menu_render('breadcrumbs', {'template': '_menu/breadcrumbs.html.twig'}) }}
  15.     <header class="list_heading border-line" role="heading">
  16.         <div class="list_heading-inner">
  17.             <h1 class="list_heading__title" role="heading">{% if forYandex %}Проститутки Москвы индивидуалки{% else %}{{ seo_heading() }}{% endif %}</h1>
  18.             <span class="list_heading__count">{{ profiles.totalCount }}</span>
  19.         </div>
  20.     </header>
  21.     {# {{ include('components/top_seo.html.twig', { 'type': 'main' }) }} #}
  22.     {#{% if source is defined and source %}
  23.         <div class="empty-category level d-flex overflow-hidden mb-4">
  24.             <div class="empty-category__icon d-flex align-items-center justify-content-center">
  25.                 <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewbox="0 0 34 30"><path fill="#FF3F40" fill-rule="evenodd" d="M.5 29.25L17 .75l16.5 28.5H.5zm27.8-3L17 6.73 5.7 26.25h22.6zm-12.8-4.5v3h3v-3h-3zm0-9h3v6h-3v-6z" clip-rule="evenodd"/></svg>
  26.             </div>
  27.             <div class="flex-fill px-3 px-sm-4 py-3">
  28.                 <p class="m-0">
  29.                     {% if source == 'county' %}К сожалению, все девушки из округа
  30.                         <a href="{{ category_url }}">{{ county.name }}</a>
  31.                         сейчас отдыхают, посмотрите проституток из других округов города
  32.                         {{ city.name|trans }}.
  33.                     {% endif %}
  34.                     {% if source == 'district' %}К сожалению, все девушки из района
  35.                         <a href="{{ category_url }}">{{ district.name }}</a>
  36.                         сейчас отдыхают, посмотрите проституток из других районов города
  37.                         {{ city.name|trans }}.
  38.                     {% endif %}
  39.                     {% if source == 'station' %}К сожалению, все девушки работающие вблизи метро
  40.                         <a href="{{ category_url }}">{{ station.name }}</a>
  41.                         сейчас отдыхают, посмотрите проституток у других станций метро в этом районе города
  42.                         {{ city.name|trans }}.
  43.                     {% endif %}
  44.                     {% if source == 'approved' or source == 'with_comments' or  source == 'with_video' or source == 'elite' or source == 'with_selfie' %}
  45.                         {% if source == 'approved' %}
  46.                             {% set source_name = '<a href="' ~ path('profile_list.list_approved', {city:city.uriIdentity}) ~ '">Проверенные анкеты</a>' %}
  47.                         {% elseif source == 'with_comments' %}
  48.                             {% set source_name = '<a href="' ~ path('profile_list.list_with_comments', {city:city.uriIdentity}) ~ '">Анкеты с отзывами</a>' %}
  49.                         {% elseif source == 'with_video' %}
  50.                             {% set source_name = '<a href="' ~ path('profile_list.list_with_video', {city:city.uriIdentity}) ~ '">Анкеты с видео</a>' %}
  51.                         {% elseif source == 'with_selfie' %}
  52.                             {% set source_name = '<a href="' ~ path('profile_list.list_with_selfie', {city:city.uriIdentity}) ~ '">Анкеты с селфи</a>' %}
  53.                         {% elseif source == 'elite' %}
  54.                             {% set source_name = '<a href="' ~ path('profile_list.list_for_elite_girls', {city:city.uriIdentity}) ~ '" style="pointer-events:none">Элитные проститутки</a>' %}
  55.                         {% else %}
  56.                             {% set source_name = '' %}
  57.                         {% endif %}
  58.                         {% if source_default == 'approved' %}К сожалению, все
  59.                             <a href="{{ category_url }}">проверенные девушки</a>
  60.                             сейчас отдыхают, посмотрите раздел
  61.                             {{ source_name|raw }}
  62.                         {% endif %}
  63.                         {% if source_default == 'with_comments' %}К сожалению, все
  64.                             <a href="{{ category_url }}">девушки, у которых есть отзывы</a>
  65.                             сейчас отдыхают, посмотрите раздел
  66.                             {{ source_name|raw }}
  67.                         {% endif %}
  68.                         {% if source_default == 'with_video' %}К сожалению, все
  69.                             <a href="{{ category_url }}">девушки, у которых есть видео</a>
  70.                             сейчас отдыхают, посмотрите раздел
  71.                             {{ source_name|raw }}
  72.                         {% endif %}
  73.                         {% if source_default == 'with_selfie' %}
  74.                             К сожалению, все <a href="{{ category_url }}">девушки, у которых есть селфи</a> сейчас отдыхают, посмотрите раздел {{ source_name|raw }}
  75.                         {% endif %}
  76.                     {% endif %}
  77.                     {% if source == 'by_params' %}К сожалению, раздел пуст. Посмотрите другие анкеты, которые мы подобрали для Вас.
  78.                     {% endif %}
  79.                     {% if source == 'service' %}К сожалению, все девушки, которые практикуют услугу
  80.                         <a href="{{ category_url }}">{{ service.name }}</a>
  81.                         сейчас отдыхают. Но мы подобрали для Вас девушек которые не против оказать Вам похожие услуги, взгляните!
  82.                     {% endif %}
  83.                     {% if source == 'city' %}К сожалению, данный раздел пуст. Взгляните на другие анкеты, которые мы нашли для Вас в городе
  84.                         {{ city.name|trans }}.
  85.                     {% endif %}
  86.                     {% if source == 'country' %}К сожалению, данный раздел пуст. Взгляните на анкеты которые мы подобрали для Вас.
  87.                     {% endif %}
  88.                     {% if source == 'massage_service' %}К сожалению, все девушки для которых массаж — это призвание сейчас отдыхают. Посмотрите проституток, которые также готовы сделать Вам массаж.
  89.                     {% endif %}
  90.                 </p>
  91.             </div>
  92.         </div>
  93.     {% endif %}#}
  94.     <div class="profiles-items-row" id="profile-list">
  95.         {% block profileList %}
  96.             {% include 'ProfileList/list.profiles.html.twig' with {'profileList': profiles } %}
  97.         {% endblock %}
  98.     </div>
  99.     {% include 'ProfileList/_show_more.profiles.html.twig' %}
  100.     {{ porpaginas_render(profiles) }}
  101.     {# {% set cities_circle = city_main_pages_linkage_circle() %}
  102.     {% if cities_circle is not null %}
  103.         <div class="city-main-pages-linkage-circle">
  104.             {% if cities_circle[0] is not null %}<a href="{{ cities_circle[0].href }}" style="text-transform: capitalize;"><i class="prev"></i>{{ cities_circle[0].text }}</a>{% endif %}
  105.             <span class="sep"></span>
  106.             {% if cities_circle[1] is not null %}<a href="{{ cities_circle[1].href }}" style="text-transform: capitalize;">{{ cities_circle[1].text }}<i class="next"></i></a>{% endif %}
  107.         </div>
  108.     {% endif %} #}
  109.     {# {% if app.request.pathInfo != '/' %}
  110.         {% set cities_circle = city_main_pages_linkage_by_countries_circle() %}
  111.         {% if cities_circle is not null %}
  112.             <div class="city-main-pages-linkage-circle">
  113.                 {% if cities_circle[0] is not null %}<a href="{{ cities_circle[0].href }}" style="text-transform: capitalize;"><i class="prev"></i>{{ cities_circle[0].text }}</a>{% endif %}
  114.                     <span class="sep"></span>
  115.                 {% if cities_circle[1] is not null %}<a href="{{ cities_circle[1].href }}" style="text-transform: capitalize;">{{ cities_circle[1].text }}<i class="next"></i></a>{% endif %}
  116.             </div>
  117.         {% endif %}
  118.     {% endif %} #}
  119.     {# {% set districts_circle = districts_linkage_circle() %}
  120.     {% if districts_circle is not null %}
  121.         <div class="city-main-pages-linkage-circle">
  122.             <h3 class="city-main-pages-linkage-circle-title">Также интересуются:</h3>
  123.             {% if districts_circle[0] is not null %}<a href="{{ districts_circle[0].href }}" style="text-transform: capitalize;"><i class="prev"></i>{{ districts_circle[0].text }}</a>{% endif %}
  124.             <span class="sep"></span>
  125.             {% if districts_circle[1] is not null %}<a href="{{ districts_circle[1].href }}" style="text-transform: capitalize;">{{ districts_circle[1].text }}<i class="next"></i></a>{% endif %}
  126.         </div>
  127.     {% endif %}
  128.     {% set stations_circle = station_pages_linkage_circle() %}
  129.     {% if stations_circle is not null %}
  130.         <div class="city-main-pages-linkage-circle">
  131.             <h3 class="city-main-pages-linkage-circle-title">Также интересуются:</h3>
  132.             {% if stations_circle[0] is not null %}<a href="{{ stations_circle[0].href }}"><i class="prev"></i>{{ stations_circle[0].text }}</a><br/>{% endif %}
  133.             <span class="sep"></span>
  134.             {% if stations_circle[1] is not null %}<a href="{{ stations_circle[1].href }}">{{ stations_circle[1].text }}<i class="next"></i></a>{% endif %}
  135.         </div>
  136.     {% endif %} #}
  137.     {# {% set circle = inner_linkage_circle() %}
  138.     {% if circle is not null %}
  139.         <div class="city-main-pages-linkage-circle">
  140.             {% if circle[0] is not null %}<a href="{{ circle[0].href }}"><i class="prev"></i>{{ circle[0].text }}</a>{% endif %}
  141.             <span class="sep"></span>
  142.             {% if circle[1] is not null %}<a href="{{ circle[1].href }}">{{ circle[1].text }}<i class="next"></i></a>{% endif %}
  143.         </div>
  144.     {% endif %} #}
  145.     {% if profiles and profiles.currentPage >= 2 %}
  146.         {{ include('components/_profile_recommendations.html.twig', {'classname': 'recommendations-list-page'}) }}
  147.     {% endif %}
  148.     {# {% set cityBlagoveshensk = city is defined and city.uriIdentity == 'blagoveshensk' %} #}
  149.     {# {% if not cityBlagoveshensk %} #}
  150.         {# {{ include('components/big_footer.html.twig') }} #}
  151.     {# {% endif %} #}
  152.     {% if isFirstPage %}
  153.     {{ include('components/seo.partial.twig', {type: 'top'}) }}
  154.     {{ include('components/seo.partial.twig', {type: 'bottom'}) }}
  155.     {% endif %}
  156. {% endblock %}
  157. {% block javascripts %}
  158.     {{ parent() }}
  159.     <script>
  160.         window._strl = {
  161.             stations: {
  162.                 {%- for station in stations() -%}
  163.                     "{{ station.name|trans }}": "{{ path('profile_list.list_by_station', {'city': station.city.uriIdentity, 'station': station.uriIdentity}) }}"{% if not loop.last %},{% endif %}
  164.                 {%- endfor -%}
  165.             }
  166.         };
  167.         window._lD = {
  168.             setLastViewedListing: '{{ app.request.attributes.get('_route') }}',
  169.             cityUrl: "{{city.uriIdentity}}",
  170.         };
  171.         {# document.addEventListener('DOMContentLoaded', function() {
  172.             {% if profiles and profiles.totalCount > 0 %}
  173.                 {%- set profilesId = profiles|map(p => p.id)|join(',') -%}
  174.                 window.increase_shows({
  175.                     profiles: [{{ profilesId }}],
  176.                     route: '{{ app.request.attributes.get('_route') }}',
  177.                 })
  178.             {% endif %}
  179.         }); #}
  180.     </script>
  181. {% endblock %}