<footer class="footer1">
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/footer/elements/_banniere_pub_footer.html.twig')}}
<section itemscope="" class="top-footer">
<div class="container-fluid wrapper">
{% if logoPosition == 3 %}
<div class="text-center logo-center">
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/footer/elements/_logo_footer.html.twig')}}
</div>
{% endif %}
<div class="items-top d-flex justify-content-between flex-column flex-xl-row text-xl-left text-center align-items-center">
{% if logoPosition == 1 %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/footer/elements/_logo_footer.html.twig')}}
{% endif %}
<div class="item-top coordonnees-contacts d-flex flex-column">
{% for contactItem in contacts %}
{% set nbContact = loop.index %}
{% if nbContact <= nbrContactsInput %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/footer/elements/_coordonnees_contact.html.twig')}}
{% endif %}
{% endfor %}
</div>
{% if parametre.liencarte and codeqrFooter %}
<div class="item-top">
<img src="{{ qr_code_url(parametre.liencarte) }}" width="100"/>
</div>
{% endif %}
{% if contacts and texteFooter %}
<div class="item-top">
{% for contact in contacts %}
{% if contact.texteContact %}
<div class="footer_right">
{{contact.texteContact|raw}}
</div>
{% endif %}
{% endfor %}
</div>
{% endif %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/footer/elements/_social_network.html.twig')}}
{% if button1Footer %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/_stiky_button.html.twig', with_context = false)}}
{% endif %}
{% if logoPosition == 2 %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/footer/elements/_logo_footer.html.twig')}}
{% endif %}
</div>
</div>
</section>
<section class="sub-footer">
<div class="container-fluid wrapper">
<div class="items-sub-footer d-flex justify-content-center align-items-center flex-column flex-md-row">
<ul id="footer_bottom" class="link-hover d-flex justify-content-center justify-content-md-center flex-column flex-md-row liststyle text-center">
{% if menus %}
{% for key,menu in menus %}
{% if menu.type == 'aucun' %}
<li><a href="#" title="{{menu.title}}" {% if menu.nofollow == true %}rel="nofollow"{% endif %} target="{{target[menu.target]}}"> {{menu.title}} </a></li>
{% elseif menu.type == 'lien' %}
<li><a href="{{menu.url}}" title="{{menu.title}}" {% if menu.nofollow == true %}rel="nofollow"{% endif %} target="{{target[menu.target]}}">{{menu.title}} </a></li>
{% elseif menu.type == 'categorie' or menu.type == 'sous-categorie' %}
<li><a href="{{path('page',{slug:menu.slug})}}" title="{{menu.title}}" {% if menu.nofollow == true %}rel="nofollow"{% endif %} target="{{target[menu.target]}}">{{menu.title}} </a></li>
{% elseif menu.type == 'Post'%}
<li><a href="{{path('page',{slug:menu.slug})}}" title="{{menu.title}}" {% if menu.nofollow == true %}rel="nofollow"{% endif %} target="{{target[menu.target]}}">{{menu.title}} </a></li>
{% elseif menu.type == 'button'%}
<li><a class="btn btn-danger btn-footer" href="{{menu.url}}" title="{{menu.title}}" {% if menu.nofollow == true %}rel="nofollow"{% endif %} target="{{target[menu.target]}}">{{menu.title}} </a></li>
{% elseif menu.type == 'categorie-product'%}
<li><a href="{{path('list_produit',{slug:menu.slug})}}" title="{{menu.title}}" {% if menu.nofollow == true %}rel="nofollow"{% endif %} target="{{target[menu.target]}}">{{menu.title}} </a></li>
{% elseif menu.type == 'list-faq'%}
<li><a href="{{path('list_faq')}}" title="{{menu.title}}" {% if menu.nofollow == true %}rel="nofollow"{% endif %} target="{{target[menu.target]}}">{{menu.title}} </a></li>
{% elseif menu.type == 'plan-du-site'%}
<li><a href="{{path('plan_du_site')}}" title="{{menu.title}}" {% if menu.nofollow == true %}rel="nofollow"{% endif %} target="{{target[menu.target]}}">{{menu.title}} </a></li>
{% endif %}
{% endfor %}
{% endif %}
<li> <a class="titre_cookies" href="javascript:void(0)" title="Gestion des cookies" rel="nofollow" onclick="tarteaucitron.userInterface.openPanel();">Gestion des cookies</a></li>
</ul>
{% if logoCopyright or dateCopyright %}
<span class="col-copyright d-flex align-items-center">
{% if logoCopyright %}
<span class="logo-copyright"><a href="https://www.hrz.fr" target="_blank" title="Horizon web"><img src="../logo-horizon/logo-bleu.png" width="30" class="d-block mb-1" /></a></span>
{% endif %}
{% if dateCopyright %}
<span class="annee ml-1"><strong>{{ "now"|date("Y") }}</strong></span>
{% endif %}
</span>
{% endif %}
</div>
</div>
</section>
</footer>