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.             
  12.             <div class="items-top d-flex justify-content-center justify-content-xl-between flex-wrap text-md-left text-center align-items-center {% if nbrContactsInput <= 1 %}flex-column flex-md-row{% endif %}">
  13.                 {% if logoPosition == 1 %}
  14.                     {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/footer/elements/_logo_footer.html.twig')}} 
  15.                 {% endif %}
  16.                 {% if nbrContactsInput > 1 %}
  17.                     <div class="item-top coordonnees-contacts d-flex flex-column align-items-center justify-content-center text-center">
  18.                 {% endif %}
  19.                     {% for contactItem in contacts %}
  20.                         {% set nbContact = loop.index %}
  21.                         {% if nbContact <= nbrContactsInput %}
  22.                             {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/footer/elements/_coordonnees_contact.html.twig')}}
  23.                         {% endif %}
  24.                     {% endfor %}
  25.                 {% if nbrContactsInput > 1 %}
  26.                     </div>
  27.                 {% endif %}
  28.                 {% if parametre.liencarte and codeqrFooter %}
  29.                     <div class="item-top">
  30.                         <img src="{{ qr_code_url(parametre.liencarte) }}" class="img-qrcode"/>
  31.                     </div>
  32.                 {% endif %}
  33.                 {% if contacts and texteFooter %}      
  34.                     <div class="item-top">
  35.                         {% for contact in contacts %}
  36.                             {% if contact.texteContact %}
  37.                                 <div class="footer_right">
  38.                                     {{contact.texteContact|raw}}
  39.                                 </div>
  40.                             {% endif %}
  41.                         {% endfor %}
  42.                     </div>
  43.                 {% endif %}  
  44.                 {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/footer/elements/_social_network.html.twig')}}
  45.                 {% if button1Footer %}
  46.                     {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/_stiky_button.html.twig', with_context = false)}}
  47.                 {% endif %}
  48.                 {% if logoPosition == 2 %}
  49.                     {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/footer/elements/_logo_footer.html.twig')}} 
  50.                 {% endif %}
  51.                 {# {{ include('front/'~ app.request.server.get('APP_THEME') ~'/form/form_footer2.html.twig',{
  52.                 form: form,
  53.                 formfields: formfields,
  54.                 }, with_context = false)}} #}
  55.             </div>
  56.         </div>
  57.     </section>
  58.     <section class="sub-footer"> 
  59.         <div class="container-fluid wrapper">
  60.                 {% if data_menu_footer is defined and data_menu_footer is not empty %}
  61.                     <div class="d-flex sous-menu-footer flex-md-row justify-content-center">
  62.                         {% if data_menu_footer %}
  63.                             {% for key,menu in data_menu_footer %}
  64.                                     <a href="{{menu.path}}" title="{{menu.title}}" {% if menu.nofollow == true %}rel="nofollow"{% endif %} target="{{target[menu.target]}}">{{menu.title}} </a> 
  65.                             {% endfor %}
  66.                         {% endif %}
  67.                     </div>
  68.                 {% endif %}
  69.             <div class="items-sub-footer d-flex justify-content-center align-items-center flex-column flex-md-row">
  70.                 <ul id="footer_bottom" class="link-hover d-flex justify-content-center justify-content-md-center flex-column flex-md-row liststyle text-center">
  71.                     {% if menus %}
  72.                         {% for key,menu in menus %}
  73.                                 <li><a href="{{menu.path}}" title="{{menu.title}}" {% if menu.nofollow == true %}rel="nofollow"{% endif %} target="{{target[menu.target]}}">{{menu.title}} </a></li>
  74.                         {% endfor %}
  75.                     {% endif %}
  76.                     <li> <a class="titre_cookies" href="javascript:void(0)" title="{{ 'label.titre_cookie'|trans({} , 'textes' ) }}" rel="nofollow" onclick="tarteaucitron.userInterface.openPanel();">{{ 'label.titre_cookie'|trans({} , 'textes' ) }}</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="/public/logo-horizon/logo-bleu.png" width="30" class="d-block mb-1" alt="Horizon web" /></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>