app/template/BlackCherry/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: https://ogp.me/ns# fb: https://ogp.me/ns/fb# product: https://ogp.me/ns/product#">
  11.     <meta charset="utf-8">
  12.     <meta name="viewport" content="width=device-width, initial-scale=1">
  13.     <meta name="eccube-csrf-token" content="{{ csrf_token(constant('Eccube\\Common\\Constant::TOKEN_NAME')) }}">
  14.     <meta name="google-site-verification" content="google-site-verification=QswkVBzgFNK_-PneV66LEJ7ThVu8mmiGyWDKkJj-ghA">
  15.     <!-- Google tag (gtag.js) -->
  16.     <script async src="https://www.googletagmanager.com/gtag/js?id=G-GP71SN25SC"></script>
  17.     <script>
  18.     window.dataLayer = window.dataLayer || [];
  19.     function gtag(){dataLayer.push(arguments);}
  20.     gtag('js', new Date());
  21.     gtag('config', 'G-GP71SN25SC');
  22.     </script>
  23.     <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>
  24.     {% if Page.meta_tags is not empty %}
  25.         {{ include(template_from_string(Page.meta_tags), sandboxed = true) }}
  26.         {% if Page.description is not empty %}
  27.             <meta name="description" content="{{ Page.description }}">
  28.         {% endif %}
  29.     {% else %}
  30.         {{ include('meta.twig') }}
  31.     {% endif %}
  32.     {% if Page.author is not empty %}
  33.         <meta name="author" content="{{ Page.author }}">
  34.     {% endif %}
  35.     {% if Page.keyword is not empty %}
  36.         <meta name="keywords" content="{{ Page.keyword }}">
  37.     {% endif %}
  38.    {% block meta %}
  39.         {% if app.request.query.all|length > 0 %}
  40.             <meta name="robots" content="noindex,nofollow">
  41.         {% elseif Page.meta_robots is not empty %}
  42.             <meta name="robots" content="{{ Page.meta_robots }}">
  43.         {% endif %}
  44.     {% endblock %}
  45.     <link rel="icon" href="{{ asset('assets/img/common/favicon.ico', 'user_data') }}">
  46.     <link href="https://use.fontawesome.com/releases/v6.6.0/css/all.css" rel="stylesheet">
  47.     <link rel="stylesheet" href="{{ asset('assets/css/style.css') }}">
  48.      <link rel="stylesheet" href="{{ asset('assets/scss/add.css') }}">
  49.     <link rel="stylesheet" href="{{ asset('assets/scss/resset.css') }}">
  50.     <script src="{{ asset('front.bundle.js', 'bundle') }}"></script>
  51.     {% block stylesheet %}{% endblock %}
  52.     <script>
  53.         $(function() {
  54.             $.ajaxSetup({
  55.                 'headers': {
  56.                     'ECCUBE-CSRF-TOKEN': $('meta[name="eccube-csrf-token"]').attr('content')
  57.                 }
  58.             });
  59.         });
  60.     </script>
  61.     {# Layout: HEAD #}
  62.     {% if Layout.Head %}
  63.         {{ include('block.twig', {'Blocks': Layout.Head}) }}
  64.     {% endif %}
  65.     {# プラグイン用styleseetやmetatagなど #}
  66.     {% if plugin_assets is defined %}{{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}{% endif %}
  67.     <link rel="stylesheet" href="{{ asset('assets/css/customize.css', 'user_data') }}">
  68. </head>
  69. {# 右クリック禁止 #}
  70. <body id="page_{{ app.request.get('_route') }}" class="{{ body_class|default('other_page') }}"  >
  71. {# Layout: BODY_AFTER #}
  72. {% if Layout.BodyAfter %}
  73.     {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  74. {% endif %}
  75. {% if isMaintenance %}
  76.     <div class="ec-maintenanceAlert">
  77.         <div>
  78.             <div class="ec-maintenanceAlert__icon"><img src="{{ asset('assets/icon/exclamation-white.svg') }}"/></div>
  79.             {{ 'メンテナンスモードが有効になっています。'|trans }}
  80.         </div>
  81.     </div>
  82. {% endif %}
  83. <div class="ec-layoutRole">
  84.     {# Layout: HEADER #}
  85.     {% if Layout.Header %}
  86.         <header>
  87.             {{ include('block.twig', {'Blocks': Layout.Header}) }}
  88.         </header>
  89.     {% endif %}
  90.     {# Layout: CONTENTS_TOP #}
  91.     {% if Layout.ContentsTop %}
  92.         <div class="ec-layoutRole__contentTop">
  93.             {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  94.         </div>
  95.     {% endif %}
  96.     <div class="ec-layoutRole__contents">
  97.         {# Layout: SIDE_LEFT #}
  98.         {% if Layout.SideLeft %}
  99.             <aside class="ec-layoutRole__left">
  100.                 {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  101.             </aside>
  102.         {% endif %}
  103.        
  104.         {% set layoutRoleMain = 'ec-layoutRole__main' %}
  105.         {% if Layout.ColumnNum == 2 %}
  106.             {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  107.         {% elseif Layout.ColumnNum == 3 %}
  108.             {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  109.         {% endif %}
  110.         <main class="{{ layoutRoleMain }}">
  111.             {# Layout: MAIN_TOP #}
  112.             {% if Layout.MainTop %}
  113.                 <div class="ec-layoutRole__mainTop">
  114.                     {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  115.                 </div>
  116.             {% endif %}
  117.             {# MAIN AREA #}
  118.             {% block main %}{% endblock %}
  119.             {# Layout: MAIN_Bottom #}
  120.             {% if Layout.MainBottom %}
  121.                 <div class="ec-layoutRole__mainBottom">
  122.                     {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  123.                 </div>
  124.             {% endif %}
  125.         </main>
  126.         {# Layout: SIDE_RIGHT #}
  127.         {% if Layout.SideRight %}
  128.             <aside class="ec-layoutRole__right">
  129.                 {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  130.             </aside>
  131.         {% endif %}
  132.     </div>
  133.     {# Layout: CONTENTS_BOTTOM #}
  134.     {% if Layout.ContentsBottom %}
  135.         <div class="ec-layoutRole__contentBottom">
  136.             {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  137.         </div>
  138.     {% endif %}
  139.     {# Layout: CONTENTS_FOOTER #}
  140.     {% if Layout.Footer %}
  141.         <footer class="ec-layoutRole__footer">
  142.             {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  143.         </footer>
  144.     {% endif %}
  145. </div><!-- ec-layoutRole -->
  146. <div class="ec-overlayRole"></div>
  147. <div class="ec-drawerRoleClose"><i class="fas fa-times"></i></div>
  148. <div class="ec-drawerRole">
  149.     {# Layout: DRAWER #}
  150.     {% if Layout.Drawer %}
  151.         {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  152.     {% endif %}
  153. </div>
  154. <div class="ec-blockTopBtn pagetop">{{'ページトップへ'|trans}}</div>
  155. {% include('@common/lang.twig') %}
  156. <script src="{{ asset('assets/js/function.js') }}"></script>
  157. <script src="{{ asset('assets/js/eccube.js') }}"></script>
  158. {% block javascript %}{% endblock %}
  159. {# Layout: CLOSE_BODY_BEFORE #}
  160. {% if Layout.CloseBodyBefore %}
  161.     {{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
  162. {% endif %}
  163. {# プラグイン用Snippet #}
  164. {% if plugin_snippets is defined %}
  165.     {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  166. {% endif %}
  167.     <script src="{{ asset('assets/js/customize.js', 'user_data') }}"></script>
  168. </body>
  169. </html>