<div class="spbox1">
{% if is_granted('ROLE_USER') %}
<p>{% if app.user.name01 != '' %}{{ app.user.name01 }} {{ app.user.name02 }} 様{% endif %} / ID…{{ app.user.company_name }}</p>
<a class="link50" href="{{ url('mypage') }}"><img src="{{ asset('assets') }}/img/unishop/icon01.gif" />マイページ</a>
<a class="link50" href="{{ url('logout') }}"><img src="{{ asset('assets') }}/img/unishop/icon04.gif" />ログアウト</a>
<a class="link50" href="{{ url('mypage_favorite') }}"><img src="{{ asset('assets') }}/img/unishop/icon02.gif" />お気に入り</a>
<a class="link50" href="{{ url('contact') }}"><img src="{{ asset('assets') }}/img/unishop/icon03.gif" />お問い合わせ</a>
{% else %}
<p>ゲスト様</p>
<p><img src="{{ asset('assets') }}/img/unishop/icon01.gif" />
<a href="{{ url('mypage_login') }}">ログイン</a>
<a href="{{ url('entry') }}">生徒情報登録</a></p>
<a class="link100" href="{{ url('contact') }}"><img src="{{ asset('assets') }}/img/unishop/icon03.gif" />お問い合わせ</a>
{% endif %}
</div>
<div class="spbox2">
<a class="link100" href="{{ url('homepage') }}">HOME</a>
{% if is_granted('ROLE_USER') %}
<div class="sublink">
<label for="spdrop1">アイテム一覧</label>
<input type="checkbox" id="spdrop1"/>
<div class="spdrop">
{{ render(path('block_category_def')) }}
</div>
</div>
<div class="sublink">
<label for="spdrop2">お買い物ガイド</label>
<input type="checkbox" id="spdrop2"/>
<div class="spdrop">
{% include 'Block/guidemenu_def.twig' %}
</div>
</div>
{% if app.user.school.school_measuring_flag == 1 or app.user.school.store_measuring_flag == 1 %}
<div class="sublink">
<label for="spdrop3">予約管理</label>
<input type="checkbox" id="spdrop3"/>
<div class="spdrop">
{% include 'Block/reserve_menu.twig' %}
</div>
</div>
{% endif %}
{% endif %}
<a class="link100" href="{{url('user_data', {route: 'correct_size'})}}">サイズの選び方</a>
<a class="link100" href="{{url('user_data', {route: 'commitment_uniform'})}}">制服へのこだわり</a>
</div>