var/cache/dev/twig/9a/9a29e890de68773c49c0750d2a0e515fab3ae386a9fc52abfa9b26c1a4179f91.php line 39

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_activite.html.twig */
  14. class __TwigTemplate_16a46bda7ebb77915ff4cc6f827ca35b284d9a63ce989e56fd5a19e68a642bc7 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.             'stylesheets' => [$this'block_stylesheets'],
  24.             'body' => [$this'block_body'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         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_activite.html.twig"1);
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/theme1/page_activite.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/theme1/page_activite.html.twig"));
  39.         $this->getParent($context)->display($contextarray_merge($this->blocks$blocks));
  40.         
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  42.         
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  44.     }
  45.     // line 3
  46.     public function block_stylesheets($context, array $blocks = [])
  47.     {
  48.         $macros $this->macros;
  49.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  51.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  53.         // line 4
  54.         echo "      ";
  55.         $this->displayParentBlock("stylesheets"$context$blocks);
  56.         echo "
  57. ";
  58.         
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  60.         
  61.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  62.     }
  63.     // line 8
  64.     public function block_body($context, array $blocks = [])
  65.     {
  66.         $macros $this->macros;
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  68.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  69.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  70.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  71.         // line 9
  72.         echo "
  73.          <div class=\"page_cms page_activite pt-5\">
  74.                 <div class=\"breadcrumb-style-default\">
  75.                     <div class=\"container\">
  76.                         <div class=\"row\">
  77.                             <div class=\"col-lg-12\">
  78.                                 <div class=\"inner text-center\">
  79.                                     ";
  80.         // line 16
  81.         if ((array_key_exists("breadcrumb"$context) &&  !twig_test_empty((isset($context["breadcrumb"]) || array_key_exists("breadcrumb"$context) ? $context["breadcrumb"] : (function () { throw new RuntimeError('Variable "breadcrumb" does not exist.'16$this->source); })())))) {
  82.             // line 17
  83.             echo "                                        ";
  84.             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.'17$this->source); })()), "request", [], "any"falsefalsefalse17), "server", [], "any"falsefalsefalse17), "get", [=> "APP_THEME"], "method"falsefalsefalse17)) . "/partials/breadcrumb.html.twig"));
  85.             echo "
  86.                                         <h1 class=\"page-title\">";
  87.             // line 18
  88.             echo twig_escape_filter($this->env, (isset($context["titre_activite"]) || array_key_exists("titre_activite"$context) ? $context["titre_activite"] : (function () { throw new RuntimeError('Variable "titre_activite" does not exist.'18$this->source); })()), "html"nulltrue);
  89.             echo "</h1>
  90.                                     ";
  91.         }
  92.         // line 20
  93.         echo "                                </div>
  94.                             </div>
  95.                         </div>
  96.                     </div>
  97.                 </div>
  98.                 <div id=\"bloc-principal\" class=\"container-fluid wrapper\">
  99.                     <div class=\"row\">
  100.                         <div class=\"col-sm-12\">
  101.                             <div class=\"my-4 text-page-ref\">
  102.                                 ";
  103.         // line 31
  104.         if ((twig_get_attribute($this->env$this->source, (isset($context["activite"]) || array_key_exists("activite"$context) ? $context["activite"] : (function () { throw new RuntimeError('Variable "activite" does not exist.'31$this->source); })()), "image", [], "any"falsefalsefalse31) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["activite"]) || array_key_exists("activite"$context) ? $context["activite"] : (function () { throw new RuntimeError('Variable "activite" does not exist.'31$this->source); })()), "image", [], "any"falsefalsefalse31)))) {
  105.             // line 32
  106.             echo "                                    <div class=\"container-img\">
  107.                                        <img class=\"lazyload img-fluid principal-img \" data-srcset=\"";
  108.             // line 33
  109.             echo twig_escape_filter($this->env$this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env$this->source, (isset($context["activite"]) || array_key_exists("activite"$context) ? $context["activite"] : (function () { throw new RuntimeError('Variable "activite" does not exist.'33$this->source); })()), "image", [], "any"falsefalsefalse33)), "html"nulltrue);
  110.             echo "\" src=\"";
  111.             echo twig_escape_filter($this->env$this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env$this->source, (isset($context["activite"]) || array_key_exists("activite"$context) ? $context["activite"] : (function () { throw new RuntimeError('Variable "activite" does not exist.'33$this->source); })()), "image", [], "any"falsefalsefalse33)), "html"nulltrue);
  112.             echo "\" alt=\"";
  113.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["activite"]) || array_key_exists("activite"$context) ? $context["activite"] : (function () { throw new RuntimeError('Variable "activite" does not exist.'33$this->source); })()), "titreactivite", [], "any"falsefalsefalse33), "html"nulltrue);
  114.             echo "\" />
  115.                                     </div>
  116.                                 ";
  117.         }
  118.         // line 36
  119.         echo "                                <div>
  120.                                     <div ><h2>";
  121.         // line 37
  122.         echo twig_escape_filter($this->env, (isset($context["titre"]) || array_key_exists("titre"$context) ? $context["titre"] : (function () { throw new RuntimeError('Variable "titre" does not exist.'37$this->source); })()), "html"nulltrue);
  123.         echo "</h2></div>
  124.                                     ";
  125.         // line 38
  126.         if (( !twig_test_empty((isset($context["texte"]) || array_key_exists("texte"$context) ? $context["texte"] : (function () { throw new RuntimeError('Variable "texte" does not exist.'38$this->source); })())) && ((isset($context["texte"]) || array_key_exists("texte"$context) ? $context["texte"] : (function () { throw new RuntimeError('Variable "texte" does not exist.'38$this->source); })()) != " "))) {
  127.             // line 39
  128.             echo "                                        <div class=\"\"> ";
  129.             echo (isset($context["texte"]) || array_key_exists("texte"$context) ? $context["texte"] : (function () { throw new RuntimeError('Variable "texte" does not exist.'39$this->source); })());
  130.             echo " </div>
  131.                                     ";
  132.         }
  133.         // line 41
  134.         echo "                                </div>
  135.                             </div>
  136.                         </div>
  137.                     </div>
  138.                 </div>
  139.                 <div class=\"bg-pages-ref\">
  140.                     ";
  141.         // line 48
  142.         if ((array_key_exists("ref_pages"$context) &&  !twig_test_empty((isset($context["ref_pages"]) || array_key_exists("ref_pages"$context) ? $context["ref_pages"] : (function () { throw new RuntimeError('Variable "ref_pages" does not exist.'48$this->source); })())))) {
  143.             // line 49
  144.             echo "                        <section id=\"bloc-refs\" class=\"page-ref\">
  145.                                 <div class=\"container-fluid  mt-3\">
  146.                                     <div class=\"row gx-5 py-2\">
  147.                                         <div class=\"col-sm-12 text-center\">
  148.                                             <h2 class=\"sub-title wow\">";
  149.             // line 53
  150.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["parametreRef"] ?? null), "titreblocautreprestation", [], "any"truetruefalse53)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["parametreRef"] ?? null), "titreblocautreprestation", [], "any"falsefalsefalse53), "")) : ("")), "html"nulltrue);
  151.             echo " ";
  152.             echo twig_escape_filter($this->env, (isset($context["titre"]) || array_key_exists("titre"$context) ? $context["titre"] : (function () { throw new RuntimeError('Variable "titre" does not exist.'53$this->source); })()), "html"nulltrue);
  153.             echo "</h2>
  154.                                         </div>
  155.                                         <div class=\"col-sm-12\">
  156.                                             <div class=\"list_blocs pos1\">
  157.                                                 <div class=\"blocs\">
  158.                                                     <section class=\"results dynam-affichage affichage1 type_affiche3 \">
  159.                                                         ";
  160.             // line 59
  161.             $context['_parent'] = $context;
  162.             $context['_seq'] = twig_ensure_traversable((isset($context["ref_pages"]) || array_key_exists("ref_pages"$context) ? $context["ref_pages"] : (function () { throw new RuntimeError('Variable "ref_pages" does not exist.'59$this->source); })()));
  163.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  164.                 // line 60
  165.                 echo "                                                            ";
  166.                 $context["duree"] = 0.1;
  167.                 // line 61
  168.                 echo "                                                            ";
  169.                 $context["image_item"] = (((twig_get_attribute($this->env$this->source$context["item"], "image", [], "any"falsefalsefalse61) != null)) ? ($this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env$this->source$context["item"], "image", [], "any"falsefalsefalse61))) : (("uploads/images/" twig_get_attribute($this->env$this->source, (isset($context["parametre"]) || array_key_exists("parametre"$context) ? $context["parametre"] : (function () { throw new RuntimeError('Variable "parametre" does not exist.'61$this->source); })()), "imagevide", [], "any"falsefalsefalse61))));
  170.                 // line 62
  171.                 echo "                                                            <div class=\"article wow zoomIn animated\" data-wow-delay=\"";
  172.                 echo twig_escape_filter($this->env, (isset($context["duree"]) || array_key_exists("duree"$context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.'62$this->source); })()), "html"nulltrue);
  173.                 echo "s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
  174.                                                                 <span class=\"article-image lazyloaded\"  style=\"background-image: url(";
  175.                 // line 63
  176.                 echo twig_escape_filter($this->env, (isset($context["image_item"]) || array_key_exists("image_item"$context) ? $context["image_item"] : (function () { throw new RuntimeError('Variable "image_item" does not exist.'63$this->source); })()), "html"nulltrue);
  177.                 echo "); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>                 
  178.                                                                 <span class=\"article-cnt\">
  179.                                                                     <a class=\"article-titre\" href=\"";
  180.                 // line 65
  181.                 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"falsefalsefalse65)]), "html"nulltrue);
  182.                 echo "\" title=\"\" >";
  183.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse65), "html"nulltrue);
  184.                 echo "</a>
  185.                                                                     <span class=\"article-txt\">
  186.                                                                         ";
  187.                 // line 67
  188.                 if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["item"], "summary", [], "any"falsefalsefalse67))) {
  189.                     // line 68
  190.                     echo "                                                                            ";
  191.                     echo twig_get_attribute($this->env$this->source$context["item"], "summary", [], "any"falsefalsefalse68);
  192.                     echo "
  193.                                                                         ";
  194.                 } else {
  195.                     // line 70
  196.                     echo "                                                                            ";
  197.                     echo $this->extensions['App\Twig\FunctionExtension']->cutTextFunction(twig_get_attribute($this->env$this->source$context["item"], "content", [], "any"falsefalsefalse70));
  198.                     echo "
  199.                                                                         ";
  200.                 }
  201.                 // line 72
  202.                 echo "                                                                    </span>
  203.                                                                     
  204.                                                                     <span class=\"article-bts\">
  205.                                                                         <button class=\"article-plus btn-fade\" onclick=\"window.open('";
  206.                 // line 75
  207.                 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"falsefalsefalse75)]), "html"nulltrue);
  208.                 echo "', '_self');\" title=\"En savoir plus\">En savoir plus</button>
  209.                                                                     </span>
  210.                     
  211.                                                                 </span>
  212.                                                             </div>
  213.                                                             ";
  214.                 // line 80
  215.                 $context["duree"] = ((isset($context["duree"]) || array_key_exists("duree"$context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.'80$this->source); })()) + 0.2);
  216.                 // line 81
  217.                 echo "                                                        ";
  218.             }
  219.             $_parent $context['_parent'];
  220.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  221.             $context array_intersect_key($context$_parent) + $_parent;
  222.             // line 82
  223.             echo "                                                    </section>
  224.                                                 </div>
  225.                                             </div>
  226.                                         </div>
  227.                                     </div>
  228.                                 </div>
  229.                         </section>
  230.                     ";
  231.         }
  232.         // line 91
  233.         echo "
  234.                     ";
  235.         // line 92
  236.         if ((array_key_exists("actualites"$context) &&  !twig_test_empty((isset($context["actualites"]) || array_key_exists("actualites"$context) ? $context["actualites"] : (function () { throw new RuntimeError('Variable "actualites" does not exist.'92$this->source); })())))) {
  237.             // line 93
  238.             echo "                        <section id=\"bloc-sous-activites\" class=\"page-ref\">
  239.                                 <div class=\"container-fluid  mt-3\">
  240.                                     <div class=\"row gx-5 py-2\">
  241.                                         <div class=\"col-sm-12 text-center\">
  242.                                             <h2 class=\"sub-title wow\">";
  243.             // line 97
  244.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["parametreRef"] ?? null), "titreblocactualite", [], "any"truetruefalse97)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["parametreRef"] ?? null), "titreblocactualite", [], "any"falsefalsefalse97), "")) : ("")), "html"nulltrue);
  245.             echo "</h2>
  246.                                         </div>
  247.                                         <div class=\"col-sm-12\">
  248.                                             <div class=\"list_blocs pos1\">
  249.                                                 <div class=\"blocs\">
  250.                                                     <section class=\"results dynam-affichage affichage1 type_affiche3 \">
  251.                                                         ";
  252.             // line 103
  253.             $context['_parent'] = $context;
  254.             $context['_seq'] = twig_ensure_traversable((isset($context["actualites"]) || array_key_exists("actualites"$context) ? $context["actualites"] : (function () { throw new RuntimeError('Variable "actualites" does not exist.'103$this->source); })()));
  255.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  256.                 // line 104
  257.                 echo "                                                            ";
  258.                 $context["duree"] = 0.1;
  259.                 // line 105
  260.                 echo "                                                            ";
  261.                 $context["image_item"] = (((twig_get_attribute($this->env$this->source$context["item"], "image", [], "any"falsefalsefalse105) != null)) ? ($this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env$this->source$context["item"], "image", [], "any"falsefalsefalse105))) : (("uploads/images/" twig_get_attribute($this->env$this->source, (isset($context["parametre"]) || array_key_exists("parametre"$context) ? $context["parametre"] : (function () { throw new RuntimeError('Variable "parametre" does not exist.'105$this->source); })()), "imagevide", [], "any"falsefalsefalse105))));
  262.                 // line 106
  263.                 echo "                                                            <div class=\"article wow zoomIn animated\" data-wow-delay=\"";
  264.                 echo twig_escape_filter($this->env, (isset($context["duree"]) || array_key_exists("duree"$context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.'106$this->source); })()), "html"nulltrue);
  265.                 echo "s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
  266.                                                                 <span class=\"article-image lazyloaded\"  style=\"background-image: url(";
  267.                 // line 107
  268.                 echo twig_escape_filter($this->env, (isset($context["image_item"]) || array_key_exists("image_item"$context) ? $context["image_item"] : (function () { throw new RuntimeError('Variable "image_item" does not exist.'107$this->source); })()), "html"nulltrue);
  269.                 echo "); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>                 
  270.                                                                 <span class=\"article-cnt\">
  271.                                                                     <a class=\"article-titre\" href=\"";
  272.                 // line 109
  273.                 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"falsefalsefalse109)]), "html"nulltrue);
  274.                 echo "\" title=\"\" >";
  275.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse109), "html"nulltrue);
  276.                 echo "</a>
  277.                                                                     <span class=\"article-txt\">
  278.                                                                         ";
  279.                 // line 111
  280.                 if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["item"], "summary", [], "any"falsefalsefalse111))) {
  281.                     // line 112
  282.                     echo "                                                                            ";
  283.                     echo twig_get_attribute($this->env$this->source$context["item"], "summary", [], "any"falsefalsefalse112);
  284.                     echo "
  285.                                                                         ";
  286.                 } else {
  287.                     // line 114
  288.                     echo "                                                                            ";
  289.                     echo $this->extensions['App\Twig\FunctionExtension']->cutTextFunction(twig_get_attribute($this->env$this->source$context["item"], "content", [], "any"falsefalsefalse114));
  290.                     echo "
  291.                                                                         ";
  292.                 }
  293.                 // line 116
  294.                 echo "                                                                    </span>
  295.                                                                     <span class=\"article-bts\">
  296.                                                                         <button class=\"article-plus btn-fade\" onclick=\"window.open('";
  297.                 // line 118
  298.                 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"falsefalsefalse118)]), "html"nulltrue);
  299.                 echo "', '_self');\" title=\"En savoir plus\">En savoir plus</button>
  300.                                                                     </span>
  301.                                                                 </span>
  302.                                                             </div>
  303.                                                             ";
  304.                 // line 122
  305.                 $context["duree"] = ((isset($context["duree"]) || array_key_exists("duree"$context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.'122$this->source); })()) + 0.2);
  306.                 // line 123
  307.                 echo "                                                        ";
  308.             }
  309.             $_parent $context['_parent'];
  310.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  311.             $context array_intersect_key($context$_parent) + $_parent;
  312.             // line 124
  313.             echo "                                                    </section>
  314.                                                 </div>
  315.                                             </div>
  316.                                         </div>
  317.                                     </div>
  318.                                 </div>
  319.                         </section>
  320.                     ";
  321.         }
  322.         // line 133
  323.         echo "
  324.                     ";
  325.         // line 134
  326.         if ((array_key_exists("ref_pages_sous_activite"$context) &&  !twig_test_empty((isset($context["ref_pages_sous_activite"]) || array_key_exists("ref_pages_sous_activite"$context) ? $context["ref_pages_sous_activite"] : (function () { throw new RuntimeError('Variable "ref_pages_sous_activite" does not exist.'134$this->source); })())))) {
  327.             // line 135
  328.             echo "                        <section id=\"bloc-actualites\" class=\"page-ref\">
  329.                             <div class=\"container-fluid  mt-3\">
  330.                                 <div class=\"row gx-5 py-2\">
  331.                                     <div class=\"col-sm-12 text-center\">
  332.                                         <h2 class=\"sub-title wow\">Sous activités liées </h2>
  333.                                     </div>
  334.                                     <div class=\"col-sm-12\">
  335.                                         <div class=\"list_blocs pos1\">
  336.                                             <div class=\"blocs\">
  337.                                                 <section class=\"results dynam-affichage affichage1 type_affiche3 \">
  338.                                                     ";
  339.             // line 145
  340.             $context['_parent'] = $context;
  341.             $context['_seq'] = twig_ensure_traversable((isset($context["ref_pages_sous_activite"]) || array_key_exists("ref_pages_sous_activite"$context) ? $context["ref_pages_sous_activite"] : (function () { throw new RuntimeError('Variable "ref_pages_sous_activite" does not exist.'145$this->source); })()));
  342.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  343.                 // line 146
  344.                 echo "                                                        ";
  345.                 $context["duree"] = 0.1;
  346.                 // line 147
  347.                 echo "                                                        ";
  348.                 $context["image_item"] = (((twig_get_attribute($this->env$this->source$context["item"], "image", [], "any"falsefalsefalse147) != null)) ? ($this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env$this->source$context["item"], "image", [], "any"falsefalsefalse147))) : (("uploads/images/" twig_get_attribute($this->env$this->source, (isset($context["parametre"]) || array_key_exists("parametre"$context) ? $context["parametre"] : (function () { throw new RuntimeError('Variable "parametre" does not exist.'147$this->source); })()), "imagevide", [], "any"falsefalsefalse147))));
  349.                 // line 148
  350.                 echo "                                                        <div class=\"article wow zoomIn animated\" data-wow-delay=\"";
  351.                 echo twig_escape_filter($this->env, (isset($context["duree"]) || array_key_exists("duree"$context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.'148$this->source); })()), "html"nulltrue);
  352.                 echo "s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
  353.                                                             <span class=\"article-image lazyloaded\" style=\"background-image: url(";
  354.                 // line 149
  355.                 echo twig_escape_filter($this->env, (isset($context["image_item"]) || array_key_exists("image_item"$context) ? $context["image_item"] : (function () { throw new RuntimeError('Variable "image_item" does not exist.'149$this->source); })()), "html"nulltrue);
  356.                 echo "); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>                 
  357.                                                             <span class=\"article-cnt\">
  358.                                                                 <a class=\"article-titre\" href=\"";
  359.                 // line 151
  360.                 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"falsefalsefalse151)]), "html"nulltrue);
  361.                 echo "\" title=\"\" >";
  362.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "titre", [], "any"falsefalsefalse151), "html"nulltrue);
  363.                 echo "</a>
  364.                                                                 <span class=\"article-txt\">
  365.                                                                     ";
  366.                 // line 153
  367.                 echo $this->extensions['App\Twig\FunctionExtension']->cutTextFunction(twig_get_attribute($this->env$this->source$context["item"], "content", [], "any"falsefalsefalse153));
  368.                 echo "
  369.                                                                 </span>
  370.                                                                 <span class=\"article-bts\">
  371.                                                                     <button class=\"article-plus btn-fade\" onclick=\"window.open('";
  372.                 // line 156
  373.                 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"falsefalsefalse156)]), "html"nulltrue);
  374.                 echo "', '_self');\" title=\"En savoir plus\">En savoir plus</button>
  375.                                                                 </span>
  376.                                                             </span>
  377.                                                         </div>
  378.                                                         ";
  379.                 // line 160
  380.                 $context["duree"] = ((isset($context["duree"]) || array_key_exists("duree"$context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.'160$this->source); })()) + 0.2);
  381.                 // line 161
  382.                 echo "                                                    ";
  383.             }
  384.             $_parent $context['_parent'];
  385.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  386.             $context array_intersect_key($context$_parent) + $_parent;
  387.             // line 162
  388.             echo "                                                </section>
  389.                                             </div>
  390.                                         </div>
  391.                                     </div>
  392.                                 </div>
  393.                             </div>
  394.                         </section>
  395.                     ";
  396.         }
  397.         // line 171
  398.         echo "                </div>
  399.          </div> 
  400. ";
  401.         
  402.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  403.         
  404.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  405.     }
  406.     public function getTemplateName()
  407.     {
  408.         return "front/theme1/page_activite.html.twig";
  409.     }
  410.     public function isTraitable()
  411.     {
  412.         return false;
  413.     }
  414.     public function getDebugInfo()
  415.     {
  416.         return array (  423 => 171,  412 => 162,  406 => 161,  404 => 160,  397 => 156,  391 => 153,  384 => 151,  379 => 149,  374 => 148,  371 => 147,  368 => 146,  364 => 145,  352 => 135,  350 => 134,  347 => 133,  336 => 124,  330 => 123,  328 => 122,  321 => 118,  317 => 116,  311 => 114,  305 => 112,  303 => 111,  296 => 109,  291 => 107,  286 => 106,  283 => 105,  280 => 104,  276 => 103,  267 => 97,  261 => 93,  259 => 92,  256 => 91,  245 => 82,  239 => 81,  237 => 80,  229 => 75,  224 => 72,  218 => 70,  212 => 68,  210 => 67,  203 => 65,  198 => 63,  193 => 62,  190 => 61,  187 => 60,  183 => 59,  172 => 53,  166 => 49,  164 => 48,  155 => 41,  149 => 39,  147 => 38,  143 => 37,  140 => 36,  130 => 33,  127 => 32,  125 => 31,  112 => 20,  107 => 18,  102 => 17,  100 => 16,  91 => 9,  81 => 8,  68 => 4,  58 => 3,  36 => 1,);
  417.     }
  418.     public function getSourceContext()
  419.     {
  420.         return new Source("{% extends \"front/\"~ app.request.server.get('APP_THEME') ~\"/base.html.twig\" %}
  421. {% block stylesheets %}
  422.       {{parent()}}
  423. {% endblock %}
  424. {% block body %}
  425.          <div class=\"page_cms page_activite pt-5\">
  426.                 <div class=\"breadcrumb-style-default\">
  427.                     <div class=\"container\">
  428.                         <div class=\"row\">
  429.                             <div class=\"col-lg-12\">
  430.                                 <div class=\"inner text-center\">
  431.                                     {% if breadcrumb is defined and breadcrumb is not empty %}
  432.                                         {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/breadcrumb.html.twig')}}
  433.                                         <h1 class=\"page-title\">{{titre_activite}}</h1>
  434.                                     {% endif %}
  435.                                 </div>
  436.                             </div>
  437.                         </div>
  438.                     </div>
  439.                 </div>
  440.                 <div id=\"bloc-principal\" class=\"container-fluid wrapper\">
  441.                     <div class=\"row\">
  442.                         <div class=\"col-sm-12\">
  443.                             <div class=\"my-4 text-page-ref\">
  444.                                 {% if activite.image and activite.image is not empty  %}
  445.                                     <div class=\"container-img\">
  446.                                        <img class=\"lazyload img-fluid principal-img \" data-srcset=\"{{asset_image(activite.image)}}\" src=\"{{asset_image(activite.image)}}\" alt=\"{{activite.titreactivite}}\" />
  447.                                     </div>
  448.                                 {% endif %}
  449.                                 <div>
  450.                                     <div ><h2>{{titre}}</h2></div>
  451.                                     {% if texte is not empty and texte != \" \" %}
  452.                                         <div class=\"\"> {{texte|raw}} </div>
  453.                                     {% endif %}
  454.                                 </div>
  455.                             </div>
  456.                         </div>
  457.                     </div>
  458.                 </div>
  459.                 <div class=\"bg-pages-ref\">
  460.                     {% if ref_pages is defined and ref_pages is not empty %}
  461.                         <section id=\"bloc-refs\" class=\"page-ref\">
  462.                                 <div class=\"container-fluid  mt-3\">
  463.                                     <div class=\"row gx-5 py-2\">
  464.                                         <div class=\"col-sm-12 text-center\">
  465.                                             <h2 class=\"sub-title wow\">{{parametreRef.titreblocautreprestation|default('')}} {{titre}}</h2>
  466.                                         </div>
  467.                                         <div class=\"col-sm-12\">
  468.                                             <div class=\"list_blocs pos1\">
  469.                                                 <div class=\"blocs\">
  470.                                                     <section class=\"results dynam-affichage affichage1 type_affiche3 \">
  471.                                                         {% for item in ref_pages %}
  472.                                                             {% set duree = 0.1 %}
  473.                                                             {% set image_item = item.image != null? asset_image(item.image):'uploads/images/' ~ parametre.imagevide %}
  474.                                                             <div class=\"article wow zoomIn animated\" data-wow-delay=\"{{duree}}s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
  475.                                                                 <span class=\"article-image lazyloaded\"  style=\"background-image: url({{image_item}}); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>                 
  476.                                                                 <span class=\"article-cnt\">
  477.                                                                     <a class=\"article-titre\" href=\"{{path('page',{slug:item.slug})}}\" title=\"\" >{{item.title}}</a>
  478.                                                                     <span class=\"article-txt\">
  479.                                                                         {% if item.summary is not empty %}
  480.                                                                             {{item.summary|raw}}
  481.                                                                         {% else %}
  482.                                                                             {{cutText(item.content)|raw}}
  483.                                                                         {% endif %}
  484.                                                                     </span>
  485.                                                                     
  486.                                                                     <span class=\"article-bts\">
  487.                                                                         <button class=\"article-plus btn-fade\" onclick=\"window.open('{{path('page',{slug:item.slug})}}', '_self');\" title=\"En savoir plus\">En savoir plus</button>
  488.                                                                     </span>
  489.                     
  490.                                                                 </span>
  491.                                                             </div>
  492.                                                             {% set duree = duree + 0.2 %}
  493.                                                         {% endfor %}
  494.                                                     </section>
  495.                                                 </div>
  496.                                             </div>
  497.                                         </div>
  498.                                     </div>
  499.                                 </div>
  500.                         </section>
  501.                     {% endif %}
  502.                     {% if actualites is defined and actualites is not empty %}
  503.                         <section id=\"bloc-sous-activites\" class=\"page-ref\">
  504.                                 <div class=\"container-fluid  mt-3\">
  505.                                     <div class=\"row gx-5 py-2\">
  506.                                         <div class=\"col-sm-12 text-center\">
  507.                                             <h2 class=\"sub-title wow\">{{parametreRef.titreblocactualite|default('')}}</h2>
  508.                                         </div>
  509.                                         <div class=\"col-sm-12\">
  510.                                             <div class=\"list_blocs pos1\">
  511.                                                 <div class=\"blocs\">
  512.                                                     <section class=\"results dynam-affichage affichage1 type_affiche3 \">
  513.                                                         {% for item in actualites %}
  514.                                                             {% set duree = 0.1 %}
  515.                                                             {% set image_item = item.image != null? asset_image(item.image):'uploads/images/' ~ parametre.imagevide %}
  516.                                                             <div class=\"article wow zoomIn animated\" data-wow-delay=\"{{duree}}s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
  517.                                                                 <span class=\"article-image lazyloaded\"  style=\"background-image: url({{image_item}}); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>                 
  518.                                                                 <span class=\"article-cnt\">
  519.                                                                     <a class=\"article-titre\" href=\"{{path('page',{slug:item.slug})}}\" title=\"\" >{{item.title}}</a>
  520.                                                                     <span class=\"article-txt\">
  521.                                                                         {% if item.summary is not empty %}
  522.                                                                             {{item.summary|raw}}
  523.                                                                         {% else %}
  524.                                                                             {{cutText(item.content)|raw}}
  525.                                                                         {% endif %}
  526.                                                                     </span>
  527.                                                                     <span class=\"article-bts\">
  528.                                                                         <button class=\"article-plus btn-fade\" onclick=\"window.open('{{path('page',{slug:item.slug})}}', '_self');\" title=\"En savoir plus\">En savoir plus</button>
  529.                                                                     </span>
  530.                                                                 </span>
  531.                                                             </div>
  532.                                                             {% set duree = duree + 0.2 %}
  533.                                                         {% endfor %}
  534.                                                     </section>
  535.                                                 </div>
  536.                                             </div>
  537.                                         </div>
  538.                                     </div>
  539.                                 </div>
  540.                         </section>
  541.                     {% endif %}
  542.                     {% if ref_pages_sous_activite is defined and ref_pages_sous_activite is not empty %}
  543.                         <section id=\"bloc-actualites\" class=\"page-ref\">
  544.                             <div class=\"container-fluid  mt-3\">
  545.                                 <div class=\"row gx-5 py-2\">
  546.                                     <div class=\"col-sm-12 text-center\">
  547.                                         <h2 class=\"sub-title wow\">Sous activités liées </h2>
  548.                                     </div>
  549.                                     <div class=\"col-sm-12\">
  550.                                         <div class=\"list_blocs pos1\">
  551.                                             <div class=\"blocs\">
  552.                                                 <section class=\"results dynam-affichage affichage1 type_affiche3 \">
  553.                                                     {% for item in ref_pages_sous_activite %}
  554.                                                         {% set duree = 0.1 %}
  555.                                                         {% set image_item = item.image != null? asset_image(item.image):'uploads/images/' ~ parametre.imagevide %}
  556.                                                         <div class=\"article wow zoomIn animated\" data-wow-delay=\"{{duree}}s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
  557.                                                             <span class=\"article-image lazyloaded\" style=\"background-image: url({{image_item}}); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>                 
  558.                                                             <span class=\"article-cnt\">
  559.                                                                 <a class=\"article-titre\" href=\"{{path('page',{slug:item.slug})}}\" title=\"\" >{{item.titre}}</a>
  560.                                                                 <span class=\"article-txt\">
  561.                                                                     {{cutText(item.content)|raw}}
  562.                                                                 </span>
  563.                                                                 <span class=\"article-bts\">
  564.                                                                     <button class=\"article-plus btn-fade\" onclick=\"window.open('{{path('page',{slug:item.slug})}}', '_self');\" title=\"En savoir plus\">En savoir plus</button>
  565.                                                                 </span>
  566.                                                             </span>
  567.                                                         </div>
  568.                                                         {% set duree = duree + 0.2 %}
  569.                                                     {% endfor %}
  570.                                                 </section>
  571.                                             </div>
  572.                                         </div>
  573.                                     </div>
  574.                                 </div>
  575.                             </div>
  576.                         </section>
  577.                     {% endif %}
  578.                 </div>
  579.          </div> 
  580. {% endblock %}
  581. ""front/theme1/page_activite.html.twig""/var/www/vhosts/hrz.fr/oscar-multilangue.hrz.fr/templates/front/theme1/page_activite.html.twig");
  582.     }
  583. }