templates/front/theme1/partials/footer/modeles/_footer1.html.twig line 1

Open in your IDE?
  1. <footer class="footer1">
  2.     
  3.     {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/footer/elements/_banniere_pub_footer.html.twig')}}
  4.     <section itemscope="" class="top-footer">
  5.         <div class="container-fluid wrapper">
  6.                 {% if logoPosition == 3 %}
  7.                     <div class="text-center logo-center">
  8.                         {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/footer/elements/_logo_footer.html.twig')}} 
  9.                     </div>
  10.                 {% endif %}
  11.             <div class="items-top d-flex justify-content-between flex-column flex-xl-row text-xl-left text-center align-items-center">
  12.                 {% if logoPosition == 1 %}
  13.                     {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/footer/elements/_logo_footer.html.twig')}} 
  14.                 {% endif %}
  15.                 <div class="item-top coordonnees-contacts d-flex flex-column">
  16.                     {% for contactItem in contacts %}
  17.                         {% set nbContact = loop.index %}
  18.                         {% if nbContact <= nbrContactsInput %}
  19.                             {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/footer/elements/_coordonnees_contact.html.twig')}}
  20.                         {% endif %}
  21.                         
  22.                     {% endfor %}
  23.                 </div>
  24.             {% if parametre.liencarte and codeqrFooter %}
  25.                 <div class="item-top">
  26.                     <img src="{{ qr_code_url(parametre.liencarte) }}" width="100"/>
  27.                 </div>
  28.             {% endif %}
  29.             {% if contacts and texteFooter %}      
  30.                 <div class="item-top">
  31.                     {% for contact in contacts %}
  32.                         {% if contact.texteContact %}
  33.                             <div class="footer_right">
  34.                                 {{contact.texteContact|raw}}
  35.                             </div>
  36.                         {% endif %}
  37.                     {% endfor %}
  38.                 </div>
  39.             {% endif %}  
  40.             {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/footer/elements/_social_network.html.twig')}}
  41.             {% if button1Footer %}
  42.                 {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/_stiky_button.html.twig', with_context = false)}}
  43.             {% endif %}
  44.             {% if logoPosition == 2 %}
  45.                 {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/footer/elements/_logo_footer.html.twig')}} 
  46.             {% endif %}
  47.               
  48.             </div>
  49.         </div>
  50.     </section>
  51.     <section class="sub-footer"> 
  52.         <div class="container-fluid wrapper">
  53.             <div class="items-sub-footer d-flex justify-content-center align-items-center flex-column flex-md-row">
  54.                 <ul id="footer_bottom" class="link-hover d-flex justify-content-center justify-content-md-center flex-column flex-md-row liststyle text-center">
  55.                     {% if menus %}
  56.                         {% for key,menu in menus %}
  57.                                 {% if menu.type == 'aucun' %}
  58.                                     <li><a href="#" title="{{menu.title}}" {% if menu.nofollow == true %}rel="nofollow"{% endif %} target="{{target[menu.target]}}"> {{menu.title}} </a></li>
  59.                                 {% elseif menu.type == 'lien' %}
  60.                                     <li><a href="{{menu.url}}" title="{{menu.title}}" {% if menu.nofollow == true %}rel="nofollow"{% endif %} target="{{target[menu.target]}}">{{menu.title}} </a></li>
  61.                                 {% elseif menu.type == 'categorie' or menu.type == 'sous-categorie' %}
  62.                                     <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>
  63.                                 {% elseif menu.type == 'Post'%}
  64.                                     <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>
  65.                                 {% elseif menu.type == 'button'%}
  66.                                     <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>
  67.                                 {% elseif menu.type == 'categorie-product'%}
  68.                                     <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>
  69.                                 {% elseif menu.type == 'list-faq'%}
  70.                                     <li><a  href="{{path('list_faq')}}" title="{{menu.title}}" {% if menu.nofollow == true %}rel="nofollow"{% endif %} target="{{target[menu.target]}}">{{menu.title}} </a></li>
  71.                                 {% elseif menu.type == 'plan-du-site'%}
  72.                                     <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>
  73.                                 {% endif %} 
  74.                         {% endfor %}
  75.                     {% endif %}
  76.                     <li> <a class="titre_cookies" href="javascript:void(0)" title="Gestion des cookies" rel="nofollow" onclick="tarteaucitron.userInterface.openPanel();">Gestion des cookies</a></li>
  77.                 </ul>
  78.                 {% if logoCopyright or dateCopyright %}
  79.                     <span class="col-copyright d-flex align-items-center">
  80.                     {% if logoCopyright %}
  81.                         <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>
  82.                     {% endif %}
  83.                     {% if dateCopyright %}
  84.                         <span class="annee ml-1"><strong>{{ "now"|date("Y") }}</strong></span>
  85.                     {% endif %}
  86.                     </span>
  87.                 {% endif %}
  88.                 
  89.             </div>
  90.         </div>
  91.     </section>
  92. </footer>