<?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_928557e3cb2fc8feed1c8f4871aacc74 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 "
<nav id=\"header_nav\" class=\"navbar navbar-light fixed-top\">
<div class=\"container-fluid justify-content-center\">
<div class=\"menu_btn position-absolute start-0\">
<!--<button class=\"navbar-toggler\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#navbarSupportedContent\" aria-controls=\"navbarSupportedContent\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">-->
<button class=\"navbar-toggler\" type=\"button\" data-bs-toggle=\"offcanvas\" data-bs-target=\"#offcanvas\" aria-controls=\"offcanvas\">
<span class=\"navbar-toggler-icon\"></span>
</button>
</div>
<div class=\"text-center\">
<a href=\"";
// line 22
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "\" class=\"navbar-brand logo_small text-white d-inline-block me-0\">
<img src=\"";
// line 23
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/logo1.png"), "html", null, true);
echo "\" alt=\"鍛造指輪\">
<p class=\"mb-0\">公式オンラインショップ</p>
</a>
</div>
<div class=\"links position-absolute end-0 d-flex align-items-center\">
<div class=\"nav-item px-2 px-md-3 pe-lg-2\">
<a href=\"";
// line 30
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "\" class=\"d-none d-sm-flex align-items-center\">
<i class=\"ec-headerNav__itemIcon bi bi-house\"></i>
<span class=\"fs-6 d-none d-lg-block ps-1\">HOME</span>
</a>
</div>
<div class=\"nav-item px-2 px-md-3 pe-lg-1\">
<a href=\"";
// line 36
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("favorite");
echo "\" class=\"d-flex align-items-center\">
<i class=\"ec-headerNav__itemIcon bi bi-heart\"></i>
<span class=\"fs-6 d-none d-lg-block ps-1\">お気に入り</span>
</a>
</div>
<div class=\"nav-item px-2 px-md-3 pe-lg-2\">
<a href=\"";
// line 42
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
echo "\" class=\"d-flex align-items-center\">
<i class=\"ec-headerNav__itemIcon bi bi-cart3\"></i>
<span class=\"fs-6 d-none d-lg-block ps-1\">カート</span>
</a>
</div>
</div>
</div>
</nav>
<div class=\"offcanvas offcanvas-start bg_black2 text-white text-center\" tabindex=\"-1\" id=\"offcanvas\" aria-labelledby=\"offcanvasLabel\">
<div class=\"offcanvas-header bg_black1\">
<h5 class=\"offcanvas-title\"><!--Menu--></h5>
<button type=\"button\" class=\"btn-close text-reset text-white\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>
</div>
<div class=\"offcanvas-body p-0\">
";
// line 57
if (twig_get_attribute($this->env, $this->source, (isset($context["Layout"]) || array_key_exists("Layout", $context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.', 57, $this->source); })()), "Drawer", [], "any", false, false, true, 57)) {
// line 58
echo " ";
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "block.twig", ["Blocks" => twig_get_attribute($this->env, $this->source, (isset($context["Layout"]) || array_key_exists("Layout", $context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.', 58, $this->source); })()), "Drawer", [], "any", false, false, true, 58)]);
echo "
";
}
// line 60
echo "
<div class=\"menu_others row flex-wrap g-0 py-3\">
<div class=\"col-12 col-sm-6\">
<div class=\"px-3 py-2 d-flex justify-content-center justify-content-sm-end\">
<a href=\"";
// line 64
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("help_guide");
echo "\" class=\"text-white\">ご利用ガイド</a>
</div>
<div class=\"px-3 py-2 d-flex justify-content-center justify-content-sm-end\">
<a href=\"";
// line 67
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("help_faq");
echo "\" class=\"text-white\">よくあるご質問</a>
</div>
</div>
<div class=\"col-12 col-sm-6\">
<div class=\"px-3 py-2 d-flex justify-content-center justify-content-sm-start\">
<a href=\"";
// line 72
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("help_tradelaw");
echo "\" class=\"text-white\">特定商取引法に基づく表記</a>
</div>
<div class=\"px-3 py-2 d-flex justify-content-center justify-content-sm-start\">
<a href=\"";
// line 75
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("help_privacy");
echo "\" class=\"text-white\">プライバシーポリシー</a>
</div>
";
// line 80
echo " </div>
<div class=\"col-12\">
<div class=\"px-3 py-2 d-flex justify-content-center\">
<a href=\"";
// line 83
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("contact");
echo "\" class=\"text-white\">お問い合わせ</a>
</div>
</div>
</div>
<div class=\"footer_info bg_black1 mt-0 py-4\">
<div class=\"ec-footerTitle__logo p-3 text-center\">
<a href=\"";
// line 89
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_l.png"), "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.', 89, $this->source); })()), "shop_name", [], "any", false, false, true, 89), 89, $this->source), "html", null, true);
echo "></a>
</div>
";
// line 95
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 ( 170 => 95, 161 => 89, 152 => 83, 147 => 80, 142 => 75, 136 => 72, 128 => 67, 122 => 64, 116 => 60, 110 => 58, 108 => 57, 90 => 42, 81 => 36, 72 => 30, 62 => 23, 58 => 22, 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.
#}
<nav id=\"header_nav\" class=\"navbar navbar-light fixed-top\">
<div class=\"container-fluid justify-content-center\">
<div class=\"menu_btn position-absolute start-0\">
<!--<button class=\"navbar-toggler\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#navbarSupportedContent\" aria-controls=\"navbarSupportedContent\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">-->
<button class=\"navbar-toggler\" type=\"button\" data-bs-toggle=\"offcanvas\" data-bs-target=\"#offcanvas\" aria-controls=\"offcanvas\">
<span class=\"navbar-toggler-icon\"></span>
</button>
</div>
<div class=\"text-center\">
<a href=\"{{ url('homepage') }}\" class=\"navbar-brand logo_small text-white d-inline-block me-0\">
<img src=\"{{ asset('assets/img/common/logo1.png') }}\" alt=\"鍛造指輪\">
<p class=\"mb-0\">公式オンラインショップ</p>
</a>
</div>
<div class=\"links position-absolute end-0 d-flex align-items-center\">
<div class=\"nav-item px-2 px-md-3 pe-lg-2\">
<a href=\"{{ url('homepage') }}\" class=\"d-none d-sm-flex align-items-center\">
<i class=\"ec-headerNav__itemIcon bi bi-house\"></i>
<span class=\"fs-6 d-none d-lg-block ps-1\">HOME</span>
</a>
</div>
<div class=\"nav-item px-2 px-md-3 pe-lg-1\">
<a href=\"{{ url('favorite') }}\" class=\"d-flex align-items-center\">
<i class=\"ec-headerNav__itemIcon bi bi-heart\"></i>
<span class=\"fs-6 d-none d-lg-block ps-1\">お気に入り</span>
</a>
</div>
<div class=\"nav-item px-2 px-md-3 pe-lg-2\">
<a href=\"{{ url('cart') }}\" class=\"d-flex align-items-center\">
<i class=\"ec-headerNav__itemIcon bi bi-cart3\"></i>
<span class=\"fs-6 d-none d-lg-block ps-1\">カート</span>
</a>
</div>
</div>
</div>
</nav>
<div class=\"offcanvas offcanvas-start bg_black2 text-white text-center\" tabindex=\"-1\" id=\"offcanvas\" aria-labelledby=\"offcanvasLabel\">
<div class=\"offcanvas-header bg_black1\">
<h5 class=\"offcanvas-title\"><!--Menu--></h5>
<button type=\"button\" class=\"btn-close text-reset text-white\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>
</div>
<div class=\"offcanvas-body p-0\">
{% if Layout.Drawer %}
{{ include('block.twig', {'Blocks': Layout.Drawer}) }}
{% endif %}
<div class=\"menu_others row flex-wrap g-0 py-3\">
<div class=\"col-12 col-sm-6\">
<div class=\"px-3 py-2 d-flex justify-content-center justify-content-sm-end\">
<a href=\"{{ url('help_guide') }}\" class=\"text-white\">ご利用ガイド</a>
</div>
<div class=\"px-3 py-2 d-flex justify-content-center justify-content-sm-end\">
<a href=\"{{ url('help_faq') }}\" class=\"text-white\">よくあるご質問</a>
</div>
</div>
<div class=\"col-12 col-sm-6\">
<div class=\"px-3 py-2 d-flex justify-content-center justify-content-sm-start\">
<a href=\"{{ url('help_tradelaw') }}\" class=\"text-white\">特定商取引法に基づく表記</a>
</div>
<div class=\"px-3 py-2 d-flex justify-content-center justify-content-sm-start\">
<a href=\"{{ url('help_privacy') }}\" class=\"text-white\">プライバシーポリシー</a>
</div>
{#<div class=\"px-3 py-2 d-flex justify-content-center justify-content-sm-start\">
<a href=\"{{ url('help_about') }}\" class=\"text-white\">当サイトについて</a>
</div>#}
</div>
<div class=\"col-12\">
<div class=\"px-3 py-2 d-flex justify-content-center\">
<a href=\"{{ url('contact') }}\" class=\"text-white\">お問い合わせ</a>
</div>
</div>
</div>
<div class=\"footer_info bg_black1 mt-0 py-4\">
<div class=\"ec-footerTitle__logo p-3 text-center\">
<a href=\"{{ url('homepage') }}\"><img src=\"{{ asset('assets/img/common/logo_l.png') }}\" alt={{ BaseInfo.shop_name }}></a>
</div>
{#<p class=\"small p-3 text-white lh-lg text-center\">
「究極の結婚指輪、婚約指輪を作りたい!」<span class=\"aks\">という</span><span class=\"aks\">思いで</span><span class=\"aks\">生み出された</span><br>
<span class=\"aks\">世界にたった1つの</span><span class=\"aks\">鍛造フルオーダーメイドブランド。</span><span class=\"aks\">それが「TANZO®」です。</span>
</p>#}
</div>
</div>
</div>", "Block/header.twig", "/home/apteq5/apteq5x.com/public_html/tanzoec/app/template/tanzo/Block/header.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 57);
static $filters = array("escape" => 23);
static $functions = array("url" => 22, "asset" => 23, "include" => 58);
try {
$this->sandbox->checkSecurity(
['if'],
['escape'],
['url', 'asset', '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;
}
}
}