<?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/header.twig */
class __TwigTemplate_50a5cf65dc21c0a900fbef8b790cee0c 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/header.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Block/header.twig"));
// line 11
echo "
<div class=\"ec-headerNaviRole\">
<div class=\"ec-headerNaviRole__left\">
<h1 class=\"ec-headerNaviRole__title\">
<a href=\"";
// line 15
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "\">
<img src=\"";
// line 16
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/header/logo.svg"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo", $context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.', 16, $this->source); })()), "shop_name", [], "any", false, false, true, 16), 16, $this->source), "html", null, true);
echo "\">
</a>
</h1>
<div class=\"ec-headerNaviRole__search\">
";
// line 20
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("block_search_product"));
echo "
</div>
</div>
<div class=\"ec-headerNaviRole__right\">
<div class=\"ec-headerRole__cart\">
";
// line 25
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/cart.twig");
echo "
</div>
<div class=\"ec-headerNaviRole__nav\">
";
// line 28
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/login.twig");
echo "
</div>
<div class=\"ec-headerNaviRole__navSP\">
";
// line 31
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/nav_sp.twig");
echo "
</div>
</div>
</div>";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "Block/header.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 84 => 31, 78 => 28, 72 => 25, 64 => 20, 55 => 16, 51 => 15, 45 => 11,);
}
public function getSourceContext()
{
return new Source("{#
This file is part of EC-CUBE
Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
http://www.ec-cube.co.jp/
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
<div class=\"ec-headerNaviRole\">
<div class=\"ec-headerNaviRole__left\">
<h1 class=\"ec-headerNaviRole__title\">
<a href=\"{{ url('homepage') }}\">
<img src=\"{{ asset('assets/img/header/logo.svg') }}\" alt=\"{{ BaseInfo.shop_name }}\">
</a>
</h1>
<div class=\"ec-headerNaviRole__search\">
{{ render(path('block_search_product')) }}
</div>
</div>
<div class=\"ec-headerNaviRole__right\">
<div class=\"ec-headerRole__cart\">
{{ include('Block/cart.twig') }}
</div>
<div class=\"ec-headerNaviRole__nav\">
{{ include('Block/login.twig') }}
</div>
<div class=\"ec-headerNaviRole__navSP\">
{{ include('Block/nav_sp.twig') }}
</div>
</div>
</div>", "Block/header.twig", "/home/egonet/c-bcl.com/public_html/shop/app/template/lag/Block/header.twig");
}
public function checkSecurity()
{
static $tags = array();
static $filters = array("escape" => 16);
static $functions = array("url" => 15, "asset" => 16, "render" => 20, "path" => 20, "include" => 25);
try {
$this->sandbox->checkSecurity(
[],
['escape'],
['url', 'asset', 'render', 'path', 'include']
);
} 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;
}
}
}