<?php
use Twig\Environment;
use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @CogiFooterObstFruitsBest/storefront/base.html.twig */
class __TwigTemplate_a7469b127eced50473fbb6ba9d3f67348a610757cdf11cffb44dcb95b0c3f2f7 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'base_footer' => [$this, 'block_base_footer'],
'base_footer_inner' => [$this, 'block_base_footer_inner'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@CogiCustomObstDe/storefront/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CogiFooterObstFruitsBest/storefront/base.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CogiFooterObstFruitsBest/storefront/base.html.twig"));
// line 9
$context["fruitsBestId"] = "f8814d553e4d438eb543adcf101a043c";
// line 10
$context["obstId"] = "1d38a5eb2be74f8699aec6f517cc131c";
// line 2
$this->parent = $this->loadTemplate("@CogiCustomObstDe/storefront/base.html.twig", "@CogiFooterObstFruitsBest/storefront/base.html.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 13
public function block_base_footer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer"));
// line 14
echo " <footer class=\"footer-main\"
";
// line 15
if ((0 === twig_compare(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "salesChannel", [], "any", false, false, false, 15), "id", [], "any", false, false, false, 15), ($context["fruitsBestId"] ?? null)))) {
// line 16
echo " style=\"background: #9fc02b;\"
";
}
// line 18
echo " ";
if ((0 === twig_compare(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "salesChannel", [], "any", false, false, false, 18), "id", [], "any", false, false, false, 18), ($context["obstId"] ?? null)))) {
// line 19
echo " style=\"background: #A0C02B;\"
";
}
// line 21
echo " >
";
// line 22
$this->displayBlock('base_footer_inner', $context, $blocks);
// line 32
echo " </footer>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 22
public function block_base_footer_inner($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_inner"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_inner"));
// line 23
echo " <div class=\"container\">
";
// line 24
if ((0 === twig_compare(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "salesChannel", [], "any", false, false, false, 24), "id", [], "any", false, false, false, 24), ($context["fruitsBestId"] ?? null)))) {
// line 25
echo " ";
$this->loadTemplate("@CogiFooterObstFruitsBest/storefront/layout/fruitsBest/fruitsBest.html.twig", "@CogiFooterObstFruitsBest/storefront/base.html.twig", 25)->display($context);
// line 26
echo " ";
}
// line 27
echo " ";
if ((0 === twig_compare(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "salesChannel", [], "any", false, false, false, 27), "id", [], "any", false, false, false, 27), ($context["obstId"] ?? null)))) {
// line 28
echo " ";
$this->loadTemplate("@CogiFooterObstFruitsBest/storefront/layout/obst/obst.html.twig", "@CogiFooterObstFruitsBest/storefront/base.html.twig", 28)->display($context);
// line 29
echo " ";
}
// line 30
echo " </div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@CogiFooterObstFruitsBest/storefront/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
{# default 3948d719a6854fcca6ba95cb3e7c2afc #}
{# fruits-best.de f8814d553e4d438eb543adcf101a043c #}
{# obst.de 1d38a5eb2be74f8699aec6f517cc131c #}
{% set fruitsBestId = \"f8814d553e4d438eb543adcf101a043c\" %}
{% set obstId = \"1d38a5eb2be74f8699aec6f517cc131c\" %}
{% block base_footer %}
<footer class=\"footer-main\"
{% if context.salesChannel.id == fruitsBestId %}
style=\"background: #9fc02b;\"
{% endif %}
{% if context.salesChannel.id == obstId %}
style=\"background: #A0C02B;\"
{% endif %}
>
{% block base_footer_inner %}
<div class=\"container\">
{% if context.salesChannel.id == fruitsBestId %}
{% sw_include '@Storefront/storefront/layout/fruitsBest/fruitsBest.html.twig' %}
{% endif %}
{% if context.salesChannel.id == obstId %}
{% sw_include '@Storefront/storefront/layout/obst/obst.html.twig' %}
{% endif %}
</div>
{% endblock %}
</footer>
{% endblock %}
", "@CogiFooterObstFruitsBest/storefront/base.html.twig", "/usr/www/users/obstdev/custom/plugins/CogiFooterFruitsBestAndObst/src/Resources/views/storefront/base.html.twig");
}
}