templates/Frontend/_footer.html.twig line 1

Open in your IDE?
  1. <footer class="footer">
  2.     <div class="container">
  3.         <div class="logo_footer">
  4.              <a href="{{ path('frontend_home') }}"><img class="img-fluid" src="/assets/img/logo_footer.png" alt="Logo"></a>
  5.         </div>
  6.         <div class="menu_footer">
  7.             <ul>
  8.                 <li><a href="{{ path('page_single_simple',{'slug':'about'}) }}">{{'About'|trans}}</a></li>
  9.                 <li><a href="{{ path('page_single_simple',{'slug':'director'}) }}">{{'Director'|trans}}</a></li>
  10.                 <li><a href="{{ path('page_single',{'catslug':'people', 'slug':Categorypage_list('people')|first.slug}) }}">{{'People'|trans}}</a></li>
  11.                 <li><a href="{{ path('page_single_simple',{'slug':'phd-program'}) }}">{{'PhD Program'|trans}}</a></li>
  12.                 <li><a href="{{ path('page_single_simple',{'slug':'master-program'}) }}">{{'Master Program'|trans}}</a></li>
  13.                 <li><a href="{{ path('page_single',{'catslug':'events', 'slug':Categorypage_list('events')|first.slug}) }}">{{'Events'|trans}}</a></li>
  14.                 <li><a href="{{ path('page_single',{'catslug':'join-us', 'slug':Categorypage_list('join-us')|first.slug}) }}">{{'Join Us'|trans}}</a></li>
  15.                 <li class="button_contact"><a href="mailto:mcgt@um6p.ma">{{'Contact'|trans}}</a></li>
  16.             </ul>
  17.         </div>
  18.     </div>
  19. </footer>
  20. {{getblockhtml('popup_cookies')|raw}}
  21. {% block javascripts %}
  22.     <script type="text/javascript">
  23.         function setCookie(cname, cvalue, exdays) {
  24.             var d = new Date();
  25.             d.setTime(d.getTime() + (exdays * 86400000 * 356));
  26.             var expires = "expires=" + d.toUTCString();
  27.             document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
  28.             console.log(expires);
  29.         }
  30.         function getCookie(cname) {
  31.             var name = cname + "=";
  32.             var decodedCookie = decodeURIComponent(document.cookie);
  33.             var ca = decodedCookie.split(';');
  34.             for (var i = 0; i < ca.length; i++) {
  35.                 var c = ca[i];
  36.                 while (c.charAt(0) == ' ') {
  37.                     c = c.substring(1);
  38.                 }
  39.                 if (c.indexOf(name) == 0) {
  40.                     return c.substring(name.length, c.length);
  41.                 }
  42.             }
  43.             return "";
  44.         }
  45.         $('#jaccepte_conditions').click(function () {
  46.             setCookie("lesitedejavu", "Yes", 1);
  47.             $('#popup_leprojet_cookies').hide();
  48.         });
  49.         $(window).on('load', function () {
  50.             if (getCookie("lesitedejavu") == "") {
  51.                 $('#popup_leprojet_cookies').show();
  52.             }
  53.         });
  54.     </script>
  55. {% endblock %}