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.         2027年{{ BaseInfo.shop_name }}
  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. <!-- Google Tag Manager -->
  46. <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  47. new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  48. j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  49. 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  50. })(window,document,'script','dataLayer','GTM-WW44V3RN');</script>
  51. <!-- End Google Tag Manager -->
  52.         <link rel="icon" href="{{ asset('assets/img/common/favicon.ico', 'user_data') }}">
  53.         <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
  54.         <link rel="stylesheet" href="{{ asset('assets/css/style.css') }}">
  55.         
  56.         <link rel="stylesheet" href="{{ asset('assets/assets/css/style.css') }}">
  57.         <link rel="stylesheet" href="{{ asset('assets/assets/css/reset.css') }}"/>
  58.         <link rel="stylesheet" href="{{ asset('assets/assets/js/slick/slick.css') }}"/>
  59.         <link rel="stylesheet" href="{{ asset('assets/assets/css/fix_menu.css') }}"/>
  60.         <link rel="stylesheet" href="{{ asset('assets/assets/css/parabox.css') }}"/>
  61.         <link rel="stylesheet" href="{{ asset('assets/assets/css/sp_nav.css') }}"/>
  62.         {% if app.request.get('_route') == 'homepage' %}
  63.         
  64.         {% else %}
  65.             <link rel="stylesheet" href="{{ asset('assets/assets/css/contents.css') }}"/>
  66.             <link rel="stylesheet" href="{{ asset('assets/assets/css/scroll-hint.css') }}">
  67.         {% endif %}
  68.         <script src="{{ asset('front.bundle.js', 'bundle') }}"></script>
  69.         {% block stylesheet %}{% endblock %}
  70.         <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
  71.         <script>
  72.             $(function () {
  73. $.ajaxSetup({
  74. 'headers': {
  75. 'ECCUBE-CSRF-TOKEN': $('meta[name="eccube-csrf-token"]').attr('content')
  76. }
  77. });
  78. });
  79.         </script>
  80.         
  81.         <script src="{{ asset('assets/assets/js/slick/slick.min.js') }}" defer></script>
  82.         {# <script src="{{ asset('assets/assets/js/jquery.inview.min.js') }}"></script> #}
  83. <script src="{{ asset('assets/assets/js/scroll-hint.min.js') }}" defer></script>
  84.         <script src="{{ asset('assets/assets/js/script.js') }}" defer></script>
  85.         {# Layout: HEAD #}
  86.         {% if Layout.Head %}
  87.             {{ include('block.twig', {'Blocks': Layout.Head}) }}
  88.         {% endif %}
  89.         {# プラグイン用styleseetやmetatagなど #}
  90.         {% if plugin_assets is defined %}
  91.             {{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}
  92.         {% endif %}
  93.         <link rel="stylesheet" href="{{ asset('assets/css/customize.css', 'user_data') }}">
  94.         <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap"rel="stylesheet">
  95.         <script>
  96.             (function(d) {
  97.             var config = {
  98.                 kitId: 'glp7ocp',
  99.                 scriptTimeout: 3000,
  100.                 async: true
  101.             },
  102.             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)
  103.             })(document);
  104.         </script>
  105.         <link rel="stylesheet" href="https://use.typekit.net/hsu6ajc.css">
  106. <!-- Google Tag Manager -->
  107. <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  108.     new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  109.     j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  110.     'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  111.     })(window,document,'script','dataLayer','GTM-MPJJHXK');</script>
  112. <!-- End Google Tag Manager -->
  113. <!-- Global site tag (gtag.js) - Google Analytics -->
  114. <script async src="https://www.googletagmanager.com/gtag/js?id=G-3NF3YG97R8"></script>
  115. <script>
  116.   window.dataLayer = window.dataLayer || [];
  117.   function gtag(){dataLayer.push(arguments);}
  118.   gtag('js', new Date());
  119.   gtag('config', 'G-3NF3YG97R8');
  120. </script>
  121. <!-- Google tag (gtag.js) -->
  122. <script async src="https://www.googletagmanager.com/gtag/js?id=G-1280XZRP6F"></script>
  123. <script>
  124.   window.dataLayer = window.dataLayer || [];
  125.   function gtag(){dataLayer.push(arguments);}
  126.   gtag('js', new Date());
  127.   gtag('config', 'G-1280XZRP6F');
  128. </script>
  129. <style>
  130. .sf-minitoolbar {
  131.     display:none !important;
  132. }
  133. </style>
  134. <script type="application/ld+json">
  135. {
  136. "@context": "http://schema.org",
  137. "@type": "Corporation",
  138. "name": "有限会社錦髙堂",
  139. "address": {
  140. "@type": "PostalAddress",
  141. "postalCode": "440-0851",
  142. "addressRegion": "愛知県",
  143. "addressLocality": "豊橋市",
  144. "streetAddress": "前田南町2丁目14番地の16"
  145. },
  146. "telephone": "+81532525749",
  147. "URL": "https://kinkodo-calendar.com/"
  148. }
  149. </script>
  150.     </head>
  151.     <body
  152.         id="page_{{ app.request.get('_route') }}" class="{{ body_class|default('other_page') }}">
  153.         <!-- Google Tag Manager (noscript) -->
  154. <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WW44V3RN"
  155. height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  156. <!-- End Google Tag Manager (noscript) -->
  157.         {# Layout: BODY_AFTER #}
  158.         {% if Layout.BodyAfter %}
  159.             {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  160.         {% endif %}
  161.         <div class="wrapper">
  162.         {% if isMaintenance %}
  163.             <div class="ec-maintenanceAlert">
  164.                 <div>
  165.                     <div class="ec-maintenanceAlert__icon"><img src="{{ asset('assets/icon/exclamation-white.svg') }}"/></div>
  166.                     {{ 'メンテナンスモードが有効になっています。'|trans }}
  167.                 </div>
  168.             </div>
  169.         {% endif %}
  170. <div id="side-mailorder">
  171. <a href="/user_data/mailorder">
  172.     <i class="fas fa-envelope fa-2x"></i>注文フォーム
  173. </a>
  174. </div>
  175.         <div
  176.             class="ec-layoutRole">
  177.             {# Layout: HEADER #}
  178.             {% if Layout.Header %}
  179.                 <header class="ec-layoutRole__header" id="header">
  180.                     {{ include('block.twig', {'Blocks': Layout.Header}) }}
  181.                 </header>
  182.             {% endif %}
  183.             <div
  184.                 class="">
  185.                 
  186.                 <main
  187.                     class="{{ layoutRoleMain|default('') }}">
  188.                     {# Layout: CONTENTS_TOP #}
  189.                     {% if Layout.ContentsTop %}
  190.                         <div class="ec-layoutRole__contentTop">
  191.                             {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  192.                         </div>
  193.                     {% endif %}
  194. {# pagetitle area #}
  195.                     {% block pagetitlearea %}{% endblock %}
  196.                     {% if app.request.get('_route') == 'homepage' %}
  197.         
  198.                     {% else %}
  199.                         <div class="contents-inner">
  200.                     {% endif %}
  201.                     {# Layout: SIDE_LEFT #}
  202.                     {% if Layout.SideLeft %}
  203.                         {# <aside class="ec-layoutRole__left"> #}
  204.                             {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  205.                         {# </aside> #}
  206.                     {% endif %}
  207.                     {% set layoutRoleMain = 'ec-layoutRole__main' %}
  208.                     {% if Layout.ColumnNum == 2 %}
  209.                         {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  210.                     {% elseif Layout.ColumnNum == 3 %}
  211.                         {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  212.                     {% endif %}
  213.                     {# Layout: MAIN_TOP #}
  214.                     {% if Layout.MainTop %}
  215.                         <div class="ec-layoutRole__mainTop">
  216.                             {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  217.                         </div>
  218.                     {% endif %}
  219.                     {# MAIN AREA #}
  220.                     {% block main %}{% endblock %}
  221.                     {# Layout: MAIN_Bottom #}
  222.                     {% if Layout.MainBottom %}
  223.                         <div class="ec-layoutRole__mainBottom">
  224.                             {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  225.                         </div>
  226.                     {% endif %}
  227.                     
  228.                     {% if app.request.get('_route') == 'homepage' %}
  229.         
  230.                     {% else %}
  231.                         </div>
  232.                     {% endif %}
  233.                     {# Layout: CONTENTS_BOTTOM #}
  234.                     {% if Layout.ContentsBottom %}
  235.                         <div class="ec-layoutRole__contentBottom">
  236.                             {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  237.                         </div>
  238.                     {% endif %}
  239.                     <div id="pagetop">
  240.                         <a href="#"><img src="{{ asset('assets/assets/images/pagetop.png') }}" alt="↑"></a>
  241.                     </div>
  242.                 </main>
  243.                 {# Layout: SIDE_RIGHT #}
  244.                 {% if Layout.SideRight %}
  245.                     <aside class="ec-layoutRole__right">
  246.                         {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  247.                     </aside>
  248.                 {% endif %}
  249.             </div>
  250.             {# Layout: CONTENTS_FOOTER #}
  251.             <footer class="ec-layoutRole__footer" id="footer">
  252.                 {% if Layout.Footer %}
  253.                     {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  254.                 {% endif %}
  255.                 <div class="copyright">
  256.                     <!-- 20260216 -->
  257.                     <p>Copyright(C)<a href="https://kinkodo-calendar.com/">名入れカレンダー印刷・企業カレンダー制作|10冊〜の小ロット対応 きんこうどう.</a> All Rights Reserved.</p>
  258.                     <!-- 20260216 -->
  259.                 </div>
  260.             </footer>
  261.             
  262.         </div>
  263.         <!-- ec-layoutRole -->
  264.         <div class="fix_menu">
  265.             {# <p><a href="">データ 入 稿</a></p>
  266.             <p class="mail"><a title="お問い合わせ" href="/contact/"><i class="fas fa-envelope fa-2x"></i>お問い合わせ</a></p> #}
  267. {% if is_granted('ROLE_USER') %}
  268. <div class="fixbtn">
  269. <a class="" href="{{ url('mypage') }}">              
  270. <i class="fa fa-user fa-2x" aria-hidden="true"></i><span>{{ '会員情報'|trans }}</span>
  271. </a>
  272. </div>
  273. {% else %}
  274. <div class="fixbtn">
  275. <a class="" href="{{ url('mypage_login') }}">
  276.                 <i class="fa fa-lock fa-2x" aria-hidden="true"></i><span>{{ 'ログイン'|trans }}</span>
  277.             </a>
  278. </div>
  279. {% endif %}
  280. <div class="fixbtn">
  281. <a href="{{ url('cart') }}">
  282.                         <i class="fa fa-shopping-cart fa-2x" aria-hidden="true"></i>カート</a>
  283. </div>
  284. <div class="fixbtn mailorder">
  285. <a href="/user_data/mailorder">
  286.     <i class="fas fa-envelope fa-2x"></i>注文フォーム</a>
  287. </div>
  288.         </div>
  289.         </div>
  290.         <div class="ec-overlayRole"></div>
  291.         <div class="ec-drawerRoleClose">
  292.             {# <i class="fas fa-times"></i> #}
  293.         </div>
  294.         <div
  295.             class="ec-drawerRole">
  296.             {# Layout: DRAWER #}
  297.             {% if Layout.Drawer %}
  298.                 {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  299.             {% endif %}
  300.         </div>
  301.         {# <div class="ec-blockTopBtn pagetop">{{'ページトップへ'|trans}}</div> #}
  302.         {% include('@common/lang.twig') %}
  303.         <script src="{{ asset('assets/js/function.js') }}"></script>
  304.         <script src="{{ asset('assets/js/eccube.js') }}"></script>
  305.         {% block javascript %}{% endblock %}
  306.         {# Layout: CLOSE_BODY_BEFORE #}
  307.         {% if Layout.CloseBodyBefore %}
  308.             {{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
  309.         {% endif %}
  310.         {# プラグイン用Snippet #}
  311.         {% if plugin_snippets is defined %}
  312.             {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  313.         {% endif %}
  314.         <script src="{{ asset('assets/js/customize.js', 'user_data') }}"></script>
  315.     </body>
  316. </html>