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">
  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">
  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. <h5>{{item.nomContact}}</h5>
  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">{{item.entreprise}} {{item.adresse}}<br>{{item.codePostal}} {{item.ville}}</p>
  29. {% endif %}
  30. {% set phone = unserialize(item.tel) %}
  31. {% if phone is not empty %}
  32. <p class="mb-0">
  33. {% for item_phone in phone %}
  34. {{ item.titreTel }} <a href="tel:{{stripNonNumeric(item_phone)}}" class="phone-link">{{item_phone}}</a><br>
  35. {% endfor %}
  36. </p>
  37. {% endif %}
  38. {% set fa = unserialize(item.numfax) %}
  39. {% if fa is not empty %}
  40. <p>
  41. {% for item_fa in fa %}
  42. {{ item.titreFax }} <span class="fax">{{item_fa}}</a><br></span>
  43. {% endfor %}
  44. </p>
  45. {% endif %}
  46. {% set emails = unserialize(item.email) %}
  47. {% if emails is not empty %}
  48. <p>
  49. {% for email in emails %}
  50. {{item.titreMail|default('M.')}} <a href="mailto:{{email}}">{{email}}</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. {% if socials is defined and socials is not empty %}
  82. <div class="socials-items">
  83. <div class="socials">
  84. {% for item in socials %}
  85. {% if item.type == 1 %}
  86. <a href="{{item.url}}" title="{{item.titre}}" target="_blank"><i class="fa-brands fa-facebook"></i></a>
  87. {% elseif item.type == 2 %}
  88. <a href="{{item.url}}" title="{{item.titre}}" target="_blank"><i class="fa-brands fa-x-twitter"></i></a>
  89. {% elseif item.type == 3 %}
  90. <a href="{{item.url}}" title="{{item.titre}}" target="_blank"><i class="fa-brands fa-instagram"></i></a>
  91. {% elseif item.type == 4 %}
  92. <a href="{{item.url}}" title="{{item.titre}}" target="_blank"><i class="fa-brands fa-linkedin"></i></a>
  93. {% elseif item.type == 5 %}
  94. <a href="{{item.url}}" title="{{item.titre}}" target="_blank"><i class="fa-brands fa-youtube"></i></a>
  95. {% elseif item.type == 6 %}
  96. <a href="{{item.url}}" title="{{item.titre}}" target="_blank"><i class="fa-brands fa-pinterest"></i></a>
  97. {% elseif item.type == 7 %}
  98. <a href="{{item.url}}" title="{{item.titre}}" target="_blank"><i class="fa-brands fa-tiktok"></i></a>
  99. {% endif %}
  100. {% endfor %}
  101. </div>
  102. </div>
  103. {% endif %}
  104. </div>
  105. <div class="col-sm-12 col-md-4">
  106. {% if menusFooter is defined and menusFooter is not empty %}
  107. <div class="navigation-footer">
  108. {% for item in menusFooter %}
  109. <div class="menuItems">
  110. <h5>{{item.title}}</h5>
  111. {% if item.child is defined and item.child is not empty %}
  112. <div class="child-menu">
  113. {% for itemChild in item.child %}
  114. <a href="{{itemChild.path}}" title="{{itemChild.title}}" {% if itemChild.nofollow == true %}rel="nofollow"{% endif %} target="{{target[itemChild.target]}}"> {{itemChild.title}} </a>
  115. {% endfor %}
  116. </div>
  117. {% endif %}
  118. </div>
  119. {% endfor %}
  120. </div>
  121. {% endif %}
  122. {% if menusFooterTop is defined and menusFooterTop is not empty %}
  123. <div class="navigation-footer">
  124. {% for item in menusFooterTop %}
  125. <div class="menuItems">
  126. <h5>{{item.title}}</h5>
  127. {% if item.child is defined and item.child is not empty %}
  128. <div class="child-menu">
  129. {% for itemChild in item.child %}
  130. <a href="{{itemChild.path}}" title="{{itemChild.title}}" {% if itemChild.nofollow == true %}rel="nofollow"{% endif %} target="{{target[itemChild.target]}}"> {{itemChild.title}} </a>
  131. {% endfor %}
  132. </div>
  133. {% endif %}
  134. </div>
  135. {% endfor %}
  136. </div>
  137. {% endif %}
  138. </div>
  139. {#<div class="col-sm-12 col-md-6 d-none">
  140. {{shortcodeForm('[newsletter-form]')}}
  141. </div>
  142. <div class="col-sm-12 col-md-6 d-none">
  143. {{shortcodeForm('[encart-contact-form]')}}
  144. </div>#}
  145. </div>
  146. </div>
  147. </div>
  148. </div>
  149. <div class="footer-bottom">
  150. <div class="container-fluid content-wrapper">
  151. <div class="items-footer-bottom d-flex justify-content-center align-items-center flex-column flex-md-row">
  152. <ul id="footer_bottom" class="link-hover d-flex justify-content-center flex-column flex-sm-row liststyle text-center">
  153. {% if menusFooterBas is defined and menusFooterBas is not empty %}
  154. {% for key,menu in menusFooterBas %}
  155. <li><a href="{{menu.path}}" title="{{menu.title}}" {% if menu.nofollow == true %}rel="nofollow"{% endif %} target="{{target[menu.target]}}">{{menu.title}} </a></li>
  156. {% endfor %}
  157. {% endif %}
  158. <li> <a class="titre_cookies" href="javascript:void(0)" title="Gestion des cookies" rel="nofollow" onclick="tarteaucitron.userInterface.openPanel();">Gestion des cookies</a></li>
  159. </ul>
  160. </div>
  161. <p class="text-center mt-3 mb-0 copyrightsite">{{parametre.copyrightsite|raw}}</p>
  162. {#
  163. <p class="text-center m-0 mt-1">{{parametre.textheader}}</p>
  164. <p class="text-center m-0 mt-1">{{parametre.textfooter}}</p>
  165. <p class="text-center m-0 mt-1">{{parametre.slogan}}</p>
  166. #}
  167. </div>
  168. </div>
  169. </footer>
  170. {#
  171. <p>
  172. <strong>Adresse :</strong> <span class="adresse-company"></span>
  173. </p>
  174. <p>
  175. <strong>Tel :</strong> <a href="tel:" class="phonelink"><span class="tel-company"></span></a>
  176. </p>
  177. <p>
  178. <strong>Fax :</strong> <span class="fax-company"></span>
  179. </p>
  180. <p>
  181. <strong>Email :</strong> <a href="mailto:" class="emaillink"><span class="email-company"></span></a>
  182. </p>
  183. <p>
  184. <strong>Horaire :</strong><span class="horaire-company"></span>
  185. </p>
  186. #}