var/cache/dev/twig/58/58f0d4791d679cd6ec6a79cd2e1c2a41cb8ce5d853a86e20473137ae9b9a2043.php line 41

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* front/theme1/page_ref.html.twig */
  14. class __TwigTemplate_067cc8f6d9b2fcb6d1580b0de9e46269a24ccbda577b3253b47a0a7be80885b5 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'preload' => [$this'block_preload'],
  24.             'stylesheets' => [$this'block_stylesheets'],
  25.             'body' => [$this'block_body'],
  26.             'javascripts' => [$this'block_javascripts'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return $this->loadTemplate((("front/" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse1), "server", [], "any"falsefalsefalse1), "get", [=> "APP_THEME"], "method"falsefalsefalse1)) . "/base.html.twig"), "front/theme1/page_ref.html.twig"1);
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/theme1/page_ref.html.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/theme1/page_ref.html.twig"));
  41.         $this->getParent($context)->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 3
  48.     public function block_preload($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""preload"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""preload"));
  55.         // line 4
  56.         echo "    ";
  57.         if ((twig_get_attribute($this->env$this->source, ($context["post"] ?? null), "image", [], "any"truetruefalse4) &&  !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"falsefalsefalse4)))) {
  58.             // line 5
  59.             echo "        ";
  60.             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"falsefalsefalse5)) {
  61.                 // line 6
  62.                 echo "            <link rel=\"preload\" as=\"image\" href=\"";
  63.                 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"falsefalsefalse6)), "html"nulltrue);
  64.                 echo "\" />
  65.         ";
  66.             }
  67.             // line 8
  68.             echo "    ";
  69.         }
  70.         // line 9
  71.         echo "
  72.      ";
  73.         // line 10
  74.         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); })())))) {
  75.             // line 11
  76.             echo "           ";
  77.             $context['_parent'] = $context;
  78.             $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); })()));
  79.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  80.                 // line 12
  81.                 echo "                ";
  82.                 if (twig_get_attribute($this->env$this->source$context["item"], "path", [], "any"truetruefalse12)) {
  83.                     // line 13
  84.                     echo "                    <link rel=\"preload\" as=\"image\" href=\"";
  85.                     echo twig_escape_filter($this->env$this->extensions['App\Twig\ImagesExtenstion']->AssetImageGalleryFunction(twig_get_attribute($this->env$this->source$context["item"], "path", [], "any"falsefalsefalse13)), "html"nulltrue);
  86.                     echo "\" />
  87.                 ";
  88.                 }
  89.                 // line 15
  90.                 echo "           ";
  91.             }
  92.             $_parent $context['_parent'];
  93.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  94.             $context array_intersect_key($context$_parent) + $_parent;
  95.             // line 16
  96.             echo "    ";
  97.         }
  98.         // line 17
  99.         echo "
  100. ";
  101.         
  102.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  103.         
  104.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  105.     }
  106.     // line 20
  107.     public function block_stylesheets($context, array $blocks = [])
  108.     {
  109.         $macros $this->macros;
  110.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  111.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  112.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  113.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  114.         // line 21
  115.         echo "    ";
  116.         $this->displayParentBlock("stylesheets"$context$blocks);
  117.         echo "
  118.     ";
  119.         // line 22
  120.         if ((twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse22), "type", [], "any"falsefalsefalse22) == 4)) {
  121.             // line 23
  122.             echo "        <link rel=\"stylesheet\" type=\"text/css\" href=\"";
  123.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("templates/front/theme1/assets/plugins/flexslider/flexslider.css"), "html"nulltrue);
  124.             echo "\" media=\"screen\" >
  125.     ";
  126.         }
  127.         
  128.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  129.         
  130.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  131.     }
  132.     // line 27
  133.     public function block_body($context, array $blocks = [])
  134.     {
  135.         $macros $this->macros;
  136.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  137.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  138.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  139.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  140.         // line 28
  141.         echo "
  142.     <div class=\"page_cms page_activite pt-5\">
  143.         <div class=\"breadcrumb-style-default\">
  144.             <div class=\"container\">
  145.                 <div class=\"row\">
  146.                     <div class=\"col-lg-12\">
  147.                         <div class=\"inner text-center\">
  148.                             ";
  149.         // line 35
  150.         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); })())))) {
  151.             // line 36
  152.             echo "                                ";
  153.             echo twig_include($this->env$context, (("front/" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse36), "server", [], "any"falsefalsefalse36), "get", [=> "APP_THEME"], "method"falsefalsefalse36)) . "/partials/breadcrumb.html.twig"));
  154.             echo "
  155.                                 <h1 class=\"page-title\">";
  156.             // line 37
  157.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse37), "html"nulltrue);
  158.             echo "</h1>
  159.                             ";
  160.         }
  161.         // line 39
  162.         echo "                        </div>
  163.                     </div>
  164.                 </div>
  165.             </div>
  166.         </div>
  167.         <div id=\"bloc-principal\" class=\"container-fluid wrapper mt-3\">
  168.             <div  class=\"row gx-5 py-2\">
  169.                 ";
  170.         // line 47
  171.         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"falsefalsefalse47)) && (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"falsefalsefalse47) != ""))) {
  172.             // line 48
  173.             echo "                    <div class=\"col-sm-12 text-center\">
  174.                         <h2 class=\"sub-title wow\">";
  175.             // line 49
  176.             echo twig_escape_filter($this->envtwig_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"falsefalsefalse49), "html"nulltrue);
  177.             echo "</h2>
  178.                     </div>
  179.                 ";
  180.         }
  181.         // line 52
  182.         echo "                
  183.                 ";
  184.         // line 53
  185.         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"falsefalsefalse53)) && (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"falsefalsefalse53) != ""))) {
  186.             // line 54
  187.             echo "                    <div class=\"col-lg-12 content_post\">
  188.                         <div class=\"my-4 text-page-ref\">
  189.                             ";
  190.             // line 56
  191.             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"falsefalsefalse56) &&  !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"falsefalsefalse56)))) {
  192.                 // line 57
  193.                 echo "                                <div class=\"container-img\">
  194.                                     <img class=\"lazyload img-fluid principal-img \" data-srcset=\"";
  195.                 // line 58
  196.                 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"falsefalsefalse58)), "html"nulltrue);
  197.                 echo "\" src=\"";
  198.                 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"falsefalsefalse58)), "html"nulltrue);
  199.                 echo "\" alt=\"";
  200.                 echo twig_escape_filter($this->envtwig_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"falsefalsefalse58), "html"nulltrue);
  201.                 echo "\" />
  202.                                 </div>
  203.                             ";
  204.             }
  205.             // line 61
  206.             echo "                            <div>
  207.                                 ";
  208.             // line 62
  209.             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"falsefalsefalse62)) && (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"falsefalsefalse62) != " "))) {
  210.                 // line 63
  211.                 echo "                                    <div class=\"\"> ";
  212.                 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"falsefalsefalse63);
  213.                 echo "</div>
  214.                                 ";
  215.             }
  216.             // line 65
  217.             echo "                            </div>
  218.                         </div>
  219.                       
  220.                         ";
  221.             // line 69
  222.             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"falsefalsefalse69) == null)) {
  223.                 // line 70
  224.                 echo "                            ";
  225.                 if ((array_key_exists("categorieTree"$context) && twig_get_attribute($this->env$this->source, ($context["categorieTree"] ?? null), 0, [], "array"truetruefalse70))) {
  226.                     // line 71
  227.                     echo "                                <div class=\"text-center py-2\">
  228.                                     <a href=\"";
  229.                     // line 72
  230.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse72), "slug", [], "any"falsefalsefalse72)]), "html"nulltrue);
  231.                     echo "\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">Retour Ã  la liste ";
  232.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse72), "titre", [], "any"falsefalsefalse72), "html"nulltrue);
  233.                     echo "</a>
  234.                                 </div>
  235.                             ";
  236.                 }
  237.                 // line 75
  238.                 echo "                        ";
  239.             } 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"falsefalsefalse75) != 1)) {
  240.                 // line 76
  241.                 echo "                                ";
  242.                 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"falsefalsefalse76) == "4")) {
  243.                     // line 77
  244.                     echo "                                    <div class=\"text-center py-2\">
  245.                                         <a href=\"javascript:void(0)\" onclick=\"window.location.href = 'tel:";
  246.                     // line 78
  247.                     echo twig_escape_filter($this->envtwig_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"falsefalsefalse78), "html"nulltrue);
  248.                     echo "';\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">";
  249.                     echo twig_escape_filter($this->envtwig_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"falsefalsefalse78), "html"nulltrue);
  250.                     echo "</a>
  251.                                     </div>
  252.                                 ";
  253.                 } elseif ((twig_get_attribute($this->env$this->source,                 // line 80
  254. (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'80$this->source); })()), "typelien", [], "any"falsefalsefalse80) == "2")) {
  255.                     // line 81
  256.                     echo "                                    <div class=\"text-center py-2\">
  257.                                         <a href=\"";
  258.                     // line 82
  259.                     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"falsefalsefalse82)), "html"nulltrue);
  260.                     echo "\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">";
  261.                     echo twig_escape_filter($this->envtwig_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"falsefalsefalse82), "html"nulltrue);
  262.                     echo "</a>
  263.                                     </div>
  264.                                 ";
  265.                 } elseif ((twig_get_attribute($this->env$this->source,                 // line 84
  266. (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'84$this->source); })()), "typelien", [], "any"falsefalsefalse84) == "3")) {
  267.                     // line 85
  268.                     echo "                                    <div class=\"text-center py-2\">
  269.                                         <a href=\"";
  270.                     // line 86
  271.                     echo twig_escape_filter($this->envtwig_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"falsefalsefalse86), "html"nulltrue);
  272.                     echo "\" target=\"_blank\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">";
  273.                     echo twig_escape_filter($this->envtwig_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"falsefalsefalse86), "html"nulltrue);
  274.                     echo "</a>
  275.                                     </div>
  276.                                 ";
  277.                 }
  278.                 // line 89
  279.                 echo "                        ";
  280.             }
  281.             // line 90
  282.             echo "
  283.                         ";
  284.             // line 91
  285.             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); })())))) {
  286.                 // line 92
  287.                 echo "                            <div class=\"col-md-12 bloc-docs d-flex justify-content-center\">
  288.                                 ";
  289.                 // line 93
  290.                 $context['_parent'] = $context;
  291.                 $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); })()));
  292.                 foreach ($context['_seq'] as $context["_key"] => $context["doc"]) {
  293.                     // line 94
  294.                     echo "                                    <a class=\"btn-back-pulse m-2\" href=\"";
  295.                     echo twig_escape_filter($this->env, (((twig_get_attribute($this->env$this->source$context["doc"], "location", [], "any"falsefalsefalse94) . twig_get_attribute($this->env$this->source$context["doc"], "path", [], "any"falsefalsefalse94)) . "/") . twig_get_attribute($this->env$this->source$context["doc"], "fileName", [], "any"falsefalsefalse94)), "html"nulltrue);
  296.                     echo "\" title=\"";
  297.                     echo twig_escape_filter($this->envtwig_slice($this->envtwig_get_attribute($this->env$this->source$context["doc"], "fileName", [], "any"falsefalsefalse94), 0,  -4), "html"nulltrue);
  298.                     echo "\" target=\"_blank\"><i class=\"fa fa-file-pdf-o mr-2\"></i>";
  299.                     echo twig_escape_filter($this->envtwig_slice($this->envtwig_get_attribute($this->env$this->source$context["doc"], "fileName", [], "any"falsefalsefalse94), 0,  -4), "html"nulltrue);
  300.                     echo "</a>   
  301.                                 ";
  302.                 }
  303.                 $_parent $context['_parent'];
  304.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['doc'], $context['_parent'], $context['loop']);
  305.                 $context array_intersect_key($context$_parent) + $_parent;
  306.                 // line 96
  307.                 echo "                            </div>
  308.                         ";
  309.             }
  310.             // line 98
  311.             echo "
  312.                     </div>
  313.                 ";
  314.         }
  315.         // line 102
  316.         echo "            </div>
  317.         </div>
  318.         ";
  319.         // line 105
  320.         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); })())))) {
  321.             // line 106
  322.             echo "            ";
  323.             echo twig_include($this->env$contexttwig_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); })())));
  324.             echo "
  325.         ";
  326.         }
  327.         // line 108
  328.         echo "
  329.         ";
  330.         // line 109
  331.         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"falsefalsefalse109))) {
  332.             // line 110
  333.             echo "            <div class=\"container-fluid wrapper mt-3\">
  334.                 <div class=\"col-md-12 mt-1\">
  335.                     <div class=\"video\">
  336.                         ";
  337.             // line 113
  338.             $context["id_video_externe"] = twig_get_attribute($this->env$this->sourcetwig_split_filter($this->envtwig_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"falsefalsefalse113), "?v="), 1, [], "array"falsefalsefalse113);
  339.             // line 114
  340.             echo "                        <a class=\"video-thumbnail m-0\" href=\"";
  341.             echo twig_escape_filter($this->envtwig_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"falsefalsefalse114), "html"nulltrue);
  342.             echo "\" data-fancybox=\"video\">
  343.                             <img src=\"https://img.youtube.com/vi/";
  344.             // line 115
  345.             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"nulltrue);
  346.             echo "/maxresdefault.jpg\" class=\"img-fluid\" alt=\"\"/>
  347.                         </a>
  348.                     </div>
  349.                 </div>
  350.             </div>
  351.         ";
  352.         }
  353.         // line 121
  354.         echo "
  355.         ";
  356.         // line 122
  357.         if (array_key_exists("blocs"$context)) {
  358.             // line 123
  359.             echo "            ";
  360.             $context['_parent'] = $context;
  361.             $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"falsefalsefalse123));
  362.             foreach ($context['_seq'] as $context["_key"] => $context["bloc"]) {
  363.                 // line 124
  364.                 echo "                ";
  365.                 if (($this->extensions['MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile() && (twig_get_attribute($this->env$this->source$context["bloc"], "mobile", [], "any"falsefalsefalse124) == true))) {
  366.                     // line 125
  367.                     echo "                    ";
  368.                     echo twig_include($this->env$context, (("front/" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse125), "server", [], "any"falsefalsefalse125), "get", [=> "APP_THEME"], "method"falsefalsefalse125)) . "/bloc/bloc.html.twig"), ["bloc" =>                     // line 126
  369. $context["bloc"]], false);
  370.                     // line 127
  371.                     echo "
  372.                 ";
  373.                 }
  374.                 // line 129
  375.                 echo "                
  376.                 ";
  377.                 // line 130
  378.                 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"falsefalsefalse130) == true))) {
  379.                     // line 131
  380.                     echo "                    ";
  381.                     echo twig_include($this->env$context, (("front/" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse131), "server", [], "any"falsefalsefalse131), "get", [=> "APP_THEME"], "method"falsefalsefalse131)) . "/bloc/bloc.html.twig"), ["bloc" =>                     // line 132
  382. $context["bloc"]], false);
  383.                     // line 133
  384.                     echo "
  385.                 ";
  386.                 }
  387.                 // line 135
  388.                 echo "            ";
  389.             }
  390.             $_parent $context['_parent'];
  391.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['bloc'], $context['_parent'], $context['loop']);
  392.             $context array_intersect_key($context$_parent) + $_parent;
  393.             // line 136
  394.             echo "        ";
  395.         }
  396.         echo 
  397.         <div class=\"bg-pages-ref\">
  398.      
  399.             ";
  400.         // line 141
  401.         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); })())))) {
  402.             // line 142
  403.             echo "                <section id=\"bloc-refs\" class=\"page-ref\">
  404.                     <div class=\"container-fluid  mt-3\">
  405.                         <div class=\"row gx-5 py-2\">
  406.                             <div class=\"col-sm-12 text-center\">
  407.                                 <h2 class=\"sub-title wow\">";
  408.             // line 146
  409.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["parametreRef"] ?? null), "titreblocautreprestation", [], "any"truetruefalse146)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["parametreRef"] ?? null), "titreblocautreprestation", [], "any"falsefalsefalse146), "")) : ("")), "html"nulltrue);
  410.             echo " ";
  411.             echo twig_escape_filter($this->envtwig_lower_filter($this->envtwig_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"falsefalsefalse146)), "html"nulltrue);
  412.             echo " </h2>
  413.                             </div>
  414.                             <div class=\"col-sm-12\">
  415.                                 <div class=\"list_blocs pos1\">
  416.                                     <div class=\"blocs\">
  417.                                         <section class=\"results dynam-affichage affichage1 type_affiche3 \">
  418.                                             ";
  419.             // line 152
  420.             $context["duree"] = 0.1;
  421.             // line 153
  422.             echo "                                            ";
  423.             $context['_parent'] = $context;
  424.             $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); })()));
  425.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  426.                 // line 154
  427.                 echo "                                                ";
  428.                 $context["image_item"] = (((twig_get_attribute($this->env$this->source$context["item"], "image", [], "any"falsefalsefalse154) != null)) ? ($this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env$this->source$context["item"], "image", [], "any"falsefalsefalse154))) : (("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"falsefalsefalse154))));
  429.                 // line 155
  430.                 echo "                                                <div class=\"article wow zoomIn animated\" data-wow-delay=\"";
  431.                 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"nulltrue);
  432.                 echo "s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
  433.                                                     <span class=\"article-image lazyloaded\"  style=\"background-image: url(";
  434.                 // line 156
  435.                 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"nulltrue);
  436.                 echo "); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>                 
  437.                                                     <span class=\"article-cnt\">
  438.                                                         <a class=\"article-titre\" href=\"";
  439.                 // line 158
  440.                 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"falsefalsefalse158)]), "html"nulltrue);
  441.                 echo "\" title=\"\">";
  442.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse158), "html"nulltrue);
  443.                 echo "</a>
  444.                                                         <span class=\"article-txt\">
  445.                                                             ";
  446.                 // line 160
  447.                 if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["item"], "summary", [], "any"falsefalsefalse160))) {
  448.                     // line 161
  449.                     echo "                                                                ";
  450.                     echo twig_get_attribute($this->env$this->source$context["item"], "summary", [], "any"falsefalsefalse161);
  451.                     echo "
  452.                                                             ";
  453.                 } else {
  454.                     // line 163
  455.                     echo "                                                                ";
  456.                     echo $this->extensions['App\Twig\FunctionExtension']->cutTextFunction(twig_get_attribute($this->env$this->source$context["item"], "content", [], "any"falsefalsefalse163));
  457.                     echo "
  458.                                                             ";
  459.                 }
  460.                 // line 165
  461.                 echo "                                                        </span>
  462.                                                         <span class=\"article-bts\">
  463.                                                             <button class=\"article-plus btn-fade\" onclick=\"window.open('";
  464.                 // line 167
  465.                 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"falsefalsefalse167)]), "html"nulltrue);
  466.                 echo "', '_self');\" title=\"En savoir plus\">En savoir plus</button>
  467.                                                         </span>
  468.                                                     </span>
  469.                                                 </div>
  470.                                                 ";
  471.                 // line 171
  472.                 $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);
  473.                 // line 172
  474.                 echo "                                            ";
  475.             }
  476.             $_parent $context['_parent'];
  477.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  478.             $context array_intersect_key($context$_parent) + $_parent;
  479.             // line 173
  480.             echo "                                        </section>
  481.                                     </div>
  482.                                 </div>
  483.                             </div>
  484.                         </div>
  485.                     </div>
  486.                 </section>
  487.             ";
  488.         }
  489.         // line 182
  490.         echo "
  491.             ";
  492.         // line 183
  493.         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); })())))) {
  494.             // line 184
  495.             echo "                <section id=\"bloc-sous-activites\" class=\"page-ref\">
  496.                     <div class=\"container-fluid  mt-3\">
  497.                         <div class=\"row gx-5 py-2\">
  498.                             <div class=\"col-sm-12 text-center\">
  499.                                 <h2 class=\"sub-title wow\">";
  500.             // line 188
  501.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["parametreRef"] ?? null), "titreblocsousactivite", [], "any"truetruefalse188)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["parametreRef"] ?? null), "titreblocsousactivite", [], "any"falsefalsefalse188), "")) : ("")), "html"nulltrue);
  502.             echo " ";
  503.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["secteur"] ?? null), "titresecteur", [], "any"truetruefalse188)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["secteur"] ?? null), "titresecteur", [], "any"falsefalsefalse188), "")) : ("")), "html"nulltrue);
  504.             echo "</h2>
  505.                             </div>
  506.                             <div class=\"col-sm-12\">
  507.                                 <div class=\"list_blocs pos1\">
  508.                                     <div class=\"blocs\">
  509.                                         <section class=\"results dynam-affichage affichage1 type_affiche3 \">
  510.                                             ";
  511.             // line 194
  512.             $context['_parent'] = $context;
  513.             $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); })()));
  514.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  515.                 // line 195
  516.                 echo "                                                ";
  517.                 $context["duree"] = 0.1;
  518.                 // line 196
  519.                 echo "                                                ";
  520.                 $context["image_item"] = (((twig_get_attribute($this->env$this->source$context["item"], "image", [], "any"falsefalsefalse196) != null)) ? ($this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env$this->source$context["item"], "image", [], "any"falsefalsefalse196))) : (("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"falsefalsefalse196))));
  521.                 // line 197
  522.                 echo "                                                <div class=\"article wow zoomIn animated\" data-wow-delay=\"";
  523.                 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"nulltrue);
  524.                 echo "s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
  525.                                                     <span class=\"article-image lazyloaded\" style=\"background-image: url(";
  526.                 // line 198
  527.                 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"nulltrue);
  528.                 echo "); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>                 
  529.                                                     <span class=\"article-cnt\">
  530.                                                         <a class=\"article-titre\" href=\"";
  531.                 // line 200
  532.                 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"falsefalsefalse200)]), "html"nulltrue);
  533.                 echo "\" title=\"\" >";
  534.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "titre", [], "any"falsefalsefalse200), "html"nulltrue);
  535.                 echo "</a>
  536.                                                         <span class=\"article-txt\">
  537.                                                             ";
  538.                 // line 202
  539.                 echo $this->extensions['App\Twig\FunctionExtension']->cutTextFunction(twig_get_attribute($this->env$this->source$context["item"], "content", [], "any"falsefalsefalse202));
  540.                 echo "
  541.                                                         </span>
  542.                                                         <span class=\"article-bts\">
  543.                                                            <button class=\"article-plus btn-fade\" onclick=\"window.open('";
  544.                 // line 205
  545.                 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"falsefalsefalse205)]), "html"nulltrue);
  546.                 echo "', '_self');\" title=\"En savoir plus\">En savoir plus</button>
  547.                                                         </span>
  548.                                                     </span>
  549.                                                 </div>
  550.                                                 ";
  551.                 // line 209
  552.                 $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);
  553.                 // line 210
  554.                 echo "                                            ";
  555.             }
  556.             $_parent $context['_parent'];
  557.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  558.             $context array_intersect_key($context$_parent) + $_parent;
  559.             // line 211
  560.             echo "                                        </section>
  561.                                     </div>
  562.                                 </div>
  563.                             </div>
  564.                         </div>
  565.                     </div>
  566.                 </section>
  567.             ";
  568.         }
  569.         // line 220
  570.         echo "            
  571.             ";
  572.         // line 221
  573.         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); })())))) {
  574.             // line 222
  575.             echo "                <section id=\"bloc-actualites\" class=\"page-ref\">
  576.                     <div class=\"container-fluid  mt-3\">
  577.                         <div class=\"row gx-5 py-2\">
  578.                             <div class=\"col-sm-12 text-center\">
  579.                                 <h2 class=\"sub-title wow\">";
  580.             // line 226
  581.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["parametreRef"] ?? null), "titreblocactualite", [], "any"truetruefalse226)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["parametreRef"] ?? null), "titreblocactualite", [], "any"falsefalsefalse226), "")) : ("")), "html"nulltrue);
  582.             echo "</h2>
  583.                             </div>
  584.                             <div class=\"col-sm-12\">
  585.                                 <div class=\"list_blocs pos1\">
  586.                                     <div class=\"blocs\">
  587.                                         <section class=\"results dynam-affichage affichage1 type_affiche3 \">
  588.                                             ";
  589.             // line 232
  590.             $context['_parent'] = $context;
  591.             $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); })()));
  592.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  593.                 // line 233
  594.                 echo "                                                ";
  595.                 $context["duree"] = 0.1;
  596.                 // line 234
  597.                 echo "                                                ";
  598.                 $context["image_item"] = (((twig_get_attribute($this->env$this->source$context["item"], "image", [], "any"falsefalsefalse234) != null)) ? ($this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env$this->source$context["item"], "image", [], "any"falsefalsefalse234))) : (("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"falsefalsefalse234))));
  599.                 // line 235
  600.                 echo "                                                <div class=\"article wow zoomIn animated\" data-wow-delay=\"";
  601.                 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"nulltrue);
  602.                 echo "s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
  603.                                                     <span class=\"article-image lazyloaded\"  style=\"background-image: url(";
  604.                 // line 236
  605.                 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"nulltrue);
  606.                 echo "); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>                 
  607.                                                     <span class=\"article-cnt\">
  608.                                                         <a class=\"article-titre\" href=\"";
  609.                 // line 238
  610.                 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"falsefalsefalse238)]), "html"nulltrue);
  611.                 echo "\" title=\"\" >";
  612.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse238), "html"nulltrue);
  613.                 echo "</a>
  614.                                                         <span class=\"article-txt\">
  615.                                                             ";
  616.                 // line 240
  617.                 if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["item"], "summary", [], "any"falsefalsefalse240))) {
  618.                     // line 241
  619.                     echo "                                                                ";
  620.                     echo twig_get_attribute($this->env$this->source$context["item"], "summary", [], "any"falsefalsefalse241);
  621.                     echo "
  622.                                                             ";
  623.                 } else {
  624.                     // line 243
  625.                     echo "                                                                ";
  626.                     echo $this->extensions['App\Twig\FunctionExtension']->cutTextFunction(twig_get_attribute($this->env$this->source$context["item"], "content", [], "any"falsefalsefalse243));
  627.                     echo "
  628.                                                             ";
  629.                 }
  630.                 // line 245
  631.                 echo "                                                        </span>
  632.                                                         <span class=\"article-bts\">
  633.                                                             <button class=\"article-plus btn-fade\" onclick=\"window.open('";
  634.                 // line 247
  635.                 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"falsefalsefalse247)]), "html"nulltrue);
  636.                 echo "', '_self');\" title=\"En savoir plus\">En savoir plus</button>
  637.                                                         </span>
  638.                                                     </span>
  639.                                                 </div>
  640.                                                 ";
  641.                 // line 251
  642.                 $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);
  643.                 // line 252
  644.                 echo "                                            ";
  645.             }
  646.             $_parent $context['_parent'];
  647.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  648.             $context array_intersect_key($context$_parent) + $_parent;
  649.             // line 253
  650.             echo "                                        </section>
  651.                                     </div>
  652.                                 </div>
  653.                             </div>
  654.                         </div>
  655.                     </div>
  656.                 </section>
  657.             ";
  658.         }
  659.         // line 262
  660.         echo "        </div>
  661.         <div class=\"container-fluid wrapper mt-3\">
  662.             ";
  663.         // line 265
  664.         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); })()))))) {
  665.             // line 266
  666.             echo "               <div class=\"row gx-5 py-4\">
  667.                     <div class=\"col-lg-12 d-flex justify-content-between\">
  668.                         <div class=\"\">
  669.                             ";
  670.             // line 269
  671.             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); })())))) {
  672.                 // line 270
  673.                 echo "                              <a href=\"";
  674.                 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"falsefalsefalse270)]), "html"nulltrue);
  675.                 echo "\" title=\"";
  676.                 echo twig_escape_filter($this->envtwig_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"falsefalsefalse270), "html"nulltrue);
  677.                 echo "\"><span class=\"signe1\"><i class=\"fa fa-arrow-left\"></i></span> ";
  678.                 echo twig_escape_filter($this->envtwig_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"falsefalsefalse270), "html"nulltrue);
  679.                 echo "</a>
  680.                             ";
  681.             }
  682.             // line 272
  683.             echo "                        </div>
  684.                         <div class=\"\">
  685.                             ";
  686.             // line 274
  687.             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); })())))) {
  688.                 // line 275
  689.                 echo "                              <a href=\"";
  690.                 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"falsefalsefalse275)]), "html"nulltrue);
  691.                 echo "\"  title=\"";
  692.                 echo twig_escape_filter($this->envtwig_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"falsefalsefalse275), "html"nulltrue);
  693.                 echo "\">";
  694.                 echo twig_escape_filter($this->envtwig_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"falsefalsefalse275), "html"nulltrue);
  695.                 echo "  <span class=\"signe1\"><i class=\"fa fa-arrow-right\"></i></span></a>
  696.                             ";
  697.             }
  698.             // line 277
  699.             echo "                        </div>
  700.                     </div>
  701.                 </div>
  702.             ";
  703.         }
  704.         // line 281
  705.         echo "        </div>
  706.     </div> 
  707. ";
  708.         
  709.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  710.         
  711.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  712.     }
  713.     // line 286
  714.     public function block_javascripts($context, array $blocks = [])
  715.     {
  716.         $macros $this->macros;
  717.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  718.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  719.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  720.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  721.         // line 287
  722.         echo "    ";
  723.         $this->displayParentBlock("javascripts"$context$blocks);
  724.         echo "
  725.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js\"></script>
  726.     ";
  727.         // line 291
  728.         if ((twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse291), "type", [], "any"falsefalsefalse291) == 4)) {
  729.             // line 292
  730.             echo "        <script src=\"";
  731.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("templates/front/theme1/assets/plugins/flexslider/jquery.flexslider.js"), "html"nulltrue);
  732.             echo "\" ></script>
  733.         <script>    
  734.             /*-------------------------------------------------*/
  735.             /* =  Sx flexslider 
  736.             /*-------------------------------------------------*/
  737.             if (\$(\".sx_flexslider\").length) {
  738.             \$('.flex-carousel').flexslider({
  739.             animation: \"slide\",
  740.             controlNav: false,
  741.             animationLoop: true,
  742.             slideshow: false,
  743.             itemWidth: 150,
  744.             asNavFor: '.flex-slider'
  745.             });
  746.             \$('.flex-slider').flexslider({
  747.             animation: \"slide\",
  748.             controlNav: false,
  749.             animationLoop: true,
  750.             slideshow: false,
  751.             sync: \".flex-carousel\"
  752.             });
  753.             }
  754.         </script>
  755.     ";
  756.         }
  757.         // line 316
  758.         echo "    
  759. ";
  760.         
  761.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  762.         
  763.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  764.     }
  765.     public function getTemplateName()
  766.     {
  767.         return "front/theme1/page_ref.html.twig";
  768.     }
  769.     public function isTraitable()
  770.     {
  771.         return false;
  772.     }
  773.     public function getDebugInfo()
  774.     {
  775.         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,);
  776.     }
  777.     public function getSourceContext()
  778.     {
  779.         return new Source("{% extends \"front/\"~ app.request.server.get('APP_THEME') ~\"/base.html.twig\" %}
  780. {% block preload %}
  781.     {% if post.image is defined  and post.image is not empty %}
  782.         {% if post.image %}
  783.             <link rel=\"preload\" as=\"image\" href=\"{{asset_image(post.image)}}\" />
  784.         {% endif %}
  785.     {% endif %}
  786.      {% if galleries is defined and galleries is not empty %}
  787.            {% for item in galleries %}
  788.                 {% if item.path is defined %}
  789.                     <link rel=\"preload\" as=\"image\" href=\"{{asset_image_gallery(item.path)}}\" />
  790.                 {% endif %}
  791.            {% endfor %}
  792.     {% endif %}
  793. {% endblock %}
  794. {% block stylesheets %}
  795.     {{parent()}}
  796.     {% if modele_galerie[0].type == 4 %}
  797.         <link rel=\"stylesheet\" type=\"text/css\" href=\"{{asset('templates/front/theme1/assets/plugins/flexslider/flexslider.css')}}\" media=\"screen\" >
  798.     {% endif %}
  799. {% endblock %}
  800. {% block body %}
  801.     <div class=\"page_cms page_activite pt-5\">
  802.         <div class=\"breadcrumb-style-default\">
  803.             <div class=\"container\">
  804.                 <div class=\"row\">
  805.                     <div class=\"col-lg-12\">
  806.                         <div class=\"inner text-center\">
  807.                             {% if breadcrumb is defined and breadcrumb is not empty %}
  808.                                 {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/breadcrumb.html.twig')}}
  809.                                 <h1 class=\"page-title\">{{breadcrumb|last.name}}</h1>
  810.                             {% endif %}
  811.                         </div>
  812.                     </div>
  813.                 </div>
  814.             </div>
  815.         </div>
  816.         <div id=\"bloc-principal\" class=\"container-fluid wrapper mt-3\">
  817.             <div  class=\"row gx-5 py-2\">
  818.                 {% if post.summary is not empty and post.summary != \"\" %}
  819.                     <div class=\"col-sm-12 text-center\">
  820.                         <h2 class=\"sub-title wow\">{{post.summary}}</h2>
  821.                     </div>
  822.                 {% endif %}
  823.                 
  824.                 {% if post.content is not empty and post.content != \"\" %}
  825.                     <div class=\"col-lg-12 content_post\">
  826.                         <div class=\"my-4 text-page-ref\">
  827.                             {% if post.image and post.image is not empty  %}
  828.                                 <div class=\"container-img\">
  829.                                     <img class=\"lazyload img-fluid principal-img \" data-srcset=\"{{asset_image(post.image)}}\" src=\"{{asset_image(post.image)}}\" alt=\"{{post.titre}}\" />
  830.                                 </div>
  831.                             {% endif %}
  832.                             <div>
  833.                                 {% if post.content is not empty and post.content != \" \" %}
  834.                                     <div class=\"\"> {{post.content|raw}}</div>
  835.                                 {% endif %}
  836.                             </div>
  837.                         </div>
  838.                       
  839.                         {% if post.typelien == null %}
  840.                             {% if categorieTree is defined and categorieTree[0] is defined  %}
  841.                                 <div class=\"text-center py-2\">
  842.                                     <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>
  843.                                 </div>
  844.                             {% endif %}
  845.                         {% elseif post.typelien != 1 %}
  846.                                 {% if post.typelien == '4' %}
  847.                                     <div class=\"text-center py-2\">
  848.                                         <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>
  849.                                     </div>
  850.                                 {% elseif post.typelien == '2' %}
  851.                                     <div class=\"text-center py-2\">
  852.                                         <a href=\"{{slug_link_interne(post.lieninterne)}}\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">{{post.titrelien}}</a>
  853.                                     </div>
  854.                                 {% elseif post.typelien == '3' %}
  855.                                     <div class=\"text-center py-2\">
  856.                                         <a href=\"{{post.lienexterne}}\" target=\"_blank\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">{{post.titrelien}}</a>
  857.                                     </div>
  858.                                 {% endif %}
  859.                         {% endif %}
  860.                         {% if docs and docs is not empty %}
  861.                             <div class=\"col-md-12 bloc-docs d-flex justify-content-center\">
  862.                                 {% for doc in docs %}
  863.                                     <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>   
  864.                                 {% endfor %}
  865.                             </div>
  866.                         {% endif %}
  867.                     </div>
  868.                 {% endif %}
  869.             </div>
  870.         </div>
  871.         {% if galleries and galleries is not empty and template_model_gallerie is defined and template_model_gallerie is not empty %}
  872.             {{ include(template_from_string(template_model_gallerie)) }}
  873.         {% endif %}
  874.         {% if post.urlvideo is not empty %}
  875.             <div class=\"container-fluid wrapper mt-3\">
  876.                 <div class=\"col-md-12 mt-1\">
  877.                     <div class=\"video\">
  878.                         {% set id_video_externe = post.urlvideo|split('?v=')[1] %}
  879.                         <a class=\"video-thumbnail m-0\" href=\"{{post.urlvideo}}\" data-fancybox=\"video\">
  880.                             <img src=\"https://img.youtube.com/vi/{{id_video_externe}}/maxresdefault.jpg\" class=\"img-fluid\" alt=\"\"/>
  881.                         </a>
  882.                     </div>
  883.                 </div>
  884.             </div>
  885.         {% endif %}
  886.         {% if blocs is defined  %}
  887.             {% for bloc in blocs.Bloc %}
  888.                 {% if is_mobile() and  bloc.mobile == true   %}
  889.                     {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/bloc/bloc.html.twig',{
  890.                         bloc: bloc,
  891.                     }, with_context = false)}}
  892.                 {% endif %}
  893.                 
  894.                 {% if is_full_view() and is_mobile() == false and bloc.desktop == true %}
  895.                     {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/bloc/bloc.html.twig',{
  896.                         bloc: bloc,
  897.                     }, with_context = false)}}
  898.                 {% endif %}
  899.             {% endfor %}
  900.         {% endif %} 
  901.         <div class=\"bg-pages-ref\">
  902.      
  903.             {% if ref_pages is defined and ref_pages is not empty  %}
  904.                 <section id=\"bloc-refs\" class=\"page-ref\">
  905.                     <div class=\"container-fluid  mt-3\">
  906.                         <div class=\"row gx-5 py-2\">
  907.                             <div class=\"col-sm-12 text-center\">
  908.                                 <h2 class=\"sub-title wow\">{{parametreRef.titreblocautreprestation|default('')}} {{post.titre|lower}} </h2>
  909.                             </div>
  910.                             <div class=\"col-sm-12\">
  911.                                 <div class=\"list_blocs pos1\">
  912.                                     <div class=\"blocs\">
  913.                                         <section class=\"results dynam-affichage affichage1 type_affiche3 \">
  914.                                             {% set duree = 0.1 %}
  915.                                             {% for item in ref_pages %}
  916.                                                 {% set image_item = item.image != null? asset_image(item.image):'uploads/images/' ~ parametre.imagevide %}
  917.                                                 <div class=\"article wow zoomIn animated\" data-wow-delay=\"{{duree}}s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
  918.                                                     <span class=\"article-image lazyloaded\"  style=\"background-image: url({{image_item}}); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>                 
  919.                                                     <span class=\"article-cnt\">
  920.                                                         <a class=\"article-titre\" href=\"{{path('page',{slug:item.slug})}}\" title=\"\">{{item.title}}</a>
  921.                                                         <span class=\"article-txt\">
  922.                                                             {% if item.summary is not empty %}
  923.                                                                 {{item.summary|raw}}
  924.                                                             {% else %}
  925.                                                                 {{cutText(item.content)|raw}}
  926.                                                             {% endif %}
  927.                                                         </span>
  928.                                                         <span class=\"article-bts\">
  929.                                                             <button class=\"article-plus btn-fade\" onclick=\"window.open('{{path('page',{slug:item.slug})}}', '_self');\" title=\"En savoir plus\">En savoir plus</button>
  930.                                                         </span>
  931.                                                     </span>
  932.                                                 </div>
  933.                                                 {% set duree = duree + 0.2 %}
  934.                                             {% endfor %}
  935.                                         </section>
  936.                                     </div>
  937.                                 </div>
  938.                             </div>
  939.                         </div>
  940.                     </div>
  941.                 </section>
  942.             {% endif %}
  943.             {% if ref_pages_sous_activite is defined and ref_pages_sous_activite is not empty  %}
  944.                 <section id=\"bloc-sous-activites\" class=\"page-ref\">
  945.                     <div class=\"container-fluid  mt-3\">
  946.                         <div class=\"row gx-5 py-2\">
  947.                             <div class=\"col-sm-12 text-center\">
  948.                                 <h2 class=\"sub-title wow\">{{parametreRef.titreblocsousactivite|default('')}} {{secteur.titresecteur|default('')}}</h2>
  949.                             </div>
  950.                             <div class=\"col-sm-12\">
  951.                                 <div class=\"list_blocs pos1\">
  952.                                     <div class=\"blocs\">
  953.                                         <section class=\"results dynam-affichage affichage1 type_affiche3 \">
  954.                                             {% for item in ref_pages_sous_activite %}
  955.                                                 {% set duree = 0.1 %}
  956.                                                 {% set image_item = item.image != null? asset_image(item.image):'uploads/images/' ~ parametre.imagevide %}
  957.                                                 <div class=\"article wow zoomIn animated\" data-wow-delay=\"{{duree}}s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
  958.                                                     <span class=\"article-image lazyloaded\" style=\"background-image: url({{image_item}}); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>                 
  959.                                                     <span class=\"article-cnt\">
  960.                                                         <a class=\"article-titre\" href=\"{{path('page',{slug:item.slug})}}\" title=\"\" >{{item.titre}}</a>
  961.                                                         <span class=\"article-txt\">
  962.                                                             {{cutText(item.content)|raw}}
  963.                                                         </span>
  964.                                                         <span class=\"article-bts\">
  965.                                                            <button class=\"article-plus btn-fade\" onclick=\"window.open('{{path('page',{slug:item.slug})}}', '_self');\" title=\"En savoir plus\">En savoir plus</button>
  966.                                                         </span>
  967.                                                     </span>
  968.                                                 </div>
  969.                                                 {% set duree = duree + 0.2 %}
  970.                                             {% endfor %}
  971.                                         </section>
  972.                                     </div>
  973.                                 </div>
  974.                             </div>
  975.                         </div>
  976.                     </div>
  977.                 </section>
  978.             {% endif %}
  979.             
  980.             {% if actualites_liee is defined and actualites_liee is not empty %}
  981.                 <section id=\"bloc-actualites\" class=\"page-ref\">
  982.                     <div class=\"container-fluid  mt-3\">
  983.                         <div class=\"row gx-5 py-2\">
  984.                             <div class=\"col-sm-12 text-center\">
  985.                                 <h2 class=\"sub-title wow\">{{parametreRef.titreblocactualite|default('')}}</h2>
  986.                             </div>
  987.                             <div class=\"col-sm-12\">
  988.                                 <div class=\"list_blocs pos1\">
  989.                                     <div class=\"blocs\">
  990.                                         <section class=\"results dynam-affichage affichage1 type_affiche3 \">
  991.                                             {% for item in actualites_liee %}
  992.                                                 {% set duree = 0.1 %}
  993.                                                 {% set image_item = item.image != null? asset_image(item.image):'uploads/images/' ~ parametre.imagevide %}
  994.                                                 <div class=\"article wow zoomIn animated\" data-wow-delay=\"{{duree}}s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
  995.                                                     <span class=\"article-image lazyloaded\"  style=\"background-image: url({{image_item}}); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>                 
  996.                                                     <span class=\"article-cnt\">
  997.                                                         <a class=\"article-titre\" href=\"{{path('page',{slug:item.slug})}}\" title=\"\" >{{item.title}}</a>
  998.                                                         <span class=\"article-txt\">
  999.                                                             {% if item.summary is not empty %}
  1000.                                                                 {{item.summary|raw}}
  1001.                                                             {% else %}
  1002.                                                                 {{cutText(item.content)|raw}}
  1003.                                                             {% endif %}
  1004.                                                         </span>
  1005.                                                         <span class=\"article-bts\">
  1006.                                                             <button class=\"article-plus btn-fade\" onclick=\"window.open('{{path('page',{slug:item.slug})}}', '_self');\" title=\"En savoir plus\">En savoir plus</button>
  1007.                                                         </span>
  1008.                                                     </span>
  1009.                                                 </div>
  1010.                                                 {% set duree = duree + 0.2 %}
  1011.                                             {% endfor %}
  1012.                                         </section>
  1013.                                     </div>
  1014.                                 </div>
  1015.                             </div>
  1016.                         </div>
  1017.                     </div>
  1018.                 </section>
  1019.             {% endif %}
  1020.         </div>
  1021.         <div class=\"container-fluid wrapper mt-3\">
  1022.             {% if next_article is defined and next_article is not empty or prev_article is defined and prev_article is not empty %}
  1023.                <div class=\"row gx-5 py-4\">
  1024.                     <div class=\"col-lg-12 d-flex justify-content-between\">
  1025.                         <div class=\"\">
  1026.                             {% if prev_article is defined and prev_article is not empty %}
  1027.                               <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>
  1028.                             {% endif %}
  1029.                         </div>
  1030.                         <div class=\"\">
  1031.                             {% if next_article is defined and next_article is not empty %}
  1032.                               <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>
  1033.                             {% endif %}
  1034.                         </div>
  1035.                     </div>
  1036.                 </div>
  1037.             {% endif %}
  1038.         </div>
  1039.     </div> 
  1040. {% endblock %}
  1041. {% block javascripts %}
  1042.     {{parent()}}
  1043.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js\"></script>
  1044.     {% if modele_galerie[0].type == 4 %}
  1045.         <script src=\"{{asset('templates/front/theme1/assets/plugins/flexslider/jquery.flexslider.js')}}\" ></script>
  1046.         <script>    
  1047.             /*-------------------------------------------------*/
  1048.             /* =  Sx flexslider 
  1049.             /*-------------------------------------------------*/
  1050.             if (\$(\".sx_flexslider\").length) {
  1051.             \$('.flex-carousel').flexslider({
  1052.             animation: \"slide\",
  1053.             controlNav: false,
  1054.             animationLoop: true,
  1055.             slideshow: false,
  1056.             itemWidth: 150,
  1057.             asNavFor: '.flex-slider'
  1058.             });
  1059.             \$('.flex-slider').flexslider({
  1060.             animation: \"slide\",
  1061.             controlNav: false,
  1062.             animationLoop: true,
  1063.             slideshow: false,
  1064.             sync: \".flex-carousel\"
  1065.             });
  1066.             }
  1067.         </script>
  1068.     {% endif %}
  1069.     
  1070. {% endblock %}
  1071. ""front/theme1/page_ref.html.twig""/var/www/vhosts/hrz.fr/oscar-multilangue.hrz.fr/templates/front/theme1/page_ref.html.twig");
  1072.     }
  1073. }