<footer class="footer">
<div class="container">
<div class="logo_footer">
<a href="{{ path('frontend_home') }}"><img class="img-fluid" src="/assets/img/logo_footer.png" alt="Logo"></a>
</div>
<div class="menu_footer">
<ul>
<li><a href="{{ path('page_single_simple',{'slug':'about'}) }}">{{'About'|trans}}</a></li>
<li><a href="{{ path('page_single_simple',{'slug':'director'}) }}">{{'Director'|trans}}</a></li>
<li><a href="{{ path('page_single',{'catslug':'people', 'slug':Categorypage_list('people')|first.slug}) }}">{{'People'|trans}}</a></li>
<li><a href="{{ path('page_single_simple',{'slug':'phd-program'}) }}">{{'PhD Program'|trans}}</a></li>
<li><a href="{{ path('page_single',{'catslug':'events', 'slug':Categorypage_list('events')|first.slug}) }}">{{'Events'|trans}}</a></li>
<li><a href="{{ path('page_single',{'catslug':'join-us', 'slug':Categorypage_list('join-us')|first.slug}) }}">{{'Join Us'|trans}}</a></li>
<li class="button_contact"><a href="mailto:mcgt@um6p.ma">{{'Contact'|trans}}</a></li>
<li class="button_contact button_apply">
<a href="{{ path('page_single',{'catslug':'join-us', 'slug':Categorypage_list('join-us')|first.slug}) }}">{{'Apply Now'|trans}}</a>
</li>
</ul>
</div>
</div>
</footer>
{{getblockhtml('popup_cookies')|raw}}
{% block javascripts %}
<script type="text/javascript">
function setCookie(cname, cvalue, exdays) {
var d = new Date();
d.setTime(d.getTime() + (exdays * 86400000 * 356));
var expires = "expires=" + d.toUTCString();
document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
console.log(expires);
}
function getCookie(cname) {
var name = cname + "=";
var decodedCookie = decodeURIComponent(document.cookie);
var ca = decodedCookie.split(';');
for (var i = 0; i < ca.length; i++) {
var c = ca[i];
while (c.charAt(0) == ' ') {
c = c.substring(1);
}
if (c.indexOf(name) == 0) {
return c.substring(name.length, c.length);
}
}
return "";
}
$('#jaccepte_conditions').click(function () {
setCookie("lesitedejavu", "Yes", 1);
$('#popup_leprojet_cookies').hide();
});
$(window).on('load', function () {
if (getCookie("lesitedejavu") == "") {
$('#popup_leprojet_cookies').show();
}
});
</script>
{% endblock %}