<?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_06f91a134f6c167f462be19a6e178b566c45386be1d645f7cc8ae0a150d8feb7 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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Block/header.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Block/header.twig"));
// line 11
echo "<div class=\"top\">
\t<div class=\"left\">
\t\t
\t\t<p class=\"heading\">名入れカレンダー印刷・オリジナルカレンダー製作</p>
\t\t<h1 class=\"logo opacity\">
\t\t
\t\t\t<a href=\"/\"><img src=\"";
// line 17
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/assets/images/h-logo.webp"), "html", null, true);
echo "\" alt=\"";
if (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 17, $this->source); })()), "request", [], "any", false, false, true, 17), "attributes", [], "any", false, false, true, 17), "get", [0 => "_route"], "method", false, false, true, 17) == "product_detail") && array_key_exists("Product", $context))) {
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 17, $this->source); })()), "code_min", [], "any", false, false, true, 17))) {
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 17, $this->source); })()), "code_min", [], "any", false, false, true, 17), 17, $this->source), "html", null, true);
}
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 17, $this->source); })()), "name", [], "any", false, false, true, 17), 17, $this->source), "html", null, true);
echo " / ";
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.', 17, $this->source); })()), "shop_name", [], "any", false, false, true, 17), 17, $this->source), "html", null, true);
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 17, $this->source); })()), "request", [], "any", false, false, true, 17), "attributes", [], "any", false, false, true, 17), "get", [0 => "_route"], "method", false, false, true, 17) == "homepage")) {
echo "【公式】";
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.', 17, $this->source); })()), "shop_name", [], "any", false, false, true, 17), 17, $this->source), "html", null, true);
echo "|名入れカカレンダー製作 10冊からの小ロットも対応レンダー印刷・オリジナル";
} elseif ((array_key_exists("subtitle", $context) && !twig_test_empty((isset($context["subtitle"]) || array_key_exists("subtitle", $context) ? $context["subtitle"] : (function () { throw new RuntimeError('Variable "subtitle" does not exist.', 17, $this->source); })())))) {
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["subtitle"]) || array_key_exists("subtitle", $context) ? $context["subtitle"] : (function () { throw new RuntimeError('Variable "subtitle" does not exist.', 17, $this->source); })()), 17, $this->source), "html", null, true);
echo "|";
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.', 17, $this->source); })()), "shop_name", [], "any", false, false, true, 17), 17, $this->source), "html", null, true);
} elseif ((array_key_exists("title", $context) && !twig_test_empty((isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 17, $this->source); })())))) {
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 17, $this->source); })()), 17, $this->source), "html", null, true);
echo "|";
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.', 17, $this->source); })()), "shop_name", [], "any", false, false, true, 17), 17, $this->source), "html", null, true);
} else {
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.', 17, $this->source); })()), "shop_name", [], "any", false, false, true, 17), 17, $this->source), "html", null, true);
}
echo "\"></a>
\t\t</h1>
\t</div>
\t<div class=\"right\">
\t\t<div class=\"head\">
\t\t\t<ul>
\t\t\t\t<li class=\"wallhanging\">
\t\t\t\t\t
\t\t\t\t\t\t<span class=\"title\">現在の混雑状況(壁掛け)</span>
\t\t\t\t\t\t<span class=\"daybox\">現在の納品日<span class=\"day\">";
// line 26
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/textnouhinkabekake.twig");
echo "</span>
\t\t\t\t\t\t</span>
\t\t\t
\t\t\t\t</li>
\t\t\t\t<li class=\"tabletop\">
\t\t\t\t
\t\t\t\t\t\t<span class=\"title\">現在の混雑状況(卓上)</span>
\t\t\t\t\t\t<span class=\"daybox\">現在の納品日<span class=\"day\">";
// line 33
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/textnouhintakuzyou.twig");
echo "</span>
\t\t\t\t\t\t</span>
\t\t\t\t\t
\t\t\t\t</li>
\t\t\t\t<li class=\"fax\">
\t\t\t\t\t<a href=\"";
// line 38
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/assets/pdf/mitsumori.pdf"), "html", null, true);
echo "\" target=\"_blank\">FAX見積用紙</a>
\t\t\t\t\t<a href=\"";
// line 39
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/assets/pdf/order.pdf"), "html", null, true);
echo "\" target=\"_blank\">FAX注文用紙</a>
\t\t\t\t</li>
\t\t\t</ul>
\t\t</div>
\t\t<div class=\"bottom\">
\t\t\t<ul>
";
// line 48
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) {
// line 49
echo "<li>
<a class=\"\" href=\"";
// line 50
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage");
echo "\">
<div class=\"icon\"><img src=\"";
// line 52
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/assets/images/kaiin.webp"), "html", null, true);
echo "\"></div><span>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("マイページ"), "html", null, true);
echo "</span>
</a>
\t\t\t</li>
\t\t\t<li>
<a class=\"\" href=\"";
// line 56
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("logout");
echo "\">
<div class=\"icon\"><img src=\"";
// line 58
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/assets/images/login.webp"), "html", null, true);
echo "\"></div><span>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ログアウト"), "html", null, true);
echo "</span>
</a>
</li>
";
} else {
// line 62
echo "<li>
<a class=\"\" href=\"";
// line 63
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("entry");
echo "\">
<div class=\"icon\"><img src=\"";
// line 65
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/assets/images/kaiin.webp"), "html", null, true);
echo "\"></div><span>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("新規会員登録"), "html", null, true);
echo "</span>
</a>
\t\t\t</li>
\t\t\t<li>
<a class=\"\" href=\"";
// line 69
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage_login");
echo "\">
<div class=\"icon\"><img src=\"";
// line 70
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/assets/images/login.webp"), "html", null, true);
echo "\"></div><span>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ログイン"), "html", null, true);
echo "</span>
</a>
</li>
";
}
// line 74
echo "
\t\t\t\t<li>
\t\t\t\t\t<a href=\"";
// line 77
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
echo "\">
\t\t\t\t\t\t<div class=\"icon\"><img src=\"";
// line 78
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/assets/images/cart.webp"), "html", null, true);
echo "\"></div>カート</a>
\t\t\t\t</li>
\t\t\t</ul>
\t\t\t<div class=\"btn data\">
\t\t\t\t<a href=\"/user_data/request\">データ入稿はこちら</a>
\t\t\t</div>
\t\t\t";
// line 89
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";
// line 95
echo "\t\t\t<div class=\"tel-contact\">
\t\t\t\t<div class=\"tel\">
\t\t\t\t\t<a href=\"tel:0532-52-5749\">
\t\t\t\t\t\t<span>TEL.</span>0532-52-5749</a>
\t\t\t\t</div>
\t\t\t\t<div class=\"btn\">
\t\t\t\t\t<a href=\"/contact?contacttype=お問い合わせ\">お問い合わせ</a>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div>
</div>
<nav id=\"gnav\">
\t<ul>
\t\t<li>
\t\t\t<a href=\"/products/list\">商品一覧</a>
";
// line 118
$context["Categories"] = twig_get_attribute($this->env, $this->source, $this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Category"), "getList", [], "method", false, false, true, 118);
// line 119
echo "
";
// line 138
echo "
";
// line 141
$macros["__internal_parse_1"] = $this->macros["__internal_parse_1"] = $this;
// line 142
echo "
";
// line 143
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["Categories"]) || array_key_exists("Categories", $context) ? $context["Categories"] : (function () { throw new RuntimeError('Variable "Categories" does not exist.', 143, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["Category"]) {
// line 144
echo "\t\t\t";
if ((twig_get_attribute($this->env, $this->source, $context["Category"], "id", [], "any", false, false, true, 144) === 7)) {
// line 145
echo " <ul class=\"\"> <li>
<a href=\"";
// line 146
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "?category_id=";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Category"], "id", [], "any", false, false, true, 146), 146, $this->source), "html", null, true);
echo "\">
壁掛けカレンダー
</a>
";
// line 149
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Category"], "children", [], "any", false, false, true, 149)) > 0)) {
// line 150
echo " <ul class=\"productcategory_list_child\">
";
// line 151
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["Category"], "children", [], "any", false, false, true, 151));
foreach ($context['_seq'] as $context["_key"] => $context["ChildCategory"]) {
// line 152
echo " <li>
";
// line 153
echo twig_call_macro($macros["__internal_parse_1"], "macro_tree", [$context["ChildCategory"]], 153, $context, $this->getSourceContext());
echo "
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ChildCategory'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 156
echo " </ul>
\t\t ";
}
// line 158
echo " </li></ul>
\t\t\t\t";
}
// line 160
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 161
echo "
\t\t\t";
// line 162
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["Categories"]) || array_key_exists("Categories", $context) ? $context["Categories"] : (function () { throw new RuntimeError('Variable "Categories" does not exist.', 162, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["Category"]) {
// line 163
echo "\t\t\t";
if ((twig_get_attribute($this->env, $this->source, $context["Category"], "id", [], "any", false, false, true, 163) === 8)) {
// line 164
echo " <ul class=\"\"><li>
<a href=\"";
// line 165
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "?category_id=";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Category"], "id", [], "any", false, false, true, 165), 165, $this->source), "html", null, true);
echo "\">
卓上カレンダー
</a>
";
// line 168
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Category"], "children", [], "any", false, false, true, 168)) > 0)) {
// line 169
echo " <ul class=\"productcategory_list_child\">
";
// line 170
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["Category"], "children", [], "any", false, false, true, 170));
foreach ($context['_seq'] as $context["_key"] => $context["ChildCategory"]) {
// line 171
echo " <li>
";
// line 172
echo twig_call_macro($macros["__internal_parse_1"], "macro_tree", [$context["ChildCategory"]], 172, $context, $this->getSourceContext());
echo "
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ChildCategory'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 175
echo " </ul>
\t\t ";
}
// line 177
echo " </li></ul>
\t\t\t\t";
}
// line 179
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 180
echo "
\t\t\t";
// line 181
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["Categories"]) || array_key_exists("Categories", $context) ? $context["Categories"] : (function () { throw new RuntimeError('Variable "Categories" does not exist.', 181, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["Category"]) {
// line 182
echo "\t\t\t";
if ((twig_get_attribute($this->env, $this->source, $context["Category"], "id", [], "any", false, false, true, 182) === 9)) {
// line 183
echo " <ul class=\"\"><li>
<a href=\"";
// line 184
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "?category_id=";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Category"], "id", [], "any", false, false, true, 184), 184, $this->source), "html", null, true);
echo "\">
ダイアリー・手帳
</a>
";
// line 187
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Category"], "children", [], "any", false, false, true, 187)) > 0)) {
// line 188
echo " <ul class=\"productcategory_list_child\">
";
// line 189
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["Category"], "children", [], "any", false, false, true, 189));
foreach ($context['_seq'] as $context["_key"] => $context["ChildCategory"]) {
// line 190
echo " <li>
";
// line 191
echo twig_call_macro($macros["__internal_parse_1"], "macro_tree", [$context["ChildCategory"]], 191, $context, $this->getSourceContext());
echo "
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ChildCategory'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 194
echo " </ul>
\t\t ";
}
// line 196
echo " </li></ul>
\t\t\t\t";
}
// line 198
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 199
echo "
<ul class=\"\"><li>
<a href=\"/products/list?category_id=62\">贈答用ギフトボックス/付属品</a>
</li></ul>
";
// line 241
echo "
\t\t\t";
// line 245
echo "\t\t\t";
// line 278
echo "
\t\t\t";
// line 280
echo "
\t\t</li>
\t\t
\t\t<li>
\t\t\t<a href=\"/blogs/list?blogs_category_id=3\">ご利用ガイド</a>
\t\t\t
\t\t\t<ul class=\"guidesubmenu\">
\t\t\t\t<li>
\t\t\t\t\t";
// line 291
echo "\t\t\t\t\t<ul>
\t\t\t\t\t\t<li><a href=\"/blogs/detail/226\">ご利用の流れについて</a></li>
\t\t\t\t\t\t<li><a href=\"/blogs/detail/227\">お見積/ご注文依頼後について</a></li>
\t\t\t\t\t\t<li><a href=\"/blogs/detail/228\">ホームページの表示価格について</a></li>
\t\t\t\t\t\t<li><a href=\"/blogs/detail/229\">名入れ印刷(社名印刷)について</a></li>
\t\t\t\t\t\t<li><a href=\"/blogs/detail/231\">納期について</a></li>
\t\t\t\t\t\t<li><a href=\"/blogs/detail/232\">サンプル(現品見本)ご希望の方へ</a></li>
\t\t\t\t\t\t<li><a href=\"/blogs/detail/233\">カレンダー虎の巻</a></li>
\t\t\t\t\t\t<li><a href=\"/blogs/detail/234\">お断りする場合</a></li>
\t\t\t\t\t</ul>
\t\t\t\t</li>
\t\t\t</ul>
\t\t\t
\t\t</li>
\t\t<li>
\t\t\t<a href=\"/blogs/detail/237\">お客様の声</a>
\t\t</li>
\t\t<li>
\t\t\t<a href=\"/user_data/qanda\">よくあるご質問</a>
\t\t</li>
\t\t<li>
\t\t\t<a href=\"/blogs/list?blogs_category_id=1\">スタッフブログ</a>
\t\t</li>
\t</ul>
</nav>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 123
public function macro_tree($__Category__ = null, ...$__varargs__)
{
$macros = $this->macros;
$context = $this->env->mergeGlobals([
"Category" => $__Category__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start();
try {
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "tree"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "tree"));
// line 124
echo " ";
$macros["__internal_parse_0"] = $this;
// line 125
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "?category_id=";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Category"]) || array_key_exists("Category", $context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.', 125, $this->source); })()), "id", [], "any", false, false, true, 125), 125, $this->source), "html", null, true);
echo "\">
";
// line 126
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Category"]) || array_key_exists("Category", $context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.', 126, $this->source); })()), "name", [], "any", false, false, true, 126), 126, $this->source), "html", null, true);
echo "
</a>
";
// line 128
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["Category"]) || array_key_exists("Category", $context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.', 128, $this->source); })()), "children", [], "any", false, false, true, 128)) > 0)) {
// line 129
echo " <ul class=\"productcategory_list_child\">
";
// line 130
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["Category"]) || array_key_exists("Category", $context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.', 130, $this->source); })()), "children", [], "any", false, false, true, 130));
foreach ($context['_seq'] as $context["_key"] => $context["ChildCategory"]) {
// line 131
echo " <li>
";
// line 132
echo twig_call_macro($macros["__internal_parse_0"], "macro_tree", [$context["ChildCategory"]], 132, $context, $this->getSourceContext());
echo "
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ChildCategory'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 135
echo " </ul>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset());
} finally {
ob_end_clean();
}
}
public function getTemplateName()
{
return "Block/header.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 543 => 135, 534 => 132, 531 => 131, 527 => 130, 524 => 129, 522 => 128, 517 => 126, 510 => 125, 507 => 124, 488 => 123, 453 => 291, 441 => 280, 438 => 278, 436 => 245, 431 => 241, 420 => 199, 414 => 198, 410 => 196, 406 => 194, 397 => 191, 394 => 190, 390 => 189, 387 => 188, 385 => 187, 377 => 184, 374 => 183, 371 => 182, 367 => 181, 364 => 180, 358 => 179, 354 => 177, 350 => 175, 341 => 172, 338 => 171, 334 => 170, 331 => 169, 329 => 168, 321 => 165, 318 => 164, 315 => 163, 311 => 162, 308 => 161, 302 => 160, 298 => 158, 294 => 156, 285 => 153, 282 => 152, 278 => 151, 275 => 150, 273 => 149, 265 => 146, 262 => 145, 259 => 144, 255 => 143, 252 => 142, 250 => 141, 246 => 138, 240 => 119, 238 => 118, 213 => 95, 208 => 89, 194 => 78, 190 => 77, 185 => 74, 176 => 70, 172 => 69, 163 => 65, 158 => 63, 155 => 62, 146 => 58, 141 => 56, 132 => 52, 127 => 50, 124 => 49, 122 => 48, 110 => 39, 106 => 38, 98 => 33, 88 => 26, 53 => 17, 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=\"top\">
\t<div class=\"left\">
\t\t
\t\t<p class=\"heading\">名入れカレンダー印刷・オリジナルカレンダー製作</p>
\t\t<h1 class=\"logo opacity\">
\t\t
\t\t\t<a href=\"/\"><img src=\"{{ asset('assets/assets/images/h-logo.webp') }}\" alt=\"{% if app.request.attributes.get('_route') == 'product_detail' and Product is defined %}{% if Product.code_min is not empty %}{{ Product.code_min }}{% endif %}{{ Product.name }} / {{ BaseInfo.shop_name }}{% elseif app.request.attributes.get('_route') == 'homepage' %}【公式】{{ BaseInfo.shop_name }}|名入れカカレンダー製作 10冊からの小ロットも対応レンダー印刷・オリジナル{% elseif subtitle is defined and subtitle is not empty %}{{ subtitle }}|{{ BaseInfo.shop_name }}{% elseif title is defined and title is not empty %}{{ title }}|{{ BaseInfo.shop_name }}{% else %}{{ BaseInfo.shop_name }}{% endif %}\"></a>
\t\t</h1>
\t</div>
\t<div class=\"right\">
\t\t<div class=\"head\">
\t\t\t<ul>
\t\t\t\t<li class=\"wallhanging\">
\t\t\t\t\t
\t\t\t\t\t\t<span class=\"title\">現在の混雑状況(壁掛け)</span>
\t\t\t\t\t\t<span class=\"daybox\">現在の納品日<span class=\"day\">{{ include('Block/textnouhinkabekake.twig') }}</span>
\t\t\t\t\t\t</span>
\t\t\t
\t\t\t\t</li>
\t\t\t\t<li class=\"tabletop\">
\t\t\t\t
\t\t\t\t\t\t<span class=\"title\">現在の混雑状況(卓上)</span>
\t\t\t\t\t\t<span class=\"daybox\">現在の納品日<span class=\"day\">{{ include('Block/textnouhintakuzyou.twig') }}</span>
\t\t\t\t\t\t</span>
\t\t\t\t\t
\t\t\t\t</li>
\t\t\t\t<li class=\"fax\">
\t\t\t\t\t<a href=\"{{ asset('assets/assets/pdf/mitsumori.pdf') }}\" target=\"_blank\">FAX見積用紙</a>
\t\t\t\t\t<a href=\"{{ asset('assets/assets/pdf/order.pdf') }}\" target=\"_blank\">FAX注文用紙</a>
\t\t\t\t</li>
\t\t\t</ul>
\t\t</div>
\t\t<div class=\"bottom\">
\t\t\t<ul>
{% if is_granted('ROLE_USER') %}
<li>
<a class=\"\" href=\"{{ url('mypage') }}\">
<div class=\"icon\"><img src=\"{{ asset('assets/assets/images/kaiin.webp') }}\"></div><span>{{ 'マイページ'|trans }}</span>
</a>
\t\t\t</li>
\t\t\t<li>
<a class=\"\" href=\"{{ url('logout') }}\">
<div class=\"icon\"><img src=\"{{ asset('assets/assets/images/login.webp') }}\"></div><span>{{ 'ログアウト'|trans }}</span>
</a>
</li>
{% else %}
<li>
<a class=\"\" href=\"{{ url('entry') }}\">
<div class=\"icon\"><img src=\"{{ asset('assets/assets/images/kaiin.webp') }}\"></div><span>{{ '新規会員登録'|trans }}</span>
</a>
\t\t\t</li>
\t\t\t<li>
<a class=\"\" href=\"{{ url('mypage_login') }}\">
<div class=\"icon\"><img src=\"{{ asset('assets/assets/images/login.webp') }}\"></div><span>{{ 'ログイン'|trans }}</span>
</a>
</li>
{% endif %}
\t\t\t\t<li>
\t\t\t\t\t<a href=\"{{ url('cart') }}\">
\t\t\t\t\t\t<div class=\"icon\"><img src=\"{{ asset('assets/assets/images/cart.webp') }}\"></div>カート</a>
\t\t\t\t</li>
\t\t\t</ul>
\t\t\t<div class=\"btn data\">
\t\t\t\t<a href=\"/user_data/request\">データ入稿はこちら</a>
\t\t\t</div>
\t\t\t{{ render(path('block_search_product')) }}
\t\t\t{# <form action=\"/\" method=\"get\">
\t\t\t\t<input name=\"query\" type=\"text\" value=\"\" placeholder=\"商品を探す\">
\t\t\t\t<input name=\"submit\" type=\"submit\" value=\"\">
\t\t\t</form> #}
\t\t\t<div class=\"tel-contact\">
\t\t\t\t<div class=\"tel\">
\t\t\t\t\t<a href=\"tel:0532-52-5749\">
\t\t\t\t\t\t<span>TEL.</span>0532-52-5749</a>
\t\t\t\t</div>
\t\t\t\t<div class=\"btn\">
\t\t\t\t\t<a href=\"/contact?contacttype=お問い合わせ\">お問い合わせ</a>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div>
</div>
<nav id=\"gnav\">
\t<ul>
\t\t<li>
\t\t\t<a href=\"/products/list\">商品一覧</a>
{% set Categories = repository('Eccube\\\\Entity\\\\Category').getList() %}
{% macro tree(Category) %}
{% from _self import tree %}
<a href=\"{{ url('product_list') }}?category_id={{ Category.id }}\">
{{ Category.name }}
</a>
{% if Category.children|length > 0 %}
<ul class=\"productcategory_list_child\">
{% for ChildCategory in Category.children %}
<li>
{{ tree(ChildCategory) }}
</li>
{% endfor %}
</ul>
{% endif %}
{% endmacro %}
{# @see https://github.com/bolt/bolt/pull/2388 #}
{% from _self import tree %}
{% for Category in Categories %}
\t\t\t{% if Category.id is same as(7) %}
<ul class=\"\"> <li>
<a href=\"{{ url('product_list') }}?category_id={{ Category.id }}\">
壁掛けカレンダー
</a>
{% if Category.children|length > 0 %}
<ul class=\"productcategory_list_child\">
{% for ChildCategory in Category.children %}
<li>
{{ tree(ChildCategory) }}
</li>
{% endfor %}
</ul>
\t\t {% endif %}
</li></ul>
\t\t\t\t{% endif %}
{% endfor %}
\t\t\t{% for Category in Categories %}
\t\t\t{% if Category.id is same as(8) %}
<ul class=\"\"><li>
<a href=\"{{ url('product_list') }}?category_id={{ Category.id }}\">
卓上カレンダー
</a>
{% if Category.children|length > 0 %}
<ul class=\"productcategory_list_child\">
{% for ChildCategory in Category.children %}
<li>
{{ tree(ChildCategory) }}
</li>
{% endfor %}
</ul>
\t\t {% endif %}
</li></ul>
\t\t\t\t{% endif %}
{% endfor %}
\t\t\t{% for Category in Categories %}
\t\t\t{% if Category.id is same as(9) %}
<ul class=\"\"><li>
<a href=\"{{ url('product_list') }}?category_id={{ Category.id }}\">
ダイアリー・手帳
</a>
{% if Category.children|length > 0 %}
<ul class=\"productcategory_list_child\">
{% for ChildCategory in Category.children %}
<li>
{{ tree(ChildCategory) }}
</li>
{% endfor %}
</ul>
\t\t {% endif %}
</li></ul>
\t\t\t\t{% endif %}
{% endfor %}
<ul class=\"\"><li>
<a href=\"/products/list?category_id=62\">贈答用ギフトボックス/付属品</a>
</li></ul>
{# \t\t\t
{% set Categories = repository('Eccube\\\\Entity\\\\Category').getList() %}
{% macro tree(Category) %}
{% from _self import tree %}
<a href=\"{{ url('product_list') }}?category_id={{ Category.id }}\">
{{ Category.name }}
</a>
{% if Category.children|length > 0 %}
<ul class=\"productcategory_list_child\">
{% for ChildCategory in Category.children %}
<li>
{{ tree(ChildCategory) }}
</li>
{% endfor %}
</ul>
{% endif %}
{% endmacro %}
{% from _self import tree %}
{% for Category in Categories %}
\t\t\t{% if Category.id is same as(1) %}
\t\t\t{% else %}
\t\t\t<ul class=\"\">
<li class=\"productcategory_list{% if Category.children|length > 0 %} list_parent{% endif %}\">
{{ tree(Category) }}
</li>
\t\t\t</ul>
\t\t\t {% endif %}
{% endfor %}
#}
\t\t\t{# <!-- <div class=\"nav\"> --> #}
\t\t\t{# <ul>
\t\t\t\t<li>
\t\t\t\t\t<a href=\"\">項目名が入ります</a>
\t\t\t\t\t<ul>
\t\t\t\t\t\t<li><a href=\"\">項目名項目名項目名</a></li>
\t\t\t\t\t\t<li><a href=\"\">項目名項目名項目名</a></li>
\t\t\t\t\t\t<li><a href=\"\">項目名項目名項目名</a></li>
\t\t\t\t\t\t<li><a href=\"\">項目名項目名項目名</a></li>
\t\t\t\t\t</ul>
\t\t\t\t</li>
\t\t\t</ul>
\t\t\t<ul>
\t\t\t\t<li>
\t\t\t\t\t<a href=\"\">項目名が入ります</a>
\t\t\t\t\t<ul>
\t\t\t\t\t\t<li><a href=\"\">項目名項目名項目名</a></li>
\t\t\t\t\t\t<li><a href=\"\">項目名項目名項目名</a></li>
\t\t\t\t\t\t<li><a href=\"\">項目名項目名項目名</a></li>
\t\t\t\t\t\t<li><a href=\"\">項目名項目名項目名</a></li>
\t\t\t\t\t</ul>
\t\t\t\t</li>
\t\t\t</ul>
\t\t\t<ul>
\t\t\t\t<li>
\t\t\t\t\t<a href=\"\">項目名が入ります</a>
\t\t\t\t\t<ul>
\t\t\t\t\t\t<li><a href=\"\">項目名項目名項目名</a></li>
\t\t\t\t\t\t<li><a href=\"\">項目名項目名項目名</a></li>
\t\t\t\t\t\t<li><a href=\"\">項目名項目名項目名</a></li>
\t\t\t\t\t\t<li><a href=\"\">項目名項目名項目名</a></li>
\t\t\t\t\t</ul>
\t\t\t\t</li>
\t\t\t</ul> #}
\t\t\t{# <!-- </div> --> #}
\t\t</li>
\t\t
\t\t<li>
\t\t\t<a href=\"/blogs/list?blogs_category_id=3\">ご利用ガイド</a>
\t\t\t
\t\t\t<ul class=\"guidesubmenu\">
\t\t\t\t<li>
\t\t\t\t\t{# <a href=\"/blogs/list?blogs_category_id=3\">ご利用ガイド</a> #}
\t\t\t\t\t<ul>
\t\t\t\t\t\t<li><a href=\"/blogs/detail/226\">ご利用の流れについて</a></li>
\t\t\t\t\t\t<li><a href=\"/blogs/detail/227\">お見積/ご注文依頼後について</a></li>
\t\t\t\t\t\t<li><a href=\"/blogs/detail/228\">ホームページの表示価格について</a></li>
\t\t\t\t\t\t<li><a href=\"/blogs/detail/229\">名入れ印刷(社名印刷)について</a></li>
\t\t\t\t\t\t<li><a href=\"/blogs/detail/231\">納期について</a></li>
\t\t\t\t\t\t<li><a href=\"/blogs/detail/232\">サンプル(現品見本)ご希望の方へ</a></li>
\t\t\t\t\t\t<li><a href=\"/blogs/detail/233\">カレンダー虎の巻</a></li>
\t\t\t\t\t\t<li><a href=\"/blogs/detail/234\">お断りする場合</a></li>
\t\t\t\t\t</ul>
\t\t\t\t</li>
\t\t\t</ul>
\t\t\t
\t\t</li>
\t\t<li>
\t\t\t<a href=\"/blogs/detail/237\">お客様の声</a>
\t\t</li>
\t\t<li>
\t\t\t<a href=\"/user_data/qanda\">よくあるご質問</a>
\t\t</li>
\t\t<li>
\t\t\t<a href=\"/blogs/list?blogs_category_id=1\">スタッフブログ</a>
\t\t</li>
\t</ul>
</nav>
", "Block/header.twig", "/home/dennou28/kinkodo-calendar.com/public_html/app/template/kinkodo/Block/header.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 17, "set" => 118, "from" => 141, "for" => 143, "macro" => 123);
static $filters = array("escape" => 17, "trans" => 52, "length" => 149);
static $functions = array("asset" => 17, "include" => 26, "is_granted" => 48, "url" => 50, "render" => 89, "path" => 89, "repository" => 118);
try {
$this->sandbox->checkSecurity(
['if', 'set', 'from', 'for', 'macro'],
['escape', 'trans', 'length'],
['asset', 'include', 'is_granted', 'url', 'render', 'path', 'repository']
);
} 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;
}
}
}