<?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_cf003994888e0b79facd1f7e88a4e413 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\">
<div class=\"ym-headerRole__logo\">
<h1>
<a href=\"";
// line 15
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/logo-hd_yamaria.png"), "html", null, true);
echo "\"
\t\t\t\t\talt=\"";
// line 16
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>
</div>
<div class=\"ec-headerNaviRole__right\">
<div class=\"ec-headerNaviRole__search\">
";
// line 22
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("block_search_product"));
echo "
</div>
<div class=\"ec-headerNaviRole__nav\">
";
// line 25
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/login.twig");
echo "
</div>
<div class=\"ec-headerRole__cart\">
";
// line 28
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/cart.twig");
echo "
</div>
<div class=\"ec-headerRole__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, 66 => 22, 57 => 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\">
<div class=\"ym-headerRole__logo\">
<h1>
<a href=\"{{ url('homepage') }}\"><img src=\"{{ asset('assets/img/common/logo-hd_yamaria.png') }}\"
\t\t\t\t\talt=\"{{ BaseInfo.shop_name }}\"></a>
</h1>
</div>
</div>
<div class=\"ec-headerNaviRole__right\">
<div class=\"ec-headerNaviRole__search\">
{{ render(path('block_search_product')) }}
</div>
<div class=\"ec-headerNaviRole__nav\">
{{ include('Block/login.twig') }}
</div>
<div class=\"ec-headerRole__cart\">
{{ include('Block/cart.twig') }}
</div>
<div class=\"ec-headerRole__navSP\">
{{ include('Block/nav_sp.twig') }}
</div>
</div>
</div>", "Block/header.twig", "/home/dober/testman.biz/public_html/yamaria-ec-demo/app/template/yamaria/Block/header.twig");
}
public function checkSecurity()
{
static $tags = array();
static $filters = array("escape" => 15);
static $functions = array("url" => 15, "asset" => 15, "render" => 22, "path" => 22, "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;
}
}
}