var/cache/dev/twig/e0/e0462b5661231ae18cb0b5a7789a67b1689b2d78c1e08e97b3e5f88c9624c0fc.php line 33

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* Block/header.twig */
  14. class __TwigTemplate_a1964b5dd2adac6b4e68f7bcb97d9a3bf8e15b3cf365061bd383c818561ebf28 extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Block/header.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Block/header.twig"));
  33.         // line 11
  34.         $context["totalQuantity"] = $this->extensions['Eccube\Twig\Extension\CartServiceExtension']->get_carts_total_quantity();
  35.         // line 12
  36.         $context["EnUser"] = (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse12), "cookies", [], "any"falsefalsefalse12), "get", [=> "en_user"], "method"falsefalsefalse12) == "Y");
  37.         // line 13
  38.         echo "
  39. ";
  40.         // line 14
  41.         if (((isset($context["EnUser"]) || array_key_exists("EnUser"$context) ? $context["EnUser"] : (function () { throw new RuntimeError('Variable "EnUser" does not exist.'14$this->source); })()) == false)) {
  42.             // line 15
  43.             echo "    <div class=\"ec-header-navi-sp pc-none\">
  44.         <div class=\"ec-header-navi-sp__logo\">
  45.             ";
  46.             // line 17
  47.             if (((isset($context["ChainStore"]) || array_key_exists("ChainStore"$context) ? $context["ChainStore"] : (function () { throw new RuntimeError('Variable "ChainStore" does not exist.'17$this->source); })()) == false)) {
  48.                 // line 18
  49.                 echo "                <a href=\"";
  50.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  51.                 echo "\">
  52.                     <img src=\"";
  53.                 // line 19
  54.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/logo_sp.png"), "html"nulltrue);
  55.                 echo "\" width=\"80\">
  56.                 </a>
  57.             ";
  58.             } else {
  59.                 // line 22
  60.                 echo "                <a href=\"";
  61.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage_menu");
  62.                 echo "\">
  63.                     <img src=\"";
  64.                 // line 23
  65.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/logo_sp.png"), "html"nulltrue);
  66.                 echo "\" width=\"80\">
  67.                 </a>
  68.             ";
  69.             }
  70.             // line 26
  71.             echo "        </div>
  72.         <div class=\"ec-header-navi-sp__login\">
  73.             ";
  74.             // line 28
  75.             if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) {
  76.                 // line 29
  77.                 echo "                <a href=\"";
  78.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("logout");
  79.                 echo "\">
  80.                     <img src=\"";
  81.                 // line 30
  82.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/lock-alt-solid.svg"), "html"nulltrue);
  83.                 echo "\" width=\"25\">
  84.                     <span>ログアウト</span>
  85.                 </a>
  86.             ";
  87.             } else {
  88.                 // line 34
  89.                 echo "                <a href=\"";
  90.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage_login");
  91.                 echo "\">
  92.                     <img src=\"";
  93.                 // line 35
  94.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/lock-alt-solid.svg"), "html"nulltrue);
  95.                 echo "\" width=\"25\">
  96.                     <span>ログイン</span>
  97.                 </a>
  98.             ";
  99.             }
  100.             // line 39
  101.             echo "        </div>
  102.         <div class=\"ec-header-navi-sp__cart\">
  103.             <div class=\"ec-headerRole__cart\">
  104.                 ";
  105.             // line 42
  106.             echo twig_include($this->env$context"Block/cart.twig");
  107.             echo "
  108.             </div>
  109.         </div>
  110.         <div class=\"ec-header-navi-sp__store\">
  111.             ";
  112.             // line 46
  113.             if (((isset($context["ChainStore"]) || array_key_exists("ChainStore"$context) ? $context["ChainStore"] : (function () { throw new RuntimeError('Variable "ChainStore" does not exist.'46$this->source); })()) == false)) {
  114.                 // line 47
  115.                 echo "                <a href=\"";
  116.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  117.                 echo "\">
  118.                     <p><span class=\"small\">ONLINE</span><span class=\"large\">SHOP</span></p>
  119.                     <img src=\"";
  120.                 // line 49
  121.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/icon_online_store.png"), "html"nulltrue);
  122.                 echo "\" width=\"32\">
  123.                 </a>
  124.             ";
  125.             } else {
  126.                 // line 52
  127.                 echo "                <a href=\"";
  128.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  129.                 echo "\">
  130.                     <p class=\"chain-store-icon\">商品<br>発注</p>
  131.                 </a>
  132.             ";
  133.             }
  134.             // line 56
  135.             echo "        </div>
  136.         <div class=\"ec-header-navi-sp__btn\">
  137.             ";
  138.             // line 58
  139.             echo twig_include($this->env$context"Block/nav_sp.twig");
  140.             echo "
  141.         </div>
  142.     </div>
  143.     <div class=\"ec-header-top sp-none\">
  144.         ";
  145.             // line 63
  146.             echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(("block_" "search_product")));
  147.             echo "
  148.         <div class=\"ec-header-top__login\">
  149.             ";
  150.             // line 65
  151.             echo twig_include($this->env$context"Block/login.twig");
  152.             echo "
  153.         </div>
  154.     </div>
  155.     <div class=\"ec-header-bottom sp-none\">
  156.         ";
  157.             // line 70
  158.             if (((isset($context["ChainStore"]) || array_key_exists("ChainStore"$context) ? $context["ChainStore"] : (function () { throw new RuntimeError('Variable "ChainStore" does not exist.'70$this->source); })()) == false)) {
  159.                 // line 71
  160.                 echo "            <div class=\"ec-header-bottom__logo\">
  161.                 <p class=\"ec-header-bottom__img\">
  162.                     <h1>
  163.                         <a href=\"";
  164.                 // line 74
  165.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  166.                 echo "\">
  167.                             <img src=\"";
  168.                 // line 75
  169.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/logo_header.png"), "html"nulltrue);
  170.                 echo "\" alt=\"ダシーズファクトリー公式サイト オンラインショップ\">
  171.                         </a>
  172.                     </h1>
  173.                 </p>
  174.             </div>
  175.             <div class=\"ec-header-bottom__center\">
  176.                 <div class=\"ec-header-bottom__gnav\">
  177.                     <ul class=\"p-global-navi\">
  178.                         <li class=\"p-global-navi__item\">
  179.                             <a href=\"/shop/news/\">NEWS</a>
  180.                             <a href=\"/shop/news/\" class=\"p-global-navi__jp\">お知らせ</a>
  181.                         </li>
  182.                         <li class=\"p-global-navi__item has-child\">
  183.                             <a href=\"/shop/story/\">STORY</a>
  184.                             <a href=\"/shop/story/\" class=\"p-global-navi__jp\">製品の誕生物語</a>
  185.                             <ul class=\"p-global-navi-child\">
  186.                             <li class=\"p-global-navi-child__item\">
  187.                                 <a href=\"/shop/story/story-ice-cream\">- ICE</a>
  188.                             </li>
  189.                             <li class=\"p-global-navi-child__item\">
  190.                                 <a href=\"/shop/story/story-coffee\">- COFFEE</a>
  191.                             </li>
  192.                             </ul>
  193.                         </li>
  194.                         <li class=\"p-global-navi__item has-child\">
  195.                             <a href=\"/shop/concept/\">CONCEPT</a>
  196.                             <a href=\"/shop/concept/\" class=\"p-global-navi__jp\">製品のこだわり</a>
  197.                             <ul class=\"p-global-navi-child\">
  198.                             <li class=\"p-global-navi-child__item\">
  199.                                 <a href=\"/shop/concept/concept-ice-cream/\">- ICE</a>
  200.                             </li>
  201.                             <li class=\"p-global-navi-child__item\">
  202.                                 <a href=\"/shop/concept/concept-coffee/\">- COFFEE</a>
  203.                             </li>
  204.                             </ul>
  205.                         </li>
  206.                         <li class=\"p-global-navi__item\">
  207.                             <a href=\"/shop/products-list/\">PRODUCTS</a>
  208.                             <a href=\"/shop/products-list/\" class=\"p-global-navi__jp\">商品ラインアップ</a>
  209.                         </li>
  210.                         <li class=\"p-global-navi__item\">
  211.                             <a href=\"";
  212.                 // line 116
  213.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("company");
  214.                 echo "\">ABOUT US</a>
  215.                             <a href=\"";
  216.                 // line 117
  217.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("company");
  218.                 echo "\" class=\"p-global-navi__jp\">会社概要</a>
  219.                         </li>
  220.                         <li class=\"p-global-navi__item\">
  221.                             <a href=\"/shop/stores/\">STORES</a>
  222.                             <a href=\"/shop/stores/\" class=\"p-global-navi__jp\">実店舗のご紹介</a>
  223.                         </li>
  224.                         <li class=\"p-global-navi__item\">
  225.                             <a href=\"/shop/entry/\">販売店募集</a>
  226.                         </li>
  227.                     </ul>
  228.                 </div>
  229.             </div>
  230.         ";
  231.             } else {
  232.                 // line 130
  233.                 echo "            <div class=\"ec-header-bottom__logo\">
  234.                 <p class=\"ec-header-bottom__img\">
  235.                     <a href=\"";
  236.                 // line 132
  237.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage_menu");
  238.                 echo "\">
  239.                     <img src=\"";
  240.                 // line 133
  241.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/logo_header.png"), "html"nulltrue);
  242.                 echo "\" alt=\"\">
  243.                     </a>
  244.                 </p>
  245.             </div>
  246.             <div class=\"ec-header-bottom__center\">
  247.                 <div class=\"ec-header-bottom-title\">
  248.                     <h1>ダシーズ契約店専用サイト</h1>
  249.                 </div>
  250.             </div>
  251.         ";
  252.             }
  253.             // line 143
  254.             echo "
  255.         <div class=\"ec-header-bottom__right\">
  256.             <ul class=\"ec-header-bottom__store-link\">
  257.                 <li class=\"ec-header-bottom__store-link-item\">
  258.                     <a href=\"";
  259.             // line 147
  260.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  261.             echo "\">
  262.                     <span class=\"ec-cartNavi-badge\">";
  263.             // line 148
  264.             echo twig_escape_filter($this->envtwig_number_format_filter($this->env, (isset($context["totalQuantity"]) || array_key_exists("totalQuantity"$context) ? $context["totalQuantity"] : (function () { throw new RuntimeError('Variable "totalQuantity" does not exist.'148$this->source); })())), "html"nulltrue);
  265.             echo "</span>
  266.                     <img src=\"";
  267.             // line 149
  268.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/icon_store.png"), "html"nulltrue);
  269.             echo "\" alt=\"\" width=\"34\">
  270.                     </a>
  271.                 </li>
  272.                 ";
  273.             // line 152
  274.             if (((isset($context["ChainStore"]) || array_key_exists("ChainStore"$context) ? $context["ChainStore"] : (function () { throw new RuntimeError('Variable "ChainStore" does not exist.'152$this->source); })()) == false)) {
  275.                 // line 153
  276.                 echo "                    <li class=\"ec-header-bottom__store-link-item\">
  277.                         <a href=\"";
  278.                 // line 154
  279.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  280.                 echo "\">
  281.                             <span>ONLINE SHOP</span>
  282.                         </a>
  283.                         <a href=\"/products/list/\" class=\"store-link-jp\">オンラインショップ</a>
  284.                     </li>
  285.                     <li class=\"ec-header-bottom__store-link-item\">
  286.                         <a href=\"/shop/guide/\">
  287.                             <span class=\"store-link-small\">GUIDE</span>
  288.                         </a>
  289.                         <a href=\"/shop/guide/\" class=\"store-link-jp\">お買い物ガイド</a>
  290.                     </li>
  291.                 ";
  292.             }
  293.             // line 166
  294.             echo "            </ul>
  295.         </div>
  296.     </div>
  297. ";
  298.         } else {
  299.             // line 170
  300.             echo "    <div class=\"ec-header-navi-sp pc-none\">
  301.         <div class=\"ec-header-navi-sp__logo\">
  302.             <a href=\"";
  303.             // line 172
  304.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  305.             echo "\">
  306.                 <img src=\"";
  307.             // line 173
  308.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/logo_sp.png"), "html"nulltrue);
  309.             echo "\" width=\"80\">
  310.             </a>
  311.         </div>
  312.         ";
  313.             // line 191
  314.             echo "        <div class=\"ec-header-navi-sp__cart\">
  315.             <div class=\"ec-headerRole__cart\">
  316.                 ";
  317.             // line 193
  318.             echo twig_include($this->env$context"Block/cart.twig");
  319.             echo "
  320.             </div>
  321.         </div>
  322.         <div class=\"ec-header-navi-sp__store\">
  323.             <a href=\"";
  324.             // line 197
  325.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  326.             echo "\">
  327.                 <p><span class=\"small\">ONLINE</span><span class=\"large\">SHOP</span></p>
  328.                 <img src=\"";
  329.             // line 199
  330.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/icon_online_store.png"), "html"nulltrue);
  331.             echo "\" width=\"32\">
  332.             </a>
  333.         </div>
  334.         <div class=\"ec-header-navi-sp__btn\">
  335.             ";
  336.             // line 203
  337.             echo twig_include($this->env$context"Block/nav_sp.twig");
  338.             echo "
  339.         </div>
  340.     </div>
  341.     <div class=\"ec-header-enuser sp-none\">
  342.         <div class=\"ec-header-bottom__logo\">
  343.             <p class=\"ec-header-bottom__img\">
  344.                 <h1>
  345.                     <a href=\"";
  346.             // line 211
  347.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  348.             echo "\">
  349.                         <img src=\"";
  350.             // line 212
  351.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/logo_header.png"), "html"nulltrue);
  352.             echo "\" alt=\"ダシーズファクトリー公式サイト オンラインショップ\">
  353.                     </a>
  354.                 </h1>
  355.             </p>
  356.         </div>
  357.         <div class=\"ec-header-bottom__right\">
  358.             <ul class=\"ec-header-bottom__store-link\">
  359.                 <li class=\"ec-header-bottom__store-link-item\">
  360.                     <a href=\"";
  361.             // line 221
  362.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  363.             echo "\">
  364.                     <span class=\"ec-cartNavi-badge\">";
  365.             // line 222
  366.             echo twig_escape_filter($this->envtwig_number_format_filter($this->env, (isset($context["totalQuantity"]) || array_key_exists("totalQuantity"$context) ? $context["totalQuantity"] : (function () { throw new RuntimeError('Variable "totalQuantity" does not exist.'222$this->source); })())), "html"nulltrue);
  367.             echo "</span>
  368.                     <img src=\"";
  369.             // line 223
  370.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/icon_store.png"), "html"nulltrue);
  371.             echo "\" alt=\"\" width=\"34\">
  372.                     </a>
  373.                 </li>
  374.                 ";
  375.             // line 226
  376.             if (((isset($context["ChainStore"]) || array_key_exists("ChainStore"$context) ? $context["ChainStore"] : (function () { throw new RuntimeError('Variable "ChainStore" does not exist.'226$this->source); })()) == false)) {
  377.                 // line 227
  378.                 echo "                    <li class=\"ec-header-bottom__store-link-item\">
  379.                         <a href=\"";
  380.                 // line 228
  381.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  382.                 echo "\">
  383.                             <span>ONLINE SHOP</span>
  384.                         </a>
  385.                     </li>
  386.                     <li class=\"ec-header-bottom__store-link-item\">
  387.                         <a href=\"/shop/en/guide/\">
  388.                             <span class=\"store-link-small\">GUIDE</span>
  389.                         </a>
  390.                     </li>
  391.                 ";
  392.             }
  393.             // line 238
  394.             echo "            </ul>
  395.         </div>
  396.     </div>
  397. ";
  398.         }
  399.         // line 242
  400.         echo "
  401. ";
  402.         // line 243
  403.         if ((isset($context["ChainStore"]) || array_key_exists("ChainStore"$context) ? $context["ChainStore"] : (function () { throw new RuntimeError('Variable "ChainStore" does not exist.'243$this->source); })())) {
  404.             // line 244
  405.             echo "    <div class=\"ec-header-bottom-list sp-none\">
  406.         <ul class=\"ec-header-bottom-list__list\">
  407.             <li class=\"ec-header-bottom-list__item\">
  408.                 <a href=\"";
  409.             // line 247
  410.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage_menu");
  411.             echo "\">トップ</a>
  412.             </li>
  413.             <li class=\"ec-header-bottom-list__item\">
  414.                 <a href=\"";
  415.             // line 250
  416.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage_news");
  417.             echo "\">新着情報</a>
  418.             </li>
  419.             <li class=\"ec-header-bottom-list__item\">
  420.                 <a href=\"";
  421.             // line 253
  422.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  423.             echo "\">商品発注</a>
  424.             </li>
  425.             <li class=\"ec-header-bottom-list__item\">
  426.                 <a href=\"";
  427.             // line 256
  428.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  429.             echo "?category_id=8\">販促品発注</a>
  430.             </li>
  431.             <li class=\"ec-header-bottom-list__item\">
  432.                 <a href=\"/shop/manual/\">マニュアル</a>
  433.             </li>
  434.             <li class=\"ec-header-bottom-list__item\">
  435.                 <a href=\"/shop/notifi/\">各種申請</a>
  436.             </li>
  437.             <li class=\"ec-header-bottom-list__item\">
  438.                 <a href=\"/shop/promotion/\">プロモーション</a>
  439.             </li>
  440.             <li class=\"ec-header-bottom-list__item ec-header-bottom-list__item--colored\">
  441.                 <a href=\"";
  442.             // line 268
  443.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage");
  444.             echo "\">マイページ</a>
  445.             </li>
  446.         </ul>
  447.     </div>
  448. ";
  449.         }
  450.         
  451.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  452.         
  453.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  454.     }
  455.     public function getTemplateName()
  456.     {
  457.         return "Block/header.twig";
  458.     }
  459.     public function isTraitable()
  460.     {
  461.         return false;
  462.     }
  463.     public function getDebugInfo()
  464.     {
  465.         return array (  456 => 268,  441 => 256,  435 => 253,  429 => 250,  423 => 247,  418 => 244,  416 => 243,  413 => 242,  407 => 238,  394 => 228,  391 => 227,  389 => 226,  383 => 223,  379 => 222,  375 => 221,  363 => 212,  359 => 211,  348 => 203,  341 => 199,  336 => 197,  329 => 193,  325 => 191,  319 => 173,  315 => 172,  311 => 170,  305 => 166,  290 => 154,  287 => 153,  285 => 152,  279 => 149,  275 => 148,  271 => 147,  265 => 143,  252 => 133,  248 => 132,  244 => 130,  228 => 117,  224 => 116,  180 => 75,  176 => 74,  171 => 71,  169 => 70,  161 => 65,  156 => 63,  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,);
  466.     }
  467.     public function getSourceContext()
  468.     {
  469.         return new Source("{#
  470. This file is part of EC-CUBE
  471. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  472. http://www.ec-cube.co.jp/
  473. For the full copyright and license information, please view the LICENSE
  474. file that was distributed with this source code.
  475. #}
  476. {% set totalQuantity = get_carts_total_quantity() %}
  477. {% set EnUser = app.request.cookies.get('en_user') == 'Y' %}
  478. {% if EnUser == false %}
  479.     <div class=\"ec-header-navi-sp pc-none\">
  480.         <div class=\"ec-header-navi-sp__logo\">
  481.             {% if ChainStore == false %}
  482.                 <a href=\"{{ url('homepage') }}\">
  483.                     <img src=\"{{ asset('assets/img/common/logo_sp.png') }}\" width=\"80\">
  484.                 </a>
  485.             {% else %}
  486.                 <a href=\"{{ url('mypage_menu') }}\">
  487.                     <img src=\"{{ asset('assets/img/common/logo_sp.png') }}\" width=\"80\">
  488.                 </a>
  489.             {% endif %}
  490.         </div>
  491.         <div class=\"ec-header-navi-sp__login\">
  492.             {% if is_granted('ROLE_USER') %}
  493.                 <a href=\"{{ url('logout') }}\">
  494.                     <img src=\"{{ asset('assets/img/common/lock-alt-solid.svg') }}\" width=\"25\">
  495.                     <span>ログアウト</span>
  496.                 </a>
  497.             {% else %}
  498.                 <a href=\"{{ url('mypage_login') }}\">
  499.                     <img src=\"{{ asset('assets/img/common/lock-alt-solid.svg') }}\" width=\"25\">
  500.                     <span>ログイン</span>
  501.                 </a>
  502.             {% endif %}
  503.         </div>
  504.         <div class=\"ec-header-navi-sp__cart\">
  505.             <div class=\"ec-headerRole__cart\">
  506.                 {{ include('Block/cart.twig') }}
  507.             </div>
  508.         </div>
  509.         <div class=\"ec-header-navi-sp__store\">
  510.             {% if ChainStore == false %}
  511.                 <a href=\"{{ url('product_list') }}\">
  512.                     <p><span class=\"small\">ONLINE</span><span class=\"large\">SHOP</span></p>
  513.                     <img src=\"{{ asset('assets/img/common/icon_online_store.png') }}\" width=\"32\">
  514.                 </a>
  515.             {% else %}
  516.                 <a href=\"{{ url('product_list') }}\">
  517.                     <p class=\"chain-store-icon\">商品<br>発注</p>
  518.                 </a>
  519.             {% endif %}
  520.         </div>
  521.         <div class=\"ec-header-navi-sp__btn\">
  522.             {{ include('Block/nav_sp.twig') }}
  523.         </div>
  524.     </div>
  525.     <div class=\"ec-header-top sp-none\">
  526.         {{ render(path('block_' ~ 'search_product')) }}
  527.         <div class=\"ec-header-top__login\">
  528.             {{ include('Block/login.twig') }}
  529.         </div>
  530.     </div>
  531.     <div class=\"ec-header-bottom sp-none\">
  532.         {% if ChainStore == false %}
  533.             <div class=\"ec-header-bottom__logo\">
  534.                 <p class=\"ec-header-bottom__img\">
  535.                     <h1>
  536.                         <a href=\"{{ url('homepage') }}\">
  537.                             <img src=\"{{ asset('assets/img/common/logo_header.png') }}\" alt=\"ダシーズファクトリー公式サイト オンラインショップ\">
  538.                         </a>
  539.                     </h1>
  540.                 </p>
  541.             </div>
  542.             <div class=\"ec-header-bottom__center\">
  543.                 <div class=\"ec-header-bottom__gnav\">
  544.                     <ul class=\"p-global-navi\">
  545.                         <li class=\"p-global-navi__item\">
  546.                             <a href=\"/shop/news/\">NEWS</a>
  547.                             <a href=\"/shop/news/\" class=\"p-global-navi__jp\">お知らせ</a>
  548.                         </li>
  549.                         <li class=\"p-global-navi__item has-child\">
  550.                             <a href=\"/shop/story/\">STORY</a>
  551.                             <a href=\"/shop/story/\" class=\"p-global-navi__jp\">製品の誕生物語</a>
  552.                             <ul class=\"p-global-navi-child\">
  553.                             <li class=\"p-global-navi-child__item\">
  554.                                 <a href=\"/shop/story/story-ice-cream\">- ICE</a>
  555.                             </li>
  556.                             <li class=\"p-global-navi-child__item\">
  557.                                 <a href=\"/shop/story/story-coffee\">- COFFEE</a>
  558.                             </li>
  559.                             </ul>
  560.                         </li>
  561.                         <li class=\"p-global-navi__item has-child\">
  562.                             <a href=\"/shop/concept/\">CONCEPT</a>
  563.                             <a href=\"/shop/concept/\" class=\"p-global-navi__jp\">製品のこだわり</a>
  564.                             <ul class=\"p-global-navi-child\">
  565.                             <li class=\"p-global-navi-child__item\">
  566.                                 <a href=\"/shop/concept/concept-ice-cream/\">- ICE</a>
  567.                             </li>
  568.                             <li class=\"p-global-navi-child__item\">
  569.                                 <a href=\"/shop/concept/concept-coffee/\">- COFFEE</a>
  570.                             </li>
  571.                             </ul>
  572.                         </li>
  573.                         <li class=\"p-global-navi__item\">
  574.                             <a href=\"/shop/products-list/\">PRODUCTS</a>
  575.                             <a href=\"/shop/products-list/\" class=\"p-global-navi__jp\">商品ラインアップ</a>
  576.                         </li>
  577.                         <li class=\"p-global-navi__item\">
  578.                             <a href=\"{{ url('company') }}\">ABOUT US</a>
  579.                             <a href=\"{{ url('company') }}\" class=\"p-global-navi__jp\">会社概要</a>
  580.                         </li>
  581.                         <li class=\"p-global-navi__item\">
  582.                             <a href=\"/shop/stores/\">STORES</a>
  583.                             <a href=\"/shop/stores/\" class=\"p-global-navi__jp\">実店舗のご紹介</a>
  584.                         </li>
  585.                         <li class=\"p-global-navi__item\">
  586.                             <a href=\"/shop/entry/\">販売店募集</a>
  587.                         </li>
  588.                     </ul>
  589.                 </div>
  590.             </div>
  591.         {% else %}
  592.             <div class=\"ec-header-bottom__logo\">
  593.                 <p class=\"ec-header-bottom__img\">
  594.                     <a href=\"{{ url('mypage_menu') }}\">
  595.                     <img src=\"{{ asset('assets/img/common/logo_header.png') }}\" alt=\"\">
  596.                     </a>
  597.                 </p>
  598.             </div>
  599.             <div class=\"ec-header-bottom__center\">
  600.                 <div class=\"ec-header-bottom-title\">
  601.                     <h1>ダシーズ契約店専用サイト</h1>
  602.                 </div>
  603.             </div>
  604.         {% endif %}
  605.         <div class=\"ec-header-bottom__right\">
  606.             <ul class=\"ec-header-bottom__store-link\">
  607.                 <li class=\"ec-header-bottom__store-link-item\">
  608.                     <a href=\"{{ url('cart') }}\">
  609.                     <span class=\"ec-cartNavi-badge\">{{ totalQuantity|number_format }}</span>
  610.                     <img src=\"{{ asset('assets/img/common/icon_store.png') }}\" alt=\"\" width=\"34\">
  611.                     </a>
  612.                 </li>
  613.                 {% if ChainStore == false %}
  614.                     <li class=\"ec-header-bottom__store-link-item\">
  615.                         <a href=\"{{ url('product_list') }}\">
  616.                             <span>ONLINE SHOP</span>
  617.                         </a>
  618.                         <a href=\"/products/list/\" class=\"store-link-jp\">オンラインショップ</a>
  619.                     </li>
  620.                     <li class=\"ec-header-bottom__store-link-item\">
  621.                         <a href=\"/shop/guide/\">
  622.                             <span class=\"store-link-small\">GUIDE</span>
  623.                         </a>
  624.                         <a href=\"/shop/guide/\" class=\"store-link-jp\">お買い物ガイド</a>
  625.                     </li>
  626.                 {% endif %}
  627.             </ul>
  628.         </div>
  629.     </div>
  630. {% else %}
  631.     <div class=\"ec-header-navi-sp pc-none\">
  632.         <div class=\"ec-header-navi-sp__logo\">
  633.             <a href=\"{{ url('product_list') }}\">
  634.                 <img src=\"{{ asset('assets/img/common/logo_sp.png') }}\" width=\"80\">
  635.             </a>
  636.         </div>
  637.         {#
  638.         <div class=\"ec-header-navi-sp__login\">
  639.             {% if is_granted('ROLE_USER') %}
  640.                 <a href=\"{{ url('logout') }}\">
  641.                     <img src=\"{{ asset('assets/img/common/lock-alt-solid.svg') }}\" width=\"25\">
  642.                     <span>ログアウト</span>
  643.                 </a>
  644.             {% else %}
  645.                 <a href=\"{{ url('mypage_login') }}\">
  646.                     <img src=\"{{ asset('assets/img/common/lock-alt-solid.svg') }}\" width=\"25\">
  647.                     <span>ログイン</span>
  648.                 </a>
  649.             {% endif %}
  650.         </div>
  651.         #}
  652.         <div class=\"ec-header-navi-sp__cart\">
  653.             <div class=\"ec-headerRole__cart\">
  654.                 {{ include('Block/cart.twig') }}
  655.             </div>
  656.         </div>
  657.         <div class=\"ec-header-navi-sp__store\">
  658.             <a href=\"{{ url('product_list') }}\">
  659.                 <p><span class=\"small\">ONLINE</span><span class=\"large\">SHOP</span></p>
  660.                 <img src=\"{{ asset('assets/img/common/icon_online_store.png') }}\" width=\"32\">
  661.             </a>
  662.         </div>
  663.         <div class=\"ec-header-navi-sp__btn\">
  664.             {{ include('Block/nav_sp.twig') }}
  665.         </div>
  666.     </div>
  667.     <div class=\"ec-header-enuser sp-none\">
  668.         <div class=\"ec-header-bottom__logo\">
  669.             <p class=\"ec-header-bottom__img\">
  670.                 <h1>
  671.                     <a href=\"{{ url('homepage') }}\">
  672.                         <img src=\"{{ asset('assets/img/common/logo_header.png') }}\" alt=\"ダシーズファクトリー公式サイト オンラインショップ\">
  673.                     </a>
  674.                 </h1>
  675.             </p>
  676.         </div>
  677.         <div class=\"ec-header-bottom__right\">
  678.             <ul class=\"ec-header-bottom__store-link\">
  679.                 <li class=\"ec-header-bottom__store-link-item\">
  680.                     <a href=\"{{ url('cart') }}\">
  681.                     <span class=\"ec-cartNavi-badge\">{{ totalQuantity|number_format }}</span>
  682.                     <img src=\"{{ asset('assets/img/common/icon_store.png') }}\" alt=\"\" width=\"34\">
  683.                     </a>
  684.                 </li>
  685.                 {% if ChainStore == false %}
  686.                     <li class=\"ec-header-bottom__store-link-item\">
  687.                         <a href=\"{{ url('product_list') }}\">
  688.                             <span>ONLINE SHOP</span>
  689.                         </a>
  690.                     </li>
  691.                     <li class=\"ec-header-bottom__store-link-item\">
  692.                         <a href=\"/shop/en/guide/\">
  693.                             <span class=\"store-link-small\">GUIDE</span>
  694.                         </a>
  695.                     </li>
  696.                 {% endif %}
  697.             </ul>
  698.         </div>
  699.     </div>
  700. {% endif %}
  701. {% if ChainStore %}
  702.     <div class=\"ec-header-bottom-list sp-none\">
  703.         <ul class=\"ec-header-bottom-list__list\">
  704.             <li class=\"ec-header-bottom-list__item\">
  705.                 <a href=\"{{ url('mypage_menu') }}\">トップ</a>
  706.             </li>
  707.             <li class=\"ec-header-bottom-list__item\">
  708.                 <a href=\"{{ url('mypage_news') }}\">新着情報</a>
  709.             </li>
  710.             <li class=\"ec-header-bottom-list__item\">
  711.                 <a href=\"{{ url('product_list') }}\">商品発注</a>
  712.             </li>
  713.             <li class=\"ec-header-bottom-list__item\">
  714.                 <a href=\"{{ url('product_list') }}?category_id=8\">販促品発注</a>
  715.             </li>
  716.             <li class=\"ec-header-bottom-list__item\">
  717.                 <a href=\"/shop/manual/\">マニュアル</a>
  718.             </li>
  719.             <li class=\"ec-header-bottom-list__item\">
  720.                 <a href=\"/shop/notifi/\">各種申請</a>
  721.             </li>
  722.             <li class=\"ec-header-bottom-list__item\">
  723.                 <a href=\"/shop/promotion/\">プロモーション</a>
  724.             </li>
  725.             <li class=\"ec-header-bottom-list__item ec-header-bottom-list__item--colored\">
  726.                 <a href=\"{{ url('mypage') }}\">マイページ</a>
  727.             </li>
  728.         </ul>
  729.     </div>
  730. {% endif %}""Block/header.twig""/home/offshore2022/test-darcys-factory.xyz/public_html/app/template/default/Block/header.twig");
  731.     }
  732. }