templates/app/influencer.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}
  3.     {{ influencer.name|title }}
  4.     Nudes Photos & Videos - Share-Nude
  5. {% endblock %}
  6. {% block description %}{% if influencer.description is not empty %}{{ influencer.description|slice(0, 160) }}{% else %}All {{ influencer.name|title }} Naked {% if influencer.onlyfans|length > 0 %}({{ influencer.onlyfans }} Onlyfans) {% elseif influencer.mym|length > 0 %}({{ influencer.mym }} MyM) {% endif %}free photos and videos. {{ influencer.name|title }} best medias on Share-Nude{% endif %}{% endblock %}
  7. {% block meta %}
  8.     <meta content="{{ influencer.name|title }} Nude Photos and Videos" property="og:title"/>
  9.     <meta content="{% if influencer.description is not empty %}{{ influencer.description|slice(0, 200) }}{% else %}All {{ influencer.name|title }} naked free photos and videos on Share-Nude{% endif %}" property="og:description"/>
  10.     <meta content="Share-Nude" property="og:site_name"/>
  11.     <meta content="en_EN" property="og:locale"/>
  12.     <meta content="profile" property="og:type"/>
  13.     <meta content="https://share-nude.com{{ app.request.requestUri }}" property="og:url"/>
  14.     {% if influencer.mainPhoto is not null %}
  15.         <meta content="https://share-nude.com{{ asset('images/influencer/' ~ influencer.slug ~ '/' ~ (influencer.mainPhoto.webp ?? influencer.mainPhoto.slug)) }}" property="og:image"/>
  16.         <meta content="image/{{ influencer.mainPhoto.webp is not null ? 'webp' : 'jpeg' }}" property="og:image:type"/>
  17.     {% else %}
  18.         <meta content="https://share-nude.com{{ asset('sharenude.png') }}" property="og:image"/>
  19.     {% endif %}
  20.     <meta name="twitter:card" content="summary_large_image"/>
  21.     <meta name="twitter:title" content="{{ influencer.name|title }} Nude Photos and Videos"/>
  22.     <meta name="twitter:description" content="{% if influencer.description is not empty %}{{ influencer.description|slice(0, 200) }}{% else %}All {{ influencer.name|title }} naked free photos and videos on Share-Nude{% endif %}"/>
  23.     {% if influencer.mainPhoto is not null %}
  24.         <meta name="twitter:image" content="https://share-nude.com{{ asset('images/influencer/' ~ influencer.slug ~ '/' ~ (influencer.mainPhoto.webp ?? influencer.mainPhoto.slug)) }}"/>
  25.     {% else %}
  26.         <meta name="twitter:image" content="https://share-nude.com{{ asset('sharenude.png') }}"/>
  27.     {% endif %}
  28.     <link rel="canonical" href="{{sharenude|raw}}/i/{{ influencer.slug }}"/>
  29. {% endblock %}
  30. {% block body %}
  31.     <div class="container white" id="photos-page-js">
  32.         {% set breadcrumbs = [
  33.             {'label': influencer.name|title, 'url': path('app_influencer', {'slug': influencer.slug})}
  34.         ] %}
  35.         {{ include('partials/breadcrumb.html.twig') }}
  36.         <h1>{{ influencer.name|title }}
  37.             nude</h1>
  38.         <div class="text-center mt-2 mb-4">
  39.         {% if influencer.description|length > 0 %}
  40.             <p>{{ influencer.description }}</p>
  41.         {% endif %}
  42.         {% if influencer.age|length > 0 %}
  43.             <span class="m-3">Age : {{ influencer.age }}</span>
  44.         {% endif %}
  45.         {% if influencer.country|length > 0 %}
  46.             <span class="m-3">Country : {{ influencer.country|country_name }}</span>
  47.         {% endif %}
  48.         {% if influencer.instagram|length > 0 %}
  49.             <span class="m-3">Instagram : {{ influencer.instagram }}</span>
  50.         {% endif %}
  51.         {# {% if influencer.name matches '/\s/' == false %}
  52.             <a href="https://offinder.app/onlyfans/{{ influencer.name }}"  class="btn btn-primary" title="Onlyfans {{ influencer.name|title }}" data-no-swup target="_blank">{{ influencer.name }} Onlyfans</a>
  53.         {% endif %} #}
  54.         {% if influencer.mym|length > 0 %}
  55.             <span class="m-3">Mym : <strong>{{ influencer.mym }}</strong></span>
  56.         {% endif %}
  57.         {# {% if influencer.name matches '/\s/' == false %}
  58.             <a href="https://fansfinder.app/fansly/{{ influencer.name }}"  class="btn btn-primary" title="Fansly {{ influencer.name|title }}" data-no-swup target="_blank">{{ influencer.name }} Fansly</a>
  59.         {% endif %} #}
  60.         {% if influencer.patreon|length > 0 %}
  61.             <span class="m-3">Patreon : <strong>{{ influencer.patreon }}</strong></span>
  62.         {% endif %}
  63.         {% if influencer.swame|length > 0 %}
  64.             <span class="m-3">Swame : <strong>{{ influencer.swame }}</strong></span>
  65.         {% endif %}
  66.         {% if influencer.chaturbate|length > 0 %}
  67.             <span class="m-3">Chaturbate : <strong>{{ influencer.chaturbate }}</strong></span>
  68.         {% endif %}
  69.         {% if influencer.stripchat|length > 0 %}
  70.             <span class="m-3">Stripchat : <strong>{{ influencer.stripchat }}</strong></span>
  71.         {% endif %}
  72.         {% if influencer.slug == "adrien-laurent" %}
  73.             <span class="m-3"><a href="https://ad-laurent.fr" title="Ad Laurent Porn">Ad Laurent Sextape</a></span>
  74.         {% endif %}
  75.         </div>
  76.         <!-- VIP Influencer Banner -->
  77.         <div class="vip-influencer-banner">
  78.             <a href="https://share-nude-vip.com" target="_blank" rel="noopener nofollow" class="vip-influencer-link">
  79.                 <span class="vip-influencer-icon">🔥</span>
  80.                 <span class="vip-influencer-text">
  81.                     Débloque tous les contenus exclusifs de <span class="vip-influencer-name">{{ influencer.name|title }}</span> et bien d'autres pour seulement 1€ sur Share-Nude VIP
  82.                 </span>
  83.                 <span class="vip-influencer-arrow">→</span>
  84.             </a>
  85.         </div>
  86.         <h2>{{ influencer.name|title }}
  87.             Photos and Videos</h2>
  88.         <div class="text-center">
  89.             {% if influencer.mainPhoto is not null %}
  90.             <picture>
  91.                 {% if influencer.mainPhoto.webp is not null %}<source srcset="{{sharenude|raw}}{{ asset('images/influencer/' ~ influencer.slug ~ '/196/' ~ influencer.mainPhoto.webp ~ '') }}" type="image/webp">{% endif %}
  92.                 <img loading="lazy" class="rounded-circle grid-100" src="{{sharenude|raw}}{{ asset('images/influencer/' ~ influencer.slug ~ '/196/' ~ influencer.mainPhoto.slug ~ '') }}" title="{{ influencer.name|title }}" alt="{{ influencer.name|title }}"/>
  93.             </picture>
  94.             {% else %}
  95.                 <picture>
  96.                     <source srcset="{{ asset('images/generic-avatar.webp') }}" type="image/webp">
  97.                     <img class="rounded-circle grid-100" src="{{ asset('images/generic-avatar.jpg') }}" title="{{ influencer.name|title }}" alt="{{ influencer.name|title }}"/>
  98.                 </picture>
  99.             {% endif %}
  100.         </div>
  101.         <div class="text-center my-3">
  102.             {% if app.user %}
  103.                 <a href="{{ path('user_influencer_follow', {id:influencer.id}) }}" class="btn btn-primary" title="Follow {{ influencer.name|title }}" data-no-swup>
  104.                     {% if(follow|length == 0) %}Follow{% else %}Unfollow
  105.                     {% endif %}
  106.                     -
  107.                     {{ influencer.influencerFollowers|length|number_format }}
  108.                     <i class="fa-solid fa-users"></i>
  109.                 </a>
  110.                 <a href="{{ path('user_upload', {influencer:influencer.id}) }}" data-no-swup class="btn btn-primary" title="Add photo {{ influencer.name|title }}">
  111.                     Add medias
  112.                     <i class="fa-solid fa-upload"></i>
  113.                 </a>
  114.             {% else %}
  115.                 <div class="white"><a href="{{ path('security_login') }}" class="btn btn-primary" title="Follow {{ influencer.name|title }}" data-no-swup>
  116.                     Follow
  117.                     -
  118.                     {{ influencer.influencerFollowers|length|number_format }}
  119.                     <i class="fa-solid fa-users"></i>
  120.                 </a>
  121.                     <br>Sign-up and follow {{ influencer.name|title }} to get notified each time a new media is posted ðŸ””
  122.                 </div>
  123.             {% endif %}
  124.         </div>
  125.         {% if (is_granted('ROLE_ADMIN')) %}
  126.             <p class="text-center">
  127.                 <a href="{{ path('admin_edit_influencer', {id:influencer.id}) }}" class="btn btn-secondary" title="Edit">Edit</a>
  128.                 <a href="{{ path('admin_remove_influencer', {id:influencer.id}) }}" onclick="return confirm('Are you sure you want to disabled this influencer ?');" class="btn btn-danger" title="Disabled">Disabled</a>
  129.             </p>
  130.         {% endif %}
  131.         <ul class="nav nav-pills nav-fill mb-3 px-5" id="pills-tab" role="tablist">
  132.             {% if photos|length > 0 %}
  133.             <li class="nav-item" role="presentation">
  134.                 <button class="nav-link white active" id="pills-home-tab" data-bs-toggle="pill" data-bs-target="#pills-home" type="button" role="tab" aria-controls="pills-home" aria-selected="true">{{ influencer.photos|length|number_format }} Photos <i class="fa-solid fa-camera" style="font-size:.9rem;"></i></button>
  135.             </li>
  136.             {% endif %}
  137.             {% if influencer.videos|length > 0 %}
  138.             <li class="nav-item" role="presentation">
  139.                 <button class="nav-link white {% if influencer.videos|length > 0 and photos|length == 0 %}active{% endif %}" id="pills-profile-tab" data-bs-toggle="pill" data-bs-target="#pills-profile" type="button" role="tab" aria-controls="pills-profile" aria-selected="false">{{ influencer.videos|length|number_format }} Videos <i class="fa-solid fa-video" style="font-size:.9rem;"></i></button>
  140.             </li>
  141.             {% endif %}
  142.         </ul>
  143.         <div class="tab-content" id="pills-tabContent">
  144.             <div class="tab-pane fade show {% if photos|length > 0 %}active{% endif %}" id="pills-home" role="tabpanel" aria-labelledby="pills-home-tab">
  145.                     <div class="row" id="photo-container">
  146.                     <div id="load-more-button" class="d-none" data-url="{{sharenude|raw}}{{ path('load_more_influencer', { 'slug':influencer.slug,'page': 0 }) }}">Load more photos</div>
  147.                     <div id="total-page" class="d-none" data-page="{{totalPages}}"></div>
  148.                     {% for photo in photos|sort((a, b) => a.id  <= b.id) %}
  149.                         {{ include('grid_photos.html.twig') }}
  150.                         {% if loop.index is divisible by(11) %}
  151.                             {{ include('grid_vip_card.html.twig') }}
  152.                         {% endif %}
  153.                     {% endfor %}
  154.                     </div>
  155.                     <div class="row">
  156.                     {{ include('loader.html.twig') }}
  157.                     <div class="navigation my-5">
  158.                         {{ knp_pagination_render(photos) }}
  159.                     </div>
  160.                 </div>
  161.             </div>
  162.             <div class="tab-pane fade {% if influencer.videos|length > 0 and photos|length == 0 %} show active{% endif %}" id="pills-profile" role="tabpanel" aria-labelledby="pills-profile-tab">
  163.                 <div class="row">
  164.                     {% for video in influencer.videos|sort((a, b) => a.id <= b.id) %}
  165.                         {% if video.actif == 1 %}
  166.                             <div class="col-lg-3 mx-auto my-3 text-center">
  167.                                 <div class="hover-video-container">
  168.                                     <a data-no-swup href="{{ path('user_video', { slug : video.influencer.slug, id : video.id }) }}" title="{{ video.influencer.name|title }} Video">
  169.                                         <picture>
  170.                                             {% if video.webp is not null %}<source srcset="{{sharenude|raw}}{{ asset('images/influencer/' ~ video.influencer.slug ~ '/306/' ~ video.webp ~ '') }}" type="image/webp">{% endif %}
  171.                                             <img loading="lazy" src="{{sharenude|raw}}{{ asset('images/influencer/' ~ video.influencer.slug ~ '/306/' ~ video.slug ~ '') }}" class="grid-100 rounded" title="{{ influencer.name|title }} video" alt="{{ influencer.name|title }} video"/>
  172.                                         </picture>
  173.                                         <div class="video-views-container">
  174.                                             <div class="video-views">
  175.                                                 {{ video.influencer.name|title }}
  176.                                                 <div class="views">
  177.                                                     {{ video.views|number_format }}
  178.                                                     <i class="fa-solid fa-eye"></i>
  179.                                                     <br>
  180.                                                     {{ video.createdAt|ago }}
  181.                                                 </div>
  182.                                             </div>
  183.                                         </div>
  184.                                     </a>
  185.                                 </div>
  186.                             </div>
  187.                         {% endif %}
  188.                         {% if loop.index is divisible by(11) %}
  189.                             {{ include('grid_vip_card.html.twig') }}
  190.                         {% endif %}
  191.                     {% endfor %}
  192.                 </div>
  193.             </div>
  194.         </div>
  195.         {{ include('ads.html.twig') }}
  196.         <h3 class="my-3">Did you like these {{ influencer.name|title }} Leak ?</h3>
  197.     </div>
  198. {% endblock %}