{#
This file is part of EC-CUBE
Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
http://www.ec-cube.co.jp/
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
<div class="top">
<div class="left">
<p class="heading">名入れカレンダー印刷・オリジナルカレンダー製作</p>
<h1 class="logo opacity">
<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>
</h1>
</div>
<div class="right">
<div class="head">
<ul>
<li class="wallhanging">
<span class="title">現在の混雑状況(壁掛け)</span>
<span class="daybox">現在の納品日<span class="day">{{ include('Block/textnouhinkabekake.twig') }}</span>
</span>
</li>
<li class="tabletop">
<span class="title">現在の混雑状況(卓上)</span>
<span class="daybox">現在の納品日<span class="day">{{ include('Block/textnouhintakuzyou.twig') }}</span>
</span>
</li>
<li class="fax">
<a href="{{ asset('assets/assets/pdf/mitsumori.pdf') }}" target="_blank">FAX見積用紙</a>
<a href="{{ asset('assets/assets/pdf/order.pdf') }}" target="_blank">FAX注文用紙</a>
</li>
</ul>
</div>
<div class="bottom">
<ul>
{% if is_granted('ROLE_USER') %}
<li>
<a class="" href="{{ url('mypage') }}">
<div class="icon"><img src="{{ asset('assets/assets/images/kaiin.webp') }}"></div><span>{{ 'マイページ'|trans }}</span>
</a>
</li>
<li>
<a class="" href="{{ url('logout') }}">
<div class="icon"><img src="{{ asset('assets/assets/images/login.webp') }}"></div><span>{{ 'ログアウト'|trans }}</span>
</a>
</li>
{% else %}
<li>
<a class="" href="{{ url('entry') }}">
<div class="icon"><img src="{{ asset('assets/assets/images/kaiin.webp') }}"></div><span>{{ '新規会員登録'|trans }}</span>
</a>
</li>
<li>
<a class="" href="{{ url('mypage_login') }}">
<div class="icon"><img src="{{ asset('assets/assets/images/login.webp') }}"></div><span>{{ 'ログイン'|trans }}</span>
</a>
</li>
{% endif %}
<li>
<a href="{{ url('cart') }}">
<div class="icon"><img src="{{ asset('assets/assets/images/cart.webp') }}"></div>カート</a>
</li>
</ul>
<div class="btn data">
<a href="/user_data/request">データ入稿はこちら</a>
</div>
{{ render(path('block_search_product')) }}
{# <form action="/" method="get">
<input name="query" type="text" value="" placeholder="商品を探す">
<input name="submit" type="submit" value="">
</form> #}
<div class="tel-contact">
<div class="tel">
<a href="tel:0532-52-5749">
<span>TEL.</span>0532-52-5749</a>
</div>
<div class="btn">
<a href="/contact?contacttype=お問い合わせ">お問い合わせ</a>
</div>
</div>
</div>
</div>
</div>
<nav id="gnav">
<ul>
<li>
<a href="/products/list">商品一覧</a>
{% set Categories = repository('Eccube\\Entity\\Category').getList() %}
{% macro tree(Category) %}
{% from _self import tree %}
<a href="{{ url('product_list') }}?category_id={{ Category.id }}">
{{ Category.name }}
</a>
{% if Category.children|length > 0 %}
<ul class="productcategory_list_child">
{% for ChildCategory in Category.children %}
<li>
{{ tree(ChildCategory) }}
</li>
{% endfor %}
</ul>
{% endif %}
{% endmacro %}
{# @see https://github.com/bolt/bolt/pull/2388 #}
{% from _self import tree %}
{% for Category in Categories %}
{% if Category.id is same as(7) %}
<ul class=""> <li>
<a href="{{ url('product_list') }}?category_id={{ Category.id }}">
壁掛けカレンダー
</a>
{% if Category.children|length > 0 %}
<ul class="productcategory_list_child">
{% for ChildCategory in Category.children %}
<li>
{{ tree(ChildCategory) }}
</li>
{% endfor %}
</ul>
{% endif %}
</li></ul>
{% endif %}
{% endfor %}
{% for Category in Categories %}
{% if Category.id is same as(8) %}
<ul class=""><li>
<a href="{{ url('product_list') }}?category_id={{ Category.id }}">
卓上カレンダー
</a>
{% if Category.children|length > 0 %}
<ul class="productcategory_list_child">
{% for ChildCategory in Category.children %}
<li>
{{ tree(ChildCategory) }}
</li>
{% endfor %}
</ul>
{% endif %}
</li></ul>
{% endif %}
{% endfor %}
{% for Category in Categories %}
{% if Category.id is same as(9) %}
<ul class=""><li>
<a href="{{ url('product_list') }}?category_id={{ Category.id }}">
ダイアリー・手帳
</a>
{% if Category.children|length > 0 %}
<ul class="productcategory_list_child">
{% for ChildCategory in Category.children %}
<li>
{{ tree(ChildCategory) }}
</li>
{% endfor %}
</ul>
{% endif %}
</li></ul>
{% endif %}
{% endfor %}
<ul class=""><li>
<a href="/products/list?category_id=62">贈答用ギフトボックス/付属品</a>
</li></ul>
{#
{% set Categories = repository('Eccube\\Entity\\Category').getList() %}
{% macro tree(Category) %}
{% from _self import tree %}
<a href="{{ url('product_list') }}?category_id={{ Category.id }}">
{{ Category.name }}
</a>
{% if Category.children|length > 0 %}
<ul class="productcategory_list_child">
{% for ChildCategory in Category.children %}
<li>
{{ tree(ChildCategory) }}
</li>
{% endfor %}
</ul>
{% endif %}
{% endmacro %}
{% from _self import tree %}
{% for Category in Categories %}
{% if Category.id is same as(1) %}
{% else %}
<ul class="">
<li class="productcategory_list{% if Category.children|length > 0 %} list_parent{% endif %}">
{{ tree(Category) }}
</li>
</ul>
{% endif %}
{% endfor %}
#}
{# <!-- <div class="nav"> --> #}
{# <ul>
<li>
<a href="">項目名が入ります</a>
<ul>
<li><a href="">項目名項目名項目名</a></li>
<li><a href="">項目名項目名項目名</a></li>
<li><a href="">項目名項目名項目名</a></li>
<li><a href="">項目名項目名項目名</a></li>
</ul>
</li>
</ul>
<ul>
<li>
<a href="">項目名が入ります</a>
<ul>
<li><a href="">項目名項目名項目名</a></li>
<li><a href="">項目名項目名項目名</a></li>
<li><a href="">項目名項目名項目名</a></li>
<li><a href="">項目名項目名項目名</a></li>
</ul>
</li>
</ul>
<ul>
<li>
<a href="">項目名が入ります</a>
<ul>
<li><a href="">項目名項目名項目名</a></li>
<li><a href="">項目名項目名項目名</a></li>
<li><a href="">項目名項目名項目名</a></li>
<li><a href="">項目名項目名項目名</a></li>
</ul>
</li>
</ul> #}
{# <!-- </div> --> #}
</li>
<li>
<a href="/blogs/list?blogs_category_id=3">ご利用ガイド</a>
<ul class="guidesubmenu">
<li>
{# <a href="/blogs/list?blogs_category_id=3">ご利用ガイド</a> #}
<ul>
<li><a href="/blogs/detail/226">ご利用の流れについて</a></li>
<li><a href="/blogs/detail/227">お見積/ご注文依頼後について</a></li>
<li><a href="/blogs/detail/228">ホームページの表示価格について</a></li>
<li><a href="/blogs/detail/229">名入れ印刷(社名印刷)について</a></li>
<li><a href="/blogs/detail/231">納期について</a></li>
<li><a href="/blogs/detail/232">サンプル(現品見本)ご希望の方へ</a></li>
<li><a href="/blogs/detail/233">カレンダー虎の巻</a></li>
<li><a href="/blogs/detail/234">お断りする場合</a></li>
</ul>
</li>
</ul>
</li>
<li>
<a href="/blogs/detail/237">お客様の声</a>
</li>
<li>
<a href="/user_data/qanda">よくあるご質問</a>
</li>
<li>
<a href="/blogs/list?blogs_category_id=1">スタッフブログ</a>
</li>
</ul>
</nav>