<?php
use Twig\Environment;
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;
/* Block/logo.twig */
class __TwigTemplate_5a86d13cf956d83da9d9bde8414d3c84 extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Block/logo.twig"));
// line 11
echo "<div class=\"logo_area\">
\t<div class=\"logo_inner\">
<div class=\"logo\">
<a href=\"";
// line 14
echo $this->extensions['Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension']->getUrl("homepage");
echo "\">
<img style=\"width:100%; height:100%;\" src=\"";
// line 15
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/logo.png"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["BaseInfo"] ?? null), "shop_name", [], "any", false, false, true, 15), 15, $this->source), "html", null, true);
echo "\" />
</a>
</div>
<div class=\"item_area\">
<div class=\"mypage item\">
";
// line 20
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/mypage.twig");
echo "
</div>
";
// line 22
if (twig_get_attribute($this->env, $this->source, ($context["BaseInfo"] ?? null), "option_favorite_product", [], "any", false, false, true, 22)) {
// line 23
echo " <div class=\"favorite item\">
";
// line 24
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/favorite.twig");
echo "
</div>
";
}
// line 27
echo " <div class=\"login item\">
";
// line 28
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/login.twig");
echo "
</div>
<div class=\"ec-headerNaviRole__search logo_search item\">
";
// line 31
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension']->getPath("block_search_product"));
echo "
</div>
<div class=\"contact item\">
";
// line 34
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/contact.twig");
echo "
</div>
\t\t\t<div class=\"cart item ec-headerRole__cart\">
\t\t\t\t";
// line 37
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/cart.twig");
echo "
\t\t\t</div>
</div>
</div>
</div>
";
// line 42
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/globalmenu.twig");
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Block/logo.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 106 => 42, 98 => 37, 92 => 34, 86 => 31, 80 => 28, 77 => 27, 71 => 24, 68 => 23, 66 => 22, 61 => 20, 51 => 15, 47 => 14, 42 => 11,);
}
public function getSourceContext()
{
return new Source("", "Block/logo.twig", "/var/www/test_html/app/template/paw20210401/Block/logo.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 22);
static $filters = array("escape" => 15);
static $functions = array("url" => 14, "asset" => 15, "include" => 20, "render" => 31, "path" => 31);
try {
$this->sandbox->checkSecurity(
['if'],
['escape'],
['url', 'asset', 'include', 'render', 'path']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}