var/cache/website/dev/twig/d7/d7f3690b8e929a8fb2d564007042964c.php line 38

  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/default.html.twig */
  14. class __TwigTemplate_b8037906d2eb1fb489a4aad8c1785dcf 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_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""pages/default.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""pages/default.html.twig"));
  38.         $this->parent $this->loadTemplate("base.html.twig""pages/default.html.twig"1);
  39.         $this->parent->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_content($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""content"));
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  53.         echo "<div id=\"Content\">
  54.             <div class=\"content_wrapper clearfix\">
  55.                 <div class=\"sections_group\">
  56.                     <div class=\"entry-content\">
  57.                         <div class=\"section mcb-section bg-cover-ultrawide defaultbanner\" style=\"background-image:url(";
  58.         // line 7
  59.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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.'7$this->source); })()), "headerimage", [], "any"falsefalsefalse7), "thumbnails", [], "any"falsefalsefalse7), "1920x900.webp", [], "array"falsefalsefalse7), "html"nulltrue);
  60.         echo ");\">
  61.                             <div class=\"section_wrapper mcb-section-inner\">
  62.                                 <div class=\"wrap mcb-wrap one valign-top clearfix\">
  63.                                     <div class=\"mcb-wrap-inner\">
  64.                                         <div class=\"column mcb-column three-fourth column_column\">
  65.                                             <div class=\"column_attr clearfix\">
  66.                                                 <h2 style=\"color: #fff;\">";
  67.         // line 13
  68.         echo twig_escape_filter($this->envtwig_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.'13$this->source); })()), "title", [], "any"falsefalsefalse13), "html"nulltrue);
  69.         echo "</h2>
  70.                                             </div>
  71.                                         </div>
  72.                                     </div>
  73.                                 </div>
  74.                             </div>
  75.                         </div>
  76.                         <div class=\"section mcb-section equal-height-wrap defaultsection\" >
  77.                             <div class=\"section_wrapper mcb-section-inner\">
  78.                                 <div class=\"wrap mcb-wrap one-second valign-middle clearfix\">
  79.                                     <div class=\"mcb-wrap-inner\">
  80.                                         <div class=\"column mcb-column one column_image\">
  81.                                         ";
  82.         // line 25
  83.         $context['_parent'] = $context;
  84.         $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.'25$this->source); })()), "blocksleft", [], "any"falsefalsefalse25));
  85.         $context['loop'] = [
  86.           'parent' => $context['_parent'],
  87.           'index0' => 0,
  88.           'index'  => 1,
  89.           'first'  => true,
  90.         ];
  91.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  92.             $length count($context['_seq']);
  93.             $context['loop']['revindex0'] = $length 1;
  94.             $context['loop']['revindex'] = $length;
  95.             $context['loop']['length'] = $length;
  96.             $context['loop']['last'] = === $length;
  97.         }
  98.         foreach ($context['_seq'] as $context["_key"] => $context["block"]) {
  99.             // line 26
  100.             echo "                                                ";
  101.             $this->loadTemplate((("includes/blocks/" twig_get_attribute($this->env$this->source$context["block"], "type", [], "any"falsefalsefalse26)) . ".html.twig"), "pages/default.html.twig"26)->display(twig_array_merge($context, ["content" =>             // line 27
  102. $context["block"], "view" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 28
  103. (isset($context["view"]) || array_key_exists("view"$context) ? $context["view"] : (function () { throw new RuntimeError('Variable "view" does not exist.'28$this->source); })()), "blocksleft", [], "any"falsefalsefalse28), twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse28), [], "array"falsefalsefalse28)]));
  104.             // line 30
  105.             echo "                                                <hr class=\"no_line\" style=\"margin: 0 auto 15px;\">
  106.                                             ";
  107.             ++$context['loop']['index0'];
  108.             ++$context['loop']['index'];
  109.             $context['loop']['first'] = false;
  110.             if (isset($context['loop']['length'])) {
  111.                 --$context['loop']['revindex0'];
  112.                 --$context['loop']['revindex'];
  113.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  114.             }
  115.         }
  116.         $_parent $context['_parent'];
  117.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['block'], $context['_parent'], $context['loop']);
  118.         $context array_intersect_key($context$_parent) + $_parent;
  119.         // line 32
  120.         echo "                                        </div>
  121.                                     </div>
  122.                                 </div>
  123.                                 <div class=\"wrap mcb-wrap one-second valign-middle clearfix\" style=\"padding:0 0 0 8%\">
  124.                                     <div class=\"mcb-wrap-inner\">
  125.                                         <div class=\"column mcb-column one column_column\">
  126.                                             <div class=\"column_attr clearfix\">
  127.                                             ";
  128.         // line 39
  129.         $context['_parent'] = $context;
  130.         $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.'39$this->source); })()), "blocks", [], "any"falsefalsefalse39));
  131.         $context['loop'] = [
  132.           'parent' => $context['_parent'],
  133.           'index0' => 0,
  134.           'index'  => 1,
  135.           'first'  => true,
  136.         ];
  137.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  138.             $length count($context['_seq']);
  139.             $context['loop']['revindex0'] = $length 1;
  140.             $context['loop']['revindex'] = $length;
  141.             $context['loop']['length'] = $length;
  142.             $context['loop']['last'] = === $length;
  143.         }
  144.         foreach ($context['_seq'] as $context["_key"] => $context["block"]) {
  145.             // line 40
  146.             echo "                                                ";
  147.             $this->loadTemplate((("includes/blocks/" twig_get_attribute($this->env$this->source$context["block"], "type", [], "any"falsefalsefalse40)) . ".html.twig"), "pages/default.html.twig"40)->display(twig_array_merge($context, ["content" =>             // line 41
  148. $context["block"], "view" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 42
  149. (isset($context["view"]) || array_key_exists("view"$context) ? $context["view"] : (function () { throw new RuntimeError('Variable "view" does not exist.'42$this->source); })()), "blocks", [], "any"falsefalsefalse42), twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse42), [], "array"falsefalsefalse42)]));
  150.             // line 44
  151.             echo "                                                <hr class=\"no_line\" style=\"margin: 0 auto 15px;\">
  152.                                             ";
  153.             ++$context['loop']['index0'];
  154.             ++$context['loop']['index'];
  155.             $context['loop']['first'] = false;
  156.             if (isset($context['loop']['length'])) {
  157.                 --$context['loop']['revindex0'];
  158.                 --$context['loop']['revindex'];
  159.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  160.             }
  161.         }
  162.         $_parent $context['_parent'];
  163.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['block'], $context['_parent'], $context['loop']);
  164.         $context array_intersect_key($context$_parent) + $_parent;
  165.         // line 46
  166.         echo "                                            </div>
  167.                                         </div>
  168.                                     </div>
  169.                                 </div>
  170.                             </div>
  171.                         </div>
  172.                         ";
  173.         // line 52
  174.         $context['_parent'] = $context;
  175.         $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.'52$this->source); })()), "snippets", [], "any"falsefalsefalse52));
  176.         $context['loop'] = [
  177.           'parent' => $context['_parent'],
  178.           'index0' => 0,
  179.           'index'  => 1,
  180.           'first'  => true,
  181.         ];
  182.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  183.             $length count($context['_seq']);
  184.             $context['loop']['revindex0'] = $length 1;
  185.             $context['loop']['revindex'] = $length;
  186.             $context['loop']['length'] = $length;
  187.             $context['loop']['last'] = === $length;
  188.         }
  189.         foreach ($context['_seq'] as $context["_key"] => $context["snippet"]) {
  190.             // line 53
  191.             echo "                           ";
  192.             $this->loadTemplate((("snippets/" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["view"]) || array_key_exists("view"$context) ? $context["view"] : (function () { throw new RuntimeError('Variable "view" does not exist.'53$this->source); })()), "snippets", [], "any"falsefalsefalse53), twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse53), [], "array"falsefalsefalse53), "template", [], "array"falsefalsefalse53)) . ".html.twig"), "pages/default.html.twig"53)->display(twig_array_merge($context, ["content" =>             // line 54
  193. $context["snippet"], "view" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 55
  194. (isset($context["view"]) || array_key_exists("view"$context) ? $context["view"] : (function () { throw new RuntimeError('Variable "view" does not exist.'55$this->source); })()), "snippets", [], "any"falsefalsefalse55), twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse55), [], "array"falsefalsefalse55)]));
  195.             // line 57
  196.             echo "                        ";
  197.             ++$context['loop']['index0'];
  198.             ++$context['loop']['index'];
  199.             $context['loop']['first'] = false;
  200.             if (isset($context['loop']['length'])) {
  201.                 --$context['loop']['revindex0'];
  202.                 --$context['loop']['revindex'];
  203.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  204.             }
  205.         }
  206.         $_parent $context['_parent'];
  207.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['snippet'], $context['_parent'], $context['loop']);
  208.         $context array_intersect_key($context$_parent) + $_parent;
  209.         // line 58
  210.         echo "                        
  211.                     </div>
  212.                 </div>
  213.             </div>
  214.         </div>
  215. ";
  216.         
  217.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  218.         
  219.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  220.     }
  221.     public function getTemplateName()
  222.     {
  223.         return "pages/default.html.twig";
  224.     }
  225.     public function isTraitable()
  226.     {
  227.         return false;
  228.     }
  229.     public function getDebugInfo()
  230.     {
  231.         return array (  224 => 58,  210 => 57,  208 => 55,  207 => 54,  205 => 53,  188 => 52,  180 => 46,  165 => 44,  163 => 42,  162 => 41,  160 => 40,  143 => 39,  134 => 32,  119 => 30,  117 => 28,  116 => 27,  114 => 26,  97 => 25,  82 => 13,  73 => 7,  58 => 3,  35 => 1,);
  232.     }
  233.     public function getSourceContext()
  234.     {
  235.         return new Source("{% extends \"base.html.twig\" %}
  236. {% block content %}<div id=\"Content\">
  237.             <div class=\"content_wrapper clearfix\">
  238.                 <div class=\"sections_group\">
  239.                     <div class=\"entry-content\">
  240.                         <div class=\"section mcb-section bg-cover-ultrawide defaultbanner\" style=\"background-image:url({{content.headerimage.thumbnails[\"1920x900.webp\"]}});\">
  241.                             <div class=\"section_wrapper mcb-section-inner\">
  242.                                 <div class=\"wrap mcb-wrap one valign-top clearfix\">
  243.                                     <div class=\"mcb-wrap-inner\">
  244.                                         <div class=\"column mcb-column three-fourth column_column\">
  245.                                             <div class=\"column_attr clearfix\">
  246.                                                 <h2 style=\"color: #fff;\">{{ content.title }}</h2>
  247.                                             </div>
  248.                                         </div>
  249.                                     </div>
  250.                                 </div>
  251.                             </div>
  252.                         </div>
  253.                         <div class=\"section mcb-section equal-height-wrap defaultsection\" >
  254.                             <div class=\"section_wrapper mcb-section-inner\">
  255.                                 <div class=\"wrap mcb-wrap one-second valign-middle clearfix\">
  256.                                     <div class=\"mcb-wrap-inner\">
  257.                                         <div class=\"column mcb-column one column_image\">
  258.                                         {% for block in content.blocksleft %}
  259.                                                 {% include 'includes/blocks/' ~ block.type ~ '.html.twig' with {
  260.                                                     content: block,
  261.                                                     view: view.blocksleft[loop.index0],
  262.                                                 } %}
  263.                                                 <hr class=\"no_line\" style=\"margin: 0 auto 15px;\">
  264.                                             {% endfor %}
  265.                                         </div>
  266.                                     </div>
  267.                                 </div>
  268.                                 <div class=\"wrap mcb-wrap one-second valign-middle clearfix\" style=\"padding:0 0 0 8%\">
  269.                                     <div class=\"mcb-wrap-inner\">
  270.                                         <div class=\"column mcb-column one column_column\">
  271.                                             <div class=\"column_attr clearfix\">
  272.                                             {% for block in content.blocks %}
  273.                                                 {% include 'includes/blocks/' ~ block.type ~ '.html.twig' with {
  274.                                                     content: block,
  275.                                                     view: view.blocks[loop.index0],
  276.                                                 } %}
  277.                                                 <hr class=\"no_line\" style=\"margin: 0 auto 15px;\">
  278.                                             {% endfor %}
  279.                                             </div>
  280.                                         </div>
  281.                                     </div>
  282.                                 </div>
  283.                             </div>
  284.                         </div>
  285.                         {% for snippet in content.snippets %}
  286.                            {% include 'snippets/' ~ view.snippets[loop.index0][\"template\"] ~ '.html.twig' with {
  287.                                 content: snippet,
  288.                                 view: view.snippets[loop.index0],
  289.                             } %}
  290.                         {% endfor %}
  291.                         
  292.                     </div>
  293.                 </div>
  294.             </div>
  295.         </div>
  296. {% endblock %}
  297. ""pages/default.html.twig""/home/solutions/weber.taha-solutions.com/templates/pages/default.html.twig");
  298.     }
  299. }