app/template/default/default_frame.twig line 1

Open in your IDE?
  1. <!doctype html>
  2. {#
  3. This file is part of EC-CUBE
  4. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  5. http://www.ec-cube.co.jp/
  6. For the full copyright and license information, please view the LICENSE
  7. file that was distributed with this source code.
  8. #}
  9. <html lang="{{ eccube_config.locale }}">
  10. <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# product: http://ogp.me/ns/product#">
  11.     <!-- Google Tag Manager -->
  12.     <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  13.     new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  14.     j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  15.     'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  16.     })(window,document,'script','dataLayer','GTM-5SBZ2NP');</script>
  17.     <!-- End Google Tag Manager -->
  18.     {% if app.request.uri != url('shopping_complete') %}
  19.     <!-- ここから Crib Notesユニバーサルタグのコード -->
  20.     <script>(function (b, f, d, a, c) {var e = b.createElement(f);e.src = c + "/" + a + "/atm.js";e.id = d;e.async = true;b.getElementsByTagName(f)[0].parentElement.appendChild(e)})(document,"script","__cribnotesTagMgrCmd","82e1d54b-30dd-4411-8766-66f840fb2796","https://tag.cribnotes.jp/container_manager");</script>
  21.     <!-- ここまで Crib Notesユニバーサルタグのコード -->
  22.     {% endif %}
  23.     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  24.     <meta name="eccube-csrf-token" content="{{ csrf_token(constant('Eccube\\Common\\Constant::TOKEN_NAME')) }}">
  25.     <meta http-equiv="X-UA-Compatible" content="IE=edge">
  26.     <!-- IEの互換表示無効-->
  27.     <meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE">
  28.     <!-- Skypeによる電話番号置換無効-->
  29.     <meta name="format-detection" content="telephone=no">
  30.     <!-- 電話番号自動リンク無効-->
  31.     <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  32.     {% if app.request.server.get('SEO_ROBOTS') is not empty %}
  33.         <meta name="robots" content="{{ app.request.server.get('SEO_ROBOTS') }}">
  34.     {% else %}
  35.         <meta name="robots" content="INDEX,FOLLOW">
  36.     {% endif %}
  37.     <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>
  38.     {% if Page.meta_tags is not empty %}
  39.         {{ include(template_from_string(Page.meta_tags)) }}
  40.         {% if Page.description is not empty %}
  41.             <meta name="description" content="{{ Page.description }}">
  42.         {% endif %}
  43.     {% else %}
  44.         {{ include('meta.twig') }}
  45.     {% endif %}
  46.     {% if Page.author is not empty %}
  47.         <meta name="author" content="{{ Page.author }}">
  48.     {% endif %}
  49.     {% if Page.keyword is not empty %}
  50.         <meta name="keywords" content="{{ Page.keyword }}">
  51.     {% endif %}
  52.     {% if Page.meta_robots is not empty %}
  53.         <meta name="robots" content="{{ Page.meta_robots }}">
  54.     {% endif %}
  55.     {% if Page.meta_tags is not empty %}
  56.         {{ include(template_from_string(Page.meta_tags)) }}
  57.     {% endif %}
  58.     <link rel="icon" href="{{ asset('assets/img/favicon.png', 'user_data' ) }}">
  59.     <!--JS MAIN -->
  60.     <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
  61.     <script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>
  62.     {# <script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui@4.0/dist/fancybox.umd.js"></script> #}
  63.     {% block stylesheet %}{% endblock %}
  64.     
  65.    
  66.     <!-- /END SCRIPT -->
  67.     <!-- CSS MAIN-->
  68.     {# <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui@4.0/dist/fancybox.css"/>     #}
  69.     <link rel="stylesheet" href="{{ asset('assets/css/reset.css', 'user_data') }}">
  70.     <link rel="stylesheet" href="{{ asset('assets/css/supperDefault.css', 'user_data') }}">
  71.     <link rel="stylesheet" href="{{ asset('assets/css/base.css', 'user_data') }}">
  72.     <link rel="stylesheet" href="{{ asset('assets/css/customize.css', 'user_data') }}">
  73.     <link rel="stylesheet" href="{{ asset('assets/css/edit.css', 'user_data') }}">
  74.     <link rel="stylesheet" href="{{ asset('assets/css/cart.css', 'user_data') }}">
  75.     <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
  76.     <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css">
  77.     <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/v4-shims.css">
  78.     <link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" />
  79.     <script src="{{ asset('assets/js/jquery.autoKana.js', 'user_data') }}"></script>
  80.     <script>
  81.         var COUNTRIES_URL = "{{ url('get_countries' )}}";
  82.         $(function() {
  83.             $.fn.autoKana('#contact_name_name01', '#contact_kana_kana01', {katakana:true}); //idで判別する場合
  84.             $.fn.autoKana('#contact_name_name02', '#contact_kana_kana02', {katakana:true}); //idで判別する場合
  85.             $.fn.autoKana('#entry_name_name01', '#entry_kana_kana01', {katakana:true}); //idで判別する場合
  86.             $.fn.autoKana('#entry_name_name02', '#entry_kana_kana02', {katakana:true}); //idで判別する場合
  87.             $.fn.autoKana('#shopping_order_name_name01', '#shopping_order_kana_kana01', {katakana:true}); //idで判別する場合
  88.             $.fn.autoKana('#shopping_order_name_name02', '#shopping_order_kana_kana02', {katakana:true}); //idで判別する場合
  89.             $.ajaxSetup({
  90.                 'headers': {
  91.                     'ECCUBE-CSRF-TOKEN': $('meta[name="eccube-csrf-token"]').attr('content')
  92.                 }
  93.             });
  94.         });
  95.     </script>
  96.     {# Layout: HEAD #}
  97.     {% if Layout.Head %}
  98.         {{ include('block.twig', {'Blocks': Layout.Head}) }}
  99.     {% endif %}
  100.     {# プラグイン用styleseetやmetatagなど #}
  101.     {% if plugin_assets is defined %}{{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}{% endif %}
  102.     {# <link rel="stylesheet" href="{{ asset('assets/css/customize.css') }}"> #}
  103. </head>
  104. <body id="page_{{ app.request.get('_route') }}" class="{{ body_class|default('other_page') }}">
  105. <!-- Google Tag Manager (noscript) -->
  106. <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5SBZ2NP" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  107. <!-- End Google Tag Manager (noscript) -->
  108. {# Layout: BODY_AFTER #}
  109. {% if Layout.BodyAfter %}
  110.     {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  111. {% endif %}
  112. {% if isMaintenance %}
  113.     <div class="ec-maintenanceAlert">
  114.         <div>
  115.             <div class="ec-maintenanceAlert__icon"><img src="{{ asset('assets/icon/exclamation-white.svg', 'user_data') }}"/></div>
  116.             {{ 'メンテナンスモードが有効になっています。'|trans }}
  117.         </div>
  118.     </div>
  119. {% endif %}
  120. <div class="ec-layoutRole">
  121.     {# Layout: HEADER #}
  122.     {% if Layout.Header %}
  123.         <div class="ec-layoutRole__header">
  124.             {{ include('block.twig', {'Blocks': Layout.Header}) }}
  125.         </div>
  126.     {% endif %}
  127.     {# Layout: CONTENTS_TOP #}
  128.     {# {% if Layout.ContentsTop %}
  129.         <div class="ec-layoutRole__contentTop">
  130.             {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  131.         </div>
  132.     {% endif %} #}
  133.     <div class="ec-layoutRole__contents">
  134.         {# Layout: SIDE_LEFT #}
  135.         {% if Layout.SideLeft %}
  136.             <div class="ec-layoutRole__left">
  137.                 {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  138.             </div>
  139.         {% endif %}
  140.         {% set layoutRoleMain = 'ec-layoutRole__main' %}
  141.         {% if Layout.ColumnNum == 2 %}
  142.             {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  143.         {% elseif Layout.ColumnNum == 3 %}
  144.             {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  145.         {% endif %}
  146.         <div class="{{ layoutRoleMain }}">
  147.             {# Layout: MAIN_TOP #}
  148.             {% if Layout.MainTop %}
  149.                 <div class="ec-layoutRole__mainTop">
  150.                     {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  151.                 </div>
  152.             {% endif %}
  153.             {# MAIN AREA #}
  154.             {% block main %}{% endblock %}
  155.             {# Layout: MAIN_Bottom #}
  156.             {% if Layout.MainBottom %}
  157.                 <div class="ec-layoutRole__mainBottom">
  158.                     {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  159.                 </div>
  160.             {% endif %}
  161.         </div>
  162.         {# Layout: SIDE_RIGHT #}
  163.         {% if Layout.SideRight %}
  164.             <div class="ec-layoutRole__right">
  165.                 {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  166.             </div>
  167.         {% endif %}
  168.     </div>
  169.     {# Layout: CONTENTS_BOTTOM #}
  170.     {% if Layout.ContentsBottom %}
  171.         <div class="ec-layoutRole__contentBottom">
  172.             {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  173.         </div>
  174.     {% endif %}
  175.     {# Layout: CONTENTS_FOOTER #}
  176.     {% if Layout.Footer %}
  177.         <div class="ec-layoutRole__footer">
  178.             {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  179.         </div>
  180.     {% endif %}
  181. </div><!-- ec-layoutRole -->
  182. <div class="ec-overlayRole"></div>
  183. <div class="ec-drawerRoleClose"><i class="fas fa-times"></i></div>
  184. <div class="ec-drawerRole">
  185.     {# Layout: DRAWER #}
  186.     {% if Layout.Drawer %}
  187.         {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  188.     {% endif %}
  189. </div>
  190. {# <div class="ec-blockTopBtn pagetop">{{'ページトップへ'|trans}}</div> #}
  191. <!-- {#<script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>#}
  192. {#<script src="https://cdn.jsdelivr.net/jquery.slick/1.6.0/slick.min.js"></script>#} -->
  193. {% include('@common/lang.twig') %}
  194. <script src="{{ asset('assets/js/function.js') }}"></script>
  195. {#<script src="{{ asset('assets/js/eccube.js') }}"></script>#}
  196. {% block javascript %}{% endblock %}
  197. {# Layout: CLOSE_BODY_BEFORE #}
  198. {% if Layout.CloseBodyBefore %}
  199.     {{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
  200. {% endif %}
  201. {# プラグイン用Snippet #}
  202. {% if plugin_snippets is defined %}
  203.     {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  204. {% endif %}
  205.     {# <script src="{{ asset('assets/js/customize.js') }}"></script> #}
  206. </body>
  207. </html>