app/template/unishop/default_frame.twig line 255

Open in your IDE?
  1. <!doctype html>
  2. {#
  3. This file is part of EC-CUBE
  4. Copyright(c) 2000-2015 LOCKON CO.,LTD. All Rights Reserved.
  5. http://www.lockon.co.jp/
  6. This program is free software; you can redistribute it and/or
  7. modify it under the terms of the GNU General Public License
  8. as published by the Free Software Foundation; either version 2
  9. of the License, or (at your option) any later version.
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. GNU General Public License for more details.
  14. You should have received a copy of the GNU General Public License
  15. along with this program; if not, write to the Free Software
  16. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  17. #}
  18. <html lang="ja">
  19. <head>
  20. <meta charset="utf-8">
  21. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  22. <title>{{ BaseInfo.shop_name }}{% if subtitle is defined and subtitle is not empty %} / {{ subtitle }}{% elseif title is defined and title is not empty %} / {{ title }}{% endif %}</title>
  23. {% if Page.author is not empty %}
  24.     <meta name="author" content="{{ Page.author }}">
  25. {% endif %}
  26. {% if Page.description is not empty %}
  27.     <meta name="description" content="{{ Page.description }}">
  28. {% endif %}
  29. {% if Page.keyword is not empty %}
  30.     <meta name="keywords" content="{{ Page.keyword }}">
  31. {% endif %}
  32. {% if Page.meta_robots is not empty %}
  33.     <meta name="robots" content="{{ Page.meta_robots }}">
  34. {% endif %}
  35. <meta name="viewport" content="width=device-width, initial-scale=1">
  36. {% if Page.meta_tags is not empty %}
  37.     {{ Page.meta_tags|raw }}
  38. {% endif %}
  39. {% block meta_tags %}{% endblock %}
  40. <link rel="icon" href="{{ asset('assets/img/common/favicon.ico', 'user_data') }}">
  41. {% if Page.url == "school_list" %}
  42. <link rel="icon" href="{{ asset('assets/css/bootstrap.min.3.4.1.css', 'user_data') }}">
  43. {% endif %}
  44. <link rel="stylesheet" href="{{ asset('assets/css/style.css') }}">
  45. <link rel="stylesheet" href="{{ asset('assets/css/slick.css') }}">
  46. <link rel="stylesheet" href="{{ asset('assets/css/default.css') }} ">
  47. <link rel="stylesheet" href="{{ asset('assets/css/unishop.css') }} ">
  48. <link rel="stylesheet" href="{{ asset('assets/css/custom.css') }} ">
  49. <link rel="stylesheet" href="{{ asset('assets/css/icomoon/style.css') }}">
  50. {% if Page.url == "product_list" %}
  51.     <link rel="stylesheet" href="{{ asset('assets/css/slick/slick.css') }}">
  52.     <link rel="stylesheet" href="{{ asset('assets/css/slick/slick-theme.css') }}">
  53. {% endif %}
  54. {% if Page.url == "correct_size" or Page.url == "care_for_uniforms" or Page.url == "school_list" or Page.url == "store_info" %}
  55.     <link rel="stylesheet" href="{{ asset('assets/css/unimall_page.css') }}">
  56. {% endif %}
  57. {% if Page.url == "school_list" %}
  58.     <link rel="stylesheet" href="{{ asset('assets/css/unimall_sclist.css') }}">
  59. {% endif %}
  60. {% if Page.url == "gmo_shopping_payment" or Page.url == "gmo_shopping_rakuten_result" or  Page.url == "gmo_shopping_au_result" or Page.url == "gmo_shopping_docomo_result" or Page.url == "gmo_shopping_sb_result" %}
  61.     <link rel="stylesheet" href="{{ asset('assets/css/gmo_test.css') }}">
  62. {% else %}{% endif %}
  63. <!-- for original theme CSS -->
  64. {% block stylesheet %}
  65.     {% if Page.url == 'mypage_change' %}
  66.     {% endif %}
  67.     {% if Page.url == 'mypage_change_saisun' %}
  68. <style type="text/css">
  69. .dl_table not_required{
  70.     display:none;
  71.     height:0;
  72.     overflow:hidden;
  73. }
  74. </style>
  75.     {% endif %}
  76. {% endblock %}
  77. <!--学校・店舗専用css-->
  78. {% include 'Block/css_kirikae.twig' %}
  79. <script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
  80. <script src="https://code.jquery.com/jquery-migrate-3.4.1.min.js"></script>
  81. {# ▼Head COLUMN #}
  82. {% if Layout.Head %}
  83.     {# ▼上ナビ #}
  84.     {{ include('block.twig', {'Blocks': Page.Head}) }}
  85.     {# ▲上ナビ #}
  86. {% endif %}
  87. {# ▲Head COLUMN #}
  88. </head>
  89. <body id="page_{{ app.request.get('_route') }}" class="{{ body_class|default('other_page') }}">
  90. {% if Page.url != "mypage_change_checkbox" %}{% if Page.url != "mypage_change_complete2" %}
  91. <div id="wrapper">
  92. <div class="mblack"></div>
  93.     <header id="header">
  94.         <div class="container-fluid inner">
  95.                 <p id="btn_menu"{% if is_granted('ROLE_USER') %}{% if app.user.isMeasureInfoRegistered() == false %} style="opacity:0.2; pointer-events: none;"{% endif %}{% endif %}><a class="nav-trigger" href="#nav">Menu<span></span></a></p>
  96.             {# ▼HeaderInternal COLUMN #}
  97.             {% if Layout.Header %}
  98.                 {# ▼上ナビ #}
  99.                 {{ include('block.twig', {'Blocks': Layout.Header}) }}
  100.                 {# ▲上ナビ #}
  101.             {% endif %}
  102.             {# ▲HeaderInternal COLUMN #}
  103.         </div>
  104.     </header>
  105. {% if Page.url != "homepage" %}
  106. <div class="head_pankuz"><div class="pankuz" {% if not is_granted('ROLE_USER') or app.user.isMeasureInfoRegistered() == false %}style="opacity:0.3; pointer-events:none;"{% endif %}><!--ぱんくずここから-->
  107. <div><a href="{{ url('homepage') }}">HOME</a></div>
  108. {% if app.request.get('_route')=='user_data' %}{% if app.request.get('route')=='outfit_l01' %}
  109. <div><a href="{{ url('user_data', {'route': 'outfit'}) }}">コーディネート一覧</a></div>{% endif %}
  110. {% endif %}
  111. {% if app.request.get('_route')=='product_list' %}
  112.     {% if Category is not null %}
  113.         {% for Path in Category.path %}
  114.             <div class="jscategory1"><a href="{{ url('product_list') }}?category_id={{ Path.id }}">{{ Path.name }}</a></div>
  115.         {% endfor %}
  116.     {% endif %}
  117. {% endif %}
  118. {% if Product is defined %}
  119.     {% if Product.ProductCategories is not empty %}
  120.         {% for ProductCategory in Product.ProductCategories %}
  121.             {% if ProductCategory.Category.School == app.user.School %}
  122.             <div class="jscategory2"><a href="{{ url('product_list') }}?category_id={{ ProductCategory.Category.id }}">{{ ProductCategory.Category.name }}</a></div>
  123.             {% endif %}
  124.         {% endfor %}
  125.     {% endif %}
  126. {% endif %}
  127. {% if Page.url == "homepage" or app.request.get('_route')=='product_list' %}{% else %}<div>{% if subtitle is defined and subtitle is not empty %}{{ subtitle }}{% elseif title is defined and title is not empty %}{{ title }}{% endif %}</div>{% endif %}
  128. </div></div>
  129. {% endif %}
  130. {% endif %}{% endif %}
  131. <!-- チャットボットブロック ここから -->
  132. {% if is_granted('ROLE_USER') %}
  133. {% if Page.url != "mypage_change_checkbox" and Page.url != "mypage_change_complete2" and app.user.School.getChatBotFlag == 1 %}
  134. <div class="totop">
  135.     <link rel="stylesheet" href="{{ asset('chatbot/style.css','user_data') }}">
  136.     <link rel="stylesheet prefetch" href="https://cdnjs.cloudflare.com/ajax/libs/malihu-custom-scrollbar-plugin/3.1.3/jquery.mCustomScrollbar.min.css">
  137.     <span class="qa chatbtn" href=""><img class="btnpc" src="{{ asset('assets/img/nikke/fixed_qa.gif') }}"><img class="btnsp" src="{{ asset('assets//img/nikke/fixed_qasp.gif') }}"></span>
  138.     <div class="chat">
  139.     <div class="chat-title">
  140.         <h1>AIチャットサポート</h1>
  141.         <figure class="avatar"><img src="{{ asset('chatbot/icon_01.png','user_data') }}" /></figure>
  142.         <div class="cb_hide"><img src="{{ asset('chatbot/icon_02.png','user_data') }}"></div>
  143.     </div>
  144.     <div class="messages">
  145.         <div class="messages-content"></div>
  146.     </div>
  147.     <div class="message-box"><textarea type="text" class="message-input" placeholder="ご質問を入力してください。"></textarea><button type="submit" class="message-submit">送信 </button></div>
  148.     </div>
  149.     <script src="https://cdnjs.cloudflare.com/ajax/libs/malihu-custom-scrollbar-plugin/3.1.3/jquery.mCustomScrollbar.concat.min.js"></script>
  150.     <script src="{{ asset('chatbot/marked.min.js','user_data') }}"></script>
  151.     <script src="{{ asset('chatbot/chatbot.js','user_data') }}" charset="utf-8"></script>
  152. </div>{% endif %}{% endif %}
  153. <!-- チャットボットブロック ここまで -->
  154. {% if is_granted('ROLE_USER') %}{% if Page.url == "homepage" or Page.url == "product_list" or Page.url == "product_detail" or Page.url == "mypage" %}<div class="totop saisun">
  155.    <div class="saisun_right">
  156.     <label for="saisun1"><img class="saipc" src="{{ asset('assets') }}/img/unishop/fixed_saipc.gif"><img class="saisp" src="{{ asset('assets') }}/img/nikke/fixed_saisp.gif"></label>
  157.     <input type="checkbox" id="saisun1"/>
  158.     <div class="saisun_show">
  159.       <!--非表示ここから-->
  160. {% include 'flex_saisun.twig' %}
  161.       <!--ここまで-->
  162.     </div>
  163. </div>
  164. </div>{% endif %}{% endif %}
  165. {% if Page.url == "homepage" %}
  166. {% include 'Block/firstpop.twig' %}
  167. {% endif %}
  168. {% if Page.url == "cart" %}
  169. {% if app.user.hissu_flg != '1' %}
  170. <div class="saix_box cartpop" style="display:none;"><!--カート初回ウインドウ-->
  171.     <div class="saix_black"></div>
  172.     <div class="saix_txt saixcart"><div class="saix_close">×<span>閉じる</span></div>
  173.         <div class="saix_right">
  174.             <h2 style="margin:0;">購入必須<span>アイテムの確認</span></h2>
  175. <div class="hissu_itempop">
  176. <p>以下のアイテムは購入が必須となります。<span>お買い忘れがないか、ご確認ください。</span></p>
  177. {% include 'Block/hissu_item.twig' %}
  178. </div>
  179.             <iframe src="{{ url('mypage') }}/change_checkbox" name="sample" width="100%" scrolling="no">
  180.             </iframe>
  181.         </div>
  182.     </div>
  183. </div>
  184. {% endif %}{% endif %}
  185.     {% if Page.url == "homepage" %}{% else %}<div id="contents" class="{{ Layout.theme }}">{% endif %}
  186.         <div id="contents_top">
  187.             {# ▼TOP COLUMN #}
  188.             {% if Layout.ContentsTop %}
  189.                 {# ▼上ナビ #}
  190.                 {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  191.                 {# ▲上ナビ #}
  192.             {% endif %}
  193.             {# ▲TOP COLUMN #}
  194.         </div>
  195.         <div class="container-fluid inner">
  196.             {# ▼LEFT COLUMN #}
  197.             {% if Layout.SideLeft %}
  198.                 <div id="side_left" class="side">
  199.                     {# ▼左ナビ #}
  200.                     {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  201.                     {# ▲左ナビ #}
  202.                 </div>
  203.             {% endif %}
  204.             {# ▲LEFT COLUMN #}
  205.             <div id="main">
  206.                 {# ▼メイン上部 #}
  207.                 {% if Layout.MainTop %}
  208.                     <div id="main_top">
  209.                         {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  210.                     </div>
  211.                 {% endif %}
  212.                 {# ▲メイン上部 #}
  213.                 <div id="main_middle">
  214.                     {% block main %}{% endblock %}
  215.                 </div>
  216.                 {# ▼メイン下部 #}
  217.                 {% if Layout.MainBottom %}
  218.                     <div id="main_bottom">
  219.                         {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  220.                     </div>
  221.                 {% endif %}
  222.                 {# ▲メイン下部 #}
  223.             </div>
  224.             {# ▼RIGHT COLUMN #}
  225.             {% if Layout.SideRight %}
  226.                 <div id="side_right" class="side">
  227.                     {# ▼右ナビ #}
  228.                     {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  229.                     {# ▲右ナビ #}
  230.                 </div>
  231.             {% endif %}
  232.             {# ▲RIGHT COLUMN #}
  233.         </div>
  234.             {# ▼BOTTOM COLUMN #}
  235.             {% if Layout.ContentsBottom %}
  236.                 <div id="contents_bottom">
  237.                     {# ▼下ナビ #}
  238.                     {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  239.                     {# ▲下ナビ #}
  240.                 </div>
  241.             {% endif %}
  242.             {# ▲BOTTOM COLUMN #}
  243.     </div>
  244. {% if Page.url == "product_detail" %}
  245.     <div class="ec-modal">
  246.         <div class="ec-modal-overlay">
  247.             <div class="ec-modal-wrap">
  248.                 <span class="ec-modal-close"><span class="ec-icon"><img src="{{ asset('assets/icon/cross-dark.svg') }}" alt=""/></span></span>
  249.                 <div id="ec-modal-header" class="text-center">{{ 'カートに追加しました。'|trans }}</div>
  250.                 <div class="ec-modal-box">
  251.                     <div class="ec-role">
  252.                         <a class="ec-inlineBtn--cancel" href="{{ url('product_list') }}">{{ 'お買い物を続ける'|trans }}</a>
  253.                         <a href="{{ url('cart') }}" class="ec-inlineBtn--action">{{ 'カートへ進む'|trans }}</a>
  254.                     </div>
  255.                 </div>
  256.             </div>
  257.         </div>
  258.     </div>
  259. {% endif %}
  260. {% if Page.url == "reserve_detail" %}
  261.         <div class="ec-modal">
  262.             <div class="ec-modal-overlay">
  263.                 <div class="ec-modal-wrap">
  264.                     <span class="ec-modal-close"><span class="ec-icon"><img src="{{ asset('assets/icon/cross-dark.svg') }}" alt=""/></span></span>
  265.                     <div id="ec-modal-header" class="text-center">{{ '予約キャンセル'|trans }}</div>
  266.                     <div class="ec-modal-box">
  267.                         <p>予約をキャンセルしてよろしいですか。</p>
  268.                     </div>
  269.                     <div id="ec-modal-footer" class="text-center">
  270.                         <a class="def_button3 cancel_confirm">確認</a>
  271.                         <a class="def_button3 close_modal def_button7">閉じる</a>
  272.                     </div>
  273.                 </div>
  274.             </div>
  275.         </div>
  276. {% endif %}
  277. {% if Page.url != "mypage_change_checkbox" %}{% if Page.url != "mypage_change_complete2" %}
  278.         <footer id="footer" style="margin-top: 0;">
  279.             {# ▼Footer COLUMN#}
  280.             {% if Layout.Footer %}
  281.                 {# ▼上ナビ #}
  282.                 {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  283.                 {# ▲上ナビ #}
  284.             {% endif %}
  285.             {# ▲Footer COLUMN#}
  286.         </footer>
  287. {% endif %}{% endif %}
  288.     {% if Page.url == "homepage" or Page.url == "product_detail" %}</div>{% else %}{% endif %}
  289. {% if Page.url != "mypage_change_checkbox" %}{% if Page.url != "mypage_change_complete2" %}
  290.     <div id="drawer" class="drawer sp">
  291.     {% include 'Block/spmenu.twig' %}
  292.     </div>
  293.     {% if Page.url == "product_detail" %}<div class="close_btn"></div>{% else %}{% endif %}
  294. {% endif %}{% endif %}
  295. </div>
  296. <div class="overlay"></div>
  297. <script src="{{ asset('assets/js/vendor/bootstrap.custom.min.js') }}"></script>
  298. <script src="{{ asset('assets/js/vendor/slick.min.js') }}"></script>
  299. <script src="{{ asset('assets/js/function.js') }}"></script>
  300. <script src="{{ asset('assets/js/eccube.js') }}"></script>
  301. <script src="{{ asset('assets/js/menu01.js') }}"></script>
  302. <script src="{{ asset('assets/js/search02.js') }}"></script>
  303. {% if Page.url != "product_list" %}
  304.     <script src="{{ asset('assets/js/slick/slick.min.js') }}"></script>
  305. {% endif %}
  306. <!--学校・店舗ごとに検索結果/カート内容チェック内容のjsを切り替え-->
  307. {% include 'Block/js_kirikae.twig' %}
  308. <script>
  309. $(function () {
  310.     $('#drawer').append($('.drawer_block').clone(true).children());
  311.     $.ajax({
  312.         url: "{{ asset('assets//img/common/svg.html') }}",
  313.         type: 'GET',
  314.         dataType: 'html',
  315.     }).done(function(data){
  316.         $('body').prepend(data);
  317.     }).fail(function(data){
  318.     });
  319. });
  320. </script>
  321. {% block javascript %}{% endblock %}
  322. {% if Page.url == 'shopping_temporary_confirm' %}<!--仮登録(完了)画面がすぐバグる-->
  323.     </div></div></div>
  324. {% endif %}
  325. </body>
  326. </html>