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