app/template/kinkodo/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, shrink-to-fit=no">
  13.         <meta name="eccube-csrf-token" content="{{ csrf_token(constant('Eccube\\Common\\Constant::TOKEN_NAME')) }}">
  14.         
  15.         <title>
  16.     {% if app.request.attributes.get('_route') == 'product_detail' and Product is defined %}
  17.         {% if Product.code_min is not empty %}{{ Product.code_min }}{% endif %} {{ Product.name }} / {{ BaseInfo.shop_name }}
  18.     {% elseif app.request.attributes.get('_route') == 'homepage' %}
  19.     【公式】{{ BaseInfo.shop_name }}|名入れカカレンダー製作 10冊からの小ロットも対応レンダー印刷・オリジナル
  20.     {% elseif subtitle is defined and subtitle is not empty %}
  21.         {{ subtitle }}|{{ BaseInfo.shop_name }}
  22.     {% elseif title is defined and title is not empty %}
  23.         {{ title }}|{{ BaseInfo.shop_name }}
  24.     {% else %}
  25.         {{ BaseInfo.shop_name }}
  26.     {% endif %}
  27. </title>
  28.         {% if Page.meta_tags is not empty %}
  29.             {{ include(template_from_string(Page.meta_tags), sandboxed = true) }}
  30.             {% if Page.description is not empty %}
  31.                 <meta name="description" content="{{ Page.description }}">
  32.             {% endif %}
  33.         {% else %}
  34.             {{ include('meta.twig') }}
  35.         {% endif %}
  36.         {% if Page.author is not empty %}
  37.             <meta name="author" content="{{ Page.author }}">
  38.         {% endif %}
  39.         {% if Page.keyword is not empty %}
  40.             <meta name="keywords" content="{{ Page.keyword }}">
  41.         {% endif %}
  42.         {% if Page.meta_robots is not empty %}
  43.             <meta name="robots" content="{{ Page.meta_robots }}">
  44.         {% endif %}
  45.         <link rel="icon" href="{{ asset('assets/img/common/favicon.ico', 'user_data') }}">
  46.         <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
  47.         <link rel="stylesheet" href="{{ asset('assets/css/style.css') }}">
  48.         
  49.         <link rel="stylesheet" href="{{ asset('assets/assets/css/style.css') }}">
  50.         <link rel="stylesheet" href="{{ asset('assets/assets/css/reset.css') }}"/>
  51.         <link rel="stylesheet" href="{{ asset('assets/assets/js/slick/slick.css') }}"/>
  52.         <link rel="stylesheet" href="{{ asset('assets/assets/css/fix_menu.css') }}"/>
  53.         <link rel="stylesheet" href="{{ asset('assets/assets/css/parabox.css') }}"/>
  54.         <link rel="stylesheet" href="{{ asset('assets/assets/css/sp_nav.css') }}"/>
  55.         {% if app.request.get('_route') == 'homepage' %}
  56.         
  57.         {% else %}
  58.             <link rel="stylesheet" href="{{ asset('assets/assets/css/contents.css') }}"/>
  59.             <link rel="stylesheet" href="{{ asset('assets/assets/css/scroll-hint.css') }}">
  60.         {% endif %}
  61.         <script src="{{ asset('front.bundle.js', 'bundle') }}"></script>
  62.         {% block stylesheet %}{% endblock %}
  63.         <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
  64.         <script>
  65.             $(function () {
  66. $.ajaxSetup({
  67. 'headers': {
  68. 'ECCUBE-CSRF-TOKEN': $('meta[name="eccube-csrf-token"]').attr('content')
  69. }
  70. });
  71. });
  72.         </script>
  73.         
  74.         <script src="{{ asset('assets/assets/js/slick/slick.min.js') }}" defer></script>
  75.         {# <script src="{{ asset('assets/assets/js/jquery.inview.min.js') }}"></script> #}
  76. <script src="{{ asset('assets/assets/js/scroll-hint.min.js') }}" defer></script>
  77.         <script src="{{ asset('assets/assets/js/script.js') }}" defer></script>
  78.         {# Layout: HEAD #}
  79.         {% if Layout.Head %}
  80.             {{ include('block.twig', {'Blocks': Layout.Head}) }}
  81.         {% endif %}
  82.         {# プラグイン用styleseetやmetatagなど #}
  83.         {% if plugin_assets is defined %}
  84.             {{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}
  85.         {% endif %}
  86.         <link rel="stylesheet" href="{{ asset('assets/css/customize.css', 'user_data') }}">
  87.         <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap"rel="stylesheet">
  88.         <script>
  89.             (function(d) {
  90.             var config = {
  91.                 kitId: 'glp7ocp',
  92.                 scriptTimeout: 3000,
  93.                 async: true
  94.             },
  95.             h=d.documentElement,t=setTimeout(function(){h.className=h.className.replace(/\bwf-loading\b/g,"")+" wf-inactive";},config.scriptTimeout),tk=d.createElement("script"),f=false,s=d.getElementsByTagName("script")[0],a;h.className+=" wf-loading";tk.src='https://use.typekit.net/'+config.kitId+'.js';tk.async=true;tk.onload=tk.onreadystatechange=function(){a=this.readyState;if(f||a&&a!="complete"&&a!="loaded")return;f=true;clearTimeout(t);try{Typekit.load(config)}catch(e){}};s.parentNode.insertBefore(tk,s)
  96.             })(document);
  97.         </script>
  98.         <link rel="stylesheet" href="https://use.typekit.net/hsu6ajc.css">
  99. <!-- Google Tag Manager -->
  100. <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  101.     new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  102.     j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  103.     'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  104.     })(window,document,'script','dataLayer','GTM-MPJJHXK');</script>
  105. <!-- End Google Tag Manager -->
  106. <!-- Global site tag (gtag.js) - Google Analytics -->
  107. <script async src="https://www.googletagmanager.com/gtag/js?id=G-3NF3YG97R8"></script>
  108. <script>
  109.   window.dataLayer = window.dataLayer || [];
  110.   function gtag(){dataLayer.push(arguments);}
  111.   gtag('js', new Date());
  112.   gtag('config', 'G-3NF3YG97R8');
  113. </script>
  114. <style>
  115. .sf-minitoolbar {
  116.     display:none !important;
  117. }
  118. </style>
  119.     </head>
  120.     <body
  121.         id="page_{{ app.request.get('_route') }}" class="{{ body_class|default('other_page') }}">
  122.         {# Layout: BODY_AFTER #}
  123.         {% if Layout.BodyAfter %}
  124.             {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  125.         {% endif %}
  126.         <div class="wrapper">
  127.         {% if isMaintenance %}
  128.             <div class="ec-maintenanceAlert">
  129.                 <div>
  130.                     <div class="ec-maintenanceAlert__icon"><img src="{{ asset('assets/icon/exclamation-white.svg') }}"/></div>
  131.                     {{ 'メンテナンスモードが有効になっています。'|trans }}
  132.                 </div>
  133.             </div>
  134.         {% endif %}
  135.         <div
  136.             class="ec-layoutRole">
  137.             {# Layout: HEADER #}
  138.             {% if Layout.Header %}
  139.                 <header class="ec-layoutRole__header" id="header">
  140.                     {{ include('block.twig', {'Blocks': Layout.Header}) }}
  141.                 </header>
  142.             {% endif %}
  143.             <div
  144.                 class="">
  145.                 
  146.                 <main
  147.                     class="{{ layoutRoleMain|default('') }}">
  148.                     {# Layout: CONTENTS_TOP #}
  149.                     {% if Layout.ContentsTop %}
  150.                         <div class="ec-layoutRole__contentTop">
  151.                             {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  152.                         </div>
  153.                     {% endif %}
  154. {# pagetitle area #}
  155.                     {% block pagetitlearea %}{% endblock %}
  156.                     {% if app.request.get('_route') == 'homepage' %}
  157.         
  158.                     {% else %}
  159.                         <div class="contents-inner">
  160.                     {% endif %}
  161.                     {# Layout: SIDE_LEFT #}
  162.                     {% if Layout.SideLeft %}
  163.                         {# <aside class="ec-layoutRole__left"> #}
  164.                             {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  165.                         {# </aside> #}
  166.                     {% endif %}
  167.                     {% set layoutRoleMain = 'ec-layoutRole__main' %}
  168.                     {% if Layout.ColumnNum == 2 %}
  169.                         {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  170.                     {% elseif Layout.ColumnNum == 3 %}
  171.                         {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  172.                     {% endif %}
  173.                     {# Layout: MAIN_TOP #}
  174.                     {% if Layout.MainTop %}
  175.                         <div class="ec-layoutRole__mainTop">
  176.                             {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  177.                         </div>
  178.                     {% endif %}
  179.                     {# MAIN AREA #}
  180.                     {% block main %}{% endblock %}
  181.                     {# Layout: MAIN_Bottom #}
  182.                     {% if Layout.MainBottom %}
  183.                         <div class="ec-layoutRole__mainBottom">
  184.                             {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  185.                         </div>
  186.                     {% endif %}
  187.                     
  188.                     {% if app.request.get('_route') == 'homepage' %}
  189.         
  190.                     {% else %}
  191.                         </div>
  192.                     {% endif %}
  193.                     {# Layout: CONTENTS_BOTTOM #}
  194.                     {% if Layout.ContentsBottom %}
  195.                         <div class="ec-layoutRole__contentBottom">
  196.                             {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  197.                         </div>
  198.                     {% endif %}
  199.                     <div id="pagetop">
  200.                         <a href="#"><img src="{{ asset('assets/assets/images/pagetop.png') }}" alt="↑"></a>
  201.                     </div>
  202.                 </main>
  203.                 {# Layout: SIDE_RIGHT #}
  204.                 {% if Layout.SideRight %}
  205.                     <aside class="ec-layoutRole__right">
  206.                         {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  207.                     </aside>
  208.                 {% endif %}
  209.             </div>
  210.             {# Layout: CONTENTS_FOOTER #}
  211.             <footer class="ec-layoutRole__footer" id="footer">
  212.                 {% if Layout.Footer %}
  213.                     {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  214.                 {% endif %}
  215.                 <div class="copyright">
  216.                     <p>Copyright(C)きんこうどう. All Rights Reserved.</p>
  217.                 </div>
  218.             </footer>
  219.             
  220.         </div>
  221.         <!-- ec-layoutRole -->
  222.         <div class="fix_menu">
  223.             {# <p><a href="">データ 入 稿</a></p>
  224.             <p class="mail"><a title="お問い合わせ" href="/contact/"><i class="fas fa-envelope fa-2x"></i>お問い合わせ</a></p> #}
  225. {% if is_granted('ROLE_USER') %}
  226. <div class="fixbtn">
  227. <a class="" href="{{ url('mypage') }}">              
  228. <i class="fa fa-user fa-2x" aria-hidden="true"></i><span>{{ '会員情報'|trans }}</span>
  229. </a>
  230. </div>
  231. {% else %}
  232. <div class="fixbtn">
  233. <a class="" href="{{ url('mypage_login') }}">
  234.                 <i class="fa fa-lock fa-2x" aria-hidden="true"></i><span>{{ 'ログイン'|trans }}</span>
  235.             </a>
  236. </div>
  237. {% endif %}
  238. <div class="fixbtn">
  239. <a href="{{ url('cart') }}">
  240.                         <i class="fa fa-shopping-cart fa-2x" aria-hidden="true"></i>カート</a>
  241. </div>
  242.         </div>
  243.         </div>
  244.         <div class="ec-overlayRole"></div>
  245.         <div class="ec-drawerRoleClose">
  246.             {# <i class="fas fa-times"></i> #}
  247.         </div>
  248.         <div
  249.             class="ec-drawerRole">
  250.             {# Layout: DRAWER #}
  251.             {% if Layout.Drawer %}
  252.                 {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  253.             {% endif %}
  254.         </div>
  255.         {# <div class="ec-blockTopBtn pagetop">{{'ページトップへ'|trans}}</div> #}
  256.         {% include('@common/lang.twig') %}
  257.         <script src="{{ asset('assets/js/function.js') }}"></script>
  258.         <script src="{{ asset('assets/js/eccube.js') }}"></script>
  259.         {% block javascript %}{% endblock %}
  260.         {# Layout: CLOSE_BODY_BEFORE #}
  261.         {% if Layout.CloseBodyBefore %}
  262.             {{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
  263.         {% endif %}
  264.         {# プラグイン用Snippet #}
  265.         {% if plugin_snippets is defined %}
  266.             {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  267.         {% endif %}
  268.         <script src="{{ asset('assets/js/customize.js', 'user_data') }}"></script>
  269.     </body>
  270. </html>