templates/theme/default/partials/_footer.html.twig line 1

Open in your IDE?
  1. {% set target = ['','_top','_new','_self','_blank','_parent'] %}
  2. {% set parametre = site_parameters.getParameters() %}
  3. <footer class="modele-footer-1">
  4. <div class="footer-top">
  5. <div class="container-fluid content-wrapper">
  6. <div class="content-area">
  7. <div class="row align-items-start justify-content-center">
  8. <div class="col-sm-12">
  9. {{shortcodeForm('[newsletter-form]')}}
  10. </div>
  11. {% if contacts is defined and contacts is not empty %}
  12. {% for item in contacts %}
  13. <div class="col-sm-12 col-xl-3 border-left" data-contact-id="{{ item.id }}">
  14. <div class="contact-info">
  15. <h5>{{item.nomContact}}</h5>
  16. <p class="adresse">{{item.adresse}}, {{item.codePostal}} {{item.ville}}, {{item.pays}}</p>
  17. {% set emails = unserialize(item.email) %}
  18. <p>
  19. {% if emails is not empty %}
  20. {% for email in emails %}
  21. {{item.titreMail|default('M.')}} <a href="mailto:{{email}}">{{email}}</a><br>
  22. {% endfor %}
  23. {% endif %}
  24. </p>
  25. {% set phone = unserialize(item.tel) %}
  26. <p class="mb-0">
  27. {% if phone is not empty %}
  28. {% for item_phone in phone %}
  29. {{ item.titreTel }} <i class="fa-solid fa-phone-volume me-2"></i> <a href="tel:{{stripNonNumeric(item_phone)}}" class="phone-link">{{item_phone}}</a><br>
  30. {% endfor %}
  31. {% endif %}
  32. </p>
  33. {% set fa = unserialize(item.numfax) %}
  34. <h5>{{ item.titreFax }} </h5>
  35. <p>
  36. {% if fa is not empty %}
  37. {% for item_fa in fa %}
  38. <span class="fax">{{item_fa}}</a><br></span>
  39. {% endfor %}
  40. {% endif %}
  41. </p>
  42. {% if item.horairesContact is not empty %}
  43. <h5>{{item.titreHoraires}}</h5>
  44. <span class="horaire"> {{item.horairesContact|raw}}</span>
  45. {% endif %}
  46. </div>
  47. </div>
  48. {% endfor %}
  49. {% endif %}
  50. {#
  51. <div class="col-sm-12 col-md-4">
  52. {% if parametre.imageFooter is not empty %}
  53. <a href="{{app.request.schemeAndHttpHost ~ app.request.baseUrl}}" class="logo-footer">
  54. <img src="{{asset('/uploads/media-site/'~ parametre.imageFooter)}}" alt="{{parametre.titre}}">
  55. </a>
  56. {% endif %}
  57. {% if parametre.LogoFooter is not empty %}
  58. <a href="{{app.request.schemeAndHttpHost ~ app.request.baseUrl}}" class="image-footer">
  59. <img src="{{asset('/uploads/media-site/'~ parametre.LogoFooter)}}" alt="{{parametre.titre}}">
  60. </a>
  61. {% endif %}
  62. </div>
  63. #}
  64. <div class="col-sm-12 col-xl-9 d-flex flex-xl-nowrap flex-wrap flex-xl-row flex-column">
  65. {% if menusFooter is defined and menusFooter is not empty %}
  66. <div class="navigation-footer">
  67. {% for item in menusFooter %}
  68. <div class="menuItems">
  69. <h5>{{item.title}}</h5>
  70. {% if item.child is defined and item.child is not empty %}
  71. <div class="child-menu">
  72. {% for itemChild in item.child %}
  73. <a href="{{itemChild.path}}" title="{{itemChild.title}}" {% if itemChild.nofollow == true %}rel="nofollow"{% endif %} target="{{target[itemChild.target]}}"> {{itemChild.title}} </a>
  74. {% endfor %}
  75. </div>
  76. {% endif %}
  77. </div>
  78. {% endfor %}
  79. </div>
  80. {% endif %}
  81. {% if menusFooterTop is defined and menusFooterTop is not empty %}
  82. <div class="navigation-footer">
  83. {% for item in menusFooterTop %}
  84. <div class="menuItems">
  85. <h5>{{item.title}}</h5>
  86. {% if item.child is defined and item.child is not empty %}
  87. <div class="child-menu">
  88. {% for itemChild in item.child %}
  89. <a href="{{itemChild.path}}" title="{{itemChild.title}}" {% if itemChild.nofollow == true %}rel="nofollow"{% endif %} target="{{target[itemChild.target]}}"> {{itemChild.title}} </a>
  90. {% endfor %}
  91. </div>
  92. {% endif %}
  93. </div>
  94. {% endfor %}
  95. </div>
  96. {% endif %}
  97. {% if menusFooterBas is defined and menusFooterBas is not empty %}
  98. <div class="navigation-footer menu-bottom">
  99. {% for item in menusFooterBas %}
  100. <div class="menuItems">
  101. <h5>{{item.title}}</h5>
  102. {% if item.child is defined and item.child is not empty %}
  103. <div class="child-menu">
  104. {% for itemChild in item.child %}
  105. <a href="{{itemChild.path}}" title="{{itemChild.title}}" {% if itemChild.nofollow == true %}rel="nofollow"{% endif %} target="{{target[itemChild.target]}}"> {{itemChild.title}} </a>
  106. {% endfor %}
  107. <a class="titre_cookies" href="javascript:void(0)" title="Gestion des cookies" rel="nofollow" onclick="tarteaucitron.userInterface.openPanel();">Gestion des cookies</a>
  108. </div>
  109. {% endif %}
  110. </div>
  111. {% endfor %}
  112. {% if socials is defined and socials is not empty %}
  113. <div class="socials-items">
  114. <div class="socials">
  115. {% for item in socials %}
  116. {% if item.type == 1 %}
  117. <a href="{{item.url}}" title="{{item.titre}}" target="_blank"><i class="fa-brands fa-facebook"></i></a>
  118. {% elseif item.type == 2 %}
  119. <a href="{{item.url}}" title="{{item.titre}}" target="_blank"><i class="fa-brands fa-twitter"></i></a>
  120. {% elseif item.type == 3 %}
  121. <a href="{{item.url}}" title="{{item.titre}}" target="_blank"><i class="fa-brands fa-instagram"></i></a>
  122. {% elseif item.type == 4 %}
  123. <a href="{{item.url}}" title="{{item.titre}}" target="_blank"><i class="fa-brands fa-linkedin"></i></a>
  124. {% elseif item.type == 5 %}
  125. <a href="{{item.url}}" title="{{item.titre}}" target="_blank"><i class="fa-brands fa-youtube"></i></a>
  126. {% elseif item.type == 6 %}
  127. <a href="{{item.url}}" title="{{item.titre}}" target="_blank"><i class="fa-brands fa-pinterest"></i></a>
  128. {% elseif item.type == 7 %}
  129. <a href="{{item.url}}" title="{{item.titre}}" target="_blank"><i class="fa-brands fa-tiktok"></i></a>
  130. {% endif %}
  131. {% endfor %}
  132. </div>
  133. </div>
  134. {% endif %}
  135. </div>
  136. {% endif %}
  137. </div>
  138. <div class="col-sm-12 col-md-6 d-none">
  139. {{shortcodeForm('[encart-contact-form]')}}
  140. </div>
  141. </div>
  142. </div>
  143. </div>
  144. </div>
  145. {#<div class="footer-bottom">
  146. <div class="container-fluid content-wrapper">
  147. <div class="items-footer-bottom d-flex justify-content-center align-items-center flex-column flex-md-row">
  148. <ul id="footer_bottom" class="link-hover d-flex justify-content-center flex-column flex-sm-row liststyle text-center">
  149. {% if menusFooterBas is defined and menusFooterBas is not empty %}
  150. {% for key,menu in menusFooterBas %}
  151. <li><a href="{{menu.path}}" title="{{menu.title}}" {% if menu.nofollow == true %}rel="nofollow"{% endif %} target="{{target[menu.target]}}">{{menu.title}} </a></li>
  152. {% endfor %}
  153. {% endif %}
  154. <li> <a class="titre_cookies" href="javascript:void(0)" title="Gestion des cookies" rel="nofollow" onclick="tarteaucitron.userInterface.openPanel();">Gestion des cookies</a></li>
  155. </ul>
  156. </div>
  157. {#
  158. <p class="text-center m-0 mt-1">{{parametre.textheader}}</p>
  159. <p class="text-center m-0 mt-1">{{parametre.textfooter}}</p>
  160. <p class="text-center m-0 mt-1">{{parametre.slogan}}</p>
  161. <p class="text-center m-0 mt-1">{{parametre.copyrightsite|default('©'~ "now"|date('Y'))}}</p>
  162. </div>
  163. </div>#}
  164. </footer>
  165. {#
  166. <p>
  167. <strong>Adresse :</strong> <span class="adresse-company"></span>
  168. </p>
  169. <p>
  170. <strong>Tel :</strong> <a href="tel:" class="phonelink"><span class="tel-company"></span></a>
  171. </p>
  172. <p>
  173. <strong>Fax :</strong> <span class="fax-company"></span>
  174. </p>
  175. <p>
  176. <strong>Email :</strong> <a href="mailto:" class="emaillink"><span class="email-company"></span></a>
  177. </p>
  178. <p>
  179. <strong>Horaire :</strong><span class="horaire-company"></span>
  180. </p>
  181. #}