{% extends 'front.html.twig' %}
{% block title %}Recherche | CIMEF-INTERNATIONAL{% endblock %}
{% block meta_description %}
<meta name="description" content="Suivez l'actualité de CIMEF International : formations, séminaires et conseils en management pour cadres et dirigeants en Afrique et à l'international."/>
{% endblock %}
{% block styleSheets %}
<script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-element-bundle.min.js"></script>
<style id='wp-emoji-styles-inline-css' type='text/css'>
.row{display:flex;flex-wrap:wrap;margin-right:-.75rem;margin-left:-.75rem}.events_pagination ul.pagination{display:flex;flex-wrap:wrap;justify-content:center;list-style:none;margin:0;padding:0}.page-item.active .page-link{background-color:#f60;color:#fff}.page-link{margin:10px;color:#051a53;background-color:#ededed;border-radius:5px;padding:10px}.text-lien{color:#f60}@media (min-width:576px){.col-3,.col-sm-12,.col-sm-4,.col-sm-6{flex:0 0 100%;max-width:100%}}@media (min-width:768px){.col-md-3,.col-md-4{flex:0 0 33.333333%;max-width:33.333333%}.col-md-6{flex:0 0 50%;max-width:50%}.col-md-12{flex:0 0 100%;max-width:100%}}@media (min-width:992px){.col-lg-3{flex:0 0 25%;max-width:25%}.col-lg-4{flex:0 0 33.333333%;max-width:33.333333%}.col-lg-6{flex:0 0 50%;max-width:50%}.col-lg-12{flex:0 0 100%;max-width:100%}}.type1 .date-event{transition:.5s;position:absolute;bottom:20px;left:30px;z-index:1;font-size:12px;color:#fff;font-weight:700;text-transform:uppercase;text-align:center;line-height:1.3;letter-spacing:1px;background-color:#f60!important;padding:12px}.icon_event{color:#f60!important}.wrap_header_banner .overlay-slider{position:absolute;top:0;left:0;padding-top:30px;width:100%;height:100%;background-color:rgba(0,0,0,.6392156863)}
</style>
{% endblock %}
{% block body %}
{% include 'section/navbar.html.twig' %}
<div class="wrap_header_banner" style="height: 200px; background: url({{ asset('public/inter/table.jpeg')}});
background-size: cover;
background-position: center;
background-repeat: no-repeat;">
<div class="overlay-slider">
<div class="row_site">
<div class="container_site">
<div class="cover_color"></div>
<div class="header_banner_el">
<div class="header_breadcrumbs">
<div id="breadcrumbs">
<ul class="breadcrumb">
<li><a href="{{ path('front.inter.index') }}" style="color: #fff!important;" title="accueil">Accueil</a></li>
<li class="li_separator"><span class="separator"><i class="ovaicon-next" style="color: #fff!important;"></i></span></li>
<li style="color: #fff!important;">recherche</li>
</ul>
</div>
</div>
<h1 class="header_title" style="color: #fff!important;">Résultats pour : {{ query }}</h1>
</div>
</div>
</div>
</div>
</div>
<div class="container-event">
<div id="sidebar-active" class="content-event">
<!-- search form -->
<div class="mt-4" style="height: 20px;"></div>
<!-- search form -->
{% set hasResults = false %}
{% for table, items in results %}
{% if items is not empty %}
{% set hasResults = true %}
{% endif %}
{% endfor %}
{% if not hasResults %}
<div style="padding: 20px; text-align: center;">
<h3>Aucun résultat trouvé pour : "{{ query }}"</h3>
<p>Essayez d'autres mots-clés ou explorez nos thèmes disponibles.</p>
</div>
{% else %}
{% for table, items in results %}
{% if items is not empty %}
{% for item in items %}
<div class="row" style="padding: 10px; margin-bottom: 10px; border: 1px solid #cfcfcf; width: 100%; margin-left: 2px;">
<div class="col-md-12 col-sm-12">
<div style="margin-bottom: 20px;">
<h3 class="titre-certificat">
{% if item.nom is defined and item.nom %}
{{ item.nom }}
{% elseif item.titre is defined and item.titre %}
{{ item.titre }}
{% elseif item.theme is defined and item.theme %}
{{ item.theme }}
{% elseif item.titremen is defined and item.titremen %}
{{ item.titremen }}
{% elseif item.detailmen is defined and item.detailmen %}
{{ item.detailmen|slice(0, 120)|raw }}...
{% elseif item.texte is defined and item.texte %}
{{ item.texte|slice(0, 150)|raw }}...
{% endif %}
</h3>
</div>
<span style="text-transform: capitalize; color: #ff6600; font-weight: bold;">
{% if table == 'themes' %}
Thèmes
{% endif %}
</span>
{% if table == 'themes' %}
{% if item.thematique %}
<a style="text-transform: lowercase; color: #ff6600; float: right;"
href="{{ path('front.thematique.date.theme', {'slugThematique': item.thematique.slug,'slug': item.slug}) }}">
En savoir plus
</a>
{% endif %}
{% endif %}
</div>
</div>
{% endfor %}
{% endif %}
{% endfor %}
{% endif %}
</div>
{% include 'section/aside.html.twig' %}
</div>
{% include 'section/footer.html.twig' %}
{% endblock %}