<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* home/index.html.twig */
class __TwigTemplate_ca7668dbf1719e97e2a906601032381f2b28c95e14a3d7987a8a50678c1ea9a5 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'stylesheets' => [$this, 'block_stylesheets'],
'title' => [$this, 'block_title'],
'navigation' => [$this, 'block_navigation'],
'slider' => [$this, 'block_slider'],
'body' => [$this, 'block_body'],
'footer' => [$this, 'block_footer'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "home/index.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "home/index.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "home/index.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 4
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 5
echo " ";
$this->displayParentBlock("stylesheets", $context, $blocks);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 9
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$this->displayParentBlock("title", $context, $blocks);
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 11
public function block_navigation($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navigation"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navigation"));
// line 12
echo " ";
$this->displayParentBlock("navigation", $context, $blocks);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 19
public function block_slider($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "slider"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "slider"));
// line 20
echo " ";
$this->displayParentBlock("slider", $context, $blocks);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 26
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 27
echo " ";
$this->loadTemplate("home/_slider.html.twig", "home/index.html.twig", 27)->display($context);
// line 28
echo "
<div class=\"container clearfix\" style=\"margin-top: -50px; margin-bottom: -40px;\">
<div class=\"row clearfix\">
<div class=\"col-lg-12\">
<p style=\"font-family: Cormorant_Garamond_italic, serif;";
// line 33
echo " color:#232d23;
font-size:30px;
line-height:50px;
text-align:center\">
D’une superficie de 2236 Km2, les Comores, situées au débouché du canal de Mozambique au nord de Madagascar,
sont composées de quatre îles qui ne se sont pas formées en même temps,
mais suite à un phénomène migratoire du volcanisme il y a huit millions d’années, de l’Est à l’Ouest.
</p>
</div>
</div>
</div>
";
// line 46
echo " <section id=\"section-testimonials\" class=\"section parallax mb-0 page-section dark\"
style=\"background-image: url('";
// line 47
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("medel_assets/images/comores_office_du_tourisme.jpg"), "html", null, true);
echo "'); padding: 140px 0; background-size: cover\" data-bottom-top=\"background-position:0px 300px;\" data-top-bottom=\"background-position:0px -300px;\">
<div class=\"container clearfix\">
<div class=\"row\">
<div class=\"col-lg-6\">
<div class=\"heading-block border-bottom-0\">
<h3
style=\"font-family: Cormorant_Garamond_italic, serif;
color:#ffae00;
text-shadow: 2px 2px 2px black;
font-size:30px;
line-height:50px;
text-align:center\">
Une destination
à ne pas négliger</h3>
</div>
<div class=\"fslider restaurant-reviews\" data-arrows=\"false\" data-animation=\"slide\">
<div class=\"flexslider\">
<div class=\"slider-wrap\">
<div class=\"slide\">
<p class=\"lead\"
style=\"font-family: Cormorant_Garamond_italic, serif;
color:#ffffff;
text-shadow: 2px 2px 2px black;
font-size:30px;
line-height:50px;
text-align:center\">
\"L’archipel des Comores ou les îles de la Lune, ressemble à un paysage
sorti des contes des mille et une nuit.
Un voyage dans le temps, dans les récits des Sultans venus de
Perse et dans l'histoire d'une dynastie qui ne demande qu'à être découverte.
<br/>
Il y en a pour tous les goûts et de toutes les couleurs. Les âmes nomades qui veulent perdre pieds peuvent partir à la découverte de ses innombrables plages sauvages et sa richesse sous• marine.
\"
</p>
";
// line 87
echo " </div>
<div class=\"slide\" style=\"font-family: Cormorant_Garamond_italic, serif;
color:#ffffff;
text-shadow: 2px 2px 2px black;
font-size:30px;
line-height:50px;
text-align:center\">
<p class=\"lead\">\"Les aventuriers en soif de découvertes peuvent
S’enivrer dans ses terres et en découvrir les particularités à
travers des randonnées sur les sentiers des rêves et de l'impossible.
Les amoureux de l'histoire et de l'architecture peuvent se perdre dans ses Médinas et ses villes à l'allure de vieux comptoirs portuaires.
\"
</p>
";
// line 103
echo " </div>
";
// line 111
echo " </div>
</div>
</div>
</div>
</div>
</div>
</section>
<div class=\"container clearfix\" style=\"margin-top: 40px;\">
<div class=\"row clearfix\">
<div class=\"col-lg-12\">
<!-- Tab Menu
============================================= -->
<nav class=\"navbar navbar-expand-lg navbar-light p-0\">
<h4 class=\"mb-0 pr-2 ls1 text-uppercase font-weight-bold\">";
// line 127
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Visitez l'archipel des Comores", [], "messages");
echo "</h4>
</nav>
<div class=\"line line-xs line-dark\"></div>
<!-- Articles
============================================= -->
<div class=\"row col-mb-50 mb-0\">
";
// line 136
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["imagesiles"]) || array_key_exists("imagesiles", $context) ? $context["imagesiles"] : (function () { throw new RuntimeError('Variable "imagesiles" does not exist.', 136, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["img"]) {
// line 137
echo " <div class=\"col-md-3 mt-4\">
<!-- Post Article -->
<div class=\"posts-md\">
<div class=\"entry\">
<div class=\"entry-image\">
";
// line 143
echo "
";
// line 144
if (twig_get_attribute($this->env, $this->source, $context["img"], "imagemenu", [], "any", false, false, false, 144)) {
// line 145
echo " <a href=\"
";
// line 146
if (twig_get_attribute($this->env, $this->source, $context["img"], "entiteeconomique", [], "any", false, false, false, 146)) {
// line 147
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_single", ["id" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["img"], "entiteeconomique", [], "any", false, false, false, 147), "id", [], "any", false, false, false, 147), "nature_page" => "entiteeconomique", "slug" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["img"], "entiteeconomique", [], "any", false, false, false, 147), "getSlug", [], "method", false, false, false, 147)]), "html", null, true);
echo "
";
} else {
// line 148
echo "#";
}
echo "\">
<img src=\"";
// line 149
echo twig_escape_filter($this->env, $this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Vich\UploaderBundle\Twig\Extension\UploaderExtension']->asset($context["img"], "imagemenuFile"), "format_ile_pg_accueil"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["img"], "designation", [], "any", false, false, false, 149), "html", null, true);
echo "\">
</a>
";
} else {
// line 152
echo " <a href=\"";
if (twig_get_attribute($this->env, $this->source, $context["img"], "entiteeconomique", [], "any", false, false, false, 152)) {
// line 153
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_single", ["id" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["img"], "entiteeconomique", [], "any", false, false, false, 153), "id", [], "any", false, false, false, 153), "nature_page" => "entiteeconomique", "slug" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["img"], "entiteeconomique", [], "any", false, false, false, 153), "getSlug", [], "method", false, false, false, 153)]), "html", null, true);
echo "
";
} else {
// line 154
echo "#";
}
echo "\">
<img src=\"";
// line 155
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("medel_assets/images/ontc_site/ile.png"), "html", null, true);
echo "\" alt=\"Image 3\">
</a>
";
}
// line 158
echo " <div class=\"entry-categories\">
<a href=\"";
// line 159
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_by_ile", ["ile" => twig_get_attribute($this->env, $this->source, $context["img"], "id", [], "any", false, false, false, 159)]), "html", null, true);
echo "\" class=\"bg-lifestyle\">
";
// line 160
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Voir tout de l'île", [], "messages");
// line 161
echo " </a>
</div>
</div>
<div class=\"entry-title title-sm nott\">
<h3 class=\"mb-2\"><a href=\"#\">";
// line 165
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["img"], "designation", [], "any", false, false, false, 165), "html", null, true);
echo "</a></h3>
</div>
</div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['img'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 172
echo "
</div>
</div>
</div>
<div class=\"row clearfix\">
<!-- Second Posts Area
============================================= -->
<div class=\"col-lg-8\">
<!-- Gallery Slider
============================================= -->
<div class=\"clearfix\">
<h4 class=\"mb-2 ls1 text-uppercase font-weight-bold\">À Découvrir</h4>
<div class=\"line line-xs line-market\"></div>
<!-- Flex Thumbs Slider
============================================= -->
<div class=\"fslider flex-thumb-grid grid-8 mt-4\" data-pagi=\"false\" data-speed=\"650\" data-pause=\"3500\" data-animation=\"fade\" data-arrows=\"true\" data-thumbs=\"true\">
<div class=\"flexslider\">
<div class=\"slider-wrap\">
";
// line 195
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["carouselaccueil"]) || array_key_exists("carouselaccueil", $context) ? $context["carouselaccueil"] : (function () { throw new RuntimeError('Variable "carouselaccueil" does not exist.', 195, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["carousel"]) {
// line 196
echo " <div class=\"slide\" ";
if ((twig_length_filter($this->env, (isset($context["carouselaccueil"]) || array_key_exists("carouselaccueil", $context) ? $context["carouselaccueil"] : (function () { throw new RuntimeError('Variable "carouselaccueil" does not exist.', 196, $this->source); })())) > 3)) {
echo "data-thumb=\"";
echo twig_escape_filter($this->env, $this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Vich\UploaderBundle\Twig\Extension\UploaderExtension']->asset($context["carousel"], "imageFile"), "format_miniaturecarousel_accueil"), "html", null, true);
echo "\"";
}
echo ">
<!-- Post Article -->
<div class=\"entry mb-0\">
<img src=\"";
// line 199
echo twig_escape_filter($this->env, $this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Vich\UploaderBundle\Twig\Extension\UploaderExtension']->asset($context["carousel"], "imageFile"), "format_carousel_accueil"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["carousel"], "designation", [], "any", false, false, false, 199), "html", null, true);
echo "\">
<div class=\"bg-overlay\">
<div class=\"bg-overlay-content text-overlay-mask dark desc-sm align-items-end justify-content-start p-4\">
<div class=\"position-relative w-100\">
";
// line 203
if ((twig_get_attribute($this->env, $this->source, $context["carousel"], "categorie", [], "any", false, false, false, 203) || twig_get_attribute($this->env, $this->source, $context["carousel"], "enCategorie", [], "any", false, false, false, 203))) {
// line 204
echo " <div class=\"entry-categories\">
<a href=\"#\" class=\"";
// line 205
((twig_get_attribute($this->env, $this->source, $context["carousel"], "couleurcategorie", [], "any", false, false, false, 205)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["carousel"], "couleurcategorie", [], "any", false, false, false, 205), "html", null, true))) : (print ("bg-tech")));
echo "\">
";
// line 206
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 206, $this->source); })()), "request", [], "any", false, false, false, 206), "locale", [], "any", false, false, false, 206) == "en")) {
// line 207
echo " ";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["carousel"], "getEnCategorie", [], "method", false, false, false, 207)) ? (twig_get_attribute($this->env, $this->source, $context["carousel"], "getEnCategorie", [], "method", false, false, false, 207)) : (twig_get_attribute($this->env, $this->source, $context["carousel"], "categorie", [], "any", false, false, false, 207))), "html", null, true);
echo "
";
} else {
// line 209
echo " ";
((twig_get_attribute($this->env, $this->source, $context["carousel"], "categorie", [], "any", false, false, false, 209)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["carousel"], "categorie", [], "any", false, false, false, 209), "html", null, true))) : (print ("")));
echo "
";
}
// line 211
echo " </a>
</div>
";
}
// line 214
echo " <div class=\"entry-title nott\">
<h3 class=\"font-weight-semibold mb-2 ls0\">
<a href=\"#\" class=\"text-light\">
";
// line 217
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["carousel"], "designation", [], "any", false, false, false, 217), "html", null, true);
echo "
</a>
</h3>
</div>
<div class=\"entry-meta no-separator\">
<ul>
";
// line 224
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["carousel"], "url", [], "any", false, false, false, 224)) {
// line 225
echo " <li><i class=\"icon-check-circle\"></i><a target=\"_blank\" href=\"http://";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["carousel"], "url", [], "any", false, false, false, 225), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["carousel"], "url", [], "any", false, false, false, 225)) ? (twig_get_attribute($this->env, $this->source, $context["carousel"], "url", [], "any", false, false, false, 225)) : (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["carousel"], "entiteeconomique", [], "any", false, false, false, 225), "designation", [], "any", false, false, false, 225))), "html", null, true);
echo "</a></li>
";
} elseif (twig_get_attribute($this->env, $this->source, // line 226
$context["carousel"], "entiteeconomique", [], "any", false, false, false, 226)) {
// line 227
echo " ";
// line 228
echo " <li><i class=\"icon-check-circle\"></i>
<a href=\"";
// line 229
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_single", ["id" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["carousel"], "entiteeconomique", [], "any", false, false, false, 229), "id", [], "any", false, false, false, 229), "nature_page" => "entiteeconomique", "slug" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["carousel"], "entiteeconomique", [], "any", false, false, false, 229), "getSlug", [], "method", false, false, false, 229)]), "html", null, true);
echo "\">
";
// line 230
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["carousel"], "url", [], "any", false, false, false, 230)) ? (twig_get_attribute($this->env, $this->source, $context["carousel"], "url", [], "any", false, false, false, 230)) : (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["carousel"], "entiteeconomique", [], "any", false, false, false, 230), "designation", [], "any", false, false, false, 230))), "html", null, true);
echo "
</a>
</li>
";
} else {
// line 234
echo " <li><i class=\"icon-check-circle\"></i><a target=\"_blank\" href=\"";
((twig_get_attribute($this->env, $this->source, $context["carousel"], "url", [], "any", false, false, false, 234)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["carousel"], "url", [], "any", false, false, false, 234), "html", null, true))) : (print ("")));
echo "\">";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["carousel"], "url", [], "any", false, false, false, 234)) ? (twig_get_attribute($this->env, $this->source, $context["carousel"], "url", [], "any", false, false, false, 234)) : (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["carousel"], "entiteeconomique", [], "any", false, false, false, 234), "designation", [], "any", false, false, false, 234))), "html", null, true);
echo "</a></li>
";
}
// line 236
echo " </ul>
</div>
<ul class=\"entry-icons d-none d-sm-block\">
";
// line 240
echo " ";
if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_SUPERADMIN") && (twig_get_attribute($this->env, $this->source, $this->extensions['App\GlobalCall\GlobalCall']->getConnectedUser(), "email", [], "any", false, false, false, 240) == "medel.youssouf@gmail.com"))) {
// line 241
echo " <li><a href=\"#\" class=\"icon-heart-empty\"><span>18</span></a></li>
";
}
// line 243
echo " ";
// line 244
echo " ";
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")) {
// line 245
echo " <li><a target=\"_blank\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_carouselaccueil_edit", ["id" => twig_get_attribute($this->env, $this->source, $context["carousel"], "id", [], "any", false, false, false, 245)]), "html", null, true);
echo "\" class=\"icon-pencil-alt\"></a></li>
";
}
// line 247
echo " </ul>
</div>
</div>
</div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['carousel'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 254
echo "
</div>
</div>
</div> <!-- Flex Slider End -->
</div>
</div>
<!-- Second Sidebar
============================================= -->
<div class=\"col-lg-4 sticky-sidebar-wrap mt-5 mt-lg-0\">
<div class=\"sticky-sidebar\">
<!-- Sidebar Widget 1
============================================= -->
<div class=\"widget widget_links clearfix\" style=\"margin-bottom: -20px;\">
<h4 class=\"mb-2 ls1 text-uppercase font-weight-bold\">";
// line 271
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Accès rapide", [], "messages");
echo "</h4>
<div class=\"line line-xs line-sports\"></div>
<ul>
";
// line 274
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["lien_par_nbr_click"]) || array_key_exists("lien_par_nbr_click", $context) ? $context["lien_par_nbr_click"] : (function () { throw new RuntimeError('Variable "lien_par_nbr_click" does not exist.', 274, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["lien"]) {
// line 275
echo " <li class=\"d-flex align-items-center\">
<a href=\"";
// line 276
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_redirect", ["number" => "AINFCbYAAAAAYPmUMbFhnXYhV4N4roangXp4l3DUkNdD&oq", "parametremenu" => twig_get_attribute($this->env, $this->source, $context["lien"], "parametremenu", [], "any", false, false, false, 276)]), "html", null, true);
echo "\" class=\"flex-fill\">
";
// line 277
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 277, $this->source); })()), "request", [], "any", false, false, false, 277), "locale", [], "any", false, false, false, 277) == "en")) {
// line 278
echo " ";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["lien"], "getEnDesignation", [], "method", false, false, false, 278)) ? (twig_get_attribute($this->env, $this->source, $context["lien"], "getEnDesignation", [], "method", false, false, false, 278)) : (twig_get_attribute($this->env, $this->source, $context["lien"], "designation", [], "any", false, false, false, 278))), "html", null, true);
echo "
";
} else {
// line 280
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["lien"], "designation", [], "any", false, false, false, 280), "html", null, true);
echo "
";
}
// line 282
echo " </a>
<span class=\"badge text-light bg-";
// line 283
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["lien"], "getCouleurtitre", [], "method", false, false, false, 283), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["lien"], "nombreclick", [], "any", false, false, false, 283), "html", null, true);
echo "</span>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['lien'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 286
echo " </ul>
</div>
<!-- Sidebar Widget 2
============================================= -->
<div class=\"widget clearfix\">
<h4 class=\"mb-2 ls1 text-uppercase font-weight-bold\">
";
// line 293
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Dans l'actu", [], "messages");
// line 294
echo " ";
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")) {
// line 295
echo " <a target=\"_blank\"
href=\"";
// line 296
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_article_new");
echo "\"
class=\"icon-plus-sign\"
style=\"position: absolute; right: 0px;\">
</a>
";
}
// line 301
echo " </h4>
<div class=\"line line-xs line-lifestyle\"></div>
<div class=\"posts-sm row col-mb-15\">
";
// line 306
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["articles"]) || array_key_exists("articles", $context) ? $context["articles"] : (function () { throw new RuntimeError('Variable "articles" does not exist.', 306, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["article"]) {
// line 307
echo " <div class=\"entry col-12\">
<div class=\"grid-inner row align-items-center no-gutters\">
<div class=\"col-auto\">
<div class=\"entry-image\">
";
// line 311
$context["images"] = twig_get_attribute($this->env, $this->source, $context["article"], "articleImages", [], "any", false, false, false, 311);
// line 312
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, (isset($context["images"]) || array_key_exists("images", $context) ? $context["images"] : (function () { throw new RuntimeError('Variable "images" does not exist.', 312, $this->source); })()), function ($__image__) use ($context, $macros) { $context["image"] = $__image__; return (twig_get_attribute($this->env, $this->source, $context["image"], "pourLaDescription", [], "any", false, false, false, 312) == true); }));
$context['_iterated'] = false;
foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
// line 313
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("evenement_single", ["id" => twig_get_attribute($this->env, $this->source, $context["article"], "id", [], "any", false, false, false, 313), "slug" => twig_get_attribute($this->env, $this->source, $context["article"], "getSlug", [], "method", false, false, false, 313)]), "html", null, true);
echo "\">
<img src=\"";
// line 314
echo twig_escape_filter($this->env, $this->extensions['Vich\UploaderBundle\Twig\Extension\UploaderExtension']->asset($context["image"], "imageFile"), "html", null, true);
echo "\" alt=\"Image\"></a>
";
$context['_iterated'] = true;
}
if (!$context['_iterated']) {
// line 316
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("evenement_single", ["id" => twig_get_attribute($this->env, $this->source, $context["article"], "id", [], "any", false, false, false, 316), "slug" => twig_get_attribute($this->env, $this->source, $context["article"], "getSlug", [], "method", false, false, false, 316)]), "html", null, true);
echo "\">
<img src=\"";
// line 317
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("medel_assets/images/ontc_site/evenements/small128x128.png"), "html", null, true);
echo "\" alt=\"Image\"></a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 319
echo " </div>
</div>
<div class=\"col pl-3\">
<div class=\"entry-title\">
<h4 class=\"font-weight-semibold\">
<a href=\"";
// line 324
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("evenement_single", ["id" => twig_get_attribute($this->env, $this->source, $context["article"], "id", [], "any", false, false, false, 324), "slug" => twig_get_attribute($this->env, $this->source, $context["article"], "getSlug", [], "method", false, false, false, 324)]), "html", null, true);
echo "\">
";
// line 325
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "titre", [], "any", false, false, false, 325), "html", null, true);
echo "
</a>
";
// line 328
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")) {
// line 329
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_article_edit", ["id" => twig_get_attribute($this->env, $this->source, $context["article"], "id", [], "any", false, false, false, 329)]), "html", null, true);
echo "\"
target=\"_blank\"
class=\"color-sports\">
<i class=\"icon-pencil-alt\"></i>
</a>
";
}
// line 335
echo " </h4>
</div>
<div class=\"entry-meta\">
<ul>
<li><i class=\"icon-time\"></i><a href=\"#\">";
// line 340
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "DateAjoutAt", [], "any", false, false, false, 340), "d-m-Y"), "html", null, true);
echo "</a></li>
<li><i class=\"icon-affiliatetheme\"></i>
<a href=\"";
// line 342
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("evenement_all", ["theme_id" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["article"], "theme", [], "any", false, false, false, 342), "id", [], "any", false, false, false, 342)]), "html", null, true);
echo "\">
";
// line 343
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "theme", [], "any", false, false, false, 343), "html", null, true);
echo "
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['article'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 352
echo "
";
// line 353
if ((twig_length_filter($this->env, (isset($context["articles"]) || array_key_exists("articles", $context) ? $context["articles"] : (function () { throw new RuntimeError('Variable "articles" does not exist.', 353, $this->source); })())) > 3)) {
// line 354
echo " <div class=\"entry col-12\" style=\"margin-top: -10px;\">
<small style=\"margin-left: 300px;\"><a href=\"\"> ";
// line 355
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Voir plus +", [], "messages");
echo "</a></small>
</div>
";
}
// line 358
echo " </div>
</div>
";
// line 363
echo " <div class=\"widget clearfix\" >
<h4 class=\"mb-2 ls1 text-uppercase font-weight-bold\">";
// line 364
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Nous suivre", [], "messages");
echo "</h4>
<div class=\"line line-xs line-market\"></div>
<div class=\"row center mt-4 clearfix\">
<div class=\"col-3\">
<a href=\"";
// line 368
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $this->extensions['App\GlobalCall\GlobalCall']->getOptionssystem(), "getUrlFacebook", [], "method", false, false, false, 368), "html", null, true);
echo "\" target=\"_blank\" class=\"social-icon si-dark float-none m-auto si-colored si-facebook\">
<i class=\"icon-facebook\"></i>
<i class=\"icon-facebook\"></i>
</a>
</div>
<div class=\"col-3\">
<a href=\"";
// line 374
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $this->extensions['App\GlobalCall\GlobalCall']->getOptionssystem(), "getUrlTwitter", [], "method", false, false, false, 374), "html", null, true);
echo "\" target=\"_blank\" class=\"social-icon si-dark float-none m-auto si-colored si-twitter\">
<i class=\"icon-twitter\"></i>
<i class=\"icon-twitter\"></i>
</a>
</div>
<div class=\"col-3\">
<a href=\"";
// line 380
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $this->extensions['App\GlobalCall\GlobalCall']->getOptionssystem(), "getUrlInstagram", [], "method", false, false, false, 380), "html", null, true);
echo "\" target=\"_blank\" class=\"social-icon si-dark float-none m-auto si-colored si-instagram\">
<i class=\"icon-instagram\"></i>
<i class=\"icon-instagram\"></i>
</a>
</div>
<div class=\"col-3\">
<a href=\"";
// line 387
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $this->extensions['App\GlobalCall\GlobalCall']->getOptionssystem(), "getUrlYoutube", [], "method", false, false, false, 387), "html", null, true);
echo "\" target=\"_blank\" class=\"social-icon si-dark float-none m-auto si-colored si-youtube\">
<i class=\"icon-youtube\"></i>
<i class=\"icon-youtube\"></i>
</a>
</div>
</div>
</div>
<!-- Sidebar Widget 3
============================================= -->
</div>
</div>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 414
public function block_footer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 415
echo " ";
$this->displayParentBlock("footer", $context, $blocks);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 423
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 424
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
";
// line 427
echo " <script type=\"text/javascript\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("medel_assets/include/rs-plugin/js/jquery.themepunch.tools.min.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"";
// line 428
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("medel_assets/include/rs-plugin/js/jquery.themepunch.revolution.min.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"";
// line 430
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("medel_assets/include/rs-plugin/js/extensions/revolution.extension.actions.min.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"";
// line 431
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("medel_assets/include/rs-plugin/js/extensions/revolution.extension.carousel.min.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"";
// line 432
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("medel_assets/include/rs-plugin/js/extensions/revolution.extension.kenburn.min.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"";
// line 433
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("medel_assets/include/rs-plugin/js/extensions/revolution.extension.layeranimation.min.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"";
// line 434
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("medel_assets/include/rs-plugin/js/extensions/revolution.extension.migration.min.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"";
// line 435
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("medel_assets/include/rs-plugin/js/extensions/revolution.extension.navigation.min.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"";
// line 436
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("medel_assets/include/rs-plugin/js/extensions/revolution.extension.parallax.min.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"";
// line 437
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("medel_assets/include/rs-plugin/js/extensions/revolution.extension.slideanims.min.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"";
// line 438
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("medel_assets/include/rs-plugin/js/extensions/revolution.extension.video.min.js"), "html", null, true);
echo "\"></script>
";
// line 441
echo "
<script>
var tpj=jQuery;
var revapi206;
tpj(document).ready(function() {
if(tpj(\"#rev_slider_206_1\").revolution == undefined){
revslider_showDoubleJqueryError(\"#rev_slider_19_1\");
}else{
revapi19 = tpj(\"#rev_slider_206_1\").show().revolution({
sliderType:\"standard\",
jsFileLocation: \"";
// line 452
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("medel_assets/include/rs-plugin/js/"), "html", null, true);
echo "\",
sliderLayout:\"fullwidth\",
dottedOverlay:\"none\",
delay:9000,
navigation: {
keyboardNavigation:\"off\",
keyboard_direction: \"horizontal\",
mouseScrollNavigation:\"off\",
onHoverStop:\"off\",
touch: {
touchenabled: \"on\",
swipe_threshold: 75,
swipe_min_touches: 50,
swipe_direction: \"horizontal\",
drag_block_vertical: false
}
,
tabs: {
style:\"metis\",
enable:true,
width:250,
height:40,
min_width:249,
wrapper_padding:25,
wrapper_color:\"\",
wrapper_opacity:\"0\",
";
// line 481
echo " visibleAmount: 5,
hide_onmobile: true,
hide_under:480,
hide_onleave:false,
hide_delay:200,
direction:\"vertical\",
span:true,
position:\"inner\",
space:0,
h_align:\"left\",
v_align:\"center\",
h_offset:0,
v_offset:0
}
},
carousel: {
horizontal_align: \"center\",
vertical_align: \"center\",
fadeout: \"on\",
vary_fade: \"on\",
maxVisibleItems: 3,
infinity: \"on\",
space: 0,
stretch: \"off\",
showLayersAllTime: \"off\",
easing: \"Power3.easeInOut\",
speed: \"800\"
},
responsiveLevels:[1140,992,768,576],
visibilityLevels:[1140,992,768,576],
gridwidth:[850,700,400,300],
gridheight:[580,600,500,400],
lazyType:\"single\",
shadow:0,
spinner:\"off\",
stopLoop:\"on\",
stopAfterLoops:-1,
stopAtSlide:-1,
shuffle:\"off\",
autoHeight:\"off\",
disableProgressBar:\"off\",
hideThumbsOnMobile:\"off\",
hideSliderAtLimit:0,
hideCaptionAtLimit:0,
hideAllCaptionAtLilmit:0,
debugMode:false,
fallbacks: {
simplifyAll:\"off\",
nextSlideOnWindowFocus:\"off\",
disableFocusListener:false,
}
});
}
});\t/* Revolution Slider End */
// Navbar on hover
\$('.nav.tab-hover a.nav-link').hover(function() {
\$(this).tab('show');
});
// Current Date
var weekday = [\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],
month = [\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"],
a = new Date();
jQuery('.date-today').html( weekday[a.getDay()] + ', ' + month[a.getMonth()] + ' ' + a.getDate() );
// Infinity Scroll
jQuery(window).on( 'load', function(){
var \$container = \$('.infinity-wrapper');
\$container.infiniteScroll({
path: '.load-next-portfolio',
button: '.load-next-portfolio',
scrollThreshold: false,
history: false,
status: '.page-load-status'
});
\$container.on( 'load.infiniteScroll', function( event, response, path ) {
var \$items = \$( response ).find('.infinity-loader');
// append items after images loaded
\$items.imagesLoaded( function() {
\$container.append( \$items );
\$container.isotope( 'insert', \$items );
setTimeout( function(){
SEMICOLON.widget.loadFlexSlider();
}, 1000 );
});
});
});
\$('#oc-news').owlCarousel({
items: 1,
margin: 20,
dots: false,
nav: true,
navText: ['<i class=\"icon-angle-left\"></i>','<i class=\"icon-angle-right\"></i>'],
responsive:{
0:{ items: 1,dots: true, },
576:{ items: 1,dots: true },
768:{ items: 2,dots:true },
992:{ items: 2 },
1200:{ items: 3 }
}
});
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "home/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 943 => 481, 914 => 452, 901 => 441, 896 => 438, 892 => 437, 888 => 436, 884 => 435, 880 => 434, 876 => 433, 872 => 432, 868 => 431, 864 => 430, 859 => 428, 854 => 427, 848 => 424, 838 => 423, 825 => 415, 815 => 414, 783 => 387, 773 => 380, 764 => 374, 755 => 368, 748 => 364, 745 => 363, 739 => 358, 733 => 355, 730 => 354, 728 => 353, 725 => 352, 710 => 343, 706 => 342, 701 => 340, 694 => 335, 684 => 329, 682 => 328, 676 => 325, 672 => 324, 665 => 319, 657 => 317, 652 => 316, 645 => 314, 640 => 313, 634 => 312, 632 => 311, 626 => 307, 622 => 306, 615 => 301, 607 => 296, 604 => 295, 601 => 294, 599 => 293, 590 => 286, 579 => 283, 576 => 282, 570 => 280, 564 => 278, 562 => 277, 558 => 276, 555 => 275, 551 => 274, 545 => 271, 526 => 254, 514 => 247, 508 => 245, 505 => 244, 503 => 243, 499 => 241, 496 => 240, 491 => 236, 483 => 234, 476 => 230, 472 => 229, 469 => 228, 467 => 227, 465 => 226, 458 => 225, 455 => 224, 446 => 217, 441 => 214, 436 => 211, 430 => 209, 424 => 207, 422 => 206, 418 => 205, 415 => 204, 413 => 203, 404 => 199, 393 => 196, 389 => 195, 364 => 172, 351 => 165, 345 => 161, 343 => 160, 339 => 159, 336 => 158, 330 => 155, 325 => 154, 319 => 153, 316 => 152, 308 => 149, 303 => 148, 297 => 147, 295 => 146, 292 => 145, 290 => 144, 287 => 143, 280 => 137, 276 => 136, 264 => 127, 246 => 111, 243 => 103, 228 => 87, 189 => 47, 186 => 46, 172 => 33, 166 => 28, 163 => 27, 153 => 26, 140 => 20, 130 => 19, 117 => 12, 107 => 11, 87 => 9, 74 => 5, 64 => 4, 41 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{#<!-- Stylesheets
\t============================================= -->#}
{% block stylesheets %}
{{ parent() }}
{% endblock stylesheets %}
{#<!-- Document Title
\t============================================= -->#}
{% block title %}{{ parent() }} {% endblock title %}
{% block navigation %}
{{ parent() }}
{% endblock navigation %}
{#<!-- Slider
\t\t============================================= -->#}
{# SLIDER #}
{% block slider %}
{{ parent() }}
{% endblock slider %}
{#<!-- Content
\t\t============================================= -->#}
{% block body %}
{% include 'home/_slider.html.twig' %}
<div class=\"container clearfix\" style=\"margin-top: -50px; margin-bottom: -40px;\">
<div class=\"row clearfix\">
<div class=\"col-lg-12\">
<p style=\"font-family: Cormorant_Garamond_italic, serif;{# /*Cormorant Garamond*/ #}
color:#232d23;
font-size:30px;
line-height:50px;
text-align:center\">
D’une superficie de 2236 Km2, les Comores, situées au débouché du canal de Mozambique au nord de Madagascar,
sont composées de quatre îles qui ne se sont pas formées en même temps,
mais suite à un phénomène migratoire du volcanisme il y a huit millions d’années, de l’Est à l’Ouest.
</p>
</div>
</div>
</div>
{# Section testimoniale #}
<section id=\"section-testimonials\" class=\"section parallax mb-0 page-section dark\"
style=\"background-image: url('{{ asset('medel_assets/images/comores_office_du_tourisme.jpg') }}'); padding: 140px 0; background-size: cover\" data-bottom-top=\"background-position:0px 300px;\" data-top-bottom=\"background-position:0px -300px;\">
<div class=\"container clearfix\">
<div class=\"row\">
<div class=\"col-lg-6\">
<div class=\"heading-block border-bottom-0\">
<h3
style=\"font-family: Cormorant_Garamond_italic, serif;
color:#ffae00;
text-shadow: 2px 2px 2px black;
font-size:30px;
line-height:50px;
text-align:center\">
Une destination
à ne pas négliger</h3>
</div>
<div class=\"fslider restaurant-reviews\" data-arrows=\"false\" data-animation=\"slide\">
<div class=\"flexslider\">
<div class=\"slider-wrap\">
<div class=\"slide\">
<p class=\"lead\"
style=\"font-family: Cormorant_Garamond_italic, serif;
color:#ffffff;
text-shadow: 2px 2px 2px black;
font-size:30px;
line-height:50px;
text-align:center\">
\"L’archipel des Comores ou les îles de la Lune, ressemble à un paysage
sorti des contes des mille et une nuit.
Un voyage dans le temps, dans les récits des Sultans venus de
Perse et dans l'histoire d'une dynastie qui ne demande qu'à être découverte.
<br/>
Il y en a pour tous les goûts et de toutes les couleurs. Les âmes nomades qui veulent perdre pieds peuvent partir à la découverte de ses innombrables plages sauvages et sa richesse sous• marine.
\"
</p>
{#
<span class=\"font-primary\"><strong>John Doe</strong>, New York Magazine</span><br>
<i class=\"icon-star3\"></i> <i class=\"icon-star3\"></i> <i class=\"icon-star3\"></i> <i class=\"icon-star3\"></i> <i class=\"icon-star-half-full\"></i>
#}
</div>
<div class=\"slide\" style=\"font-family: Cormorant_Garamond_italic, serif;
color:#ffffff;
text-shadow: 2px 2px 2px black;
font-size:30px;
line-height:50px;
text-align:center\">
<p class=\"lead\">\"Les aventuriers en soif de découvertes peuvent
S’enivrer dans ses terres et en découvrir les particularités à
travers des randonnées sur les sentiers des rêves et de l'impossible.
Les amoureux de l'histoire et de l'architecture peuvent se perdre dans ses Médinas et ses villes à l'allure de vieux comptoirs portuaires.
\"
</p>
{# <span class=\"font-primary\"><strong>Mary Jane</strong>, Chicago News</span><br>
<i class=\"icon-star3\"></i> <i class=\"icon-star3\"></i> <i class=\"icon-star3\"></i> <i class=\"icon-star-half-full\"></i> <i class=\"icon-star-empty\"></i>
#}
</div>
{#
<div class=\"slide\">
<p class=\"lead\">\"Healthcare forward-thinking public service, social innovation making progress. Arab Spring social analysis, equality treatment, diversification.\"</p>
<span class=\"font-primary\"><strong>Luis Frank</strong>, France</span><br>
<i class=\"icon-star3\"></i> <i class=\"icon-star3\"></i> <i class=\"icon-star3\"></i> <i class=\"icon-star3\"></i> <i class=\"icon-star-empty\"></i>
</div>
#}
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<div class=\"container clearfix\" style=\"margin-top: 40px;\">
<div class=\"row clearfix\">
<div class=\"col-lg-12\">
<!-- Tab Menu
============================================= -->
<nav class=\"navbar navbar-expand-lg navbar-light p-0\">
<h4 class=\"mb-0 pr-2 ls1 text-uppercase font-weight-bold\">{% trans %}Visitez l'archipel des Comores{% endtrans %}</h4>
</nav>
<div class=\"line line-xs line-dark\"></div>
<!-- Articles
============================================= -->
<div class=\"row col-mb-50 mb-0\">
{% for img in imagesiles %}
<div class=\"col-md-3 mt-4\">
<!-- Post Article -->
<div class=\"posts-md\">
<div class=\"entry\">
<div class=\"entry-image\">
{#{{ path('page_single', {id:entite_eco.id, 'nature_page':'entiteeconomique',slug: entite_eco.getSlug()}) }}#}
{% if img.imagemenu %}
<a href=\"
{% if img.entiteeconomique %}
{{ path('page_single', {id:img.entiteeconomique.id, 'nature_page':'entiteeconomique',slug: img.entiteeconomique.getSlug()}) }}
{% else %}#{% endif %}\">
<img src=\"{{ vich_uploader_asset(img, 'imagemenuFile') | imagine_filter('format_ile_pg_accueil') }}\" alt=\"{{ img.designation }}\">
</a>
{% else %}
<a href=\"{% if img.entiteeconomique %}
{{ path('page_single', {id:img.entiteeconomique.id, 'nature_page':'entiteeconomique',slug: img.entiteeconomique.getSlug()}) }}
{% else %}#{% endif %}\">
<img src=\"{{ asset('medel_assets/images/ontc_site/ile.png') }}\" alt=\"Image 3\">
</a>
{% endif %}
<div class=\"entry-categories\">
<a href=\"{{ path('page_by_ile',{'ile':img.id}) }}\" class=\"bg-lifestyle\">
{% trans %}Voir tout de l'île{% endtrans %}
</a>
</div>
</div>
<div class=\"entry-title title-sm nott\">
<h3 class=\"mb-2\"><a href=\"#\">{{ img.designation }}</a></h3>
</div>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
<div class=\"row clearfix\">
<!-- Second Posts Area
============================================= -->
<div class=\"col-lg-8\">
<!-- Gallery Slider
============================================= -->
<div class=\"clearfix\">
<h4 class=\"mb-2 ls1 text-uppercase font-weight-bold\">À Découvrir</h4>
<div class=\"line line-xs line-market\"></div>
<!-- Flex Thumbs Slider
============================================= -->
<div class=\"fslider flex-thumb-grid grid-8 mt-4\" data-pagi=\"false\" data-speed=\"650\" data-pause=\"3500\" data-animation=\"fade\" data-arrows=\"true\" data-thumbs=\"true\">
<div class=\"flexslider\">
<div class=\"slider-wrap\">
{% for carousel in carouselaccueil %}
<div class=\"slide\" {% if carouselaccueil | length > 3 %}data-thumb=\"{{ vich_uploader_asset(carousel, 'imageFile') | imagine_filter('format_miniaturecarousel_accueil') }}\"{% endif %}>
<!-- Post Article -->
<div class=\"entry mb-0\">
<img src=\"{{ vich_uploader_asset(carousel, 'imageFile') | imagine_filter('format_carousel_accueil') }}\" alt=\"{{ carousel.designation }}\">
<div class=\"bg-overlay\">
<div class=\"bg-overlay-content text-overlay-mask dark desc-sm align-items-end justify-content-start p-4\">
<div class=\"position-relative w-100\">
{% if carousel.categorie or carousel.enCategorie %}
<div class=\"entry-categories\">
<a href=\"#\" class=\"{{ carousel.couleurcategorie ? carousel.couleurcategorie : 'bg-tech' }}\">
{% if app.request.locale == 'en' %}
{{ carousel.getEnCategorie() ? carousel.getEnCategorie() : carousel.categorie }}
{% else %}
{{ carousel.categorie ? carousel.categorie :'' }}
{% endif %}
</a>
</div>
{% endif %}
<div class=\"entry-title nott\">
<h3 class=\"font-weight-semibold mb-2 ls0\">
<a href=\"#\" class=\"text-light\">
{{ carousel.designation }}
</a>
</h3>
</div>
<div class=\"entry-meta no-separator\">
<ul>
{#vérifions si c'est une URL ou c'est une entite econom#}
{% if carousel.url %}
<li><i class=\"icon-check-circle\"></i><a target=\"_blank\" href=\"http://{{ carousel.url }}\">{{ carousel.url ? carousel.url : carousel.entiteeconomique.designation }}</a></li>
{% elseif carousel.entiteeconomique %}
{#{{ path('page_single', {id:entite_eco.id, 'nature_page':'entiteeconomique',slug: entite_eco.getSlug()}) }}#}
<li><i class=\"icon-check-circle\"></i>
<a href=\"{{ path('page_single', {id:carousel.entiteeconomique.id, 'nature_page':'entiteeconomique',slug: carousel.entiteeconomique.getSlug()}) }}\">
{{ carousel.url ? carousel.url : carousel.entiteeconomique.designation }}
</a>
</li>
{% else %}
<li><i class=\"icon-check-circle\"></i><a target=\"_blank\" href=\"{{ carousel.url ? carousel.url : '' }}\">{{ carousel.url ? carousel.url : carousel.entiteeconomique.designation }}</a></li>
{% endif %}
</ul>
</div>
<ul class=\"entry-icons d-none d-sm-block\">
{#<li><a href=\"#\" class=\"icon-bookmark-empty\"></a></li>#}
{% if is_granted('ROLE_SUPERADMIN') and getConnectedUser().email == \"medel.youssouf@gmail.com\" %}
<li><a href=\"#\" class=\"icon-heart-empty\"><span>18</span></a></li>
{% endif %}
{#<li><a href=\"#\" class=\"icon-comment-alt\"><span>3</span></a></li>#}
{% if is_granted(\"ROLE_ADMIN\") %}
<li><a target=\"_blank\" href=\"{{ path('admin_carouselaccueil_edit',{id:carousel.id}) }}\" class=\"icon-pencil-alt\"></a></li>
{% endif %}
</ul>
</div>
</div>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
</div> <!-- Flex Slider End -->
</div>
</div>
<!-- Second Sidebar
============================================= -->
<div class=\"col-lg-4 sticky-sidebar-wrap mt-5 mt-lg-0\">
<div class=\"sticky-sidebar\">
<!-- Sidebar Widget 1
============================================= -->
<div class=\"widget widget_links clearfix\" style=\"margin-bottom: -20px;\">
<h4 class=\"mb-2 ls1 text-uppercase font-weight-bold\">{% trans %}Accès rapide{% endtrans %}</h4>
<div class=\"line line-xs line-sports\"></div>
<ul>
{% for lien in lien_par_nbr_click %}
<li class=\"d-flex align-items-center\">
<a href=\"{{ path('page_redirect', {'number':'AINFCbYAAAAAYPmUMbFhnXYhV4N4roangXp4l3DUkNdD&oq' ,'parametremenu': lien.parametremenu}) }}\" class=\"flex-fill\">
{% if app.request.locale == \"en\" %}
{{ lien.getEnDesignation() ? lien.getEnDesignation() : lien.designation }}
{% else %}
{{ lien.designation }}
{% endif %}
</a>
<span class=\"badge text-light bg-{{ lien.getCouleurtitre() }}\">{{ lien.nombreclick }}</span>
</li>
{% endfor %}
</ul>
</div>
<!-- Sidebar Widget 2
============================================= -->
<div class=\"widget clearfix\">
<h4 class=\"mb-2 ls1 text-uppercase font-weight-bold\">
{% trans %}Dans l'actu{% endtrans %}
{% if is_granted('ROLE_ADMIN') %}
<a target=\"_blank\"
href=\"{{ path('admin_article_new') }}\"
class=\"icon-plus-sign\"
style=\"position: absolute; right: 0px;\">
</a>
{% endif %}
</h4>
<div class=\"line line-xs line-lifestyle\"></div>
<div class=\"posts-sm row col-mb-15\">
{% for article in articles %}
<div class=\"entry col-12\">
<div class=\"grid-inner row align-items-center no-gutters\">
<div class=\"col-auto\">
<div class=\"entry-image\">
{% set images = article.articleImages %}
{% for image in images | filter(image => image.pourLaDescription == true) %}
<a href=\"{{ path('evenement_single', {id : article.id, 'slug':article.getSlug()}) }}\">
<img src=\"{{ vich_uploader_asset(image, 'imageFile') }}\" alt=\"Image\"></a>
{% else %}
<a href=\"{{ path('evenement_single', {id : article.id, 'slug':article.getSlug()}) }}\">
<img src=\"{{ asset('medel_assets/images/ontc_site/evenements/small128x128.png') }}\" alt=\"Image\"></a>
{% endfor %}
</div>
</div>
<div class=\"col pl-3\">
<div class=\"entry-title\">
<h4 class=\"font-weight-semibold\">
<a href=\"{{ path('evenement_single', {id : article.id, 'slug':article.getSlug()}) }}\">
{{ article.titre }}
</a>
{% if is_granted('ROLE_ADMIN') %}
<a href=\"{{ path('admin_article_edit', {id:article.id}) }}\"
target=\"_blank\"
class=\"color-sports\">
<i class=\"icon-pencil-alt\"></i>
</a>
{% endif %}
</h4>
</div>
<div class=\"entry-meta\">
<ul>
<li><i class=\"icon-time\"></i><a href=\"#\">{{ article.DateAjoutAt | date('d-m-Y') }}</a></li>
<li><i class=\"icon-affiliatetheme\"></i>
<a href=\"{{ path('evenement_all', {'theme_id':article.theme.id}) }}\">
{{ article.theme }}
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
{% endfor %}
{% if articles | length >3 %}
<div class=\"entry col-12\" style=\"margin-top: -10px;\">
<small style=\"margin-left: 300px;\"><a href=\"\"> {% trans %}Voir plus +{% endtrans %}</a></small>
</div>
{% endif %}
</div>
</div>
{# NOUS SUIVRE #}
<div class=\"widget clearfix\" >
<h4 class=\"mb-2 ls1 text-uppercase font-weight-bold\">{% trans %}Nous suivre{% endtrans %}</h4>
<div class=\"line line-xs line-market\"></div>
<div class=\"row center mt-4 clearfix\">
<div class=\"col-3\">
<a href=\"{{ getOptionssystem().getUrlFacebook() }}\" target=\"_blank\" class=\"social-icon si-dark float-none m-auto si-colored si-facebook\">
<i class=\"icon-facebook\"></i>
<i class=\"icon-facebook\"></i>
</a>
</div>
<div class=\"col-3\">
<a href=\"{{ getOptionssystem().getUrlTwitter() }}\" target=\"_blank\" class=\"social-icon si-dark float-none m-auto si-colored si-twitter\">
<i class=\"icon-twitter\"></i>
<i class=\"icon-twitter\"></i>
</a>
</div>
<div class=\"col-3\">
<a href=\"{{ getOptionssystem().getUrlInstagram() }}\" target=\"_blank\" class=\"social-icon si-dark float-none m-auto si-colored si-instagram\">
<i class=\"icon-instagram\"></i>
<i class=\"icon-instagram\"></i>
</a>
</div>
<div class=\"col-3\">
<a href=\"{{ getOptionssystem().getUrlYoutube() }}\" target=\"_blank\" class=\"social-icon si-dark float-none m-auto si-colored si-youtube\">
<i class=\"icon-youtube\"></i>
<i class=\"icon-youtube\"></i>
</a>
</div>
</div>
</div>
<!-- Sidebar Widget 3
============================================= -->
</div>
</div>
</div>
</div>
{% endblock body %}
{#<!-- #content end -->#}
{#<!-- Footer
\t\t============================================= -->#}
{% block footer %}
{{ parent() }}
{% endblock footer %}
{#<!-- #footer end -->#}
{#<!-- JavaScripts
\t============================================= -->#}
{% block javascripts %}
{{ parent() }}
{#<!-- SLIDER REVOLUTION 5.x SCRIPTS -->#}
<script type=\"text/javascript\" src=\"{{ asset('medel_assets/include/rs-plugin/js/jquery.themepunch.tools.min.js') }}\"></script>
<script type=\"text/javascript\" src=\"{{ asset('medel_assets/include/rs-plugin/js/jquery.themepunch.revolution.min.js') }}\"></script>
<script type=\"text/javascript\" src=\"{{ asset('medel_assets/include/rs-plugin/js/extensions/revolution.extension.actions.min.js') }}\"></script>
<script type=\"text/javascript\" src=\"{{ asset('medel_assets/include/rs-plugin/js/extensions/revolution.extension.carousel.min.js') }}\"></script>
<script type=\"text/javascript\" src=\"{{ asset('medel_assets/include/rs-plugin/js/extensions/revolution.extension.kenburn.min.js') }}\"></script>
<script type=\"text/javascript\" src=\"{{ asset('medel_assets/include/rs-plugin/js/extensions/revolution.extension.layeranimation.min.js') }}\"></script>
<script type=\"text/javascript\" src=\"{{ asset('medel_assets/include/rs-plugin/js/extensions/revolution.extension.migration.min.js') }}\"></script>
<script type=\"text/javascript\" src=\"{{ asset('medel_assets/include/rs-plugin/js/extensions/revolution.extension.navigation.min.js') }}\"></script>
<script type=\"text/javascript\" src=\"{{ asset('medel_assets/include/rs-plugin/js/extensions/revolution.extension.parallax.min.js') }}\"></script>
<script type=\"text/javascript\" src=\"{{ asset('medel_assets/include/rs-plugin/js/extensions/revolution.extension.slideanims.min.js') }}\"></script>
<script type=\"text/javascript\" src=\"{{ asset('medel_assets/include/rs-plugin/js/extensions/revolution.extension.video.min.js') }}\"></script>
{#<!-- ADD-ONS JS FILES -->#}
<script>
var tpj=jQuery;
var revapi206;
tpj(document).ready(function() {
if(tpj(\"#rev_slider_206_1\").revolution == undefined){
revslider_showDoubleJqueryError(\"#rev_slider_19_1\");
}else{
revapi19 = tpj(\"#rev_slider_206_1\").show().revolution({
sliderType:\"standard\",
jsFileLocation: \"{{ asset('medel_assets/include/rs-plugin/js/') }}\",
sliderLayout:\"fullwidth\",
dottedOverlay:\"none\",
delay:9000,
navigation: {
keyboardNavigation:\"off\",
keyboard_direction: \"horizontal\",
mouseScrollNavigation:\"off\",
onHoverStop:\"off\",
touch: {
touchenabled: \"on\",
swipe_threshold: 75,
swipe_min_touches: 50,
swipe_direction: \"horizontal\",
drag_block_vertical: false
}
,
tabs: {
style:\"metis\",
enable:true,
width:250,
height:40,
min_width:249,
wrapper_padding:25,
wrapper_color:\"\",
wrapper_opacity:\"0\",
{#tmp: '<div class=\"tp-tab-wrapper\"><div class=\"tp-tab-number\">{param1}</div>' +
'<div class=\"tp-tab-divider\"></div><div class=\"tp-tab-title-mask\">' +
'<div class=\"tp-tab-title\">{title}</div></div></div>',#}
visibleAmount: 5,
hide_onmobile: true,
hide_under:480,
hide_onleave:false,
hide_delay:200,
direction:\"vertical\",
span:true,
position:\"inner\",
space:0,
h_align:\"left\",
v_align:\"center\",
h_offset:0,
v_offset:0
}
},
carousel: {
horizontal_align: \"center\",
vertical_align: \"center\",
fadeout: \"on\",
vary_fade: \"on\",
maxVisibleItems: 3,
infinity: \"on\",
space: 0,
stretch: \"off\",
showLayersAllTime: \"off\",
easing: \"Power3.easeInOut\",
speed: \"800\"
},
responsiveLevels:[1140,992,768,576],
visibilityLevels:[1140,992,768,576],
gridwidth:[850,700,400,300],
gridheight:[580,600,500,400],
lazyType:\"single\",
shadow:0,
spinner:\"off\",
stopLoop:\"on\",
stopAfterLoops:-1,
stopAtSlide:-1,
shuffle:\"off\",
autoHeight:\"off\",
disableProgressBar:\"off\",
hideThumbsOnMobile:\"off\",
hideSliderAtLimit:0,
hideCaptionAtLimit:0,
hideAllCaptionAtLilmit:0,
debugMode:false,
fallbacks: {
simplifyAll:\"off\",
nextSlideOnWindowFocus:\"off\",
disableFocusListener:false,
}
});
}
});\t/* Revolution Slider End */
// Navbar on hover
\$('.nav.tab-hover a.nav-link').hover(function() {
\$(this).tab('show');
});
// Current Date
var weekday = [\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],
month = [\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"],
a = new Date();
jQuery('.date-today').html( weekday[a.getDay()] + ', ' + month[a.getMonth()] + ' ' + a.getDate() );
// Infinity Scroll
jQuery(window).on( 'load', function(){
var \$container = \$('.infinity-wrapper');
\$container.infiniteScroll({
path: '.load-next-portfolio',
button: '.load-next-portfolio',
scrollThreshold: false,
history: false,
status: '.page-load-status'
});
\$container.on( 'load.infiniteScroll', function( event, response, path ) {
var \$items = \$( response ).find('.infinity-loader');
// append items after images loaded
\$items.imagesLoaded( function() {
\$container.append( \$items );
\$container.isotope( 'insert', \$items );
setTimeout( function(){
SEMICOLON.widget.loadFlexSlider();
}, 1000 );
});
});
});
\$('#oc-news').owlCarousel({
items: 1,
margin: 20,
dots: false,
nav: true,
navText: ['<i class=\"icon-angle-left\"></i>','<i class=\"icon-angle-right\"></i>'],
responsive:{
0:{ items: 1,dots: true, },
576:{ items: 1,dots: true },
768:{ items: 2,dots:true },
992:{ items: 2 },
1200:{ items: 3 }
}
});
</script>
{% endblock javascripts %}
", "home/index.html.twig", "/var/www/vhosts/comorostourism/templates/home/index.html.twig");
}
}