var/cache/website/dev/twig/92/9237458215b72984e4ff41e4000efa1f69ab18bd94ecd3636ae144164fe2aa75.php line 275

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. /* pages/service.html.twig */
  14. class __TwigTemplate_57e65d7227f97cf5b0e85913564eacd9b47028d57132d7f106b1f0b0cf24ad9b 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.             'content' => [$this'block_content'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         return "base.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""pages/service.html.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""pages/service.html.twig"));
  38.         $this->parent $this->loadTemplate("base.html.twig""pages/service.html.twig"1);
  39.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  40.         
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  42.         
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  44.     }
  45.     // line 3
  46.     public function block_content($context, array $blocks = [])
  47.     {
  48.         $macros $this->macros;
  49.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  51.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  53.         // line 4
  54.         echo "    ";
  55.         $context["banners"] = twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'4$this->source); })()), "banner", [], "any"falsefalsefalse4);
  56.         // line 5
  57.         echo "
  58.     ";
  59.         // line 6
  60.         if ( !twig_length_filter($this->env, (isset($context["banners"]) || array_key_exists("banners"$context) ? $context["banners"] : (function () { throw new RuntimeError('Variable "banners" does not exist.'6$this->source); })()))) {
  61.             // line 7
  62.             echo "        ";
  63.             $context["parent"] = $this->env->getFunction('sulu_content_load_parent')->getCallable()((isset($context["uuid"]) || array_key_exists("uuid"$context) ? $context["uuid"] : (function () { throw new RuntimeError('Variable "uuid" does not exist.'7$this->source); })()), ["banner" => "banner"]);
  64.             // line 8
  65.             echo "        ";
  66.             $context["banners"] = ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["parent"] ?? null), "content", [], "any"falsetruefalse8), "banner", [], "any"truetruefalse8)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["parent"] ?? null), "content", [], "any"falsetruefalse8), "banner", [], "any"falsefalsefalse8), [])) : ([]));
  67.             // line 9
  68.             echo "    ";
  69.         }
  70.         // line 10
  71.         echo "
  72.     ";
  73.         // line 11
  74.         $context["promotions"] = twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'11$this->source); })()), "promotions", [], "any"falsefalsefalse11);
  75.         // line 12
  76.         echo "
  77.     ";
  78.         // line 13
  79.         if ( !twig_length_filter($this->env, (isset($context["promotions"]) || array_key_exists("promotions"$context) ? $context["promotions"] : (function () { throw new RuntimeError('Variable "promotions" does not exist.'13$this->source); })()))) {
  80.             // line 14
  81.             echo "        ";
  82.             $context["parent"] = $this->env->getFunction('sulu_content_load_parent')->getCallable()((isset($context["uuid"]) || array_key_exists("uuid"$context) ? $context["uuid"] : (function () { throw new RuntimeError('Variable "uuid" does not exist.'14$this->source); })()), ["promotion" => "promotion"]);
  83.             // line 15
  84.             echo "        ";
  85.             $context["promotions"] = ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["parent"] ?? null), "content", [], "any"falsetruefalse15), "promotion", [], "any"truetruefalse15)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["parent"] ?? null), "content", [], "any"falsetruefalse15), "promotion", [], "any"falsefalsefalse15), [])) : ([]));
  86.             // line 16
  87.             echo "    ";
  88.         }
  89.         // line 17
  90.         echo "
  91.     <div class=\"container-fluid\">
  92.         <div class=\"row\">
  93.             <div class=\"col-12 swiper swiper-banner banner-sm\">
  94.                 <div class=\"swiper-wrapper\">                   
  95.                     ";
  96.         // line 23
  97.         $context['_parent'] = $context;
  98.         $context['_seq'] = twig_ensure_traversable((isset($context["banners"]) || array_key_exists("banners"$context) ? $context["banners"] : (function () { throw new RuntimeError('Variable "banners" does not exist.'23$this->source); })()));
  99.         foreach ($context['_seq'] as $context["_key"] => $context["ban"]) {
  100.             // line 24
  101.             echo "                    <div class=\"swiper-slide d-flex bg-overlay\">
  102.                         <div class=\"container\">
  103.                             <div class=\"row h-100 align-items-center justify-content-center\">
  104.                                 <div class=\"col-auto my-5 text-center anim-fade-up anim-stagger anim-no-scrub\">                                                           
  105.                                     <h1>";
  106.             // line 28
  107.             echo twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'28$this->source); })()), "title", [], "any"falsefalsefalse28);
  108.             echo "</h1>
  109.                                     ";
  110.             // line 29
  111.             $context["logoAlt"] = [=> 109=> 110=> 111=> 110];
  112.             // line 30
  113.             echo "\t\t\t\t\t\t\t\t\t";
  114.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["content"] ?? null), "account", [], "any"falsetruefalse30), "id", [], "any"truetruefalse30)) {
  115.                 // line 31
  116.                 echo "\t\t\t\t\t\t\t\t\t\t";
  117.                 $context["logo"] = (($this->extensions['Sulu\Bundle\MediaBundle\Twig\MediaTwigExtension']->resolveMediaFunction(twig_get_attribute($this->env$this->source, (isset($context["logoAlt"]) || array_key_exists("logoAlt"$context) ? $context["logoAlt"] : (function () { throw new RuntimeError('Variable "logoAlt" does not exist.'31$this->source); })()), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'31$this->source); })()), "account", [], "any"falsefalsefalse31), "id", [], "any"falsefalsefalse31), [], "array"falsefalsefalse31), "fr")) ? ($this->extensions['Sulu\Bundle\MediaBundle\Twig\MediaTwigExtension']->resolveMediaFunction(twig_get_attribute($this->env$this->source, (isset($context["logoAlt"]) || array_key_exists("logoAlt"$context) ? $context["logoAlt"] : (function () { throw new RuntimeError('Variable "logoAlt" does not exist.'31$this->source); })()), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'31$this->source); })()), "account", [], "any"falsefalsefalse31), "id", [], "any"falsefalsefalse31), [], "array"falsefalsefalse31), "fr")) : (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'31$this->source); })()), "account", [], "any"falsefalsefalse31), "logo", [], "any"falsefalsefalse31)));
  118.                 // line 32
  119.                 echo "\t\t\t\t\t\t\t\t\t\t";
  120.                 if ((isset($context["logo"]) || array_key_exists("logo"$context) ? $context["logo"] : (function () { throw new RuntimeError('Variable "logo" does not exist.'32$this->source); })())) {
  121.                     // line 33
  122.                     echo "\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
  123.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["logo"]) || array_key_exists("logo"$context) ? $context["logo"] : (function () { throw new RuntimeError('Variable "logo" does not exist.'33$this->source); })()), "thumbnails", [], "any"falsefalsefalse33), "logo-x200", [], "array"falsefalsefalse33), "html"nulltrue);
  124.                     echo "\">
  125. \t\t\t\t\t\t\t\t\t\t";
  126.                 }
  127.                 // line 35
  128.                 echo "\t\t\t\t\t\t\t\t\t";
  129.             }
  130.             // line 36
  131.             echo "                                </div>
  132.                             </div>
  133.                         </div>
  134.                         <img src=\"";
  135.             // line 39
  136.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["ban"], "formats", [], "any"falsefalsefalse39), "banner-1600x", [], "array"falsefalsefalse39), "html"nulltrue);
  137.             echo "\" class=\"img-cover img-bg\">
  138.                     </div>
  139.                     ";
  140.         }
  141.         $_parent $context['_parent'];
  142.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ban'], $context['_parent'], $context['loop']);
  143.         $context array_intersect_key($context$_parent) + $_parent;
  144.         // line 42
  145.         echo "                </div>
  146.             </div>
  147.         </div>
  148.     </div>
  149.     <div class=\"container-fluid intro dark\">
  150.         <div class=\"container\">
  151.             <div class=\"row justify-content-center\">
  152.                 <div class=\"col-12 mb-3 p-5\">
  153.                     ";
  154.         // line 50
  155.         echo twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'50$this->source); })()), "article", [], "any"falsefalsefalse50);
  156.         echo "
  157.                 </div>
  158.             </div>
  159.         </div>
  160.     </div>
  161.     ";
  162.         // line 56
  163.         if (twig_length_filter($this->env, (isset($context["promotions"]) || array_key_exists("promotions"$context) ? $context["promotions"] : (function () { throw new RuntimeError('Variable "promotions" does not exist.'56$this->source); })()))) {
  164.             // line 57
  165.             echo "        <aside class=\"container mt-4 promotions\">
  166.             <div class=\"row\">
  167.                 <div class=\"col-12\">
  168.                     <div class=\"swiper-promo swiper\">
  169.                         <div class=\"swiper-wrapper\">
  170.                             ";
  171.             // line 62
  172.             $context['_parent'] = $context;
  173.             $context['_seq'] = twig_ensure_traversable((isset($context["promotions"]) || array_key_exists("promotions"$context) ? $context["promotions"] : (function () { throw new RuntimeError('Variable "promotions" does not exist.'62$this->source); })()));
  174.             foreach ($context['_seq'] as $context["_key"] => $context["promo"]) {
  175.                 // line 63
  176.                 echo "                                <div class=\"swiper-slide d-flex justify-content-end align-items-center p-4 anim-fade-left\">
  177.                                     ";
  178.                 // line 64
  179.                 if (twig_get_attribute($this->env$this->source$context["promo"], "image", [], "any"falsefalsefalse64)) {
  180.                     // line 65
  181.                     echo "                                        <img src=\"";
  182.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["promo"], "image", [], "any"falsefalsefalse65), "formats", [], "any"falsefalsefalse65), "banner-1600x", [], "array"falsefalsefalse65), "html"nulltrue);
  183.                     echo "\" class=\"img-cover img-bg\">
  184.                                     ";
  185.                 }
  186.                 // line 67
  187.                 echo "                                    <div class=\"col-12 col-lg-4 caption bg-danger p-3 text-center anim-fade-zoom\">
  188.                                         <h3 class=\"fs-3\">";
  189.                 // line 68
  190.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["promo"], "titre", [], "any"falsefalsefalse68), "html"nulltrue);
  191.                 echo "</h3>
  192.                                         ";
  193.                 // line 69
  194.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["promo"], "description", [], "any"falsefalsefalse69), "html"nulltrue);
  195.                 echo "
  196.                                     </div>
  197.                                 </div>
  198.                             ";
  199.             }
  200.             $_parent $context['_parent'];
  201.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['promo'], $context['_parent'], $context['loop']);
  202.             $context array_intersect_key($context$_parent) + $_parent;
  203.             // line 73
  204.             echo "                        </div>
  205.                     </div>
  206.                 </div>
  207.             </div>
  208.         </aside>
  209.     ";
  210.         }
  211.         // line 79
  212.         echo "    <section class=\"container prestations\">
  213.         <div class=\"row justify-content-center my-5\">
  214.             <h2 class=\"travaux around w-auto\">";
  215.         // line 81
  216.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("TYPES DE PRESTATIONS", [], "messages");
  217.         echo "</h2>
  218.         </div>
  219.         <div class=\"row g-lg-5 align-items-start\">
  220.             ";
  221.         // line 84
  222.         $context['_parent'] = $context;
  223.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'84$this->source); })()), "prestations", [], "any"falsefalsefalse84));
  224.         foreach ($context['_seq'] as $context["_key"] => $context["prestation"]) {
  225.             // line 85
  226.             echo "                <div class=\"col-lg-6\">
  227.                     <div class=\"prestation\">
  228.                         ";
  229.             // line 87
  230.             if (twig_get_attribute($this->env$this->source$context["prestation"], "picto", [], "any"falsefalsefalse87)) {
  231.                 // line 88
  232.                 echo "                            <i class=\"";
  233.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["prestation"], "picto", [], "any"falsefalsefalse88), "html"nulltrue);
  234.                 echo " me-3\"></i>
  235.                         ";
  236.             }
  237.             // line 90
  238.             echo "                        <h3 class=\"fs-4\">";
  239.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["prestation"], "titre", [], "any"falsefalsefalse90), "html"nulltrue);
  240.             echo "</h3>
  241.                         <hr>
  242.                         ";
  243.             // line 92
  244.             echo twig_get_attribute($this->env$this->source$context["prestation"], "texte", [], "any"falsefalsefalse92);
  245.             echo "
  246.                     </div>
  247.                 </div>
  248.             ";
  249.         }
  250.         $_parent $context['_parent'];
  251.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['prestation'], $context['_parent'], $context['loop']);
  252.         $context array_intersect_key($context$_parent) + $_parent;
  253.         // line 96
  254.         echo "        </div>
  255.     </section>
  256.     ";
  257.         // line 99
  258.         $context["parent"] = $this->env->getFunction('sulu_content_load_parent')->getCallable()((isset($context["uuid"]) || array_key_exists("uuid"$context) ? $context["uuid"] : (function () { throw new RuntimeError('Variable "uuid" does not exist.'99$this->source); })()));
  259.         // line 100
  260.         echo "    ";
  261.         $context["services_tree"] = twig_array_filter($this->env$this->env->getFunction('sulu_navigation_tree')->getCallable()(twig_get_attribute($this->env$this->source, (isset($context["parent"]) || array_key_exists("parent"$context) ? $context["parent"] : (function () { throw new RuntimeError('Variable "parent" does not exist.'100$this->source); })()), "uuid", [], "any"falsefalsefalse100)), function ($__s__) use ($context$macros) { $context["s"] = $__s__; return (!== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["s"]) || array_key_exists("s"$context) ? $context["s"] : (function () { throw new RuntimeError('Variable "s" does not exist.'100$this->source); })()), "uuid", [], "any"falsefalsefalse100), (isset($context["uuid"]) || array_key_exists("uuid"$context) ? $context["uuid"] : (function () { throw new RuntimeError('Variable "uuid" does not exist.'100$this->source); })()))); });
  262.         // line 101
  263.         echo "    <aside class=\"container-fluid accounts my-5\">
  264.         <div class=\"row\">
  265.             <h3 class=\"fs-5 travaux mb-0 col-lg-6 offset-lg-6 text-center fst-italic\">";
  266.         // line 103
  267.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Découvrez<br>nos autres expertises !", [], "messages");
  268.         echo "</h3>
  269.         </div>
  270.         <div class=\"row row-accounts\">
  271.             ";
  272.         // line 106
  273.         $context["groupe"] = $this->env->getFunction('sulu_content_load')->getCallable()("fe636747-6382-44fe-840a-c6130f1a1428", ["societes" => "societes"]);
  274.         echo "   
  275.             ";
  276.         // line 108
  277.         $context['_parent'] = $context;
  278.         $context['_seq'] = twig_ensure_traversable((isset($context["services_tree"]) || array_key_exists("services_tree"$context) ? $context["services_tree"] : (function () { throw new RuntimeError('Variable "services_tree" does not exist.'108$this->source); })()));
  279.         foreach ($context['_seq'] as $context["_key"] => $context["service_page"]) {
  280.             // line 109
  281.             echo "                ";
  282.             $context["page_content"] = $this->env->getFunction('sulu_content_load')->getCallable()(twig_get_attribute($this->env$this->source$context["service_page"], "uuid", [], "any"falsefalsefalse109), ["account" => "account"]);
  283.             // line 110
  284.             echo "\t\t\t\t";
  285.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["page_content"] ?? null), "content", [], "any"falsetruefalse110), "account", [], "any"falsetruefalse110), "id", [], "any"truetruefalse110)) {
  286.                 // line 111
  287.                 echo "\t\t\t\t\t";
  288.                 $context['_parent'] = $context;
  289.                 $context['_seq'] = twig_ensure_traversable(twig_array_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["groupe"]) || array_key_exists("groupe"$context) ? $context["groupe"] : (function () { throw new RuntimeError('Variable "groupe" does not exist.'111$this->source); })()), "content", [], "any"falsefalsefalse111), "societes", [], "any"falsefalsefalse111), function ($__s__) use ($context$macros) { $context["s"] = $__s__; return (=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["s"]) || array_key_exists("s"$context) ? $context["s"] : (function () { throw new RuntimeError('Variable "s" does not exist.'111$this->source); })()), "account", [], "any"falsefalsefalse111), "id", [], "any"falsefalsefalse111), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["page_content"]) || array_key_exists("page_content"$context) ? $context["page_content"] : (function () { throw new RuntimeError('Variable "page_content" does not exist.'111$this->source); })()), "content", [], "any"falsefalsefalse111), "account", [], "any"falsefalsefalse111), "id", [], "any"falsefalsefalse111))); }));
  290.                 foreach ($context['_seq'] as $context["_key"] => $context["societe"]) {
  291.                     echo "                
  292. \t\t\t\t\t\t";
  293.                     // line 112
  294.                     $context["image"] = $this->extensions['Sulu\Bundle\MediaBundle\Twig\MediaTwigExtension']->resolveMediaFunction(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["societe"], "account", [], "any"falsefalsefalse112), "entity", [], "any"falsefalsefalse112), "media", [], "any"falsefalsefalse112), "fr");
  295.                     // line 113
  296.                     echo "\t\t\t\t\t\t<a href=\"";
  297.                     echo twig_escape_filter($this->env$this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env$this->source$context["service_page"], "url", [], "any"falsefalsefalse113), twig_get_attribute($this->env$this->source$context["service_page"], "webspaceKey", [], "any"falsefalsefalse113)), "html"nulltrue);
  298.                     echo "\" class=\"col-md-6 p-0\">
  299. \t\t\t\t\t\t\t<div class=\"item p-4\">
  300. \t\t\t\t\t\t\t\t";
  301.                     // line 115
  302.                     if ((isset($context["image"]) || array_key_exists("image"$context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.'115$this->source); })())) {
  303.                         // line 116
  304.                         echo "\t\t\t\t\t\t\t\t<img src=\"";
  305.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["image"]) || array_key_exists("image"$context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.'116$this->source); })()), "thumbnails", [], "any"falsefalsefalse116), "sulu-400x400", [], "array"falsefalsefalse116), "html"nulltrue);
  306.                         echo "\" class=\"img-cover img-bg\">    
  307. \t\t\t\t\t\t\t\t";
  308.                     }
  309.                     // line 117
  310.                     echo "                
  311. \t\t\t\t\t\t\t\t<div class=\"infos text-center d-flex justify-content-center\">
  312. \t\t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
  313. \t\t\t\t\t\t\t\t\t\t";
  314.                     // line 120
  315.                     $context["logo"] = ((((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["societe"], "account", [], "any"falsetruefalse120), "entity", [], "any"falsetruefalse120), "logoAlt", [], "any"truetruefalse120)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["societe"], "account", [], "any"falsetruefalse120), "entity", [], "any"falsetruefalse120), "logoAlt", [], "any"falsefalsefalse120), null)) : (null))) ? ($this->extensions['Sulu\Bundle\MediaBundle\Twig\MediaTwigExtension']->resolveMediaFunction(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["societe"], "account", [], "any"falsefalsefalse120), "entity", [], "any"falsefalsefalse120), "logoAlt", [], "any"falsefalsefalse120), "fr")) : ($this->extensions['Sulu\Bundle\MediaBundle\Twig\MediaTwigExtension']->resolveMediaFunction(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["societe"], "account", [], "any"falsefalsefalse120), "entity", [], "any"falsefalsefalse120), "logo", [], "any"falsefalsefalse120), "fr")));
  316.                     // line 121
  317.                     echo "\t\t\t\t\t\t\t\t\t\t";
  318.                     if (((array_key_exists("logo"$context)) ? (_twig_default_filter((isset($context["logo"]) || array_key_exists("logo"$context) ? $context["logo"] : (function () { throw new RuntimeError('Variable "logo" does not exist.'121$this->source); })()), null)) : (null))) {
  319.                         // line 122
  320.                         echo "\t\t\t\t\t\t\t\t\t\t<div class=\"logo-wrapper d-flex align-items-center justify-content-center text-center\">
  321. \t\t\t\t\t\t\t\t\t\t\t<img src=\"";
  322.                         // line 123
  323.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["logo"]) || array_key_exists("logo"$context) ? $context["logo"] : (function () { throw new RuntimeError('Variable "logo" does not exist.'123$this->source); })()), "thumbnails", [], "any"falsefalsefalse123), "logo-x600", [], "array"falsefalsefalse123), "html"nulltrue);
  324.                         echo "\" class=\"account-logo\">
  325. \t\t\t\t\t\t\t\t\t\t</div>
  326. \t\t\t\t\t\t\t\t\t\t";
  327.                     }
  328.                     // line 126
  329.                     echo "\t\t\t\t\t\t\t\t\t\t<h3>";
  330.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["societe"], "emplacement", [], "any"falsefalsefalse126), "html"nulltrue);
  331.                     echo "</h3>
  332. \t\t\t\t\t\t\t\t\t\t";
  333.                     // line 127
  334.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["societe"], "titre", [], "any"falsefalsefalse127), "html"nulltrue);
  335.                     echo "
  336. \t\t\t\t\t\t\t\t\t</div>
  337. \t\t\t\t\t\t\t\t</div>
  338. \t\t\t\t\t\t\t</div>
  339. \t\t\t\t\t\t</a>
  340. \t\t\t\t\t";
  341.                 }
  342.                 $_parent $context['_parent'];
  343.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['societe'], $context['_parent'], $context['loop']);
  344.                 $context array_intersect_key($context$_parent) + $_parent;
  345.                 // line 133
  346.                 echo "\t\t\t\t";
  347.             }
  348.             // line 134
  349.             echo "            ";
  350.         }
  351.         $_parent $context['_parent'];
  352.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service_page'], $context['_parent'], $context['loop']);
  353.         $context array_intersect_key($context$_parent) + $_parent;
  354.         // line 135
  355.         echo "            
  356.         </div>
  357.     </aside>
  358. \t
  359.     
  360. ";
  361.         
  362.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  363.         
  364.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  365.     }
  366.     public function getTemplateName()
  367.     {
  368.         return "pages/service.html.twig";
  369.     }
  370.     public function isTraitable()
  371.     {
  372.         return false;
  373.     }
  374.     public function getDebugInfo()
  375.     {
  376.         return array (  373 => 135,  367 => 134,  364 => 133,  352 => 127,  347 => 126,  341 => 123,  338 => 122,  335 => 121,  333 => 120,  328 => 117,  322 => 116,  320 => 115,  314 => 113,  312 => 112,  305 => 111,  302 => 110,  299 => 109,  295 => 108,  290 => 106,  284 => 103,  280 => 101,  277 => 100,  275 => 99,  270 => 96,  260 => 92,  254 => 90,  248 => 88,  246 => 87,  242 => 85,  238 => 84,  232 => 81,  228 => 79,  220 => 73,  210 => 69,  206 => 68,  203 => 67,  197 => 65,  195 => 64,  192 => 63,  188 => 62,  181 => 57,  179 => 56,  170 => 50,  160 => 42,  151 => 39,  146 => 36,  143 => 35,  137 => 33,  134 => 32,  131 => 31,  128 => 30,  126 => 29,  122 => 28,  116 => 24,  112 => 23,  104 => 17,  101 => 16,  98 => 15,  95 => 14,  93 => 13,  90 => 12,  88 => 11,  85 => 10,  82 => 9,  79 => 8,  76 => 7,  74 => 6,  71 => 5,  68 => 4,  58 => 3,  35 => 1,);
  377.     }
  378.     public function getSourceContext()
  379.     {
  380.         return new Source("{% extends \"base.html.twig\" %}
  381. {% block content %}
  382.     {% set banners = content.banner %}
  383.     {% if not banners|length %}
  384.         {% set parent = sulu_content_load_parent(uuid,{'banner':'banner'}) %}
  385.         {% set banners = parent.content.banner|default([]) %}
  386.     {% endif %}
  387.     {% set promotions = content.promotions %}
  388.     {% if not promotions|length %}
  389.         {% set parent = sulu_content_load_parent(uuid,{'promotion':'promotion'}) %}
  390.         {% set promotions = parent.content.promotion|default([]) %}
  391.     {% endif %}
  392.     <div class=\"container-fluid\">
  393.         <div class=\"row\">
  394.             <div class=\"col-12 swiper swiper-banner banner-sm\">
  395.                 <div class=\"swiper-wrapper\">                   
  396.                     {% for ban in banners  %}
  397.                     <div class=\"swiper-slide d-flex bg-overlay\">
  398.                         <div class=\"container\">
  399.                             <div class=\"row h-100 align-items-center justify-content-center\">
  400.                                 <div class=\"col-auto my-5 text-center anim-fade-up anim-stagger anim-no-scrub\">                                                           
  401.                                     <h1>{{ content.title|raw }}</h1>
  402.                                     {% set logoAlt = {1:109,2:110,3:111,4:110} %}
  403. \t\t\t\t\t\t\t\t\t{% if content.account.id is defined %}
  404. \t\t\t\t\t\t\t\t\t\t{% set logo = sulu_resolve_media(logoAlt[content.account.id],'fr') ? sulu_resolve_media(logoAlt[content.account.id],'fr') : content.account.logo %}
  405. \t\t\t\t\t\t\t\t\t\t{% if logo %}
  406. \t\t\t\t\t\t\t\t\t\t\t<img src=\"{{ logo.thumbnails['logo-x200'] }}\">
  407. \t\t\t\t\t\t\t\t\t\t{% endif %}
  408. \t\t\t\t\t\t\t\t\t{% endif %}
  409.                                 </div>
  410.                             </div>
  411.                         </div>
  412.                         <img src=\"{{ ban.formats['banner-1600x'] }}\" class=\"img-cover img-bg\">
  413.                     </div>
  414.                     {% endfor %}
  415.                 </div>
  416.             </div>
  417.         </div>
  418.     </div>
  419.     <div class=\"container-fluid intro dark\">
  420.         <div class=\"container\">
  421.             <div class=\"row justify-content-center\">
  422.                 <div class=\"col-12 mb-3 p-5\">
  423.                     {{ content.article|raw }}
  424.                 </div>
  425.             </div>
  426.         </div>
  427.     </div>
  428.     {% if promotions|length %}
  429.         <aside class=\"container mt-4 promotions\">
  430.             <div class=\"row\">
  431.                 <div class=\"col-12\">
  432.                     <div class=\"swiper-promo swiper\">
  433.                         <div class=\"swiper-wrapper\">
  434.                             {% for promo in promotions %}
  435.                                 <div class=\"swiper-slide d-flex justify-content-end align-items-center p-4 anim-fade-left\">
  436.                                     {% if promo.image %}
  437.                                         <img src=\"{{ promo.image.formats['banner-1600x'] }}\" class=\"img-cover img-bg\">
  438.                                     {% endif %}
  439.                                     <div class=\"col-12 col-lg-4 caption bg-danger p-3 text-center anim-fade-zoom\">
  440.                                         <h3 class=\"fs-3\">{{ promo.titre }}</h3>
  441.                                         {{ promo.description }}
  442.                                     </div>
  443.                                 </div>
  444.                             {% endfor %}
  445.                         </div>
  446.                     </div>
  447.                 </div>
  448.             </div>
  449.         </aside>
  450.     {% endif %}
  451.     <section class=\"container prestations\">
  452.         <div class=\"row justify-content-center my-5\">
  453.             <h2 class=\"travaux around w-auto\">{% trans %}TYPES DE PRESTATIONS{% endtrans %}</h2>
  454.         </div>
  455.         <div class=\"row g-lg-5 align-items-start\">
  456.             {% for prestation in content.prestations %}
  457.                 <div class=\"col-lg-6\">
  458.                     <div class=\"prestation\">
  459.                         {% if prestation.picto %}
  460.                             <i class=\"{{ prestation.picto }} me-3\"></i>
  461.                         {% endif %}
  462.                         <h3 class=\"fs-4\">{{ prestation.titre }}</h3>
  463.                         <hr>
  464.                         {{ prestation.texte|raw }}
  465.                     </div>
  466.                 </div>
  467.             {% endfor %}
  468.         </div>
  469.     </section>
  470.     {% set parent = sulu_content_load_parent(uuid) %}
  471.     {% set services_tree = sulu_navigation_tree(parent.uuid)|filter(s => s.uuid != uuid) %}
  472.     <aside class=\"container-fluid accounts my-5\">
  473.         <div class=\"row\">
  474.             <h3 class=\"fs-5 travaux mb-0 col-lg-6 offset-lg-6 text-center fst-italic\">{% trans %}Découvrez<br>nos autres expertises !{% endtrans %}</h3>
  475.         </div>
  476.         <div class=\"row row-accounts\">
  477.             {% set groupe = sulu_content_load('fe636747-6382-44fe-840a-c6130f1a1428',{'societes' : 'societes'}) %}   
  478.             {% for service_page in services_tree %}
  479.                 {% set page_content = sulu_content_load(service_page.uuid,{'account':'account'}) %}
  480. \t\t\t\t{% if page_content.content.account.id is defined %}
  481. \t\t\t\t\t{% for societe in groupe.content.societes|filter(s => s.account.id == page_content.content.account.id) %}                
  482. \t\t\t\t\t\t{% set image = sulu_resolve_media(societe.account.entity.media, 'fr') %}
  483. \t\t\t\t\t\t<a href=\"{{ sulu_content_path(service_page.url, service_page.webspaceKey) }}\" class=\"col-md-6 p-0\">
  484. \t\t\t\t\t\t\t<div class=\"item p-4\">
  485. \t\t\t\t\t\t\t\t{% if image %}
  486. \t\t\t\t\t\t\t\t<img src=\"{{ image.thumbnails['sulu-400x400'] }}\" class=\"img-cover img-bg\">    
  487. \t\t\t\t\t\t\t\t{% endif %}                
  488. \t\t\t\t\t\t\t\t<div class=\"infos text-center d-flex justify-content-center\">
  489. \t\t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
  490. \t\t\t\t\t\t\t\t\t\t{% set logo = societe.account.entity.logoAlt|default(null) ? sulu_resolve_media(societe.account.entity.logoAlt,'fr') : sulu_resolve_media(societe.account.entity.logo,'fr')  %}
  491. \t\t\t\t\t\t\t\t\t\t{% if logo|default(null) %}
  492. \t\t\t\t\t\t\t\t\t\t<div class=\"logo-wrapper d-flex align-items-center justify-content-center text-center\">
  493. \t\t\t\t\t\t\t\t\t\t\t<img src=\"{{ logo.thumbnails['logo-x600'] }}\" class=\"account-logo\">
  494. \t\t\t\t\t\t\t\t\t\t</div>
  495. \t\t\t\t\t\t\t\t\t\t{% endif %}
  496. \t\t\t\t\t\t\t\t\t\t<h3>{{ societe.emplacement }}</h3>
  497. \t\t\t\t\t\t\t\t\t\t{{ societe.titre }}
  498. \t\t\t\t\t\t\t\t\t</div>
  499. \t\t\t\t\t\t\t\t</div>
  500. \t\t\t\t\t\t\t</div>
  501. \t\t\t\t\t\t</a>
  502. \t\t\t\t\t{% endfor %}
  503. \t\t\t\t{% endif %}
  504.             {% endfor %}
  505.             
  506.         </div>
  507.     </aside>
  508. \t
  509.     
  510. {% endblock %}
  511. ""pages/service.html.twig""/var/www/vhosts/fereol-depannage.com/preprod.fereol-depannage.com/templates/pages/service.html.twig");
  512.     }
  513. }