app/template/kinkodo/Block/header.twig line 1

Open in your IDE?
  1. {#
  2. This file is part of EC-CUBE
  3. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  4. http://www.ec-cube.co.jp/
  5. For the full copyright and license information, please view the LICENSE
  6. file that was distributed with this source code.
  7. #}
  8. <div class="top">
  9.     <div class="left">
  10.         
  11.         <p class="heading">名入れカレンダー印刷・オリジナルカレンダー製作</p>
  12.         <!-- 20260216 -->
  13.         <div class="logo opacity">
  14.             <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>
  15.         </div>
  16.         <!-- 20260216 -->
  17.     </div>
  18.     <div class="right">
  19.         <div class="head">
  20.             <ul>
  21.                 <li class="wallhanging">
  22.                     
  23.                         <span class="title">現在の混雑状況(壁掛け)</span>
  24.                         <span class="daybox">現在の納品日<span class="day">{{ include('Block/textnouhinkabekake.twig') }}</span>
  25.                         </span>
  26.             
  27.                 </li>
  28.                 <li class="tabletop">
  29.                 
  30.                         <span class="title">現在の混雑状況(卓上)</span>
  31.                         <span class="daybox">現在の納品日<span class="day">{{ include('Block/textnouhintakuzyou.twig') }}</span>
  32.                         </span>
  33.                     
  34.                 </li>
  35.                 <li class="fax">
  36.                     <a href="{{ asset('assets/assets/pdf/mitsumori.pdf') }}" target="_blank">FAX見積用紙</a>
  37.                     <a href="{{ asset('assets/assets/pdf/order.pdf') }}" target="_blank">FAX注文用紙</a>
  38.                 </li>
  39.             </ul>
  40.         </div>
  41.         <div class="bottom">
  42.             <ul>
  43. {% if is_granted('ROLE_USER') %}
  44. <li>
  45. <a class="" href="{{ url('mypage') }}">
  46.                
  47. <div class="icon"><img src="{{ asset('assets/assets/images/kaiin.webp') }}"></div><span>{{ 'マイページ'|trans }}</span>
  48.             </a>
  49.             </li>
  50.             <li>
  51. <a class="" href="{{ url('logout') }}">
  52.                 
  53.                 <div class="icon"><img src="{{ asset('assets/assets/images/login.webp') }}"></div><span>{{ 'ログアウト'|trans }}</span>
  54.             </a>
  55. </li>
  56. {% else %}
  57. <li>
  58. <a class="" href="{{ url('entry') }}">
  59.                 
  60.                 <div class="icon"><img src="{{ asset('assets/assets/images/kaiin.webp') }}"></div><span>{{ '新規会員登録'|trans }}</span>
  61.             </a>
  62.             </li>
  63.             <li>
  64. <a class="" href="{{ url('mypage_login') }}">
  65.                 <div class="icon"><img src="{{ asset('assets/assets/images/login.webp') }}"></div><span>{{ 'ログイン'|trans }}</span>
  66.             </a>
  67. </li>
  68. {% endif %}
  69.                 <li>
  70.                     <a href="{{ url('cart') }}">
  71.                         <div class="icon"><img src="{{ asset('assets/assets/images/cart.webp') }}"></div>カート</a>
  72.                 </li>
  73.             </ul>
  74.             <div class="btn data">
  75.                 <a href="/user_data/request">データ入稿はこちら</a>
  76.             </div>
  77.             {{ render(path('block_search_product')) }}
  78.             {# <form action="/" method="get">
  79.                 <input name="query" type="text" value="" placeholder="商品を探す">
  80.                 <input name="submit" type="submit" value="">
  81.             </form> #}
  82.             <div class="tel-contact">
  83.                 <div class="tel">
  84.                     <a href="tel:0532-52-5749">
  85.                         <span>TEL.</span>0532-52-5749</a>
  86.                 </div>
  87.                 <div class="btn">
  88.                     <a href="/contact?contacttype=お問い合わせ">お問い合わせ</a>
  89.                 </div>
  90.             </div>
  91.         </div>
  92.     </div>
  93. </div>
  94. <nav id="gnav">
  95.     <ul>
  96.         <li>
  97.             <a href="/products/list">商品一覧</a>
  98. {% set Categories = repository('Eccube\\Entity\\Category').getList() %}
  99. {% macro tree(Category) %}
  100.     {% from _self import tree %}
  101.     <a href="{{ url('product_list') }}?category_id={{ Category.id }}">
  102.         {{ Category.name }}
  103.     </a>
  104.     {% if Category.children|length > 0 %}
  105.         <ul class="productcategory_list_child">
  106.             {% for ChildCategory in Category.children %}
  107.                 <li>
  108.                     {{ tree(ChildCategory) }}
  109.                 </li>
  110.             {% endfor %}
  111.         </ul>
  112.     {% endif %}
  113. {% endmacro %}
  114. {# @see https://github.com/bolt/bolt/pull/2388 #}
  115. {% from _self import tree %}
  116.             {% for Category in Categories %}
  117.             {% if Category.id is same as(7) %}
  118.              <ul class=""> <li>
  119.                     <a href="{{ url('product_list') }}?category_id={{ Category.id }}">
  120.        壁掛けカレンダー
  121.     </a>
  122.     {% if Category.children|length > 0 %}
  123.         <ul class="productcategory_list_child">
  124.             {% for ChildCategory in Category.children %}
  125.                 <li>
  126.                     {{ tree(ChildCategory) }}
  127.                 </li>
  128.             {% endfor %}
  129.         </ul>
  130.          {% endif %}
  131.                 </li></ul>
  132.                 {% endif %}
  133.             {% endfor %}
  134.             {% for Category in Categories %}
  135.             {% if Category.id is same as(8) %}
  136.               <ul class=""><li>
  137.                     <a href="{{ url('product_list') }}?category_id={{ Category.id }}">
  138.         卓上カレンダー
  139.     </a>
  140.     {% if Category.children|length > 0 %}
  141.         <ul class="productcategory_list_child">
  142.             {% for ChildCategory in Category.children %}
  143.                 <li>
  144.                     {{ tree(ChildCategory) }}
  145.                 </li>
  146.             {% endfor %}
  147.         </ul>
  148.          {% endif %}
  149.                 </li></ul>
  150.                 {% endif %}
  151.             {% endfor %}
  152.             {% for Category in Categories %}
  153.             {% if Category.id is same as(9) %}
  154.                 <ul class=""><li>
  155.                    <a href="{{ url('product_list') }}?category_id={{ Category.id }}">
  156.         ダイアリー・手帳
  157.     </a>
  158.     {% if Category.children|length > 0 %}
  159.         <ul class="productcategory_list_child">
  160.             {% for ChildCategory in Category.children %}
  161.                 <li>
  162.                     {{ tree(ChildCategory) }}
  163.                 </li>
  164.             {% endfor %}
  165.         </ul>
  166.          {% endif %}
  167.                 </li></ul>
  168.                 {% endif %}
  169.             {% endfor %}
  170.         
  171. <ul class=""><li>
  172.   <a href="/products/list?category_id=62">贈答用ギフトボックス/付属品</a>
  173. </li></ul>
  174.        {#                 
  175. {% set Categories = repository('Eccube\\Entity\\Category').getList() %}
  176. {% macro tree(Category) %}
  177.     {% from _self import tree %}
  178.     <a href="{{ url('product_list') }}?category_id={{ Category.id }}">
  179.         {{ Category.name }}
  180.     </a>
  181.     {% if Category.children|length > 0 %}
  182.         <ul class="productcategory_list_child">
  183.             {% for ChildCategory in Category.children %}
  184.                 <li>
  185.                     {{ tree(ChildCategory) }}
  186.                 </li>
  187.             {% endfor %}
  188.         </ul>
  189.     {% endif %}
  190. {% endmacro %}
  191. {% from _self import tree %}
  192.         
  193.             {% for Category in Categories %}
  194.             {% if Category.id is same as(1) %}
  195.             {% else %}
  196.             <ul class="">
  197.                 <li class="productcategory_list{% if Category.children|length > 0 %} list_parent{% endif %}">
  198.                     {{ tree(Category) }}
  199.                 </li>
  200.             </ul>
  201.              {% endif %}
  202.             {% endfor %}
  203.          #}
  204.             {# <!-- <div class="nav"> --> #}
  205.             {# <ul>
  206.                 <li>
  207.                     <a href="">項目名が入ります</a>
  208.                     <ul>
  209.                         <li><a href="">項目名項目名項目名</a></li>
  210.                         <li><a href="">項目名項目名項目名</a></li>
  211.                         <li><a href="">項目名項目名項目名</a></li>
  212.                         <li><a href="">項目名項目名項目名</a></li>
  213.                     </ul>
  214.                 </li>
  215.             </ul>
  216.             <ul>
  217.                 <li>
  218.                     <a href="">項目名が入ります</a>
  219.                     <ul>
  220.                         <li><a href="">項目名項目名項目名</a></li>
  221.                         <li><a href="">項目名項目名項目名</a></li>
  222.                         <li><a href="">項目名項目名項目名</a></li>
  223.                         <li><a href="">項目名項目名項目名</a></li>
  224.                     </ul>
  225.                 </li>
  226.             </ul>
  227.             <ul>
  228.                 <li>
  229.                     <a href="">項目名が入ります</a>
  230.                     <ul>
  231.                         <li><a href="">項目名項目名項目名</a></li>
  232.                         <li><a href="">項目名項目名項目名</a></li>
  233.                         <li><a href="">項目名項目名項目名</a></li>
  234.                         <li><a href="">項目名項目名項目名</a></li>
  235.                     </ul>
  236.                 </li>
  237.             </ul> #}
  238.             {# <!-- </div> --> #}
  239.         </li>
  240.         
  241.         <li>
  242.             <a href="/blogs/list?blogs_category_id=3">ご利用ガイド</a>
  243.             
  244.             <ul class="guidesubmenu">
  245.                 <li>
  246.                     {# <a href="/blogs/list?blogs_category_id=3">ご利用ガイド</a> #}
  247.                     <ul>
  248.                         <li><a href="/blogs/detail/226">ご利用の流れについて</a></li>
  249.                         <li><a href="/blogs/detail/227">お見積/ご注文依頼後について</a></li>
  250.                         <li><a href="/blogs/detail/228">ホームページの表示価格について</a></li>
  251.                         <li><a href="/blogs/detail/229">名入れ印刷(社名印刷)について</a></li>
  252.                         <li><a href="/blogs/detail/231">納期について</a></li>
  253.                         <li><a href="/blogs/detail/232">サンプル(現品見本)ご希望の方へ</a></li>
  254.                         <li><a href="/blogs/detail/233">カレンダー虎の巻</a></li>
  255.                         <li><a href="/blogs/detail/234">お断りする場合</a></li>
  256.                     </ul>
  257.                 </li>
  258.             </ul>
  259.             
  260.         </li>
  261.         <li>
  262.             <a href="/blogs/detail/237">お客様の声</a>
  263.         </li>
  264.         <li>
  265.             <a href="/user_data/qanda">よくあるご質問</a>
  266.         </li>
  267.         <li>
  268.             <a href="/blogs/list?blogs_category_id=1">スタッフブログ</a>
  269.         </li>
  270.     </ul>
  271. </nav>