<footer class="hrz-footer footer-default footer2">
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/footer/elements/_banniere_pub_footer.html.twig')}}
<div class="hrz-footer-top">
<div class="container-1300">
<section itemscope="" class="top-footer">
{% 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-center justify-content-xl-between flex-wrap flex-wrap text-md-left text-center align-items-top row">
{% if logoPosition == 1 %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/footer/elements/_logo_footer.html.twig')}}
{% endif %}
<div class="row-info col-lg-9 col-12 justify-content-between">
{% 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 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>
</section>
</div>
<div class="hrz-footer-bottom">
<div class="container-1300">
{% if data_menu_footer is defined and data_menu_footer is not empty %}
<ul class="menu-bas">
{% if data_menu_footer %}
{% for key,menu in data_menu_footer %}
{% 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>
{% elseif menu.type == 'hub-activite' %}
<li><a href="{{path('page_activites')}}" title="{{menu.title}}" {% if menu.nofollow == true %}rel="nofollow"{% endif %} target="{{target[menu.target]}}">{{menu.title}} </a></li>
{% elseif menu.type == 'hub-localite' %}
<li><a href="{{path('page_localite')}}" title="{{menu.title}}" {% if menu.nofollow == true %}rel="nofollow"{% endif %} target="{{target[menu.target]}}">{{menu.title}} </a></li>
{% elseif menu.type == 'hub-actualite' %}
<li><a href="{{path('page_nos_actualites')}}" title="{{menu.title}}" {% if menu.nofollow == true %}rel="nofollow"{% endif %} target="{{target[menu.target]}}">{{menu.title}} </a></li>
{% elseif menu.type == 'activite_principal' %}
<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 == 'secteur' %}
<li><a href="{{path('page_details_localite',{slug:menu.slug})}}" title="{{menu.title}}" {% if menu.nofollow == true %}rel="nofollow"{% endif %} target="{{target[menu.target]}}">{{menu.title}} </a></li>
{% endif %}
{% endfor %}
{% endif %}
</ul>
{% endif %}
</div>
</div>
</div>
<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>
{% elseif menu.type == 'hub-activite' %}
<li><a href="{{path('page_activites')}}" title="{{menu.title}}" {% if menu.nofollow == true %}rel="nofollow"{% endif %} target="{{target[menu.target]}}">{{menu.title}} </a></li>
{% elseif menu.type == 'hub-localite' %}
<li><a href="{{path('page_localite')}}" title="{{menu.title}}" {% if menu.nofollow == true %}rel="nofollow"{% endif %} target="{{target[menu.target]}}">{{menu.title}} </a></li>
{% elseif menu.type == 'hub-actualite' %}
<li><a href="{{path('page_nos_actualites')}}" title="{{menu.title}}" {% if menu.nofollow == true %}rel="nofollow"{% endif %} target="{{target[menu.target]}}">{{menu.title}} </a></li>
{% elseif menu.type == 'activite_principal' %}
<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 == 'secteur' %}
<li><a href="{{path('page_details_localite',{slug:menu.slug})}}" 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>