<div id="header-1-wrapper"> <div id="header-1"> <div id="header-1-1"> <div id="header-1-1-1" class="s"> </div> <div class="cart-in-box"> {% set totalPrice = get_carts_total_price() %} {% set totalQuantity = get_carts_total_quantity() %} <a href="{{ url('cart') }}" rel="nofollow"> <img class="cart-img" width="150px" height="50px" src="https://img0.land-mark.biz/ut_img/public_images/header/cart.png" alt="カートを見る" onmouseover="this.src='https://img0.land-mark.biz/ut_img/public_images/header/cart_on.png'" onmouseout="this.src='https://img0.land-mark.biz/ut_img/public_images/header/cart.png'"> </a> <div class="item-count"> 商品合計: <span><b>{{ totalQuantity | number_format }}</b>点</span> </div> <div class="return-shipping"> ¥ <b>{{ totalPrice | number_format }}</b> </div> <div class="tax-in">(税込)</div> <a href="/contact/fax/" rel="nofollow"> <img width="110px" height="50px" class="fax-img" src="https://img0.land-mark.biz/ut_img/public_images/header/fax.png" alt="FAX" onmouseover="this.src='https://img0.land-mark.biz/ut_img/public_images/header/fax_on.png'" onmouseout="this.src='https://img0.land-mark.biz/ut_img/public_images/header/fax.png'"> </a> <a href="{{ url('contact') }}" rel="nofollow"> <img width="130px" height="50px" class="mail-img" src="https://img0.land-mark.biz/ut_img/public_images/header/mail.png" alt="メール" onmouseover="this.src='https://img0.land-mark.biz/ut_img/public_images/header/mail_on.png'" onmouseout="this.src='https://img0.land-mark.biz/ut_img/public_images/header/mail.png'"> </a> </div> </div> </div></div><div id="header-2"> {% set current_path = app.request.get('_route') %} <div class="header-2-inner"> <div class="fl"> <div id="logo"> {% if current_path == 'homepage' %} <a href="{{ url('homepage') }}"><h1><img width="230px" height="75px" src="https://img0.land-mark.biz/ut_img/public_images/header/site_logo.jpg" alt="{{ HeaderH1() }}"></h1></a> {% else %} <a href="{{ url('homepage') }}"><img width="230px" height="75px" src="https://img0.land-mark.biz/ut_img/public_images/header/site_logo.jpg" alt="{{ HeaderH1() }}"></a> {% endif %} </div> </div> <div class="fr"> <img width="450px" height="55px" src="https://img0.land-mark.biz/ut_img/public_images/header/service.jpg" alt="ユニフォーム ネット販売最大手の安心感が誇るサービスと実績"> <img width="280px" height="85px" src="https://img0.land-mark.biz/ut_img/public_images/header/freedial.jpg" alt="電話注文できます 見積り、お問合せは無料"> </div> </div></div><div id="header-3"> <div class="header-3-inner"> <div class="fl"> <form class="d-flex flex-center-vertial" style="width: 492px; height: 46.5px" action="{{ url('item_searchlist') }}" method="get"> <input type="hidden" name="hantei" value="検索"> <div class="serch-box"> <input type="text" name="searchtext" value="{% if app.request.get('searchtext') is defined and app.request.get('searchtext') != '' %}{{ app.request.get('searchtext') }}{% endif %}" placeholder="商品名、品番、ブランド、キーワード" autocomplete="off" style="height: 34px; width: {{ is_granted('ROLE_USER') ? '436px;' : '442px;' }}" required /> <input type="image" name="image" src="https://img0.land-mark.biz/ut_img/public_images/header/search.png" class="fl" alt="検索" width="50" height="34" /> </div> </form> </div> <div class="login-area fr"> {% if is_granted('ROLE_USER') %} <div id="loggin"> <div class="loggin-box"> <div class="loggin-detail"> <span>{{ php_mb_strimwidth(app.user.company_name, 0, 50, "...") }}</span> </div> <div class="loggin-detail mt5px"> <span>{{ php_mb_strimwidth(app.user.full_name, 0, 50, "...") }}</span> 様 【お客様番号】<span>{{ GetCustomerBangou(app.user.LmCustomerId) }}</span> </div> </div> <div class="mt10px fl"> <a href="{{ url('mypage') }}" rel="nofollow"> <img src="https://img0.land-mark.biz/ut_img/public_images/header/mypage.png" alt="マイページ" width="80" height="25" /> </a> <a class="ml10px" href="{{ url('logout') }}" rel="nofollow"> <img src="https://img0.land-mark.biz/ut_img/public_images/header/logout.png" alt="ログアウト" width="80" height="25" /> </a> </div> </div> {% else %} <div class="welcome-area flex"> <div class="sitemap-link"> <a href="/sitemap/">サイトマップ</a> </div> <ul id="welcome-msg"> <li> <span>ようこそ ゲスト様</span> <a href="{{ url('entry') }}" rel="nofollow"><img src="https://img0.land-mark.biz/ut_img/public_images/header/member.png" alt="新規会員登録" width="95" height="25" /></a> </li> <li> <span><b>再注文</b></span> <span>ならまずログイン!</span><a href="/mypage/login/" rel="nofollow"><img src="https://img0.land-mark.biz/ut_img/public_images/header/login.png" alt="ログイン" width="75" height="25" /></a> </li> </ul> </div><!-- /.flex --> {% endif %} </div> </div></div>