<!DOCTYPE html>
<html>
{% include ('includes/head.html.twig') %}
<body>
<!-- Page Loader
========================================================= -->
<div class="loader-container" id="page-loader">
<div class="loading-wrapper loading-wrapper-hide">
<div class="loader-animation" id="loader-animation">
<svg class="svg-loader" width=100 height=100>
<circle cx=50 cy=50 r=25 />
</svg>
</div>
<!-- Edit With Your Name -->
<div class="loader-name" id="loader-name">
<img src="https://astp.tn/uploads/images/event/astp-12-post-instagram-65a00d0f5cd07488094972.jpg" alt="">
</div>
<!-- /Edit With Your Name -->
<!-- Edit With Your Job -->
<p class="loader-job" id="loader-job">June 4-8 2016 @ New York City</p>
<!-- /Edit With Your Job -->
</div>
</div>
<!-- /End of Page loader
========================================================= -->
<!-- Header
================================================== -->
{% include ('includes/header.html.twig') %}
<!-- /Header
================================================== -->
<style type="text/css">
.main-intro:before {
content: '';
display: block;
width: 100%;
height: 100%;
background: none;
position: absolute;
top: 0;
left: 0;
}
.main-intro:before{
background: rgba(31, 81, 139, 0.2) !important;
}
</style>
<div class="page-wrapper">
<div id="body-content">
<!-- SECTION: Intro
================================================== -->
<div class="owl-carousel main-carousel" id="main-carousel">
<!-- slide -->
{% for key in carousel %}
<div class="main-intro" style="background-image: url('/uploads/images/gallerie/{{key.image|e}}');">
<div class="container">
<div class="intro-content-wrapper viewport">
<!-- Main Title -->
<!-- Adjust the margin-top in css according to content to keep always centered vertically-->
<div class="intro-content countdown-wrapper intro-content-slide2">
<!-- countDown -->
</div>
</div>
</div>
</div>
{% endfor %}
</div>
<!-- /SECTION: Intro
================================================== -->
<!-- SECTION: Event Infos
================================================== -->
<!-- SECTION: /Event Infos
================================================== -->
<!-- SECTION: Event Description
================================================== -->
<!-- /SECTION: Event Description
================================================== -->
<!-- SECTION: Event Schedule
================================================== -->
<div class="section-event-infos inverted-section" id="section-event-infos">
<div class="container-fluid">
</div>
</div>
{% if event|length > 0 %}
<div class="section-about" id="section-about">
<div class="container-fluid">
<div class="row">
<!-- Left Column -->
<div class="about-picture-wrapper">
<div class="about-picture" id="about-picture">
<img src="/uploads/images/event/{{event[0].imagePrincipale|e }}" alt="" class="responsive-image" style="">
</div>
</div>
<!-- /Left Column -->
<!-- Right Column -->
<div class="about-text-wrapper">
<div class="about-text" id="about-text">
<h1 class="title3 title-border"><i class="fa fa-dot-circle-o"></i> {{ event[0].titre|e }}</h1>
<div class="about-text-content">
<p>{{ event[0].description|raw }}
</p>
</div>
{% if tt ==1 %}
<a href="/congre/{{ event[0].getId() }}/{{event[0].getTitre() |replace({" ": "-"})|raw }}/" class="btn btn-nobg"><i class="fa fa-calendar"></i> Voir evenement</a>
{% else %}
<a href="/evnement/ancien-evenement/{{event[0].getTitre() |replace({" ": "-"})|raw }}/{{ event[0].getId() }}/" class="btn btn-nobg"><i class="fa fa-calendar"></i> Voir evenement</a>
{% endif %}
</div>
</div>
<!-- /Right Column -->
</div>
</div>
</div>
{% else %}
<div class="section-about" id="section-about" style="height:70px"></div>
{% endif %}
<!---- test 1---->
<div class="section-team inverted-section2 section-padding" id="section-speakers">
<div class="container">
<!-- Section title -->
<div class="section-title-wrapper">
<h2 class="title-section">{{ title|e }}</h2>
<p>évenement </p>
</div>
<!-- /Section title -->
<div class="owl-carousel" id="about-team">
<!-- item -->
{% if ancien|length > 0 %}
{% for key in ancien %}
<div class="team-item">
<!-- team-member wrapper-->
<div class="team-item-wrapper">
<!-- team-member pic -->
<div class="team-member-picture-wrapper">
<div class="team-item-picture">
<img src="/uploads/images/event/{{ key.imagePrincipale|e }}" class="img-fluid" alt="" style="height: 200px" />
</div>
<div class="team-member-find">
<div class="team-member-find-overlay">
<!-- overlay content -->
<div class="team-member-find-content">
{% if id == 1%}
<a href='/congre/{{ key.id|e }}/{{key.titre|replace({" ":"-"})}}/'> <i class="fa fa-link" aria-hidden="true"></i></a>
{% else %}
<a href='/evnement/ancien-evenement/{{key.titre|replace({" ":"-"})}}/{{ key.id|e }}/'> <i class="fa fa-link" aria-hidden="true"></i></a>
{% endif %}
</div>
<!-- /overlay content -->
</div>
</div>
</div>
<!-- /team-member pic -->
<!-- team-member Infos -->
<div class="team-item-content">
<h3 class="team-item-title">{{ key.titre|e }}</li></h3>
<p class="team-item-subtitle"><i class="fa fa-calendar" aria-hidden="true"></i> {{ key.getDateEvenement() |date('Y-m-d') }}</p>
</div>
<!-- team-member Infos -->
</div>
<!-- /team-member wrapper-->
</div>
{% endfor %}
{% else %}
<div class="alert alert-danger" role="alert">
Pas d'évenement
</div>
{% endif %}
<!-- /item -->
<!-- item -->
</div>
</div>
</div>
</div>
<!-- Contact Form - Ajax Messages
========================================================= -->
<!-- Form Sucess -->
<div class="form-result modal-wrap" id="contactSuccess">
<div class="modal-bg"></div>
<div class="modal-content">
<h4 class="modal-title"><i class="fa fa-check-circle"></i> Success!</h4>
<p>Your message has been sent to us.</p>
</div>
</div>
<!-- /Form Sucess -->
<!-- form-error -->
<div class="form-result modal-wrap" id="contactError">
<div class="modal-bg"></div>
<div class="modal-content">
<h4 class="modal-title"><i class="fa fa-times"></i> Error</h4>
<p>There was an error sending your message.</p>
</div>
</div>
<!-- /form-error -->
<!-- / Contact Form - Ajax Messages
========================================================= -->
<!-- Footer
================================================== -->
{% include ('includes/footer.html.twig') %}
</body>
</html>