{% set bannerDesktop = 0 %}{% set bannerMobile = 0 %}{% if banners|length >= 1 %} <div class="carousel-content"> <div class="owl-carousel banner-carousel marginT20 txtcenter tab-l-hide tab-p-hide m-hide"> {% for banner in banners %} {% if banner is not null and not(is_current_website('ecat')) %} {% set bannerDesktop = 1 %} <div> <a href="{{ banner.link }}" title="{{ banner.alt }}"><img src="{{ banner.image }}" alt="{{ banner.alt }}"></a> </div> {% endif %} {% endfor %} </div> <div class="owl-carousel banner-carousel marginT20 txtcenter grid-hide tab-l-hide tab-p-hide m-visible"> {% for banner in banners %} {% if banner is not null and banner.imageMobile is not null and not(is_current_website('ecat')) %} {% set bannerMobile = 1 %} <div> <a href="{{ banner.link }}" title="{{ banner.alt }}"><img src="{{ banner.imageMobile }}" alt="{{ banner.alt }}"></a> </div> {% endif %} {% endfor %} </div> </div>{% endif %}<div class="actuel-site {% if bannerDesktop == 1 %}grid-hide{% else %}grid-visible{% endif %} tab-l-visible tab-p-visible {% if bannerDesktop == 1 and bannerMobile == 0 %}m-visible{% endif %}"> <span class="titre01">{{ 'frontend.home_content.pro.currently_on_sale'|trans }}</span><br> <a href="{{ path('frontend_vehicle_list') }}" title="">{{ 'frontend.home_content.pro.logged_out.block.now.button.label'|trans({'%count%': count_active_vehicles() }) }}</a></div><div class="home-content pro clearfix" role="main"> <div class="grid-container"> <div class="liste07 marginT30 tab-l-hide tab-p-hide m-hide"> <span><span class="sale-pro-filter active" data-filter="">{{ 'frontend.home_content.pro.logged_in.sales.type.all'|trans }}</span></span> <span><span class="sale-pro-filter" data-filter="onlineex">{{ 'frontend.home_content.pro.logged_in.sales.type.online_exclusive'|trans }}</span></span> <span><span class="sale-pro-filter" data-filter="onlinenex">{{ 'frontend.home_content.pro.logged_in.sales.type.online_non_exclusive'|trans }}</span></span> <span><span class="sale-pro-filter" data-filter="physical">{{ 'frontend.home_content.pro.logged_in.sales.type.physical'|trans }} {{ 'frontend.home_content.pro.logged_in.sales.type.physical.desc'|trans }}</span></span> </div> <div class="sales-auto-refresh" data-url="{{ path('frontend_home_refresh_sales_list') }}"> {% include '/Frontend/home/_sales_list.html.twig' %} </div> </div> {% if app.user is null and not(is_current_website('ecat')) %} <div> <h2 class="titre01 txtcenter">{{ 'frontend.home_content.pro.advantages.title'|trans }}</h2> <ul class="liste01"> <li class="grid-25 tab-l-25 tab-p-50 m-100"> <span> <i class="icon-avantages01"></i> <span>{{ 'frontend.home_content.pro.advantages.text01'|trans|raw }}</span> </span> </li> <li class="grid-25 tab-l-25 tab-p-50 m-100"> <span> <i class="icon-avantages02"></i><br> <span>{{ 'frontend.home_content.pro.advantages.text02'|trans|raw }}</span> </span> </li> <li class="grid-25 tab-l-25 tab-p-50 m-100"> <span> <i class="icon-avantages03"></i><br> <span>{{ 'frontend.home_content.pro.advantages.text03'|trans|raw }}</span> </span> </li> <li class="grid-25 tab-l-25 tab-p-50 m-100"> <span> <i class="icon-avantages04"></i><br> <span>{{ 'frontend.home_content.pro.advantages.text04'|trans|raw }}</span> </span> </li> </ul> </div> {% endif %} <div id="ie-banner" class="bandeau-ie none"> <div class="grid-90 txtcenter"> <p>{{ 'frontend.home_content.pro.logged_in.ie-banner.text01'|trans|raw }}</p> <br> <p> <a href="https://www.google.com/intl/fr/chrome/" target="_blank" title="" class="marginB10">{{ 'frontend.home_content.pro.logged_in.ie-banner.link01'|trans }}</a> <a href="https://www.mozilla.org/fr/firefox/" target="_blank" title="">{{ 'frontend.home_content.pro.logged_in.ie-banner.link02'|trans }}</a> </p> </div> <div class="grid-10"> <div class="bloc-bt-close"> <span class="bt-close"> <span class="lignes"> <span class="ligne1"></span> <span class="ligne3"></span> </span> </span> </div> </div> </div></div>{% if is_current_website('ecat') %} <div class="ecat-bottom-banner"> <div> {{ 'frontend.home_bottom.pro.ecat.first' | trans }}<br /> {{ 'frontend.home_bottom.pro.ecat.second' | trans }} </div> </div>{% endif %}<div class="menubas grid-hide tab-l-hide tab-p-hide m-visible"> {% if app.user is not null and app.user is pro %} <ul class="liste01"> <li><a href="{{ path('homepage_pro') }}" title=""><i class="icon-accueil"></i></a></li> <li><a href="{{ path('frontend_auction_list') }}" title=""><span class="prelative inbl"> <i class="icon-ordres-achat"></i> {% if app.user.countLiveBids > 0 %} <span class="caddy-notification">{{ app.user.countLiveBids }}</span> {% endif %} </span></a></li> <li><a href="{{ path('frontend_user_purchase') }}" title=""><i class="icon-commande"></i></a></li> <li><a href="{{ path('fos_user_profile_edit') }}" title=""><i class="icon-sidentifier"></i></a></li> </ul> {% else %} <ul class="liste02"> <li><a href="{{ getADUrl() }}" title="">{{ 'frontend.header.pro.link.sign_in'|trans }}</a></li> <li><a href="{{ getADUrl() }}" title="">{{ 'frontend.header.pro.link.register'|trans }}</a></li> </ul> {% endif %}</div>{#% if not (is_current_website('showvroom')) %} {% if app.user is null and not app.request.cookies.has('registration-pro-popup') %} <div id="registration-pro-popup" class="registration-pro-popup flash tab-l-hide tab-p-hide m-hide"> <div class="block-container"> <p class="color07"><strong>{{ 'frontend.home_content.pro.registration-pro-popup.text01'|trans }}</strong></p> <p>{{ 'frontend.home_content.pro.registration-pro-popup.text02'|trans }}</p> <p class="marginT20"> <span class="marginR20"><a href="{{ getADUrl() }}" title="" class="lien09">{{ 'frontend.home_content.pro.registration-pro-popup.link.login'|trans }}</a></span> <span><a href="{{ getADUrl() }}" title="" class="lien12 inscription">{{ 'frontend.home_content.pro.registration-pro-popup.link.register'|trans }}</a></span> </p> <p class="marginT10">{{ 'frontend.home_content.pro.registration-pro-popup.text03'|trans }}</p> </div> </div> {% endif %}{% endif %#}