<?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_813445a9838bfd75dc37eb72ca203c78 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 = [
'stylesheet' => [$this, 'block_stylesheet'],
];
$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 "
";
// line 12
$this->displayBlock('stylesheet', $context, $blocks);
// line 39
echo "
<div class=\"kofun-header\">
\t<div class=\"ec-headerNaviRole\">
\t\t<div class=\"ec-headerNaviRole__left\">
\t\t\t<div class=\"ec-headerNaviRole__search\">
\t\t\t\t";
// line 49
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("block_search_product"));
echo "
\t\t\t</div>
\t\t\t<div class=\"ec-headerRole__navSP\">
\t\t\t\t";
// line 52
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/nav_sp.twig");
echo "
\t\t\t</div>
\t\t</div>
\t\t<div class=\"ec-headerNaviRole__right\">
\t\t\t<div class=\"ec-headerNaviRole__nav\">
\t\t\t\t";
// line 57
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/login.twig");
echo "
\t\t\t</div>
\t\t\t<div class=\"ec-headerRole__cart\">
\t\t\t\t";
// line 60
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/cart.twig");
echo "
\t\t\t</div>
\t\t</div>
\t</div>
<div class=\"site-logo\">
\t\t<a href=\"";
// line 65
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "\" title=\"古墳の窓口\">
\t\t\t<img fetchpriority=\"high\" src=\"";
// line 66
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/logo_kofunomadoguchi.png"), "html", null, true);
echo "\" alt=\"古墳の窓口\">
\t\t</a>
</div>
</div>";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 12
public function block_stylesheet($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(), "block", "stylesheet"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
// line 13
echo " <style>
.ec-headerSearch .ec-headerSearch__keyword {
border: 0px;
}
.ec-headerNaviRole {
max-width: 100% !important;
background-color: #fff;
padding-top: 0px;
}
.ec-headerNaviRole__nav{
margin-right: 10px;
}
.ec-cartNavi{
padding-bottom:20px;
height: 35px;
}
.ec-cartNavi__price{
padding-bottom:15px;
}
</style>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Block/header.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 119 => 13, 109 => 12, 95 => 66, 91 => 65, 83 => 60, 77 => 57, 69 => 52, 63 => 49, 51 => 39, 49 => 12, 46 => 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.
#}
{% block stylesheet %}
<style>
.ec-headerSearch .ec-headerSearch__keyword {
border: 0px;
}
.ec-headerNaviRole {
max-width: 100% !important;
background-color: #fff;
padding-top: 0px;
}
.ec-headerNaviRole__nav{
margin-right: 10px;
}
.ec-cartNavi{
padding-bottom:20px;
height: 35px;
}
.ec-cartNavi__price{
padding-bottom:15px;
}
</style>
{% endblock %}
<div class=\"kofun-header\">
\t<div class=\"ec-headerNaviRole\">
\t\t<div class=\"ec-headerNaviRole__left\">
\t\t\t<div class=\"ec-headerNaviRole__search\">
\t\t\t\t{{ render(path('block_search_product')) }}
\t\t\t</div>
\t\t\t<div class=\"ec-headerRole__navSP\">
\t\t\t\t{{ include('Block/nav_sp.twig') }}
\t\t\t</div>
\t\t</div>
\t\t<div class=\"ec-headerNaviRole__right\">
\t\t\t<div class=\"ec-headerNaviRole__nav\">
\t\t\t\t{{ include('Block/login.twig') }}
\t\t\t</div>
\t\t\t<div class=\"ec-headerRole__cart\">
\t\t\t\t{{ include('Block/cart.twig') }}
\t\t\t</div>
\t\t</div>
\t</div>
<div class=\"site-logo\">
\t\t<a href=\"{{ url('homepage') }}\" title=\"古墳の窓口\">
\t\t\t<img fetchpriority=\"high\" src=\"{{ asset('assets/img/top/logo_kofunomadoguchi.png') }}\" alt=\"古墳の窓口\">
\t\t</a>
</div>
</div>", "Block/header.twig", "/var/www/html/app/template/default/Block/header.twig");
}
public function checkSecurity()
{
static $tags = array("block" => 12);
static $filters = array("escape" => 66);
static $functions = array("render" => 49, "path" => 49, "include" => 52, "url" => 65, "asset" => 66);
try {
$this->sandbox->checkSecurity(
['block'],
['escape'],
['render', 'path', 'include', 'url', 'asset'],
$this->source
);
} 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;
}
}
}