var/cache/dev/twig/c5/c541834443732fdb902a203d38e68e13.php line 48

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_secondaire.html.twig */
  14. class __TwigTemplate_b74e112534bd74793832c6ed7600d417 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_secondaire.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_secondaire.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_secondaire.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.          
  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 class=\"container-fluid wrapper\">
  99.                     <div class=\"row\">
  100.                         <div class=\"col-sm-12\">
  101.                             <div class=\"text-center\"><h2>";
  102.         // line 30
  103.         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.'30$this->source); })()), "html"nulltrue);
  104.         echo "</h2></div>
  105.                             
  106.                             ";
  107.         // line 32
  108.         if (( !twig_test_empty((isset($context["texte"]) || array_key_exists("texte"$context) ? $context["texte"] : (function () { throw new RuntimeError('Variable "texte" does not exist.'32$this->source); })())) && ((isset($context["texte"]) || array_key_exists("texte"$context) ? $context["texte"] : (function () { throw new RuntimeError('Variable "texte" does not exist.'32$this->source); })()) != " "))) {
  109.             // line 33
  110.             echo "                                <div>";
  111.             echo (isset($context["texte"]) || array_key_exists("texte"$context) ? $context["texte"] : (function () { throw new RuntimeError('Variable "texte" does not exist.'33$this->source); })());
  112.             echo "</div>
  113.                             ";
  114.         }
  115.         // line 35
  116.         echo "                        </div>
  117.                     </div>
  118.                 </div>
  119.                 ";
  120.         // line 39
  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.'39$this->source); })())))) {
  122.             // line 40
  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 43
  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.'43$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 49
  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.'49$this->source); })()));
  139.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  140.                 // line 50
  141.                 echo "                                                ";
  142.                 $context["duree"] = 0.1;
  143.                 // line 51
  144.                 echo "                                                ";
  145.                 $context["image_item"] = (((twig_get_attribute($this->env$this->source$context["item"], "image", [], "any"falsefalsefalse51) != null)) ? ($this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env$this->source$context["item"], "image", [], "any"falsefalsefalse51))) : (("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.'51$this->source); })()), "imagevide", [], "any"falsefalsefalse51))));
  146.                 // line 52
  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.'52$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"falsefalsefalse52)]), "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 53
  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.'53$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 55
  159.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse55), "html"nulltrue);
  160.                 echo "</h3>
  161.                                                         <span class=\"article-txt\">
  162.                                                             ";
  163.                 // line 57
  164.                 if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["item"], "summary", [], "any"falsefalsefalse57))) {
  165.                     // line 58
  166.                     echo "                                                                ";
  167.                     echo twig_get_attribute($this->env$this->source$context["item"], "summary", [], "any"falsefalsefalse58);
  168.                     echo "
  169.                                                             ";
  170.                 } else {
  171.                     // line 60
  172.                     echo "                                                                ";
  173.                     echo $this->extensions['App\Twig\FunctionExtension']->cutTextFunction(twig_get_attribute($this->env$this->source$context["item"], "content", [], "any"falsefalsefalse60));
  174.                     echo "
  175.                                                             ";
  176.                 }
  177.                 // line 62
  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 68
  186.                 $context["duree"] = ((isset($context["duree"]) || array_key_exists("duree"$context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.'68$this->source); })()) + 0.2);
  187.                 // line 69
  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 70
  194.             echo "                                        </section>
  195.                                     </div>
  196.                                 </div>
  197.                             </div>
  198.                         </div>
  199.                     </div>
  200.                 ";
  201.         }
  202.         // line 78
  203.         echo "
  204.                 ";
  205.         // line 79
  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.'79$this->source); })())))) {
  207.             // line 80
  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 89
  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.'89$this->source); })()));
  221.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  222.                 // line 90
  223.                 echo "                                                ";
  224.                 $context["duree"] = 0.1;
  225.                 // line 91
  226.                 echo "                                                ";
  227.                 $context["image_item"] = (((twig_get_attribute($this->env$this->source$context["item"], "image", [], "any"falsefalsefalse91) != null)) ? ($this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env$this->source$context["item"], "image", [], "any"falsefalsefalse91))) : (("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.'91$this->source); })()), "imagevide", [], "any"falsefalsefalse91))));
  228.                 // line 92
  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.'92$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"falsefalsefalse92)]), "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 93
  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.'93$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 95
  241.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse95), "html"nulltrue);
  242.                 echo "</h3>
  243.                                                         <span class=\"article-txt\">
  244.                                                             ";
  245.                 // line 97
  246.                 if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["item"], "summary", [], "any"falsefalsefalse97))) {
  247.                     // line 98
  248.                     echo "                                                                ";
  249.                     echo twig_get_attribute($this->env$this->source$context["item"], "summary", [], "any"falsefalsefalse98);
  250.                     echo "
  251.                                                             ";
  252.                 } else {
  253.                     // line 100
  254.                     echo "                                                                ";
  255.                     echo $this->extensions['App\Twig\FunctionExtension']->cutTextFunction(twig_get_attribute($this->env$this->source$context["item"], "content", [], "any"falsefalsefalse100));
  256.                     echo "
  257.                                                             ";
  258.                 }
  259.                 // line 102
  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 108
  268.                 $context["duree"] = ((isset($context["duree"]) || array_key_exists("duree"$context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.'108$this->source); })()) + 0.2);
  269.                 // line 109
  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 110
  276.             echo "                                        </section>
  277.                                     </div>
  278.                                 </div>
  279.                             </div>
  280.                         </div>
  281.                     </div>
  282.                 ";
  283.         }
  284.         // line 118
  285.         echo "
  286.                 ";
  287.         // line 119
  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.'119$this->source); })())))) {
  289.             // line 120
  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 129
  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.'129$this->source); })()));
  303.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  304.                 // line 130
  305.                 echo "                                                ";
  306.                 $context["duree"] = 0.1;
  307.                 // line 131
  308.                 echo "                                                ";
  309.                 $context["image_item"] = "uploads/images/place.jpg";
  310.                 // line 132
  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.'132$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"falsefalsefalse132)]), "html"nulltrue);
  315.                 echo "\" title=\"";
  316.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "titresecteur", [], "any"falsefalsefalse132), "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 133
  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.'133$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 135
  325.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "titresecteur", [], "any"falsefalsefalse135), "html"nulltrue);
  326.                 echo "</h3>
  327.                                                         <span class=\"article-txt\">
  328.                                                             ";
  329.                 // line 137
  330.                 if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["item"], "textgenerersecteurfinal", [], "any"falsefalsefalse137))) {
  331.                     // line 138
  332.                     echo "                                                                ";
  333.                     echo $this->extensions['App\Twig\FunctionExtension']->cutTextFunction(twig_get_attribute($this->env$this->source$context["item"], "textgenerersecteurfinal", [], "any"falsefalsefalse138));
  334.                     echo "
  335.                                                             ";
  336.                 }
  337.                 // line 140
  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 146
  346.                 $context["duree"] = ((isset($context["duree"]) || array_key_exists("duree"$context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.'146$this->source); })()) + 0.2);
  347.                 // line 147
  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 148
  354.             echo "                                        </section>
  355.                                     </div>
  356.                                 </div>
  357.                             </div>
  358.                         </div>
  359.                     </div>
  360.                 ";
  361.         }
  362.         // line 156
  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_secondaire.html.twig";
  374.     }
  375.     public function isTraitable()
  376.     {
  377.         return false;
  378.     }
  379.     public function getDebugInfo()
  380.     {
  381.         return array (  388 => 156,  378 => 148,  372 => 147,  370 => 146,  362 => 140,  356 => 138,  354 => 137,  349 => 135,  344 => 133,  335 => 132,  332 => 131,  329 => 130,  325 => 129,  314 => 120,  312 => 119,  309 => 118,  299 => 110,  293 => 109,  291 => 108,  283 => 102,  277 => 100,  271 => 98,  269 => 97,  264 => 95,  259 => 93,  252 => 92,  249 => 91,  246 => 90,  242 => 89,  231 => 80,  229 => 79,  226 => 78,  216 => 70,  210 => 69,  208 => 68,  200 => 62,  194 => 60,  188 => 58,  186 => 57,  181 => 55,  176 => 53,  169 => 52,  166 => 51,  163 => 50,  159 => 49,  150 => 43,  145 => 40,  143 => 39,  137 => 35,  131 => 33,  129 => 32,  124 => 30,  112 => 20,  107 => 18,  102 => 17,  100 => 16,  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.          
  392.                 <div class=\"breadcrumb-style-default\">
  393.                     <div class=\"container\">
  394.                         <div class=\"row\">
  395.                             <div class=\"col-lg-12\">
  396.                                 <div class=\"inner text-center\">
  397.                                     {% if breadcrumb is defined and breadcrumb is not empty %}
  398.                                         {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/breadcrumb.html.twig')}}
  399.                                         <h1 class=\"page-title\">{{titre_activite}}</h1>
  400.                                     {% endif %}
  401.                                 </div>
  402.                             </div>
  403.                         </div>
  404.                     </div>
  405.                 </div>
  406.                 <div class=\"container-fluid wrapper\">
  407.                     <div class=\"row\">
  408.                         <div class=\"col-sm-12\">
  409.                             <div class=\"text-center\"><h2>{{titre}}</h2></div>
  410.                             
  411.                             {% if texte is not empty and texte != \" \"  %}
  412.                                 <div>{{texte|raw}}</div>
  413.                             {% endif %}
  414.                         </div>
  415.                     </div>
  416.                 </div>
  417.                 {% if ref_pages is defined and ref_pages is not empty %}
  418.                     <div class=\"container-fluid wrapper mt-3\">
  419.                         <div class=\"row gx-5 py-2\">
  420.                             <div class=\"col-sm-12 text-center\">
  421.                                 <h2 class=\"sub-title wow\">Nos autres prestations autour de {{titre}}</h2>
  422.                             </div>
  423.                             <div class=\"col-sm-12\">
  424.                                 <div class=\"list_blocs pos1\">
  425.                                     <div class=\"blocs\">
  426.                                         <section id=\"results\" class=\"results dynam-affichage affichage1 type_affiche3\">
  427.                                             {% for item in ref_pages %}
  428.                                                 {% set duree = 0.1 %}
  429.                                                 {% set image_item = item.image != null? asset_image(item.image):'uploads/images/' ~ parametre.imagevide %}
  430.                                                 <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;\">
  431.                                                     <span class=\"article-image lazyloaded\"  style=\"background-image: url({{image_item}}); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>                 
  432.                                                     <span class=\"article-cnt\">
  433.                                                         <h3 class=\"article-titre\">{{item.title}}</h3>
  434.                                                         <span class=\"article-txt\">
  435.                                                             {% if item.summary is not empty %}
  436.                                                                 {{item.summary|raw}}
  437.                                                             {% else %}
  438.                                                                 {{cutText(item.content)|raw}}
  439.                                                             {% endif %}
  440.                                                         </span>
  441.                                                         <span class=\"article-bts\">
  442.                                                             <span class=\"article-plus btn-fade\">En savoir plus</span>
  443.                                                         </span>
  444.                                                     </span>
  445.                                                 </a>
  446.                                                 {% set duree = duree + 0.2 %}
  447.                                             {% endfor %}
  448.                                         </section>
  449.                                     </div>
  450.                                 </div>
  451.                             </div>
  452.                         </div>
  453.                     </div>
  454.                 {% endif %}
  455.                 {% if actualites is defined and actualites is not empty %}
  456.                     <div class=\"container-fluid wrapper mt-3\">
  457.                         <div class=\"row gx-5 py-2\">
  458.                             <div class=\"col-sm-12 text-center\">
  459.                                 <h2 class=\"sub-title wow\">Nos offres / actualités liées</h2>
  460.                             </div>
  461.                             <div class=\"col-sm-12\">
  462.                                 <div class=\"list_blocs pos1\">
  463.                                     <div class=\"blocs\">
  464.                                         <section id=\"results\" class=\"results dynam-affichage affichage1 type_affiche3\">
  465.                                             {% for item in actualites %}
  466.                                                 {% set duree = 0.1 %}
  467.                                                 {% set image_item = item.image != null? asset_image(item.image):'uploads/images/' ~ parametre.imagevide %}
  468.                                                 <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;\">
  469.                                                     <span class=\"article-image lazyloaded\"  style=\"background-image: url({{image_item}}); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>                 
  470.                                                     <span class=\"article-cnt\">
  471.                                                         <h3 class=\"article-titre\">{{item.title}}</h3>
  472.                                                         <span class=\"article-txt\">
  473.                                                             {% if item.summary is not empty %}
  474.                                                                 {{item.summary|raw}}
  475.                                                             {% else %}
  476.                                                                 {{cutText(item.content)|raw}}
  477.                                                             {% endif %}
  478.                                                         </span>
  479.                                                         <span class=\"article-bts\">
  480.                                                             <span class=\"article-plus btn-fade\">En savoir plus</span>
  481.                                                         </span>
  482.                                                     </span>
  483.                                                 </a>
  484.                                                 {% set duree = duree + 0.2 %}
  485.                                             {% endfor %}
  486.                                         </section>
  487.                                     </div>
  488.                                 </div>
  489.                             </div>
  490.                         </div>
  491.                     </div>
  492.                 {% endif %}
  493.                 {% if secteurs is defined and secteurs is not empty %}
  494.                     <div class=\"container-fluid wrapper mt-3\">
  495.                         <div class=\"row gx-5 py-2\">
  496.                             <div class=\"col-sm-12 text-center\">
  497.                                 <h2 class=\"sub-title wow\">Localités</h2>
  498.                             </div>
  499.                             <div class=\"col-sm-12\">
  500.                                 <div class=\"list_blocs pos1\">
  501.                                     <div class=\"blocs\">
  502.                                         <section id=\"results\" class=\"results dynam-affichage affichage1 type_affiche3\">
  503.                                             {% for item in secteurs %}
  504.                                                 {% set duree = 0.1 %}
  505.                                                 {% set image_item = 'uploads/images/place.jpg' %}
  506.                                                 <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;\">
  507.                                                     <span class=\"article-image lazyloaded\"  style=\"background-image: url({{image_item}}); background-size: contain; background-position: center center; background-repeat: no-repeat;\"> </span> 
  508.                                                     <span class=\"article-cnt\">
  509.                                                         <h3 class=\"article-titre\">{{item.titresecteur}}</h3>
  510.                                                         <span class=\"article-txt\">
  511.                                                             {% if item.textgenerersecteurfinal is not empty %}
  512.                                                                 {{cutText(item.textgenerersecteurfinal)|raw}}
  513.                                                             {% endif %}
  514.                                                         </span>
  515.                                                         <span class=\"article-bts\">
  516.                                                             <span class=\"article-plus btn-fade\">En savoir plus</span>
  517.                                                         </span>
  518.                                                     </span>
  519.                                                 </a>
  520.                                                 {% set duree = duree + 0.2 %}
  521.                                             {% endfor %}
  522.                                         </section>
  523.                                     </div>
  524.                                 </div>
  525.                             </div>
  526.                         </div>
  527.                     </div>
  528.                 {% endif %}
  529.          </div> 
  530. {% endblock %}
  531. ""front/theme1/page_activite_secondaire.html.twig""/var/www/vhosts/hrz.fr/new-site.hrz.fr/templates/front/theme1/page_activite_secondaire.html.twig");
  532.     }
  533. }