var/cache/dev_hbd3b438645322a8593dd24d071f68685/twig/8e/8eb96047c90c1c25a6146fc6c6455e88600e8127c9c47247461d9c9bea75a42b.php line 41

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
  4. use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
  5. use Twig\Error\LoaderError;
  6. use Twig\Error\RuntimeError;
  7. use Twig\Extension\SandboxExtension;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Source;
  14. use Twig\Template;
  15. /* @CogiFooterObstFruitsBest/storefront/base.html.twig */
  16. class __TwigTemplate_a7469b127eced50473fbb6ba9d3f67348a610757cdf11cffb44dcb95b0c3f2f7 extends Template
  17. {
  18.     private $source;
  19.     private $macros = [];
  20.     public function __construct(Environment $env)
  21.     {
  22.         parent::__construct($env);
  23.         $this->source $this->getSourceContext();
  24.         $this->blocks = [
  25.             'base_footer' => [$this'block_base_footer'],
  26.             'base_footer_inner' => [$this'block_base_footer_inner'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 2
  32.         return "@CogiCustomObstDe/storefront/base.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@CogiFooterObstFruitsBest/storefront/base.html.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@CogiFooterObstFruitsBest/storefront/base.html.twig"));
  41.         // line 9
  42.         $context["fruitsBestId"] = "f8814d553e4d438eb543adcf101a043c";
  43.         // line 10
  44.         $context["obstId"] = "1d38a5eb2be74f8699aec6f517cc131c";
  45.         // line 2
  46.         $this->parent $this->loadTemplate("@CogiCustomObstDe/storefront/base.html.twig""@CogiFooterObstFruitsBest/storefront/base.html.twig"2);
  47.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  48.         
  49.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  50.         
  51.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  52.     }
  53.     // line 13
  54.     public function block_base_footer($context, array $blocks = [])
  55.     {
  56.         $macros $this->macros;
  57.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_footer"));
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_footer"));
  61.         // line 14
  62.         echo "    <footer class=\"footer-main\"
  63.     ";
  64.         // line 15
  65.         if ((=== twig_compare(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["context"] ?? null), "salesChannel", [], "any"falsefalsefalse15), "id", [], "any"falsefalsefalse15), ($context["fruitsBestId"] ?? null)))) {
  66.             // line 16
  67.             echo "        style=\"background: #9fc02b;\"
  68.     ";
  69.         }
  70.         // line 18
  71.         echo "    ";
  72.         if ((=== twig_compare(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["context"] ?? null), "salesChannel", [], "any"falsefalsefalse18), "id", [], "any"falsefalsefalse18), ($context["obstId"] ?? null)))) {
  73.             // line 19
  74.             echo "        style=\"background: #A0C02B;\"
  75.     ";
  76.         }
  77.         // line 21
  78.         echo "    >
  79.         ";
  80.         // line 22
  81.         $this->displayBlock('base_footer_inner'$context$blocks);
  82.         // line 32
  83.         echo "    </footer>
  84. ";
  85.         
  86.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  87.         
  88.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  89.     }
  90.     // line 22
  91.     public function block_base_footer_inner($context, array $blocks = [])
  92.     {
  93.         $macros $this->macros;
  94.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  95.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_footer_inner"));
  96.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  97.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_footer_inner"));
  98.         // line 23
  99.         echo "            <div class=\"container\">
  100.                 ";
  101.         // line 24
  102.         if ((=== twig_compare(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["context"] ?? null), "salesChannel", [], "any"falsefalsefalse24), "id", [], "any"falsefalsefalse24), ($context["fruitsBestId"] ?? null)))) {
  103.             // line 25
  104.             echo "                    ";
  105.             $this->loadTemplate("@CogiFooterObstFruitsBest/storefront/layout/fruitsBest/fruitsBest.html.twig""@CogiFooterObstFruitsBest/storefront/base.html.twig"25)->display($context);
  106.             // line 26
  107.             echo "                ";
  108.         }
  109.         // line 27
  110.         echo "                ";
  111.         if ((=== twig_compare(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["context"] ?? null), "salesChannel", [], "any"falsefalsefalse27), "id", [], "any"falsefalsefalse27), ($context["obstId"] ?? null)))) {
  112.             // line 28
  113.             echo "                    ";
  114.             $this->loadTemplate("@CogiFooterObstFruitsBest/storefront/layout/obst/obst.html.twig""@CogiFooterObstFruitsBest/storefront/base.html.twig"28)->display($context);
  115.             // line 29
  116.             echo "                ";
  117.         }
  118.         // line 30
  119.         echo "            </div>
  120.         ";
  121.         
  122.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  123.         
  124.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  125.     }
  126.     public function getTemplateName()
  127.     {
  128.         return "@CogiFooterObstFruitsBest/storefront/base.html.twig";
  129.     }
  130.     public function isTraitable()
  131.     {
  132.         return false;
  133.     }
  134.     public function getDebugInfo()
  135.     {
  136.         return array (  136 => 30,  133 => 29,  130 => 28,  127 => 27,  124 => 26,  121 => 25,  119 => 24,  116 => 23,  106 => 22,  95 => 32,  93 => 22,  90 => 21,  86 => 19,  83 => 18,  79 => 16,  77 => 15,  74 => 14,  64 => 13,  53 => 2,  51 => 10,  49 => 9,  36 => 2,);
  137.     }
  138.     public function getSourceContext()
  139.     {
  140.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  141. {# default 3948d719a6854fcca6ba95cb3e7c2afc #}
  142. {# fruits-best.de f8814d553e4d438eb543adcf101a043c #}
  143. {# obst.de 1d38a5eb2be74f8699aec6f517cc131c #}
  144. {% set fruitsBestId = \"f8814d553e4d438eb543adcf101a043c\" %}
  145. {% set obstId = \"1d38a5eb2be74f8699aec6f517cc131c\" %}
  146. {% block base_footer %}
  147.     <footer class=\"footer-main\"
  148.     {% if context.salesChannel.id == fruitsBestId %}
  149.         style=\"background: #9fc02b;\"
  150.     {% endif %}
  151.     {% if context.salesChannel.id == obstId %}
  152.         style=\"background: #A0C02B;\"
  153.     {% endif %}
  154.     >
  155.         {% block base_footer_inner %}
  156.             <div class=\"container\">
  157.                 {% if context.salesChannel.id == fruitsBestId %}
  158.                     {% sw_include '@Storefront/storefront/layout/fruitsBest/fruitsBest.html.twig' %}
  159.                 {% endif %}
  160.                 {% if context.salesChannel.id == obstId %}
  161.                     {% sw_include '@Storefront/storefront/layout/obst/obst.html.twig' %}
  162.                 {% endif %}
  163.             </div>
  164.         {% endblock %}
  165.     </footer>
  166. {% endblock %}
  167.     
  168.         
  169. ""@CogiFooterObstFruitsBest/storefront/base.html.twig""/usr/www/users/obstdev/custom/plugins/CogiFooterFruitsBestAndObst/src/Resources/views/storefront/base.html.twig");
  170.     }
  171. }