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