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.     <meta charset="utf-8">
  12.     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  13.     <meta name="eccube-csrf-token" content="{{ csrf_token(constant('Eccube\\Common\\Constant::TOKEN_NAME')) }}">
  14.     {% if isMaintenance is not defined %}
  15.         {% set isMaintenance = false %}
  16.     {% endif %}
  17.     {% if isMaintenance %}
  18.         <title>ただいまメンテナンス中です。</title>    
  19.     {% else %}
  20.         <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>
  21.     {% endif %}
  22.     {% if Page.author is not empty %}
  23.         <meta name="author" content="{{ Page.author }}">
  24.     {% endif %}
  25.     {% if Page.description is not empty %}
  26.         <meta name="description" content="{{ Page.description }}">
  27.     {% endif %}
  28.     {% if Page.keyword is not empty %}
  29.         <meta name="keywords" content="{{ Page.keyword }}">
  30.     {% endif %}
  31.     {% if Page.meta_robots is not empty %}
  32.         <meta name="robots" content="{{ Page.meta_robots }}">
  33.     {% endif %}
  34.     {% if Page.meta_tags is not empty %}
  35.         {{ include(template_from_string(Page.meta_tags)) }}
  36.     {% endif %}
  37.     <link rel="icon" href="{{ asset('assets/img/common/favicon.ico', 'user_data') }}">
  38.     <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
  39.     <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
  40.     <link rel="stylesheet" href="//cdn.jsdelivr.net/jquery.slick/1.6.0/slick.css">
  41.     <link rel="stylesheet" href="{{ asset('assets/css/style.css') }}">
  42.     {% block stylesheet %}{% endblock %}
  43.     <script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
  44.     <script>
  45.         $(function() {
  46.             $.ajaxSetup({
  47.                 'headers': {
  48.                     'ECCUBE-CSRF-TOKEN': $('meta[name="eccube-csrf-token"]').attr('content')
  49.                 }
  50.             });
  51.         });
  52.     </script>
  53.     {# Layout: HEAD #}
  54.     {% if Layout.Head %}
  55.         {{ include('block.twig', {'Blocks': Layout.Head}) }}
  56.     {% endif %}
  57.     {# プラグイン用styleseetやmetatagなど #}
  58.     {% if plugin_assets is defined %}{{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}{% endif %}
  59.     {# Google #}
  60.     {# 購入完了ページ以外でも Google Analytics を導入したいというご要望を頂いた際は下記の条件分岐をなくし、単に include してください #}
  61.     {% if ECommerceCategoryNames is defined %}{{ include('Block/analytics.twig') }}{% endif %}
  62.     {# /Google #}
  63.     <link rel="stylesheet" href="{{ asset('assets/css/customize.css', 'user_data') }}?v=0128">
  64. </head>
  65. <body id="page_{{ app.request.get('_route') }}" class="{{ body_class|default('other_page') }}">
  66. {# Layout: BODY_AFTER #}
  67. {% if Layout.BodyAfter %}
  68.     {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  69. {% endif %}
  70. {% if isMaintenance %}
  71. <body style="background:#fff;">
  72. <br />
  73. <br />
  74. <br />
  75. <br />
  76. <center>
  77.     <img src="/html/template/default/assets/img/logo-6.jpg" style="width:50%;" alt="">
  78.     <br />
  79.     <br />
  80.     <p class="ec-404Role__description ec-reportDescription"><strong>ただいまマルチピュアジャパンオンラインショップはサイトリニューアルのためメンテナンス中です。</strong></p>
  81.     <br />
  82.     <p class="ec-404Role__description ec-reportDescription">ご不便をおかけしますが、一層サービスの充実をはかってまいりますので、今後とも倍旧のお引き立てを賜りますようお願い申し上げます。</p>
  83. </center>
  84. {% else %}
  85. <div class="ec-layoutRole">
  86.     {# Layout: HEADER #}
  87.     {% if Layout.Header %}
  88.         <div class="ec-layoutRole__header">
  89.             {{ include('block.twig', {'Blocks': Layout.Header}) }}
  90.         </div>
  91.     {% endif %}
  92.     {# Layout: CONTENTS_TOP #}
  93.     {% if Layout.ContentsTop %}
  94.         <div class="ec-layoutRole__contentTop">
  95.             {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  96.         </div>
  97.     {% endif %}
  98.     <div class="ec-layoutRole__contents">
  99.         {# Layout: SIDE_LEFT #}
  100.         {% if Layout.SideLeft %}
  101.             <div class="ec-layoutRole__left">
  102.                 {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  103.             </div>
  104.         {% endif %}
  105.         {% set layoutRoleMain = 'ec-layoutRole__main' %}
  106.         {% if Layout.ColumnNum == 2 %}
  107.             {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  108.         {% elseif Layout.ColumnNum == 3 %}
  109.             {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  110.         {% endif %}
  111.         <div class="{{ layoutRoleMain }}">
  112.             {# Layout: MAIN_TOP #}
  113.             {% if Layout.MainTop %}
  114.                 <div class="ec-layoutRole__mainTop">
  115.                     {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  116.                 </div>
  117.             {% endif %}
  118.             {# MAIN AREA #}
  119.             {% block main %}{% endblock %}
  120.             {# Layout: MAIN_Bottom #}
  121.             {% if Layout.MainBottom %}
  122.                 <div class="ec-layoutRole__mainBottom">
  123.                     {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  124.                 </div>
  125.             {% endif %}
  126.         </div>
  127.         {# Layout: SIDE_RIGHT #}
  128.         {% if Layout.SideRight %}
  129.             <div class="ec-layoutRole__right">
  130.                 {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  131.             </div>
  132.         {% endif %}
  133.     </div>
  134.     {# Layout: CONTENTS_BOTTOM #}
  135.     {% if Layout.ContentsBottom %}
  136.         <div class="ec-layoutRole__contentBottom">
  137.             {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  138.         </div>
  139.     {% endif %}
  140.     {# Layout: CONTENTS_FOOTER #}
  141.     {% if Layout.Footer %}
  142.         <div class="ec-layoutRole__footer">
  143.             {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  144.         </div>
  145.     {% endif %}
  146. </div><!-- ec-layoutRole -->
  147. <div class="ec-overlayRole"></div>
  148. <div class="ec-drawerRoleClose"><i class="fas fa-times"></i></div>
  149. <div class="ec-drawerRole">
  150.     {# Layout: DRAWER #}
  151.     {% if Layout.Drawer %}
  152.         {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  153.     {% endif %}
  154. </div>
  155. <div class="ec-blockTopBtn pagetop">{{'ページトップへ'|trans}}</div>
  156. <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>
  157. <script src="https://cdn.jsdelivr.net/jquery.slick/1.6.0/slick.min.js"></script>
  158. {% include('@common/lang.twig') %}
  159. <script src="{{ asset('assets/js/function.js') }}"></script>
  160. <script src="{{ asset('assets/js/eccube.js') }}"></script>
  161. {% block javascript %}{% endblock %}
  162. {# Layout: CLOSE_BODY_BEFORE #}
  163. {% if Layout.CloseBodyBefore %}
  164.     {{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
  165. {% endif %}
  166. {# プラグイン用Snippet #}
  167. {% if plugin_snippets is defined %}
  168.     {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  169. {% endif %}
  170.     <script src="{{ asset('assets/js/customize.js', 'user_data') }}"></script>
  171. {% endif %}
  172. </body>
  173. </html>