<?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_ref.html.twig */
class __TwigTemplate_067cc8f6d9b2fcb6d1580b0de9e46269a24ccbda577b3253b47a0a7be80885b5 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'preload' => [$this, 'block_preload'],
'stylesheets' => [$this, 'block_stylesheets'],
'body' => [$this, 'block_body'],
'javascripts' => [$this, 'block_javascripts'],
];
}
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_ref.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_ref.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_ref.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_preload($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", "preload"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "preload"));
// line 4
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["post"] ?? null), "image", [], "any", true, true, false, 4) && !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 4, $this->source); })()), "image", [], "any", false, false, false, 4)))) {
// line 5
echo " ";
if (twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 5, $this->source); })()), "image", [], "any", false, false, false, 5)) {
// line 6
echo " <link rel=\"preload\" as=\"image\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 6, $this->source); })()), "image", [], "any", false, false, false, 6)), "html", null, true);
echo "\" />
";
}
// line 8
echo " ";
}
// line 9
echo "
";
// line 10
if ((array_key_exists("galleries", $context) && !twig_test_empty((isset($context["galleries"]) || array_key_exists("galleries", $context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.', 10, $this->source); })())))) {
// line 11
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["galleries"]) || array_key_exists("galleries", $context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.', 11, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 12
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["item"], "path", [], "any", true, true, false, 12)) {
// line 13
echo " <link rel=\"preload\" as=\"image\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ImagesExtenstion']->AssetImageGalleryFunction(twig_get_attribute($this->env, $this->source, $context["item"], "path", [], "any", false, false, false, 13)), "html", null, true);
echo "\" />
";
}
// line 15
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 16
echo " ";
}
// line 17
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 20
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 21
echo " ";
$this->displayParentBlock("stylesheets", $context, $blocks);
echo "
";
// line 22
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["modele_galerie"]) || array_key_exists("modele_galerie", $context) ? $context["modele_galerie"] : (function () { throw new RuntimeError('Variable "modele_galerie" does not exist.', 22, $this->source); })()), 0, [], "array", false, false, false, 22), "type", [], "any", false, false, false, 22) == 4)) {
// line 23
echo " <link rel=\"stylesheet\" type=\"text/css\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("templates/front/theme1/assets/plugins/flexslider/flexslider.css"), "html", null, true);
echo "\" media=\"screen\" >
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 27
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 28
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 35
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.', 35, $this->source); })())))) {
// line 36
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.', 36, $this->source); })()), "request", [], "any", false, false, false, 36), "server", [], "any", false, false, false, 36), "get", [0 => "APP_THEME"], "method", false, false, false, 36)) . "/partials/breadcrumb.html.twig"));
echo "
<h1 class=\"page-title\">";
// line 37
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_last($this->env, (isset($context["breadcrumb"]) || array_key_exists("breadcrumb", $context) ? $context["breadcrumb"] : (function () { throw new RuntimeError('Variable "breadcrumb" does not exist.', 37, $this->source); })())), "name", [], "any", false, false, false, 37), "html", null, true);
echo "</h1>
";
}
// line 39
echo " </div>
</div>
</div>
</div>
</div>
<div id=\"bloc-principal\" class=\"container-fluid wrapper mt-3\">
<div class=\"row gx-5 py-2\">
";
// line 47
if (( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 47, $this->source); })()), "summary", [], "any", false, false, false, 47)) && (twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 47, $this->source); })()), "summary", [], "any", false, false, false, 47) != ""))) {
// line 48
echo " <div class=\"col-sm-12 text-center\">
<h2 class=\"sub-title wow\">";
// line 49
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 49, $this->source); })()), "summary", [], "any", false, false, false, 49), "html", null, true);
echo "</h2>
</div>
";
}
// line 52
echo "
";
// line 53
if (( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 53, $this->source); })()), "content", [], "any", false, false, false, 53)) && (twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 53, $this->source); })()), "content", [], "any", false, false, false, 53) != ""))) {
// line 54
echo " <div class=\"col-lg-12 content_post\">
<div class=\"my-4 text-page-ref\">
";
// line 56
if ((twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 56, $this->source); })()), "image", [], "any", false, false, false, 56) && !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 56, $this->source); })()), "image", [], "any", false, false, false, 56)))) {
// line 57
echo " <div class=\"container-img\">
<img class=\"lazyload img-fluid principal-img \" data-srcset=\"";
// line 58
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 58, $this->source); })()), "image", [], "any", false, false, false, 58)), "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["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 58, $this->source); })()), "image", [], "any", false, false, false, 58)), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 58, $this->source); })()), "titre", [], "any", false, false, false, 58), "html", null, true);
echo "\" />
</div>
";
}
// line 61
echo " <div>
";
// line 62
if (( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 62, $this->source); })()), "content", [], "any", false, false, false, 62)) && (twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 62, $this->source); })()), "content", [], "any", false, false, false, 62) != " "))) {
// line 63
echo " <div class=\"\"> ";
echo twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 63, $this->source); })()), "content", [], "any", false, false, false, 63);
echo "</div>
";
}
// line 65
echo " </div>
</div>
";
// line 69
if ((twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 69, $this->source); })()), "typelien", [], "any", false, false, false, 69) == null)) {
// line 70
echo " ";
if ((array_key_exists("categorieTree", $context) && twig_get_attribute($this->env, $this->source, ($context["categorieTree"] ?? null), 0, [], "array", true, true, false, 70))) {
// line 71
echo " <div class=\"text-center py-2\">
<a href=\"";
// line 72
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["categorieTree"]) || array_key_exists("categorieTree", $context) ? $context["categorieTree"] : (function () { throw new RuntimeError('Variable "categorieTree" does not exist.', 72, $this->source); })()), 0, [], "array", false, false, false, 72), "slug", [], "any", false, false, false, 72)]), "html", null, true);
echo "\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">Retour à la liste ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["categorieTree"]) || array_key_exists("categorieTree", $context) ? $context["categorieTree"] : (function () { throw new RuntimeError('Variable "categorieTree" does not exist.', 72, $this->source); })()), 0, [], "array", false, false, false, 72), "titre", [], "any", false, false, false, 72), "html", null, true);
echo "</a>
</div>
";
}
// line 75
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 75, $this->source); })()), "typelien", [], "any", false, false, false, 75) != 1)) {
// line 76
echo " ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 76, $this->source); })()), "typelien", [], "any", false, false, false, 76) == "4")) {
// line 77
echo " <div class=\"text-center py-2\">
<a href=\"javascript:void(0)\" onclick=\"window.location.href = 'tel:";
// line 78
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 78, $this->source); })()), "telephone", [], "any", false, false, false, 78), "html", null, true);
echo "';\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 78, $this->source); })()), "titrelien", [], "any", false, false, false, 78), "html", null, true);
echo "</a>
</div>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 80
(isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 80, $this->source); })()), "typelien", [], "any", false, false, false, 80) == "2")) {
// line 81
echo " <div class=\"text-center py-2\">
<a href=\"";
// line 82
echo twig_escape_filter($this->env, $this->extensions['App\Twig\FunctionExtension']->slugLinkInterneFunction(twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 82, $this->source); })()), "lieninterne", [], "any", false, false, false, 82)), "html", null, true);
echo "\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 82, $this->source); })()), "titrelien", [], "any", false, false, false, 82), "html", null, true);
echo "</a>
</div>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 84
(isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 84, $this->source); })()), "typelien", [], "any", false, false, false, 84) == "3")) {
// line 85
echo " <div class=\"text-center py-2\">
<a href=\"";
// line 86
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 86, $this->source); })()), "lienexterne", [], "any", false, false, false, 86), "html", null, true);
echo "\" target=\"_blank\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 86, $this->source); })()), "titrelien", [], "any", false, false, false, 86), "html", null, true);
echo "</a>
</div>
";
}
// line 89
echo " ";
}
// line 90
echo "
";
// line 91
if (((isset($context["docs"]) || array_key_exists("docs", $context) ? $context["docs"] : (function () { throw new RuntimeError('Variable "docs" does not exist.', 91, $this->source); })()) && !twig_test_empty((isset($context["docs"]) || array_key_exists("docs", $context) ? $context["docs"] : (function () { throw new RuntimeError('Variable "docs" does not exist.', 91, $this->source); })())))) {
// line 92
echo " <div class=\"col-md-12 bloc-docs d-flex justify-content-center\">
";
// line 93
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["docs"]) || array_key_exists("docs", $context) ? $context["docs"] : (function () { throw new RuntimeError('Variable "docs" does not exist.', 93, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["doc"]) {
// line 94
echo " <a class=\"btn-back-pulse m-2\" href=\"";
echo twig_escape_filter($this->env, (((twig_get_attribute($this->env, $this->source, $context["doc"], "location", [], "any", false, false, false, 94) . twig_get_attribute($this->env, $this->source, $context["doc"], "path", [], "any", false, false, false, 94)) . "/") . twig_get_attribute($this->env, $this->source, $context["doc"], "fileName", [], "any", false, false, false, 94)), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_slice($this->env, twig_get_attribute($this->env, $this->source, $context["doc"], "fileName", [], "any", false, false, false, 94), 0, -4), "html", null, true);
echo "\" target=\"_blank\"><i class=\"fa fa-file-pdf-o mr-2\"></i>";
echo twig_escape_filter($this->env, twig_slice($this->env, twig_get_attribute($this->env, $this->source, $context["doc"], "fileName", [], "any", false, false, false, 94), 0, -4), "html", null, true);
echo "</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['doc'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 96
echo " </div>
";
}
// line 98
echo "
</div>
";
}
// line 102
echo " </div>
</div>
";
// line 105
if (((((isset($context["galleries"]) || array_key_exists("galleries", $context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.', 105, $this->source); })()) && !twig_test_empty((isset($context["galleries"]) || array_key_exists("galleries", $context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.', 105, $this->source); })()))) && array_key_exists("template_model_gallerie", $context)) && !twig_test_empty((isset($context["template_model_gallerie"]) || array_key_exists("template_model_gallerie", $context) ? $context["template_model_gallerie"] : (function () { throw new RuntimeError('Variable "template_model_gallerie" does not exist.', 105, $this->source); })())))) {
// line 106
echo " ";
echo twig_include($this->env, $context, twig_template_from_string($this->env, (isset($context["template_model_gallerie"]) || array_key_exists("template_model_gallerie", $context) ? $context["template_model_gallerie"] : (function () { throw new RuntimeError('Variable "template_model_gallerie" does not exist.', 106, $this->source); })())));
echo "
";
}
// line 108
echo "
";
// line 109
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 109, $this->source); })()), "urlvideo", [], "any", false, false, false, 109))) {
// line 110
echo " <div class=\"container-fluid wrapper mt-3\">
<div class=\"col-md-12 mt-1\">
<div class=\"video\">
";
// line 113
$context["id_video_externe"] = twig_get_attribute($this->env, $this->source, twig_split_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 113, $this->source); })()), "urlvideo", [], "any", false, false, false, 113), "?v="), 1, [], "array", false, false, false, 113);
// line 114
echo " <a class=\"video-thumbnail m-0\" href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 114, $this->source); })()), "urlvideo", [], "any", false, false, false, 114), "html", null, true);
echo "\" data-fancybox=\"video\">
<img src=\"https://img.youtube.com/vi/";
// line 115
echo twig_escape_filter($this->env, (isset($context["id_video_externe"]) || array_key_exists("id_video_externe", $context) ? $context["id_video_externe"] : (function () { throw new RuntimeError('Variable "id_video_externe" does not exist.', 115, $this->source); })()), "html", null, true);
echo "/maxresdefault.jpg\" class=\"img-fluid\" alt=\"\"/>
</a>
</div>
</div>
</div>
";
}
// line 121
echo "
";
// line 122
if (array_key_exists("blocs", $context)) {
// line 123
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["blocs"]) || array_key_exists("blocs", $context) ? $context["blocs"] : (function () { throw new RuntimeError('Variable "blocs" does not exist.', 123, $this->source); })()), "Bloc", [], "any", false, false, false, 123));
foreach ($context['_seq'] as $context["_key"] => $context["bloc"]) {
// line 124
echo " ";
if (($this->extensions['MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile() && (twig_get_attribute($this->env, $this->source, $context["bloc"], "mobile", [], "any", false, false, false, 124) == true))) {
// line 125
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.', 125, $this->source); })()), "request", [], "any", false, false, false, 125), "server", [], "any", false, false, false, 125), "get", [0 => "APP_THEME"], "method", false, false, false, 125)) . "/bloc/bloc.html.twig"), ["bloc" => // line 126
$context["bloc"]], false);
// line 127
echo "
";
}
// line 129
echo "
";
// line 130
if ((($this->extensions['MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isFullView() && ($this->extensions['MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile() == false)) && (twig_get_attribute($this->env, $this->source, $context["bloc"], "desktop", [], "any", false, false, false, 130) == true))) {
// line 131
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.', 131, $this->source); })()), "request", [], "any", false, false, false, 131), "server", [], "any", false, false, false, 131), "get", [0 => "APP_THEME"], "method", false, false, false, 131)) . "/bloc/bloc.html.twig"), ["bloc" => // line 132
$context["bloc"]], false);
// line 133
echo "
";
}
// line 135
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['bloc'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 136
echo " ";
}
echo "
<div class=\"bg-pages-ref\">
";
// line 141
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.', 141, $this->source); })())))) {
// line 142
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 146
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["parametreRef"] ?? null), "titreblocautreprestation", [], "any", true, true, false, 146)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["parametreRef"] ?? null), "titreblocautreprestation", [], "any", false, false, false, 146), "")) : ("")), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 146, $this->source); })()), "titre", [], "any", false, false, false, 146)), "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 152
$context["duree"] = 0.1;
// line 153
echo " ";
$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.', 153, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 154
echo " ";
$context["image_item"] = (((twig_get_attribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 154) != null)) ? ($this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 154))) : (("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.', 154, $this->source); })()), "imagevide", [], "any", false, false, false, 154))));
// line 155
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.', 155, $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 156
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.', 156, $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 158
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, 158)]), "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, 158), "html", null, true);
echo "</a>
<span class=\"article-txt\">
";
// line 160
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["item"], "summary", [], "any", false, false, false, 160))) {
// line 161
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["item"], "summary", [], "any", false, false, false, 161);
echo "
";
} else {
// line 163
echo " ";
echo $this->extensions['App\Twig\FunctionExtension']->cutTextFunction(twig_get_attribute($this->env, $this->source, $context["item"], "content", [], "any", false, false, false, 163));
echo "
";
}
// line 165
echo " </span>
<span class=\"article-bts\">
<button class=\"article-plus btn-fade\" onclick=\"window.open('";
// line 167
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, 167)]), "html", null, true);
echo "', '_self');\" title=\"En savoir plus\">En savoir plus</button>
</span>
</span>
</div>
";
// line 171
$context["duree"] = ((isset($context["duree"]) || array_key_exists("duree", $context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.', 171, $this->source); })()) + 0.2);
// line 172
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 173
echo " </section>
</div>
</div>
</div>
</div>
</div>
</section>
";
}
// line 182
echo "
";
// line 183
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.', 183, $this->source); })())))) {
// line 184
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 188
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["parametreRef"] ?? null), "titreblocsousactivite", [], "any", true, true, false, 188)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["parametreRef"] ?? null), "titreblocsousactivite", [], "any", false, false, false, 188), "")) : ("")), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["secteur"] ?? null), "titresecteur", [], "any", true, true, false, 188)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["secteur"] ?? null), "titresecteur", [], "any", false, false, false, 188), "")) : ("")), "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 194
$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.', 194, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 195
echo " ";
$context["duree"] = 0.1;
// line 196
echo " ";
$context["image_item"] = (((twig_get_attribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 196) != null)) ? ($this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 196))) : (("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.', 196, $this->source); })()), "imagevide", [], "any", false, false, false, 196))));
// line 197
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.', 197, $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 198
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.', 198, $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 200
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, 200)]), "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, 200), "html", null, true);
echo "</a>
<span class=\"article-txt\">
";
// line 202
echo $this->extensions['App\Twig\FunctionExtension']->cutTextFunction(twig_get_attribute($this->env, $this->source, $context["item"], "content", [], "any", false, false, false, 202));
echo "
</span>
<span class=\"article-bts\">
<button class=\"article-plus btn-fade\" onclick=\"window.open('";
// line 205
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, 205)]), "html", null, true);
echo "', '_self');\" title=\"En savoir plus\">En savoir plus</button>
</span>
</span>
</div>
";
// line 209
$context["duree"] = ((isset($context["duree"]) || array_key_exists("duree", $context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.', 209, $this->source); })()) + 0.2);
// line 210
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 211
echo " </section>
</div>
</div>
</div>
</div>
</div>
</section>
";
}
// line 220
echo "
";
// line 221
if ((array_key_exists("actualites_liee", $context) && !twig_test_empty((isset($context["actualites_liee"]) || array_key_exists("actualites_liee", $context) ? $context["actualites_liee"] : (function () { throw new RuntimeError('Variable "actualites_liee" does not exist.', 221, $this->source); })())))) {
// line 222
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\">";
// line 226
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["parametreRef"] ?? null), "titreblocactualite", [], "any", true, true, false, 226)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["parametreRef"] ?? null), "titreblocactualite", [], "any", false, false, false, 226), "")) : ("")), "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 232
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["actualites_liee"]) || array_key_exists("actualites_liee", $context) ? $context["actualites_liee"] : (function () { throw new RuntimeError('Variable "actualites_liee" does not exist.', 232, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 233
echo " ";
$context["duree"] = 0.1;
// line 234
echo " ";
$context["image_item"] = (((twig_get_attribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 234) != null)) ? ($this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 234))) : (("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.', 234, $this->source); })()), "imagevide", [], "any", false, false, false, 234))));
// line 235
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.', 235, $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 236
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.', 236, $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 238
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, 238)]), "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, 238), "html", null, true);
echo "</a>
<span class=\"article-txt\">
";
// line 240
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["item"], "summary", [], "any", false, false, false, 240))) {
// line 241
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["item"], "summary", [], "any", false, false, false, 241);
echo "
";
} else {
// line 243
echo " ";
echo $this->extensions['App\Twig\FunctionExtension']->cutTextFunction(twig_get_attribute($this->env, $this->source, $context["item"], "content", [], "any", false, false, false, 243));
echo "
";
}
// line 245
echo " </span>
<span class=\"article-bts\">
<button class=\"article-plus btn-fade\" onclick=\"window.open('";
// line 247
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, 247)]), "html", null, true);
echo "', '_self');\" title=\"En savoir plus\">En savoir plus</button>
</span>
</span>
</div>
";
// line 251
$context["duree"] = ((isset($context["duree"]) || array_key_exists("duree", $context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.', 251, $this->source); })()) + 0.2);
// line 252
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 253
echo " </section>
</div>
</div>
</div>
</div>
</div>
</section>
";
}
// line 262
echo " </div>
<div class=\"container-fluid wrapper mt-3\">
";
// line 265
if (((array_key_exists("next_article", $context) && !twig_test_empty((isset($context["next_article"]) || array_key_exists("next_article", $context) ? $context["next_article"] : (function () { throw new RuntimeError('Variable "next_article" does not exist.', 265, $this->source); })()))) || (array_key_exists("prev_article", $context) && !twig_test_empty((isset($context["prev_article"]) || array_key_exists("prev_article", $context) ? $context["prev_article"] : (function () { throw new RuntimeError('Variable "prev_article" does not exist.', 265, $this->source); })()))))) {
// line 266
echo " <div class=\"row gx-5 py-4\">
<div class=\"col-lg-12 d-flex justify-content-between\">
<div class=\"\">
";
// line 269
if ((array_key_exists("prev_article", $context) && !twig_test_empty((isset($context["prev_article"]) || array_key_exists("prev_article", $context) ? $context["prev_article"] : (function () { throw new RuntimeError('Variable "prev_article" does not exist.', 269, $this->source); })())))) {
// line 270
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env, $this->source, (isset($context["prev_article"]) || array_key_exists("prev_article", $context) ? $context["prev_article"] : (function () { throw new RuntimeError('Variable "prev_article" does not exist.', 270, $this->source); })()), "slug", [], "any", false, false, false, 270)]), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["prev_article"]) || array_key_exists("prev_article", $context) ? $context["prev_article"] : (function () { throw new RuntimeError('Variable "prev_article" does not exist.', 270, $this->source); })()), "title", [], "any", false, false, false, 270), "html", null, true);
echo "\"><span class=\"signe1\"><i class=\"fa fa-arrow-left\"></i></span> ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["prev_article"]) || array_key_exists("prev_article", $context) ? $context["prev_article"] : (function () { throw new RuntimeError('Variable "prev_article" does not exist.', 270, $this->source); })()), "title", [], "any", false, false, false, 270), "html", null, true);
echo "</a>
";
}
// line 272
echo " </div>
<div class=\"\">
";
// line 274
if ((array_key_exists("next_article", $context) && !twig_test_empty((isset($context["next_article"]) || array_key_exists("next_article", $context) ? $context["next_article"] : (function () { throw new RuntimeError('Variable "next_article" does not exist.', 274, $this->source); })())))) {
// line 275
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env, $this->source, (isset($context["next_article"]) || array_key_exists("next_article", $context) ? $context["next_article"] : (function () { throw new RuntimeError('Variable "next_article" does not exist.', 275, $this->source); })()), "slug", [], "any", false, false, false, 275)]), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["next_article"]) || array_key_exists("next_article", $context) ? $context["next_article"] : (function () { throw new RuntimeError('Variable "next_article" does not exist.', 275, $this->source); })()), "title", [], "any", false, false, false, 275), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["next_article"]) || array_key_exists("next_article", $context) ? $context["next_article"] : (function () { throw new RuntimeError('Variable "next_article" does not exist.', 275, $this->source); })()), "title", [], "any", false, false, false, 275), "html", null, true);
echo " <span class=\"signe1\"><i class=\"fa fa-arrow-right\"></i></span></a>
";
}
// line 277
echo " </div>
</div>
</div>
";
}
// line 281
echo " </div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 286
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 287
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js\"></script>
";
// line 291
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["modele_galerie"]) || array_key_exists("modele_galerie", $context) ? $context["modele_galerie"] : (function () { throw new RuntimeError('Variable "modele_galerie" does not exist.', 291, $this->source); })()), 0, [], "array", false, false, false, 291), "type", [], "any", false, false, false, 291) == 4)) {
// line 292
echo " <script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("templates/front/theme1/assets/plugins/flexslider/jquery.flexslider.js"), "html", null, true);
echo "\" ></script>
<script>
/*-------------------------------------------------*/
/* = Sx flexslider
/*-------------------------------------------------*/
if (\$(\".sx_flexslider\").length) {
\$('.flex-carousel').flexslider({
animation: \"slide\",
controlNav: false,
animationLoop: true,
slideshow: false,
itemWidth: 150,
asNavFor: '.flex-slider'
});
\$('.flex-slider').flexslider({
animation: \"slide\",
controlNav: false,
animationLoop: true,
slideshow: false,
sync: \".flex-carousel\"
});
}
</script>
";
}
// line 316
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "front/theme1/page_ref.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 800 => 316, 772 => 292, 770 => 291, 762 => 287, 752 => 286, 739 => 281, 733 => 277, 723 => 275, 721 => 274, 717 => 272, 707 => 270, 705 => 269, 700 => 266, 698 => 265, 693 => 262, 682 => 253, 676 => 252, 674 => 251, 667 => 247, 663 => 245, 657 => 243, 651 => 241, 649 => 240, 642 => 238, 637 => 236, 632 => 235, 629 => 234, 626 => 233, 622 => 232, 613 => 226, 607 => 222, 605 => 221, 602 => 220, 591 => 211, 585 => 210, 583 => 209, 576 => 205, 570 => 202, 563 => 200, 558 => 198, 553 => 197, 550 => 196, 547 => 195, 543 => 194, 532 => 188, 526 => 184, 524 => 183, 521 => 182, 510 => 173, 504 => 172, 502 => 171, 495 => 167, 491 => 165, 485 => 163, 479 => 161, 477 => 160, 470 => 158, 465 => 156, 460 => 155, 457 => 154, 452 => 153, 450 => 152, 439 => 146, 433 => 142, 431 => 141, 422 => 136, 416 => 135, 412 => 133, 410 => 132, 408 => 131, 406 => 130, 403 => 129, 399 => 127, 397 => 126, 395 => 125, 392 => 124, 387 => 123, 385 => 122, 382 => 121, 373 => 115, 368 => 114, 366 => 113, 361 => 110, 359 => 109, 356 => 108, 350 => 106, 348 => 105, 343 => 102, 337 => 98, 333 => 96, 320 => 94, 316 => 93, 313 => 92, 311 => 91, 308 => 90, 305 => 89, 297 => 86, 294 => 85, 292 => 84, 285 => 82, 282 => 81, 280 => 80, 273 => 78, 270 => 77, 267 => 76, 264 => 75, 256 => 72, 253 => 71, 250 => 70, 248 => 69, 242 => 65, 236 => 63, 234 => 62, 231 => 61, 221 => 58, 218 => 57, 216 => 56, 212 => 54, 210 => 53, 207 => 52, 201 => 49, 198 => 48, 196 => 47, 186 => 39, 181 => 37, 176 => 36, 174 => 35, 165 => 28, 155 => 27, 141 => 23, 139 => 22, 134 => 21, 124 => 20, 113 => 17, 110 => 16, 104 => 15, 98 => 13, 95 => 12, 90 => 11, 88 => 10, 85 => 9, 82 => 8, 76 => 6, 73 => 5, 70 => 4, 60 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"front/\"~ app.request.server.get('APP_THEME') ~\"/base.html.twig\" %}
{% block preload %}
{% if post.image is defined and post.image is not empty %}
{% if post.image %}
<link rel=\"preload\" as=\"image\" href=\"{{asset_image(post.image)}}\" />
{% endif %}
{% endif %}
{% if galleries is defined and galleries is not empty %}
{% for item in galleries %}
{% if item.path is defined %}
<link rel=\"preload\" as=\"image\" href=\"{{asset_image_gallery(item.path)}}\" />
{% endif %}
{% endfor %}
{% endif %}
{% endblock %}
{% block stylesheets %}
{{parent()}}
{% if modele_galerie[0].type == 4 %}
<link rel=\"stylesheet\" type=\"text/css\" href=\"{{asset('templates/front/theme1/assets/plugins/flexslider/flexslider.css')}}\" media=\"screen\" >
{% endif %}
{% 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\">{{breadcrumb|last.name}}</h1>
{% endif %}
</div>
</div>
</div>
</div>
</div>
<div id=\"bloc-principal\" class=\"container-fluid wrapper mt-3\">
<div class=\"row gx-5 py-2\">
{% if post.summary is not empty and post.summary != \"\" %}
<div class=\"col-sm-12 text-center\">
<h2 class=\"sub-title wow\">{{post.summary}}</h2>
</div>
{% endif %}
{% if post.content is not empty and post.content != \"\" %}
<div class=\"col-lg-12 content_post\">
<div class=\"my-4 text-page-ref\">
{% if post.image and post.image is not empty %}
<div class=\"container-img\">
<img class=\"lazyload img-fluid principal-img \" data-srcset=\"{{asset_image(post.image)}}\" src=\"{{asset_image(post.image)}}\" alt=\"{{post.titre}}\" />
</div>
{% endif %}
<div>
{% if post.content is not empty and post.content != \" \" %}
<div class=\"\"> {{post.content|raw}}</div>
{% endif %}
</div>
</div>
{% if post.typelien == null %}
{% if categorieTree is defined and categorieTree[0] is defined %}
<div class=\"text-center py-2\">
<a href=\"{{path('page',{slug:categorieTree[0].slug})}}\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">Retour à la liste {{categorieTree[0].titre}}</a>
</div>
{% endif %}
{% elseif post.typelien != 1 %}
{% if post.typelien == '4' %}
<div class=\"text-center py-2\">
<a href=\"javascript:void(0)\" onclick=\"window.location.href = 'tel:{{post.telephone}}';\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">{{post.titrelien}}</a>
</div>
{% elseif post.typelien == '2' %}
<div class=\"text-center py-2\">
<a href=\"{{slug_link_interne(post.lieninterne)}}\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">{{post.titrelien}}</a>
</div>
{% elseif post.typelien == '3' %}
<div class=\"text-center py-2\">
<a href=\"{{post.lienexterne}}\" target=\"_blank\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">{{post.titrelien}}</a>
</div>
{% endif %}
{% endif %}
{% if docs and docs is not empty %}
<div class=\"col-md-12 bloc-docs d-flex justify-content-center\">
{% for doc in docs %}
<a class=\"btn-back-pulse m-2\" href=\"{{doc.location ~ doc.path ~ '/' ~ doc.fileName}}\" title=\"{{doc.fileName|slice(0, -4)}}\" target=\"_blank\"><i class=\"fa fa-file-pdf-o mr-2\"></i>{{doc.fileName|slice(0, -4)}}</a>
{% endfor %}
</div>
{% endif %}
</div>
{% endif %}
</div>
</div>
{% if galleries and galleries is not empty and template_model_gallerie is defined and template_model_gallerie is not empty %}
{{ include(template_from_string(template_model_gallerie)) }}
{% endif %}
{% if post.urlvideo is not empty %}
<div class=\"container-fluid wrapper mt-3\">
<div class=\"col-md-12 mt-1\">
<div class=\"video\">
{% set id_video_externe = post.urlvideo|split('?v=')[1] %}
<a class=\"video-thumbnail m-0\" href=\"{{post.urlvideo}}\" data-fancybox=\"video\">
<img src=\"https://img.youtube.com/vi/{{id_video_externe}}/maxresdefault.jpg\" class=\"img-fluid\" alt=\"\"/>
</a>
</div>
</div>
</div>
{% endif %}
{% if blocs is defined %}
{% for bloc in blocs.Bloc %}
{% if is_mobile() and bloc.mobile == true %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/bloc/bloc.html.twig',{
bloc: bloc,
}, with_context = false)}}
{% endif %}
{% if is_full_view() and is_mobile() == false and bloc.desktop == true %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/bloc/bloc.html.twig',{
bloc: bloc,
}, with_context = false)}}
{% endif %}
{% endfor %}
{% endif %}
<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('')}} {{post.titre|lower}} </h2>
</div>
<div class=\"col-sm-12\">
<div class=\"list_blocs pos1\">
<div class=\"blocs\">
<section class=\"results dynam-affichage affichage1 type_affiche3 \">
{% set duree = 0.1 %}
{% for item in ref_pages %}
{% 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-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.titreblocsousactivite|default('')}} {{secteur.titresecteur|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 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 %}
{% if actualites_liee is defined and actualites_liee 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\">{{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_liee %}
{% 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 %}
</div>
<div class=\"container-fluid wrapper mt-3\">
{% if next_article is defined and next_article is not empty or prev_article is defined and prev_article is not empty %}
<div class=\"row gx-5 py-4\">
<div class=\"col-lg-12 d-flex justify-content-between\">
<div class=\"\">
{% if prev_article is defined and prev_article is not empty %}
<a href=\"{{path('page',{'slug':prev_article.slug})}}\" title=\"{{prev_article.title}}\"><span class=\"signe1\"><i class=\"fa fa-arrow-left\"></i></span> {{prev_article.title}}</a>
{% endif %}
</div>
<div class=\"\">
{% if next_article is defined and next_article is not empty %}
<a href=\"{{path('page',{'slug':next_article.slug})}}\" title=\"{{next_article.title}}\">{{next_article.title}} <span class=\"signe1\"><i class=\"fa fa-arrow-right\"></i></span></a>
{% endif %}
</div>
</div>
</div>
{% endif %}
</div>
</div>
{% endblock %}
{% block javascripts %}
{{parent()}}
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js\"></script>
{% if modele_galerie[0].type == 4 %}
<script src=\"{{asset('templates/front/theme1/assets/plugins/flexslider/jquery.flexslider.js')}}\" ></script>
<script>
/*-------------------------------------------------*/
/* = Sx flexslider
/*-------------------------------------------------*/
if (\$(\".sx_flexslider\").length) {
\$('.flex-carousel').flexslider({
animation: \"slide\",
controlNav: false,
animationLoop: true,
slideshow: false,
itemWidth: 150,
asNavFor: '.flex-slider'
});
\$('.flex-slider').flexslider({
animation: \"slide\",
controlNav: false,
animationLoop: true,
slideshow: false,
sync: \".flex-carousel\"
});
}
</script>
{% endif %}
{% endblock %}
", "front/theme1/page_ref.html.twig", "/var/www/vhosts/hrz.fr/oscar-multilangue.hrz.fr/templates/front/theme1/page_ref.html.twig");
}
}