var/cache/dev/twig/95/9505d8feb291d5328db8a743366cd77d.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/localite.html.twig */
  14. class __TwigTemplate_8a3651b0c82fb3071b0b19c9e5a71159 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/localite.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/localite.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/localite.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_localite 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->envtwig_get_attribute($this->env$this->sourcetwig_last($this->env, (isset($context["breadcrumb"]) || array_key_exists("breadcrumb"$context) ? $context["breadcrumb"] : (function () { throw new RuntimeError('Variable "breadcrumb" does not exist.'17$this->source); })())), "name", [], "any"falsefalsefalse17), "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 text-center\">
  100.                             <h2>Toutes nos prestations de plomberie par localités</h2>
  101.                             <p> Lorem Ipsum is simply dummy text of the printing and typesetting industry. 
  102.                                 Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, 
  103.                                 when an unknown printer took a galley of type and scrambled it to make a type specimen book. 
  104.                                 It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
  105.                         </div>
  106.                     </div>
  107.                     ";
  108.         // line 37
  109.         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.'37$this->source); })())))) {
  110.             // line 38
  111.             echo "                        <div class=\"row localites\">
  112.                             ";
  113.             // line 39
  114.             $context['_parent'] = $context;
  115.             $context['_seq'] = twig_ensure_traversable((isset($context["secteurs"]) || array_key_exists("secteurs"$context) ? $context["secteurs"] : (function () { throw new RuntimeError('Variable "secteurs" does not exist.'39$this->source); })()));
  116.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  117.                 // line 40
  118.                 echo "                                <div class=\"col-sm-12\">
  119.                                     <div class=\"list_blocs pos1\">
  120.                                         <div class=\"blocs\">
  121.                                             <section id=\"results\" class=\"results dynam-affichage affichage1 type_affiche3\">
  122.                                                 ";
  123.                 // line 44
  124.                 $context['_parent'] = $context;
  125.                 $context['_seq'] = twig_ensure_traversable((isset($context["secteurs"]) || array_key_exists("secteurs"$context) ? $context["secteurs"] : (function () { throw new RuntimeError('Variable "secteurs" does not exist.'44$this->source); })()));
  126.                 foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  127.                     // line 45
  128.                     echo "                                                    ";
  129.                     $context["duree"] = 0.1;
  130.                     // line 46
  131.                     echo "                                                    ";
  132.                     $context["image_item"] = "uploads/images/place.jpg";
  133.                     // line 47
  134.                     echo "                                                    <a class=\"article wow zoomIn animated\" data-wow-delay=\"";
  135.                     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.'47$this->source); })()), "html"nulltrue);
  136.                     echo "s\" href=\"";
  137.                     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"falsefalsefalse47)]), "html"nulltrue);
  138.                     echo "\" title=\"";
  139.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "titresecteur", [], "any"falsefalsefalse47), "html"nulltrue);
  140.                     echo "\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
  141.                                                         <span class=\"article-image lazyloaded\"  style=\"background-image: url(";
  142.                     // line 48
  143.                     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.'48$this->source); })()), "html"nulltrue);
  144.                     echo "); background-size: contain; background-position: center center; background-repeat: no-repeat;\"> </span> 
  145.                                                         <span class=\"article-cnt\">
  146.                                                             <h3 class=\"article-titre\">";
  147.                     // line 50
  148.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "titresecteur", [], "any"falsefalsefalse50), "html"nulltrue);
  149.                     echo "</h3>
  150.                                                             ";
  151.                     // line 51
  152.                     if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["item"], "textgenerersecteurfinal", [], "any"falsefalsefalse51))) {
  153.                         // line 52
  154.                         echo "                                                                ";
  155.                         echo $this->extensions['App\Twig\FunctionExtension']->cutTextFunction(twig_get_attribute($this->env$this->source$context["item"], "textgenerersecteurfinal", [], "any"falsefalsefalse52));
  156.                         echo "
  157.                                                             ";
  158.                     }
  159.                     // line 54
  160.                     echo "                                                            <span class=\"article-bts\">
  161.                                                                 <span class=\"article-plus btn-fade\">En savoir plus</span>
  162.                                                             </span>
  163.                                                         </span>
  164.                                                     </a>
  165.                                                     ";
  166.                     // line 59
  167.                     $context["duree"] = ((isset($context["duree"]) || array_key_exists("duree"$context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.'59$this->source); })()) + 0.2);
  168.                     // line 60
  169.                     echo "                                                ";
  170.                 }
  171.                 $_parent $context['_parent'];
  172.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  173.                 $context array_intersect_key($context$_parent) + $_parent;
  174.                 // line 61
  175.                 echo "                                            </section>
  176.                                         </div>
  177.                                     </div>
  178.                                     ";
  179.                 // line 70
  180.                 echo "                                </div>
  181.                             ";
  182.             }
  183.             $_parent $context['_parent'];
  184.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  185.             $context array_intersect_key($context$_parent) + $_parent;
  186.             // line 72
  187.             echo "                        </div>
  188.                     ";
  189.         }
  190.         // line 74
  191.         echo "                </div>
  192.            
  193.          </div> 
  194. ";
  195.         
  196.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  197.         
  198.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  199.     }
  200.     public function getTemplateName()
  201.     {
  202.         return "front/theme1/localite.html.twig";
  203.     }
  204.     public function isTraitable()
  205.     {
  206.         return false;
  207.     }
  208.     public function getDebugInfo()
  209.     {
  210.         return array (  213 => 74,  209 => 72,  202 => 70,  197 => 61,  191 => 60,  189 => 59,  182 => 54,  176 => 52,  174 => 51,  170 => 50,  165 => 48,  156 => 47,  153 => 46,  150 => 45,  146 => 44,  140 => 40,  136 => 39,  133 => 38,  131 => 37,  111 => 19,  106 => 17,  101 => 16,  99 => 15,  91 => 9,  81 => 8,  68 => 4,  58 => 3,  36 => 1,);
  211.     }
  212.     public function getSourceContext()
  213.     {
  214.         return new Source("{% extends \"front/\"~ app.request.server.get('APP_THEME') ~\"/base.html.twig\" %}
  215. {% block stylesheets %}
  216.       {{parent()}}
  217. {% endblock %}
  218. {% block body %}
  219.          <div class=\"page_cms page_localite pt-5\">
  220.                 <div class=\"breadcrumb-style-default\">
  221.                     <div class=\"container\">
  222.                         <div class=\"row\">
  223.                             <div class=\"col-lg-12\">
  224.                                 <div class=\"inner text-center\">
  225.                                     {% if breadcrumb is defined and breadcrumb is not empty %}
  226.                                         {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/breadcrumb.html.twig')}}
  227.                                         <h1 class=\"page-title\">{{breadcrumb|last.name}}</h1>
  228.                                     {% endif %}
  229.                                 </div>
  230.                             </div>
  231.                         </div>
  232.                     </div>
  233.                 </div>
  234.                 <div class=\"container-fluid wrapper\">
  235.                     <div class=\"row\">
  236.                         <div class=\"col-sm-12 text-center\">
  237.                             <h2>Toutes nos prestations de plomberie par localités</h2>
  238.                             <p> Lorem Ipsum is simply dummy text of the printing and typesetting industry. 
  239.                                 Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, 
  240.                                 when an unknown printer took a galley of type and scrambled it to make a type specimen book. 
  241.                                 It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
  242.                         </div>
  243.                     </div>
  244.                     {% if secteurs is defined and secteurs is not empty %}
  245.                         <div class=\"row localites\">
  246.                             {% for item in secteurs %}
  247.                                 <div class=\"col-sm-12\">
  248.                                     <div class=\"list_blocs pos1\">
  249.                                         <div class=\"blocs\">
  250.                                             <section id=\"results\" class=\"results dynam-affichage affichage1 type_affiche3\">
  251.                                                 {% for item in secteurs %}
  252.                                                     {% set duree = 0.1 %}
  253.                                                     {% set image_item = 'uploads/images/place.jpg' %}
  254.                                                     <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;\">
  255.                                                         <span class=\"article-image lazyloaded\"  style=\"background-image: url({{image_item}}); background-size: contain; background-position: center center; background-repeat: no-repeat;\"> </span> 
  256.                                                         <span class=\"article-cnt\">
  257.                                                             <h3 class=\"article-titre\">{{item.titresecteur}}</h3>
  258.                                                             {% if item.textgenerersecteurfinal is not empty %}
  259.                                                                 {{cutText(item.textgenerersecteurfinal)|raw}}
  260.                                                             {% endif %}
  261.                                                             <span class=\"article-bts\">
  262.                                                                 <span class=\"article-plus btn-fade\">En savoir plus</span>
  263.                                                             </span>
  264.                                                         </span>
  265.                                                     </a>
  266.                                                     {% set duree = duree + 0.2 %}
  267.                                                 {% endfor %}
  268.                                             </section>
  269.                                         </div>
  270.                                     </div>
  271.                                     {# <a href=\"{{path('page_details_localite',{slug:item.libelleurl})}}\">
  272.                                         <div class=\"d-flex localite_items\">
  273.                                             <div><i class=\"fa fa-map-marker\"></i></div>
  274.                                             <div>{{item.titresecteur}}</div> 
  275.                                         </div>
  276.                                     </a> #}
  277.                                 </div>
  278.                             {% endfor %}
  279.                         </div>
  280.                     {% endif %}
  281.                 </div>
  282.            
  283.          </div> 
  284. {% endblock %}
  285. ""front/theme1/localite.html.twig""/var/www/vhosts/hrz.fr/new-site.hrz.fr/templates/front/theme1/localite.html.twig");
  286.     }
  287. }