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