<?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<!-- 20260216 -->
\t\t<div class=\"logo opacity\">
\t\t\t<a href=\"/\"><img src=\"";
// line 18
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.', 18, $this->source); })()), "request", [], "any", false, false, true, 18), "attributes", [], "any", false, false, true, 18), "get", [0 => "_route"], "method", false, false, true, 18) == "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.', 18, $this->source); })()), "code_min", [], "any", false, false, true, 18))) {
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.', 18, $this->source); })()), "code_min", [], "any", false, false, true, 18), 18, $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.', 18, $this->source); })()), "name", [], "any", false, false, true, 18), 18, $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.', 18, $this->source); })()), "shop_name", [], "any", false, false, true, 18), 18, $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.', 18, $this->source); })()), "request", [], "any", false, false, true, 18), "attributes", [], "any", false, false, true, 18), "get", [0 => "_route"], "method", false, false, true, 18) == "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.', 18, $this->source); })()), "shop_name", [], "any", false, false, true, 18), 18, $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.', 18, $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.', 18, $this->source); })()), 18, $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.', 18, $this->source); })()), "shop_name", [], "any", false, false, true, 18), 18, $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.', 18, $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.', 18, $this->source); })()), 18, $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.', 18, $this->source); })()), "shop_name", [], "any", false, false, true, 18), 18, $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.', 18, $this->source); })()), "shop_name", [], "any", false, false, true, 18), 18, $this->source), "html", null, true);
}
echo "\"></a>
\t\t</div>
\t\t<!-- 20260216 -->
\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 29
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 36
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 41
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 42
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 51
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) {
// line 52
echo "<li>
<a class=\"\" href=\"";
// line 53
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage");
echo "\">
<div class=\"icon\"><img src=\"";
// line 55
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 59
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("logout");
echo "\">
<div class=\"icon\"><img src=\"";
// line 61
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 65
echo "<li>
<a class=\"\" href=\"";
// line 66
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("entry");
echo "\">
<div class=\"icon\"><img src=\"";
// line 68
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 72
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage_login");
echo "\">
<div class=\"icon\"><img src=\"";
// line 73
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 77
echo "
\t\t\t\t<li>
\t\t\t\t\t<a href=\"";
// line 80
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
echo "\">
\t\t\t\t\t\t<div class=\"icon\"><img src=\"";
// line 81
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 92
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 98
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 121
$context["Categories"] = twig_get_attribute($this->env, $this->source, $this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Category"), "getList", [], "method", false, false, true, 121);
// line 122
echo "
";
// line 141
echo "
";
// line 144
$macros["__internal_parse_1"] = $this->macros["__internal_parse_1"] = $this;
// line 145
echo "
";
// line 146
$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.', 146, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["Category"]) {
// line 147
echo "\t\t\t";
if ((twig_get_attribute($this->env, $this->source, $context["Category"], "id", [], "any", false, false, true, 147) === 7)) {
// line 148
echo " <ul class=\"\"> <li>
<a href=\"";
// line 149
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, 149), 149, $this->source), "html", null, true);
echo "\">
壁掛けカレンダー
</a>
";
// line 152
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Category"], "children", [], "any", false, false, true, 152)) > 0)) {
// line 153
echo " <ul class=\"productcategory_list_child\">
";
// line 154
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["Category"], "children", [], "any", false, false, true, 154));
foreach ($context['_seq'] as $context["_key"] => $context["ChildCategory"]) {
// line 155
echo " <li>
";
// line 156
echo twig_call_macro($macros["__internal_parse_1"], "macro_tree", [$context["ChildCategory"]], 156, $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 159
echo " </ul>
\t\t ";
}
// line 161
echo " </li></ul>
\t\t\t\t";
}
// line 163
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 164
echo "
\t\t\t";
// line 165
$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.', 165, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["Category"]) {
// line 166
echo "\t\t\t";
if ((twig_get_attribute($this->env, $this->source, $context["Category"], "id", [], "any", false, false, true, 166) === 8)) {
// line 167
echo " <ul class=\"\"><li>
<a href=\"";
// line 168
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, 168), 168, $this->source), "html", null, true);
echo "\">
卓上カレンダー
</a>
";
// line 171
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Category"], "children", [], "any", false, false, true, 171)) > 0)) {
// line 172
echo " <ul class=\"productcategory_list_child\">
";
// line 173
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["Category"], "children", [], "any", false, false, true, 173));
foreach ($context['_seq'] as $context["_key"] => $context["ChildCategory"]) {
// line 174
echo " <li>
";
// line 175
echo twig_call_macro($macros["__internal_parse_1"], "macro_tree", [$context["ChildCategory"]], 175, $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 178
echo " </ul>
\t\t ";
}
// line 180
echo " </li></ul>
\t\t\t\t";
}
// line 182
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 183
echo "
\t\t\t";
// line 184
$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.', 184, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["Category"]) {
// line 185
echo "\t\t\t";
if ((twig_get_attribute($this->env, $this->source, $context["Category"], "id", [], "any", false, false, true, 185) === 9)) {
// line 186
echo " <ul class=\"\"><li>
<a href=\"";
// line 187
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, 187), 187, $this->source), "html", null, true);
echo "\">
ダイアリー・手帳
</a>
";
// line 190
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Category"], "children", [], "any", false, false, true, 190)) > 0)) {
// line 191
echo " <ul class=\"productcategory_list_child\">
";
// line 192
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["Category"], "children", [], "any", false, false, true, 192));
foreach ($context['_seq'] as $context["_key"] => $context["ChildCategory"]) {
// line 193
echo " <li>
";
// line 194
echo twig_call_macro($macros["__internal_parse_1"], "macro_tree", [$context["ChildCategory"]], 194, $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 197
echo " </ul>
\t\t ";
}
// line 199
echo " </li></ul>
\t\t\t\t";
}
// line 201
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 202
echo "
<ul class=\"\"><li>
<a href=\"/products/list?category_id=62\">贈答用ギフトボックス/付属品</a>
</li></ul>
";
// line 244
echo "
\t\t\t";
// line 248
echo "\t\t\t";
// line 281
echo "
\t\t\t";
// line 283
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 294
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\t<!-- 20260309 -->
\t\t<li>
\t\t\t<a href=\"/user_data/company\">会社概要</a>
\t\t</li>
\t\t<!-- 20260309 -->
\t</ul>
</nav>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 126
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 127
echo " ";
$macros["__internal_parse_0"] = $this;
// line 128
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.', 128, $this->source); })()), "id", [], "any", false, false, true, 128), 128, $this->source), "html", null, true);
echo "\">
";
// line 129
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.', 129, $this->source); })()), "name", [], "any", false, false, true, 129), 129, $this->source), "html", null, true);
echo "
</a>
";
// line 131
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.', 131, $this->source); })()), "children", [], "any", false, false, true, 131)) > 0)) {
// line 132
echo " <ul class=\"productcategory_list_child\">
";
// line 133
$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.', 133, $this->source); })()), "children", [], "any", false, false, true, 133));
foreach ($context['_seq'] as $context["_key"] => $context["ChildCategory"]) {
// line 134
echo " <li>
";
// line 135
echo twig_call_macro($macros["__internal_parse_0"], "macro_tree", [$context["ChildCategory"]], 135, $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 138
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 ( 552 => 138, 543 => 135, 540 => 134, 536 => 133, 533 => 132, 531 => 131, 526 => 129, 519 => 128, 516 => 127, 497 => 126, 456 => 294, 444 => 283, 441 => 281, 439 => 248, 434 => 244, 423 => 202, 417 => 201, 413 => 199, 409 => 197, 400 => 194, 397 => 193, 393 => 192, 390 => 191, 388 => 190, 380 => 187, 377 => 186, 374 => 185, 370 => 184, 367 => 183, 361 => 182, 357 => 180, 353 => 178, 344 => 175, 341 => 174, 337 => 173, 334 => 172, 332 => 171, 324 => 168, 321 => 167, 318 => 166, 314 => 165, 311 => 164, 305 => 163, 301 => 161, 297 => 159, 288 => 156, 285 => 155, 281 => 154, 278 => 153, 276 => 152, 268 => 149, 265 => 148, 262 => 147, 258 => 146, 255 => 145, 253 => 144, 249 => 141, 243 => 122, 241 => 121, 216 => 98, 211 => 92, 197 => 81, 193 => 80, 188 => 77, 179 => 73, 175 => 72, 166 => 68, 161 => 66, 158 => 65, 149 => 61, 144 => 59, 135 => 55, 130 => 53, 127 => 52, 125 => 51, 113 => 42, 109 => 41, 101 => 36, 91 => 29, 54 => 18, 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<!-- 20260216 -->
\t\t<div class=\"logo opacity\">
\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</div>
\t\t<!-- 20260216 -->
\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\t<!-- 20260309 -->
\t\t<li>
\t\t\t<a href=\"/user_data/company\">会社概要</a>
\t\t</li>
\t\t<!-- 20260309 -->
\t</ul>
</nav>
", "Block/header.twig", "/home/xs751260/kinkodo-calendar.com/public_html/app/template/kinkodo/Block/header.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 18, "set" => 121, "from" => 144, "for" => 146, "macro" => 126);
static $filters = array("escape" => 18, "trans" => 55, "length" => 152);
static $functions = array("asset" => 18, "include" => 29, "is_granted" => 51, "url" => 53, "render" => 92, "path" => 92, "repository" => 121);
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;
}
}
}