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