templates/ProfileList/list.html.twig line 101

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