<?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_a1964b5dd2adac6b4e68f7bcb97d9a3bf8e15b3cf365061bd383c818561ebf28 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 = [
];
}
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
$context["totalQuantity"] = $this->extensions['Eccube\Twig\Extension\CartServiceExtension']->get_carts_total_quantity();
// line 12
$context["EnUser"] = (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.', 12, $this->source); })()), "request", [], "any", false, false, false, 12), "cookies", [], "any", false, false, false, 12), "get", [0 => "en_user"], "method", false, false, false, 12) == "Y");
// line 13
echo "
";
// line 14
if (((isset($context["EnUser"]) || array_key_exists("EnUser", $context) ? $context["EnUser"] : (function () { throw new RuntimeError('Variable "EnUser" does not exist.', 14, $this->source); })()) == false)) {
// line 15
echo " <div class=\"ec-header-navi-sp pc-none\">
<div class=\"ec-header-navi-sp__logo\">
";
// line 17
if (((isset($context["ChainStore"]) || array_key_exists("ChainStore", $context) ? $context["ChainStore"] : (function () { throw new RuntimeError('Variable "ChainStore" does not exist.', 17, $this->source); })()) == false)) {
// line 18
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "\">
<img src=\"";
// line 19
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/logo_sp.png"), "html", null, true);
echo "\" width=\"80\">
</a>
";
} else {
// line 22
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage_menu");
echo "\">
<img src=\"";
// line 23
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/logo_sp.png"), "html", null, true);
echo "\" width=\"80\">
</a>
";
}
// line 26
echo " </div>
<div class=\"ec-header-navi-sp__login\">
";
// line 28
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) {
// line 29
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("logout");
echo "\">
<img src=\"";
// line 30
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/lock-alt-solid.svg"), "html", null, true);
echo "\" width=\"25\">
<span>ログアウト</span>
</a>
";
} else {
// line 34
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage_login");
echo "\">
<img src=\"";
// line 35
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/lock-alt-solid.svg"), "html", null, true);
echo "\" width=\"25\">
<span>ログイン</span>
</a>
";
}
// line 39
echo " </div>
<div class=\"ec-header-navi-sp__cart\">
<div class=\"ec-headerRole__cart\">
";
// line 42
echo twig_include($this->env, $context, "Block/cart.twig");
echo "
</div>
</div>
<div class=\"ec-header-navi-sp__store\">
";
// line 46
if (((isset($context["ChainStore"]) || array_key_exists("ChainStore", $context) ? $context["ChainStore"] : (function () { throw new RuntimeError('Variable "ChainStore" does not exist.', 46, $this->source); })()) == false)) {
// line 47
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "\">
<p><span class=\"small\">ONNLINE</span><span class=\"large\">SHOP</span></p>
<img src=\"";
// line 49
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/icon_online_store.png"), "html", null, true);
echo "\" width=\"32\">
</a>
";
} else {
// line 52
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "\">
<p class=\"chain-store-icon\">商品<br>発注</p>
</a>
";
}
// line 56
echo " </div>
<div class=\"ec-header-navi-sp__btn\">
";
// line 58
echo twig_include($this->env, $context, "Block/nav_sp.twig");
echo "
</div>
";
// line 60
if (((isset($context["ChainStore"]) || array_key_exists("ChainStore", $context) ? $context["ChainStore"] : (function () { throw new RuntimeError('Variable "ChainStore" does not exist.', 60, $this->source); })()) == false)) {
// line 61
echo " ";
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.', 61, $this->source); })()), "request", [], "any", false, false, false, 61), "attributes", [], "any", false, false, false, 61), "get", [0 => "_route"], "method", false, false, false, 61) == "homepage") || (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.', 61, $this->source); })()), "request", [], "any", false, false, false, 61), "attributes", [], "any", false, false, false, 61), "get", [0 => "_route"], "method", false, false, false, 61) == "product_list"))) {
// line 62
echo " <div class=\"ec-header-navi-sp__lang-link\">
<a href=\"";
// line 63
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("en_user");
echo "\">
<span>English Page</span>
</a>
</div>
";
}
// line 68
echo " ";
}
// line 69
echo " </div>
<div class=\"ec-header-top sp-none\">
";
// line 72
if (((isset($context["ChainStore"]) || array_key_exists("ChainStore", $context) ? $context["ChainStore"] : (function () { throw new RuntimeError('Variable "ChainStore" does not exist.', 72, $this->source); })()) == false)) {
// line 73
echo " ";
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.', 73, $this->source); })()), "request", [], "any", false, false, false, 73), "attributes", [], "any", false, false, false, 73), "get", [0 => "_route"], "method", false, false, false, 73) == "homepage") || (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.', 73, $this->source); })()), "request", [], "any", false, false, false, 73), "attributes", [], "any", false, false, false, 73), "get", [0 => "_route"], "method", false, false, false, 73) == "product_list"))) {
// line 74
echo " <div class=\"ec-header-top__lang-link\">
<a href=\"";
// line 75
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("en_user");
echo "\">English Page</a>
</div>
";
}
// line 78
echo " ";
}
// line 79
echo " ";
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(("block_" . "search_product")));
echo "
<div class=\"ec-header-top__login\">
";
// line 81
echo twig_include($this->env, $context, "Block/login.twig");
echo "
</div>
</div>
<div class=\"ec-header-bottom sp-none\">
";
// line 86
if (((isset($context["ChainStore"]) || array_key_exists("ChainStore", $context) ? $context["ChainStore"] : (function () { throw new RuntimeError('Variable "ChainStore" does not exist.', 86, $this->source); })()) == false)) {
// line 87
echo " <div class=\"ec-header-bottom__logo\">
<p class=\"ec-header-bottom__img\">
<h1>
<a href=\"";
// line 90
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "\">
<img src=\"";
// line 91
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/logo_header.png"), "html", null, true);
echo "\" alt=\"ダシーズファクトリー公式サイト オンラインショップ\">
</a>
</h1>
</p>
</div>
<div class=\"ec-header-bottom__center\">
<div class=\"ec-header-bottom__gnav\">
<ul class=\"p-global-navi\">
<li class=\"p-global-navi__item\">
<a href=\"/shop/news/\">NEWS</a>
<a href=\"/shop/news/\" class=\"p-global-navi__jp\">お知らせ</a>
</li>
<li class=\"p-global-navi__item has-child\">
<a href=\"/shop/story/\">STORY</a>
<a href=\"/shop/story/\" class=\"p-global-navi__jp\">製品の誕生物語</a>
<ul class=\"p-global-navi-child\">
<li class=\"p-global-navi-child__item\">
<a href=\"/shop/story/story-ice-cream\">- ICE</a>
</li>
<li class=\"p-global-navi-child__item\">
<a href=\"/shop/story/story-coffee\">- COFFEE</a>
</li>
</ul>
</li>
<li class=\"p-global-navi__item has-child\">
<a href=\"/shop/concept/\">CONCEPT</a>
<a href=\"/shop/concept/\" class=\"p-global-navi__jp\">製品のこだわり</a>
<ul class=\"p-global-navi-child\">
<li class=\"p-global-navi-child__item\">
<a href=\"/shop/concept/concept-ice-cream/\">- ICE</a>
</li>
<li class=\"p-global-navi-child__item\">
<a href=\"/shop/concept/concept-coffee/\">- COFFEE</a>
</li>
</ul>
</li>
<li class=\"p-global-navi__item\">
<a href=\"/shop/products-list/\">PRODUCTS</a>
<a href=\"/shop/products-list/\" class=\"p-global-navi__jp\">商品ラインアップ</a>
</li>
<li class=\"p-global-navi__item\">
<a href=\"";
// line 132
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("company");
echo "\">ABOUT US</a>
<a href=\"";
// line 133
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("company");
echo "\" class=\"p-global-navi__jp\">会社概要</a>
</li>
<li class=\"p-global-navi__item\">
<a href=\"/shop/stores/\">STORES</a>
<a href=\"/shop/stores/\" class=\"p-global-navi__jp\">実店舗のご紹介</a>
</li>
<li class=\"p-global-navi__item\">
<a href=\"/shop/entry/\">販売店募集</a>
</li>
<li class=\"p-global-navi__item\">
<a href=\"/shop/vending/\">自販機取扱</a>
</li>
</ul>
</div>
</div>
";
} else {
// line 149
echo " <div class=\"ec-header-bottom__logo\">
<p class=\"ec-header-bottom__img\">
<a href=\"";
// line 151
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage_menu");
echo "\">
<img src=\"";
// line 152
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/logo_header.png"), "html", null, true);
echo "\" alt=\"\">
</a>
</p>
</div>
<div class=\"ec-header-bottom__center\">
<div class=\"ec-header-bottom-title\">
<h1>ダシーズ契約店専用サイト</h1>
</div>
</div>
";
}
// line 162
echo "
<div class=\"ec-header-bottom__right\">
<ul class=\"ec-header-bottom__store-link\">
<li class=\"ec-header-bottom__store-link-item\">
<a href=\"";
// line 166
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
echo "\">
<span class=\"ec-cartNavi-badge\">";
// line 167
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, (isset($context["totalQuantity"]) || array_key_exists("totalQuantity", $context) ? $context["totalQuantity"] : (function () { throw new RuntimeError('Variable "totalQuantity" does not exist.', 167, $this->source); })())), "html", null, true);
echo "</span>
<img src=\"";
// line 168
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/icon_store.png"), "html", null, true);
echo "\" alt=\"\" width=\"34\">
</a>
</li>
";
// line 171
if (((isset($context["ChainStore"]) || array_key_exists("ChainStore", $context) ? $context["ChainStore"] : (function () { throw new RuntimeError('Variable "ChainStore" does not exist.', 171, $this->source); })()) == false)) {
// line 172
echo " <li class=\"ec-header-bottom__store-link-item\">
<a href=\"";
// line 173
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "\">
<span>ONLINE SHOP</span>
</a>
<a href=\"/products/list/\" class=\"store-link-jp\">オンラインショップ</a>
</li>
<li class=\"ec-header-bottom__store-link-item\">
<a href=\"/shop/guide/\">
<span class=\"store-link-small\">GUIDE</span>
</a>
<a href=\"/shop/guide/\" class=\"store-link-jp\">お買い物ガイド</a>
</li>
";
}
// line 185
echo " </ul>
</div>
</div>
";
} else {
// line 189
echo " <div class=\"ec-header-navi-sp pc-none\">
<div class=\"ec-header-navi-sp__logo\">
";
// line 191
if ((isset($context["EnUser"]) || array_key_exists("EnUser", $context) ? $context["EnUser"] : (function () { throw new RuntimeError('Variable "EnUser" does not exist.', 191, $this->source); })())) {
// line 192
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "\">
";
} else {
// line 194
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "\">
";
}
// line 196
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/logo_sp.png"), "html", null, true);
echo "\" width=\"80\">
</a>
</div>
";
// line 214
echo " <div class=\"ec-header-navi-sp__cart\">
<div class=\"ec-headerRole__cart\">
";
// line 216
echo twig_include($this->env, $context, "Block/cart.twig");
echo "
</div>
</div>
<div class=\"ec-header-navi-sp__store\">
<a href=\"";
// line 220
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "\">
<p><span class=\"small\">ONLINE</span><span class=\"large\">SHOP</span></p>
<img src=\"";
// line 222
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/icon_online_store.png"), "html", null, true);
echo "\" width=\"32\">
</a>
</div>
<div class=\"ec-header-navi-sp__btn\">
";
// line 226
echo twig_include($this->env, $context, "Block/nav_sp.twig");
echo "
</div>
";
// line 228
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.', 228, $this->source); })()), "request", [], "any", false, false, false, 228), "attributes", [], "any", false, false, false, 228), "get", [0 => "_route"], "method", false, false, false, 228) == "homepage") || (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.', 228, $this->source); })()), "request", [], "any", false, false, false, 228), "attributes", [], "any", false, false, false, 228), "get", [0 => "_route"], "method", false, false, false, 228) == "product_list"))) {
// line 229
echo " <div class=\"ec-header-navi-sp__lang-link\">
<a href=\"";
// line 230
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "?empty_cookie=1\">
<span>Japanese Page</span>
</a>
</div>
";
}
// line 235
echo " </div>
";
// line 237
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.', 237, $this->source); })()), "request", [], "any", false, false, false, 237), "attributes", [], "any", false, false, false, 237), "get", [0 => "_route"], "method", false, false, false, 237) == "homepage") || (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.', 237, $this->source); })()), "request", [], "any", false, false, false, 237), "attributes", [], "any", false, false, false, 237), "get", [0 => "_route"], "method", false, false, false, 237) == "product_list"))) {
// line 238
echo " <div class=\"ec-header-top sp-none\">
<div class=\"ec-header-top__lang-link\">
<a href=\"";
// line 240
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "?empty_cookie=1\">Japanese Page</a>
</div>
</div>
";
}
// line 244
echo "
<div class=\"ec-header-bottom ec-header-bottom--en sp-none\">
<div class=\"ec-header-bottom__logo\">
<p class=\"ec-header-bottom__img\">
<h1>
";
// line 249
if ((isset($context["EnUser"]) || array_key_exists("EnUser", $context) ? $context["EnUser"] : (function () { throw new RuntimeError('Variable "EnUser" does not exist.', 249, $this->source); })())) {
// line 250
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "\">
";
} else {
// line 252
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "\">
";
}
// line 254
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/logo_header.png"), "html", null, true);
echo "\" alt=\"ダシーズファクトリー公式サイト オンラインショップ\">
</a>
</h1>
</p>
</div>
<div class=\"ec-header-bottom__right\">
<ul class=\"ec-header-bottom__store-link\">
<li class=\"ec-header-bottom__store-link-item\">
<a href=\"";
// line 263
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
echo "\">
<span class=\"ec-cartNavi-badge\">";
// line 264
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, (isset($context["totalQuantity"]) || array_key_exists("totalQuantity", $context) ? $context["totalQuantity"] : (function () { throw new RuntimeError('Variable "totalQuantity" does not exist.', 264, $this->source); })())), "html", null, true);
echo "</span>
<img src=\"";
// line 265
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/icon_store.png"), "html", null, true);
echo "\" alt=\"\" width=\"34\">
</a>
</li>
";
// line 268
if (((isset($context["ChainStore"]) || array_key_exists("ChainStore", $context) ? $context["ChainStore"] : (function () { throw new RuntimeError('Variable "ChainStore" does not exist.', 268, $this->source); })()) == false)) {
// line 269
echo " <li class=\"ec-header-bottom__store-link-item\">
<a href=\"";
// line 270
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "\">
<span>ONLINE SHOP</span>
</a>
</li>
<li class=\"ec-header-bottom__store-link-item\">
<a href=\"/shop/en/guide/\">
<span class=\"store-link-small\">GUIDE</span>
</a>
</li>
";
}
// line 280
echo " </ul>
</div>
</div>
";
}
// line 284
echo "
";
// line 285
if ((isset($context["ChainStore"]) || array_key_exists("ChainStore", $context) ? $context["ChainStore"] : (function () { throw new RuntimeError('Variable "ChainStore" does not exist.', 285, $this->source); })())) {
// line 286
echo " <div class=\"ec-header-bottom-list sp-none\">
<ul class=\"ec-header-bottom-list__list\">
<li class=\"ec-header-bottom-list__item\">
<a href=\"";
// line 289
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage_menu");
echo "\">トップ</a>
</li>
<li class=\"ec-header-bottom-list__item\">
<a href=\"";
// line 292
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage_news");
echo "\">新着情報</a>
</li>
<li class=\"ec-header-bottom-list__item\">
<a href=\"";
// line 295
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "\">商品発注</a>
</li>
<li class=\"ec-header-bottom-list__item\">
<a href=\"";
// line 298
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "?category_id=8\">販促品発注</a>
</li>
<li class=\"ec-header-bottom-list__item\">
<a href=\"/shop/manual/\">マニュアル</a>
</li>
<li class=\"ec-header-bottom-list__item\">
<a href=\"/shop/notifi/\">各種申請</a>
</li>
<li class=\"ec-header-bottom-list__item\">
<a href=\"/shop/promotion/\">プロモーション</a>
</li>
<li class=\"ec-header-bottom-list__item ec-header-bottom-list__item--colored\">
<a href=\"";
// line 310
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage");
echo "\">マイページ</a>
</li>
</ul>
</div>
";
}
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "Block/header.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 551 => 310, 536 => 298, 530 => 295, 524 => 292, 518 => 289, 513 => 286, 511 => 285, 508 => 284, 502 => 280, 489 => 270, 486 => 269, 484 => 268, 478 => 265, 474 => 264, 470 => 263, 457 => 254, 451 => 252, 445 => 250, 443 => 249, 436 => 244, 429 => 240, 425 => 238, 423 => 237, 419 => 235, 411 => 230, 408 => 229, 406 => 228, 401 => 226, 394 => 222, 389 => 220, 382 => 216, 378 => 214, 371 => 196, 365 => 194, 359 => 192, 357 => 191, 353 => 189, 347 => 185, 332 => 173, 329 => 172, 327 => 171, 321 => 168, 317 => 167, 313 => 166, 307 => 162, 294 => 152, 290 => 151, 286 => 149, 267 => 133, 263 => 132, 219 => 91, 215 => 90, 210 => 87, 208 => 86, 200 => 81, 194 => 79, 191 => 78, 185 => 75, 182 => 74, 179 => 73, 177 => 72, 172 => 69, 169 => 68, 161 => 63, 158 => 62, 155 => 61, 153 => 60, 148 => 58, 144 => 56, 136 => 52, 130 => 49, 124 => 47, 122 => 46, 115 => 42, 110 => 39, 103 => 35, 98 => 34, 91 => 30, 86 => 29, 84 => 28, 80 => 26, 74 => 23, 69 => 22, 63 => 19, 58 => 18, 56 => 17, 52 => 15, 50 => 14, 47 => 13, 45 => 12, 43 => 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.
#}
{% set totalQuantity = get_carts_total_quantity() %}
{% set EnUser = app.request.cookies.get('en_user') == 'Y' %}
{% if EnUser == false %}
<div class=\"ec-header-navi-sp pc-none\">
<div class=\"ec-header-navi-sp__logo\">
{% if ChainStore == false %}
<a href=\"{{ url('homepage') }}\">
<img src=\"{{ asset('assets/img/common/logo_sp.png') }}\" width=\"80\">
</a>
{% else %}
<a href=\"{{ url('mypage_menu') }}\">
<img src=\"{{ asset('assets/img/common/logo_sp.png') }}\" width=\"80\">
</a>
{% endif %}
</div>
<div class=\"ec-header-navi-sp__login\">
{% if is_granted('ROLE_USER') %}
<a href=\"{{ url('logout') }}\">
<img src=\"{{ asset('assets/img/common/lock-alt-solid.svg') }}\" width=\"25\">
<span>ログアウト</span>
</a>
{% else %}
<a href=\"{{ url('mypage_login') }}\">
<img src=\"{{ asset('assets/img/common/lock-alt-solid.svg') }}\" width=\"25\">
<span>ログイン</span>
</a>
{% endif %}
</div>
<div class=\"ec-header-navi-sp__cart\">
<div class=\"ec-headerRole__cart\">
{{ include('Block/cart.twig') }}
</div>
</div>
<div class=\"ec-header-navi-sp__store\">
{% if ChainStore == false %}
<a href=\"{{ url('product_list') }}\">
<p><span class=\"small\">ONNLINE</span><span class=\"large\">SHOP</span></p>
<img src=\"{{ asset('assets/img/common/icon_online_store.png') }}\" width=\"32\">
</a>
{% else %}
<a href=\"{{ url('product_list') }}\">
<p class=\"chain-store-icon\">商品<br>発注</p>
</a>
{% endif %}
</div>
<div class=\"ec-header-navi-sp__btn\">
{{ include('Block/nav_sp.twig') }}
</div>
{% if ChainStore == false %}
{% if app.request.attributes.get('_route') == 'homepage' or app.request.attributes.get('_route') == 'product_list' %}
<div class=\"ec-header-navi-sp__lang-link\">
<a href=\"{{ url('en_user') }}\">
<span>English Page</span>
</a>
</div>
{% endif %}
{% endif %}
</div>
<div class=\"ec-header-top sp-none\">
{% if ChainStore == false %}
{% if app.request.attributes.get('_route') == 'homepage' or app.request.attributes.get('_route') == 'product_list' %}
<div class=\"ec-header-top__lang-link\">
<a href=\"{{ url('en_user') }}\">English Page</a>
</div>
{% endif %}
{% endif %}
{{ render(path('block_' ~ 'search_product')) }}
<div class=\"ec-header-top__login\">
{{ include('Block/login.twig') }}
</div>
</div>
<div class=\"ec-header-bottom sp-none\">
{% if ChainStore == false %}
<div class=\"ec-header-bottom__logo\">
<p class=\"ec-header-bottom__img\">
<h1>
<a href=\"{{ url('homepage') }}\">
<img src=\"{{ asset('assets/img/common/logo_header.png') }}\" alt=\"ダシーズファクトリー公式サイト オンラインショップ\">
</a>
</h1>
</p>
</div>
<div class=\"ec-header-bottom__center\">
<div class=\"ec-header-bottom__gnav\">
<ul class=\"p-global-navi\">
<li class=\"p-global-navi__item\">
<a href=\"/shop/news/\">NEWS</a>
<a href=\"/shop/news/\" class=\"p-global-navi__jp\">お知らせ</a>
</li>
<li class=\"p-global-navi__item has-child\">
<a href=\"/shop/story/\">STORY</a>
<a href=\"/shop/story/\" class=\"p-global-navi__jp\">製品の誕生物語</a>
<ul class=\"p-global-navi-child\">
<li class=\"p-global-navi-child__item\">
<a href=\"/shop/story/story-ice-cream\">- ICE</a>
</li>
<li class=\"p-global-navi-child__item\">
<a href=\"/shop/story/story-coffee\">- COFFEE</a>
</li>
</ul>
</li>
<li class=\"p-global-navi__item has-child\">
<a href=\"/shop/concept/\">CONCEPT</a>
<a href=\"/shop/concept/\" class=\"p-global-navi__jp\">製品のこだわり</a>
<ul class=\"p-global-navi-child\">
<li class=\"p-global-navi-child__item\">
<a href=\"/shop/concept/concept-ice-cream/\">- ICE</a>
</li>
<li class=\"p-global-navi-child__item\">
<a href=\"/shop/concept/concept-coffee/\">- COFFEE</a>
</li>
</ul>
</li>
<li class=\"p-global-navi__item\">
<a href=\"/shop/products-list/\">PRODUCTS</a>
<a href=\"/shop/products-list/\" class=\"p-global-navi__jp\">商品ラインアップ</a>
</li>
<li class=\"p-global-navi__item\">
<a href=\"{{ url('company') }}\">ABOUT US</a>
<a href=\"{{ url('company') }}\" class=\"p-global-navi__jp\">会社概要</a>
</li>
<li class=\"p-global-navi__item\">
<a href=\"/shop/stores/\">STORES</a>
<a href=\"/shop/stores/\" class=\"p-global-navi__jp\">実店舗のご紹介</a>
</li>
<li class=\"p-global-navi__item\">
<a href=\"/shop/entry/\">販売店募集</a>
</li>
<li class=\"p-global-navi__item\">
<a href=\"/shop/vending/\">自販機取扱</a>
</li>
</ul>
</div>
</div>
{% else %}
<div class=\"ec-header-bottom__logo\">
<p class=\"ec-header-bottom__img\">
<a href=\"{{ url('mypage_menu') }}\">
<img src=\"{{ asset('assets/img/common/logo_header.png') }}\" alt=\"\">
</a>
</p>
</div>
<div class=\"ec-header-bottom__center\">
<div class=\"ec-header-bottom-title\">
<h1>ダシーズ契約店専用サイト</h1>
</div>
</div>
{% endif %}
<div class=\"ec-header-bottom__right\">
<ul class=\"ec-header-bottom__store-link\">
<li class=\"ec-header-bottom__store-link-item\">
<a href=\"{{ url('cart') }}\">
<span class=\"ec-cartNavi-badge\">{{ totalQuantity|number_format }}</span>
<img src=\"{{ asset('assets/img/common/icon_store.png') }}\" alt=\"\" width=\"34\">
</a>
</li>
{% if ChainStore == false %}
<li class=\"ec-header-bottom__store-link-item\">
<a href=\"{{ url('product_list') }}\">
<span>ONLINE SHOP</span>
</a>
<a href=\"/products/list/\" class=\"store-link-jp\">オンラインショップ</a>
</li>
<li class=\"ec-header-bottom__store-link-item\">
<a href=\"/shop/guide/\">
<span class=\"store-link-small\">GUIDE</span>
</a>
<a href=\"/shop/guide/\" class=\"store-link-jp\">お買い物ガイド</a>
</li>
{% endif %}
</ul>
</div>
</div>
{% else %}
<div class=\"ec-header-navi-sp pc-none\">
<div class=\"ec-header-navi-sp__logo\">
{% if EnUser %}
<a href=\"{{ url('product_list') }}\">
{% else %}
<a href=\"{{ url('homepage') }}\">
{% endif %}
<img src=\"{{ asset('assets/img/common/logo_sp.png') }}\" width=\"80\">
</a>
</div>
{#
<div class=\"ec-header-navi-sp__login\">
{% if is_granted('ROLE_USER') %}
<a href=\"{{ url('logout') }}\">
<img src=\"{{ asset('assets/img/common/lock-alt-solid.svg') }}\" width=\"25\">
<span>ログアウト</span>
</a>
{% else %}
<a href=\"{{ url('mypage_login') }}\">
<img src=\"{{ asset('assets/img/common/lock-alt-solid.svg') }}\" width=\"25\">
<span>ログイン</span>
</a>
{% endif %}
</div>
#}
<div class=\"ec-header-navi-sp__cart\">
<div class=\"ec-headerRole__cart\">
{{ include('Block/cart.twig') }}
</div>
</div>
<div class=\"ec-header-navi-sp__store\">
<a href=\"{{ url('product_list') }}\">
<p><span class=\"small\">ONLINE</span><span class=\"large\">SHOP</span></p>
<img src=\"{{ asset('assets/img/common/icon_online_store.png') }}\" width=\"32\">
</a>
</div>
<div class=\"ec-header-navi-sp__btn\">
{{ include('Block/nav_sp.twig') }}
</div>
{% if app.request.attributes.get('_route') == 'homepage' or app.request.attributes.get('_route') == 'product_list' %}
<div class=\"ec-header-navi-sp__lang-link\">
<a href=\"{{ url('product_list') }}?empty_cookie=1\">
<span>Japanese Page</span>
</a>
</div>
{% endif %}
</div>
{% if app.request.attributes.get('_route') == 'homepage' or app.request.attributes.get('_route') == 'product_list' %}
<div class=\"ec-header-top sp-none\">
<div class=\"ec-header-top__lang-link\">
<a href=\"{{ url('product_list') }}?empty_cookie=1\">Japanese Page</a>
</div>
</div>
{% endif %}
<div class=\"ec-header-bottom ec-header-bottom--en sp-none\">
<div class=\"ec-header-bottom__logo\">
<p class=\"ec-header-bottom__img\">
<h1>
{% if EnUser %}
<a href=\"{{ url('product_list') }}\">
{% else %}
<a href=\"{{ url('homepage') }}\">
{% endif %}
<img src=\"{{ asset('assets/img/common/logo_header.png') }}\" alt=\"ダシーズファクトリー公式サイト オンラインショップ\">
</a>
</h1>
</p>
</div>
<div class=\"ec-header-bottom__right\">
<ul class=\"ec-header-bottom__store-link\">
<li class=\"ec-header-bottom__store-link-item\">
<a href=\"{{ url('cart') }}\">
<span class=\"ec-cartNavi-badge\">{{ totalQuantity|number_format }}</span>
<img src=\"{{ asset('assets/img/common/icon_store.png') }}\" alt=\"\" width=\"34\">
</a>
</li>
{% if ChainStore == false %}
<li class=\"ec-header-bottom__store-link-item\">
<a href=\"{{ url('product_list') }}\">
<span>ONLINE SHOP</span>
</a>
</li>
<li class=\"ec-header-bottom__store-link-item\">
<a href=\"/shop/en/guide/\">
<span class=\"store-link-small\">GUIDE</span>
</a>
</li>
{% endif %}
</ul>
</div>
</div>
{% endif %}
{% if ChainStore %}
<div class=\"ec-header-bottom-list sp-none\">
<ul class=\"ec-header-bottom-list__list\">
<li class=\"ec-header-bottom-list__item\">
<a href=\"{{ url('mypage_menu') }}\">トップ</a>
</li>
<li class=\"ec-header-bottom-list__item\">
<a href=\"{{ url('mypage_news') }}\">新着情報</a>
</li>
<li class=\"ec-header-bottom-list__item\">
<a href=\"{{ url('product_list') }}\">商品発注</a>
</li>
<li class=\"ec-header-bottom-list__item\">
<a href=\"{{ url('product_list') }}?category_id=8\">販促品発注</a>
</li>
<li class=\"ec-header-bottom-list__item\">
<a href=\"/shop/manual/\">マニュアル</a>
</li>
<li class=\"ec-header-bottom-list__item\">
<a href=\"/shop/notifi/\">各種申請</a>
</li>
<li class=\"ec-header-bottom-list__item\">
<a href=\"/shop/promotion/\">プロモーション</a>
</li>
<li class=\"ec-header-bottom-list__item ec-header-bottom-list__item--colored\">
<a href=\"{{ url('mypage') }}\">マイページ</a>
</li>
</ul>
</div>
{% endif %}
", "Block/header.twig", "/home/offshore2022/test-darcys-factory.xyz/public_html/app/template/default/Block/header.twig");
}
}