<?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;
/* front/theme1/page_activite.html.twig */
class __TwigTemplate_16a46bda7ebb77915ff4cc6f827ca35b284d9a63ce989e56fd5a19e68a642bc7 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'stylesheets' => [$this, 'block_stylesheets'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return $this->loadTemplate((("front/" . twig_get_attribute($this->env, $this->source, 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.', 1, $this->source); })()), "request", [], "any", false, false, false, 1), "server", [], "any", false, false, false, 1), "get", [0 => "APP_THEME"], "method", false, false, false, 1)) . "/base.html.twig"), "front/theme1/page_activite.html.twig", 1);
}
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", "front/theme1/page_activite.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/theme1/page_activite.html.twig"));
$this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
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 4
echo " ";
$this->displayParentBlock("stylesheets", $context, $blocks);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 8
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 9
echo "
<div class=\"page_cms page_activite pt-5\">
<div class=\"breadcrumb-style-default\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-lg-12\">
<div class=\"inner text-center\">
";
// line 16
if ((array_key_exists("breadcrumb", $context) && !twig_test_empty((isset($context["breadcrumb"]) || array_key_exists("breadcrumb", $context) ? $context["breadcrumb"] : (function () { throw new RuntimeError('Variable "breadcrumb" does not exist.', 16, $this->source); })())))) {
// line 17
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $this->source, 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.', 17, $this->source); })()), "request", [], "any", false, false, false, 17), "server", [], "any", false, false, false, 17), "get", [0 => "APP_THEME"], "method", false, false, false, 17)) . "/partials/breadcrumb.html.twig"));
echo "
<h1 class=\"page-title\">";
// line 18
echo twig_escape_filter($this->env, (isset($context["titre_activite"]) || array_key_exists("titre_activite", $context) ? $context["titre_activite"] : (function () { throw new RuntimeError('Variable "titre_activite" does not exist.', 18, $this->source); })()), "html", null, true);
echo "</h1>
";
}
// line 20
echo " </div>
</div>
</div>
</div>
</div>
<div id=\"bloc-principal\" class=\"container-fluid wrapper\">
<div class=\"row\">
<div class=\"col-sm-12\">
<div class=\"my-4 text-page-ref\">
";
// line 31
if ((twig_get_attribute($this->env, $this->source, (isset($context["activite"]) || array_key_exists("activite", $context) ? $context["activite"] : (function () { throw new RuntimeError('Variable "activite" does not exist.', 31, $this->source); })()), "image", [], "any", false, false, false, 31) && !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["activite"]) || array_key_exists("activite", $context) ? $context["activite"] : (function () { throw new RuntimeError('Variable "activite" does not exist.', 31, $this->source); })()), "image", [], "any", false, false, false, 31)))) {
// line 32
echo " <div class=\"container-img\">
<img class=\"lazyload img-fluid principal-img \" data-srcset=\"";
// line 33
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env, $this->source, (isset($context["activite"]) || array_key_exists("activite", $context) ? $context["activite"] : (function () { throw new RuntimeError('Variable "activite" does not exist.', 33, $this->source); })()), "image", [], "any", false, false, false, 33)), "html", null, true);
echo "\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env, $this->source, (isset($context["activite"]) || array_key_exists("activite", $context) ? $context["activite"] : (function () { throw new RuntimeError('Variable "activite" does not exist.', 33, $this->source); })()), "image", [], "any", false, false, false, 33)), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["activite"]) || array_key_exists("activite", $context) ? $context["activite"] : (function () { throw new RuntimeError('Variable "activite" does not exist.', 33, $this->source); })()), "titreactivite", [], "any", false, false, false, 33), "html", null, true);
echo "\" />
</div>
";
}
// line 36
echo " <div>
<div ><h2>";
// line 37
echo twig_escape_filter($this->env, (isset($context["titre"]) || array_key_exists("titre", $context) ? $context["titre"] : (function () { throw new RuntimeError('Variable "titre" does not exist.', 37, $this->source); })()), "html", null, true);
echo "</h2></div>
";
// line 38
if (( !twig_test_empty((isset($context["texte"]) || array_key_exists("texte", $context) ? $context["texte"] : (function () { throw new RuntimeError('Variable "texte" does not exist.', 38, $this->source); })())) && ((isset($context["texte"]) || array_key_exists("texte", $context) ? $context["texte"] : (function () { throw new RuntimeError('Variable "texte" does not exist.', 38, $this->source); })()) != " "))) {
// line 39
echo " <div class=\"\"> ";
echo (isset($context["texte"]) || array_key_exists("texte", $context) ? $context["texte"] : (function () { throw new RuntimeError('Variable "texte" does not exist.', 39, $this->source); })());
echo " </div>
";
}
// line 41
echo " </div>
</div>
</div>
</div>
</div>
<div class=\"bg-pages-ref\">
";
// line 48
if ((array_key_exists("ref_pages", $context) && !twig_test_empty((isset($context["ref_pages"]) || array_key_exists("ref_pages", $context) ? $context["ref_pages"] : (function () { throw new RuntimeError('Variable "ref_pages" does not exist.', 48, $this->source); })())))) {
// line 49
echo " <section id=\"bloc-refs\" class=\"page-ref\">
<div class=\"container-fluid mt-3\">
<div class=\"row gx-5 py-2\">
<div class=\"col-sm-12 text-center\">
<h2 class=\"sub-title wow\">";
// line 53
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["parametreRef"] ?? null), "titreblocautreprestation", [], "any", true, true, false, 53)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["parametreRef"] ?? null), "titreblocautreprestation", [], "any", false, false, false, 53), "")) : ("")), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, (isset($context["titre"]) || array_key_exists("titre", $context) ? $context["titre"] : (function () { throw new RuntimeError('Variable "titre" does not exist.', 53, $this->source); })()), "html", null, true);
echo "</h2>
</div>
<div class=\"col-sm-12\">
<div class=\"list_blocs pos1\">
<div class=\"blocs\">
<section class=\"results dynam-affichage affichage1 type_affiche3 \">
";
// line 59
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["ref_pages"]) || array_key_exists("ref_pages", $context) ? $context["ref_pages"] : (function () { throw new RuntimeError('Variable "ref_pages" does not exist.', 59, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 60
echo " ";
$context["duree"] = 0.1;
// line 61
echo " ";
$context["image_item"] = (((twig_get_attribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 61) != null)) ? ($this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 61))) : (("uploads/images/" . twig_get_attribute($this->env, $this->source, (isset($context["parametre"]) || array_key_exists("parametre", $context) ? $context["parametre"] : (function () { throw new RuntimeError('Variable "parametre" does not exist.', 61, $this->source); })()), "imagevide", [], "any", false, false, false, 61))));
// line 62
echo " <div class=\"article wow zoomIn animated\" data-wow-delay=\"";
echo twig_escape_filter($this->env, (isset($context["duree"]) || array_key_exists("duree", $context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.', 62, $this->source); })()), "html", null, true);
echo "s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
<span class=\"article-image lazyloaded\" style=\"background-image: url(";
// line 63
echo twig_escape_filter($this->env, (isset($context["image_item"]) || array_key_exists("image_item", $context) ? $context["image_item"] : (function () { throw new RuntimeError('Variable "image_item" does not exist.', 63, $this->source); })()), "html", null, true);
echo "); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>
<span class=\"article-cnt\">
<a class=\"article-titre\" href=\"";
// line 65
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 65)]), "html", null, true);
echo "\" title=\"\" >";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 65), "html", null, true);
echo "</a>
<span class=\"article-txt\">
";
// line 67
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["item"], "summary", [], "any", false, false, false, 67))) {
// line 68
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["item"], "summary", [], "any", false, false, false, 68);
echo "
";
} else {
// line 70
echo " ";
echo $this->extensions['App\Twig\FunctionExtension']->cutTextFunction(twig_get_attribute($this->env, $this->source, $context["item"], "content", [], "any", false, false, false, 70));
echo "
";
}
// line 72
echo " </span>
<span class=\"article-bts\">
<button class=\"article-plus btn-fade\" onclick=\"window.open('";
// line 75
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 75)]), "html", null, true);
echo "', '_self');\" title=\"En savoir plus\">En savoir plus</button>
</span>
</span>
</div>
";
// line 80
$context["duree"] = ((isset($context["duree"]) || array_key_exists("duree", $context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.', 80, $this->source); })()) + 0.2);
// line 81
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 82
echo " </section>
</div>
</div>
</div>
</div>
</div>
</section>
";
}
// line 91
echo "
";
// line 92
if ((array_key_exists("actualites", $context) && !twig_test_empty((isset($context["actualites"]) || array_key_exists("actualites", $context) ? $context["actualites"] : (function () { throw new RuntimeError('Variable "actualites" does not exist.', 92, $this->source); })())))) {
// line 93
echo " <section id=\"bloc-sous-activites\" class=\"page-ref\">
<div class=\"container-fluid mt-3\">
<div class=\"row gx-5 py-2\">
<div class=\"col-sm-12 text-center\">
<h2 class=\"sub-title wow\">";
// line 97
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["parametreRef"] ?? null), "titreblocactualite", [], "any", true, true, false, 97)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["parametreRef"] ?? null), "titreblocactualite", [], "any", false, false, false, 97), "")) : ("")), "html", null, true);
echo "</h2>
</div>
<div class=\"col-sm-12\">
<div class=\"list_blocs pos1\">
<div class=\"blocs\">
<section class=\"results dynam-affichage affichage1 type_affiche3 \">
";
// line 103
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["actualites"]) || array_key_exists("actualites", $context) ? $context["actualites"] : (function () { throw new RuntimeError('Variable "actualites" does not exist.', 103, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 104
echo " ";
$context["duree"] = 0.1;
// line 105
echo " ";
$context["image_item"] = (((twig_get_attribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 105) != null)) ? ($this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 105))) : (("uploads/images/" . twig_get_attribute($this->env, $this->source, (isset($context["parametre"]) || array_key_exists("parametre", $context) ? $context["parametre"] : (function () { throw new RuntimeError('Variable "parametre" does not exist.', 105, $this->source); })()), "imagevide", [], "any", false, false, false, 105))));
// line 106
echo " <div class=\"article wow zoomIn animated\" data-wow-delay=\"";
echo twig_escape_filter($this->env, (isset($context["duree"]) || array_key_exists("duree", $context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.', 106, $this->source); })()), "html", null, true);
echo "s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
<span class=\"article-image lazyloaded\" style=\"background-image: url(";
// line 107
echo twig_escape_filter($this->env, (isset($context["image_item"]) || array_key_exists("image_item", $context) ? $context["image_item"] : (function () { throw new RuntimeError('Variable "image_item" does not exist.', 107, $this->source); })()), "html", null, true);
echo "); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>
<span class=\"article-cnt\">
<a class=\"article-titre\" href=\"";
// line 109
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 109)]), "html", null, true);
echo "\" title=\"\" >";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 109), "html", null, true);
echo "</a>
<span class=\"article-txt\">
";
// line 111
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["item"], "summary", [], "any", false, false, false, 111))) {
// line 112
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["item"], "summary", [], "any", false, false, false, 112);
echo "
";
} else {
// line 114
echo " ";
echo $this->extensions['App\Twig\FunctionExtension']->cutTextFunction(twig_get_attribute($this->env, $this->source, $context["item"], "content", [], "any", false, false, false, 114));
echo "
";
}
// line 116
echo " </span>
<span class=\"article-bts\">
<button class=\"article-plus btn-fade\" onclick=\"window.open('";
// line 118
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 118)]), "html", null, true);
echo "', '_self');\" title=\"En savoir plus\">En savoir plus</button>
</span>
</span>
</div>
";
// line 122
$context["duree"] = ((isset($context["duree"]) || array_key_exists("duree", $context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.', 122, $this->source); })()) + 0.2);
// line 123
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 124
echo " </section>
</div>
</div>
</div>
</div>
</div>
</section>
";
}
// line 133
echo "
";
// line 134
if ((array_key_exists("ref_pages_sous_activite", $context) && !twig_test_empty((isset($context["ref_pages_sous_activite"]) || array_key_exists("ref_pages_sous_activite", $context) ? $context["ref_pages_sous_activite"] : (function () { throw new RuntimeError('Variable "ref_pages_sous_activite" does not exist.', 134, $this->source); })())))) {
// line 135
echo " <section id=\"bloc-actualites\" class=\"page-ref\">
<div class=\"container-fluid mt-3\">
<div class=\"row gx-5 py-2\">
<div class=\"col-sm-12 text-center\">
<h2 class=\"sub-title wow\">Sous activités liées </h2>
</div>
<div class=\"col-sm-12\">
<div class=\"list_blocs pos1\">
<div class=\"blocs\">
<section class=\"results dynam-affichage affichage1 type_affiche3 \">
";
// line 145
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["ref_pages_sous_activite"]) || array_key_exists("ref_pages_sous_activite", $context) ? $context["ref_pages_sous_activite"] : (function () { throw new RuntimeError('Variable "ref_pages_sous_activite" does not exist.', 145, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 146
echo " ";
$context["duree"] = 0.1;
// line 147
echo " ";
$context["image_item"] = (((twig_get_attribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 147) != null)) ? ($this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 147))) : (("uploads/images/" . twig_get_attribute($this->env, $this->source, (isset($context["parametre"]) || array_key_exists("parametre", $context) ? $context["parametre"] : (function () { throw new RuntimeError('Variable "parametre" does not exist.', 147, $this->source); })()), "imagevide", [], "any", false, false, false, 147))));
// line 148
echo " <div class=\"article wow zoomIn animated\" data-wow-delay=\"";
echo twig_escape_filter($this->env, (isset($context["duree"]) || array_key_exists("duree", $context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.', 148, $this->source); })()), "html", null, true);
echo "s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
<span class=\"article-image lazyloaded\" style=\"background-image: url(";
// line 149
echo twig_escape_filter($this->env, (isset($context["image_item"]) || array_key_exists("image_item", $context) ? $context["image_item"] : (function () { throw new RuntimeError('Variable "image_item" does not exist.', 149, $this->source); })()), "html", null, true);
echo "); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>
<span class=\"article-cnt\">
<a class=\"article-titre\" href=\"";
// line 151
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 151)]), "html", null, true);
echo "\" title=\"\" >";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "titre", [], "any", false, false, false, 151), "html", null, true);
echo "</a>
<span class=\"article-txt\">
";
// line 153
echo $this->extensions['App\Twig\FunctionExtension']->cutTextFunction(twig_get_attribute($this->env, $this->source, $context["item"], "content", [], "any", false, false, false, 153));
echo "
</span>
<span class=\"article-bts\">
<button class=\"article-plus btn-fade\" onclick=\"window.open('";
// line 156
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 156)]), "html", null, true);
echo "', '_self');\" title=\"En savoir plus\">En savoir plus</button>
</span>
</span>
</div>
";
// line 160
$context["duree"] = ((isset($context["duree"]) || array_key_exists("duree", $context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.', 160, $this->source); })()) + 0.2);
// line 161
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 162
echo " </section>
</div>
</div>
</div>
</div>
</div>
</section>
";
}
// line 171
echo " </div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "front/theme1/page_activite.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 423 => 171, 412 => 162, 406 => 161, 404 => 160, 397 => 156, 391 => 153, 384 => 151, 379 => 149, 374 => 148, 371 => 147, 368 => 146, 364 => 145, 352 => 135, 350 => 134, 347 => 133, 336 => 124, 330 => 123, 328 => 122, 321 => 118, 317 => 116, 311 => 114, 305 => 112, 303 => 111, 296 => 109, 291 => 107, 286 => 106, 283 => 105, 280 => 104, 276 => 103, 267 => 97, 261 => 93, 259 => 92, 256 => 91, 245 => 82, 239 => 81, 237 => 80, 229 => 75, 224 => 72, 218 => 70, 212 => 68, 210 => 67, 203 => 65, 198 => 63, 193 => 62, 190 => 61, 187 => 60, 183 => 59, 172 => 53, 166 => 49, 164 => 48, 155 => 41, 149 => 39, 147 => 38, 143 => 37, 140 => 36, 130 => 33, 127 => 32, 125 => 31, 112 => 20, 107 => 18, 102 => 17, 100 => 16, 91 => 9, 81 => 8, 68 => 4, 58 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"front/\"~ app.request.server.get('APP_THEME') ~\"/base.html.twig\" %}
{% block stylesheets %}
{{parent()}}
{% endblock %}
{% block body %}
<div class=\"page_cms page_activite pt-5\">
<div class=\"breadcrumb-style-default\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-lg-12\">
<div class=\"inner text-center\">
{% if breadcrumb is defined and breadcrumb is not empty %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/breadcrumb.html.twig')}}
<h1 class=\"page-title\">{{titre_activite}}</h1>
{% endif %}
</div>
</div>
</div>
</div>
</div>
<div id=\"bloc-principal\" class=\"container-fluid wrapper\">
<div class=\"row\">
<div class=\"col-sm-12\">
<div class=\"my-4 text-page-ref\">
{% if activite.image and activite.image is not empty %}
<div class=\"container-img\">
<img class=\"lazyload img-fluid principal-img \" data-srcset=\"{{asset_image(activite.image)}}\" src=\"{{asset_image(activite.image)}}\" alt=\"{{activite.titreactivite}}\" />
</div>
{% endif %}
<div>
<div ><h2>{{titre}}</h2></div>
{% if texte is not empty and texte != \" \" %}
<div class=\"\"> {{texte|raw}} </div>
{% endif %}
</div>
</div>
</div>
</div>
</div>
<div class=\"bg-pages-ref\">
{% if ref_pages is defined and ref_pages is not empty %}
<section id=\"bloc-refs\" class=\"page-ref\">
<div class=\"container-fluid mt-3\">
<div class=\"row gx-5 py-2\">
<div class=\"col-sm-12 text-center\">
<h2 class=\"sub-title wow\">{{parametreRef.titreblocautreprestation|default('')}} {{titre}}</h2>
</div>
<div class=\"col-sm-12\">
<div class=\"list_blocs pos1\">
<div class=\"blocs\">
<section class=\"results dynam-affichage affichage1 type_affiche3 \">
{% for item in ref_pages %}
{% set duree = 0.1 %}
{% set image_item = item.image != null? asset_image(item.image):'uploads/images/' ~ parametre.imagevide %}
<div class=\"article wow zoomIn animated\" data-wow-delay=\"{{duree}}s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
<span class=\"article-image lazyloaded\" style=\"background-image: url({{image_item}}); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>
<span class=\"article-cnt\">
<a class=\"article-titre\" href=\"{{path('page',{slug:item.slug})}}\" title=\"\" >{{item.title}}</a>
<span class=\"article-txt\">
{% if item.summary is not empty %}
{{item.summary|raw}}
{% else %}
{{cutText(item.content)|raw}}
{% endif %}
</span>
<span class=\"article-bts\">
<button class=\"article-plus btn-fade\" onclick=\"window.open('{{path('page',{slug:item.slug})}}', '_self');\" title=\"En savoir plus\">En savoir plus</button>
</span>
</span>
</div>
{% set duree = duree + 0.2 %}
{% endfor %}
</section>
</div>
</div>
</div>
</div>
</div>
</section>
{% endif %}
{% if actualites is defined and actualites is not empty %}
<section id=\"bloc-sous-activites\" class=\"page-ref\">
<div class=\"container-fluid mt-3\">
<div class=\"row gx-5 py-2\">
<div class=\"col-sm-12 text-center\">
<h2 class=\"sub-title wow\">{{parametreRef.titreblocactualite|default('')}}</h2>
</div>
<div class=\"col-sm-12\">
<div class=\"list_blocs pos1\">
<div class=\"blocs\">
<section class=\"results dynam-affichage affichage1 type_affiche3 \">
{% for item in actualites %}
{% set duree = 0.1 %}
{% set image_item = item.image != null? asset_image(item.image):'uploads/images/' ~ parametre.imagevide %}
<div class=\"article wow zoomIn animated\" data-wow-delay=\"{{duree}}s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
<span class=\"article-image lazyloaded\" style=\"background-image: url({{image_item}}); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>
<span class=\"article-cnt\">
<a class=\"article-titre\" href=\"{{path('page',{slug:item.slug})}}\" title=\"\" >{{item.title}}</a>
<span class=\"article-txt\">
{% if item.summary is not empty %}
{{item.summary|raw}}
{% else %}
{{cutText(item.content)|raw}}
{% endif %}
</span>
<span class=\"article-bts\">
<button class=\"article-plus btn-fade\" onclick=\"window.open('{{path('page',{slug:item.slug})}}', '_self');\" title=\"En savoir plus\">En savoir plus</button>
</span>
</span>
</div>
{% set duree = duree + 0.2 %}
{% endfor %}
</section>
</div>
</div>
</div>
</div>
</div>
</section>
{% endif %}
{% if ref_pages_sous_activite is defined and ref_pages_sous_activite is not empty %}
<section id=\"bloc-actualites\" class=\"page-ref\">
<div class=\"container-fluid mt-3\">
<div class=\"row gx-5 py-2\">
<div class=\"col-sm-12 text-center\">
<h2 class=\"sub-title wow\">Sous activités liées </h2>
</div>
<div class=\"col-sm-12\">
<div class=\"list_blocs pos1\">
<div class=\"blocs\">
<section class=\"results dynam-affichage affichage1 type_affiche3 \">
{% for item in ref_pages_sous_activite %}
{% set duree = 0.1 %}
{% set image_item = item.image != null? asset_image(item.image):'uploads/images/' ~ parametre.imagevide %}
<div class=\"article wow zoomIn animated\" data-wow-delay=\"{{duree}}s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
<span class=\"article-image lazyloaded\" style=\"background-image: url({{image_item}}); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>
<span class=\"article-cnt\">
<a class=\"article-titre\" href=\"{{path('page',{slug:item.slug})}}\" title=\"\" >{{item.titre}}</a>
<span class=\"article-txt\">
{{cutText(item.content)|raw}}
</span>
<span class=\"article-bts\">
<button class=\"article-plus btn-fade\" onclick=\"window.open('{{path('page',{slug:item.slug})}}', '_self');\" title=\"En savoir plus\">En savoir plus</button>
</span>
</span>
</div>
{% set duree = duree + 0.2 %}
{% endfor %}
</section>
</div>
</div>
</div>
</div>
</div>
</section>
{% endif %}
</div>
</div>
{% endblock %}
", "front/theme1/page_activite.html.twig", "/var/www/vhosts/hrz.fr/oscar-multilangue.hrz.fr/templates/front/theme1/page_activite.html.twig");
}
}