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>
  64.             $(function () {
  65. $.ajaxSetup({
  66. 'headers': {
  67. 'ECCUBE-CSRF-TOKEN': $('meta[name="eccube-csrf-token"]').attr('content')
  68. }
  69. });
  70. });
  71.         </script>
  72.         <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
  73.         <script src="{{ asset('assets/assets/js/slick/slick.min.js') }}"></script>
  74.         <script src="{{ asset('assets/assets/js/jquery.inview.min.js') }}"></script>
  75. <script src="{{ asset('assets/assets/js/scroll-hint.min.js') }}"></script>
  76.         <script src="{{ asset('assets/assets/js/script.js') }}"></script>
  77.         {# Layout: HEAD #}
  78.         {% if Layout.Head %}
  79.             {{ include('block.twig', {'Blocks': Layout.Head}) }}
  80.         {% endif %}
  81.         {# プラグイン用styleseetやmetatagなど #}
  82.         {% if plugin_assets is defined %}
  83.             {{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}
  84.         {% endif %}
  85.         <link rel="stylesheet" href="{{ asset('assets/css/customize.css', 'user_data') }}">
  86.         <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap"rel="stylesheet">
  87.         <script>
  88.             (function(d) {
  89.             var config = {
  90.                 kitId: 'glp7ocp',
  91.                 scriptTimeout: 3000,
  92.                 async: true
  93.             },
  94.             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)
  95.             })(document);
  96.         </script>
  97.         <link rel="stylesheet" href="https://use.typekit.net/hsu6ajc.css">
  98. <!-- Google Tag Manager -->
  99. <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  100.     new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  101.     j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  102.     'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  103.     })(window,document,'script','dataLayer','GTM-MPJJHXK');</script>
  104. <!-- End Google Tag Manager -->
  105. <!-- Global site tag (gtag.js) - Google Analytics -->
  106. <script async src="https://www.googletagmanager.com/gtag/js?id=G-3NF3YG97R8"></script>
  107. <script>
  108.   window.dataLayer = window.dataLayer || [];
  109.   function gtag(){dataLayer.push(arguments);}
  110.   gtag('js', new Date());
  111.   gtag('config', 'G-3NF3YG97R8');
  112. </script>
  113. <style>
  114. .sf-minitoolbar {
  115.     display:none !important;
  116. }
  117. </style>
  118.     </head>
  119.     <body
  120.         id="page_{{ app.request.get('_route') }}" class="{{ body_class|default('other_page') }}">
  121.         {# Layout: BODY_AFTER #}
  122.         {% if Layout.BodyAfter %}
  123.             {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  124.         {% endif %}
  125.         <div class="wrapper">
  126.         {% if isMaintenance %}
  127.             <div class="ec-maintenanceAlert">
  128.                 <div>
  129.                     <div class="ec-maintenanceAlert__icon"><img src="{{ asset('assets/icon/exclamation-white.svg') }}"/></div>
  130.                     {{ 'メンテナンスモードが有効になっています。'|trans }}
  131.                 </div>
  132.             </div>
  133.         {% endif %}
  134.         <div
  135.             class="ec-layoutRole">
  136.             {# Layout: HEADER #}
  137.             {% if Layout.Header %}
  138.                 <header class="ec-layoutRole__header" id="header">
  139.                     {{ include('block.twig', {'Blocks': Layout.Header}) }}
  140.                 </header>
  141.             {% endif %}
  142.             <div
  143.                 class="">
  144.                 
  145.                 <main
  146.                     class="{{ layoutRoleMain|default('') }}">
  147.                     {# Layout: CONTENTS_TOP #}
  148.                     {% if Layout.ContentsTop %}
  149.                         <div class="ec-layoutRole__contentTop">
  150.                             {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  151.                         </div>
  152.                     {% endif %}
  153.                     {% if app.request.get('_route') == 'homepage' %}
  154.         
  155.                     {% else %}
  156.                         <div class="contents-inner">
  157.                     {% endif %}
  158.                     {# Layout: SIDE_LEFT #}
  159.                     {% if Layout.SideLeft %}
  160.                         {# <aside class="ec-layoutRole__left"> #}
  161.                             {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  162.                         {# </aside> #}
  163.                     {% endif %}
  164.                     {% set layoutRoleMain = 'ec-layoutRole__main' %}
  165.                     {% if Layout.ColumnNum == 2 %}
  166.                         {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  167.                     {% elseif Layout.ColumnNum == 3 %}
  168.                         {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  169.                     {% endif %}
  170.                     {# Layout: MAIN_TOP #}
  171.                     {% if Layout.MainTop %}
  172.                         <div class="ec-layoutRole__mainTop">
  173.                             {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  174.                         </div>
  175.                     {% endif %}
  176.                     {# MAIN AREA #}
  177.                     {% block main %}{% endblock %}
  178.                     {# Layout: MAIN_Bottom #}
  179.                     {% if Layout.MainBottom %}
  180.                         <div class="ec-layoutRole__mainBottom">
  181.                             {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  182.                         </div>
  183.                     {% endif %}
  184.                     
  185.                     {% if app.request.get('_route') == 'homepage' %}
  186.         
  187.                     {% else %}
  188.                         </div>
  189.                     {% endif %}
  190.                     {# Layout: CONTENTS_BOTTOM #}
  191.                     {% if Layout.ContentsBottom %}
  192.                         <div class="ec-layoutRole__contentBottom">
  193.                             {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  194.                         </div>
  195.                     {% endif %}
  196.                     <div id="pagetop">
  197.                         <a href="#"><img src="{{ asset('assets/assets/images/pagetop.png') }}" alt="↑"></a>
  198.                     </div>
  199.                 </main>
  200.                 {# Layout: SIDE_RIGHT #}
  201.                 {% if Layout.SideRight %}
  202.                     <aside class="ec-layoutRole__right">
  203.                         {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  204.                     </aside>
  205.                 {% endif %}
  206.             </div>
  207.             {# Layout: CONTENTS_FOOTER #}
  208.             <footer class="ec-layoutRole__footer" id="footer">
  209.                 {% if Layout.Footer %}
  210.                     {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  211.                 {% endif %}
  212.                 <div class="copyright">
  213.                     <p>Copyright(C)きんこうどう. All Rights Reserved.</p>
  214.                 </div>
  215.             </footer>
  216.             
  217.         </div>
  218.         <!-- ec-layoutRole -->
  219.         <div class="fix_menu">
  220.             {# <p><a href="">データ 入 稿</a></p>
  221.             <p class="mail"><a title="お問い合わせ" href="/contact/"><i class="fas fa-envelope fa-2x"></i>お問い合わせ</a></p> #}
  222. {% if is_granted('ROLE_USER') %}
  223. <div class="fixbtn">
  224. <a class="" href="{{ url('mypage') }}">              
  225. <i class="fa fa-user fa-2x" aria-hidden="true"></i><span>{{ '会員情報'|trans }}</span>
  226. </a>
  227. </div>
  228. {% else %}
  229. <div class="fixbtn">
  230. <a class="" href="{{ url('mypage_login') }}">
  231.                 <i class="fa fa-lock fa-2x" aria-hidden="true"></i><span>{{ 'ログイン'|trans }}</span>
  232.             </a>
  233. </div>
  234. {% endif %}
  235. <div class="fixbtn">
  236. <a href="{{ url('cart') }}">
  237.                         <i class="fa fa-shopping-cart fa-2x" aria-hidden="true"></i>カート</a>
  238. </div>
  239.         </div>
  240.         </div>
  241.         <div class="ec-overlayRole"></div>
  242.         <div class="ec-drawerRoleClose">
  243.             {# <i class="fas fa-times"></i> #}
  244.         </div>
  245.         <div
  246.             class="ec-drawerRole">
  247.             {# Layout: DRAWER #}
  248.             {% if Layout.Drawer %}
  249.                 {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  250.             {% endif %}
  251.         </div>
  252.         {# <div class="ec-blockTopBtn pagetop">{{'ページトップへ'|trans}}</div> #}
  253.         {% include('@common/lang.twig') %}
  254.         <script src="{{ asset('assets/js/function.js') }}"></script>
  255.         <script src="{{ asset('assets/js/eccube.js') }}"></script>
  256.         {% block javascript %}{% endblock %}
  257.         {# Layout: CLOSE_BODY_BEFORE #}
  258.         {% if Layout.CloseBodyBefore %}
  259.             {{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
  260.         {% endif %}
  261.         {# プラグイン用Snippet #}
  262.         {% if plugin_snippets is defined %}
  263.             {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  264.         {% endif %}
  265.         <script src="{{ asset('assets/js/customize.js', 'user_data') }}"></script>
  266.     </body>
  267. </html>