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 }}
  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. <!-- Google tag (gtag.js) -->
  115. <script async src="https://www.googletagmanager.com/gtag/js?id=G-1280XZRP6F"></script>
  116. <script>
  117.   window.dataLayer = window.dataLayer || [];
  118.   function gtag(){dataLayer.push(arguments);}
  119.   gtag('js', new Date());
  120.   gtag('config', 'G-1280XZRP6F');
  121. </script>
  122. <style>
  123. .sf-minitoolbar {
  124.     display:none !important;
  125. }
  126. </style>
  127. <script type="application/ld+json">
  128. {
  129. "@context": "http://schema.org",
  130. "@type": "Corporation",
  131. "name": "有限会社錦髙堂",
  132. "address": {
  133. "@type": "PostalAddress",
  134. "postalCode": "440-0851",
  135. "addressRegion": "愛知県",
  136. "addressLocality": "豊橋市",
  137. "streetAddress": "前田南町2丁目14番地の16"
  138. },
  139. "telephone": "+81532525749",
  140. "URL": "https://kinkodo-calendar.com/"
  141. }
  142. </script>
  143.     </head>
  144.     <body
  145.         id="page_{{ app.request.get('_route') }}" class="{{ body_class|default('other_page') }}">
  146.         {# Layout: BODY_AFTER #}
  147.         {% if Layout.BodyAfter %}
  148.             {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  149.         {% endif %}
  150.         <div class="wrapper">
  151.         {% if isMaintenance %}
  152.             <div class="ec-maintenanceAlert">
  153.                 <div>
  154.                     <div class="ec-maintenanceAlert__icon"><img src="{{ asset('assets/icon/exclamation-white.svg') }}"/></div>
  155.                     {{ 'メンテナンスモードが有効になっています。'|trans }}
  156.                 </div>
  157.             </div>
  158.         {% endif %}
  159. <div id="side-mailorder">
  160. <a href="/user_data/mailorder">
  161.     <i class="fas fa-envelope fa-2x"></i>注文フォーム
  162. </a>
  163. </div>
  164.         <div
  165.             class="ec-layoutRole">
  166.             {# Layout: HEADER #}
  167.             {% if Layout.Header %}
  168.                 <header class="ec-layoutRole__header" id="header">
  169.                     {{ include('block.twig', {'Blocks': Layout.Header}) }}
  170.                 </header>
  171.             {% endif %}
  172.             <div
  173.                 class="">
  174.                 
  175.                 <main
  176.                     class="{{ layoutRoleMain|default('') }}">
  177.                     {# Layout: CONTENTS_TOP #}
  178.                     {% if Layout.ContentsTop %}
  179.                         <div class="ec-layoutRole__contentTop">
  180.                             {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  181.                         </div>
  182.                     {% endif %}
  183. {# pagetitle area #}
  184.                     {% block pagetitlearea %}{% endblock %}
  185.                     {% if app.request.get('_route') == 'homepage' %}
  186.         
  187.                     {% else %}
  188.                         <div class="contents-inner">
  189.                     {% endif %}
  190.                     {# Layout: SIDE_LEFT #}
  191.                     {% if Layout.SideLeft %}
  192.                         {# <aside class="ec-layoutRole__left"> #}
  193.                             {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  194.                         {# </aside> #}
  195.                     {% endif %}
  196.                     {% set layoutRoleMain = 'ec-layoutRole__main' %}
  197.                     {% if Layout.ColumnNum == 2 %}
  198.                         {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  199.                     {% elseif Layout.ColumnNum == 3 %}
  200.                         {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  201.                     {% endif %}
  202.                     {# Layout: MAIN_TOP #}
  203.                     {% if Layout.MainTop %}
  204.                         <div class="ec-layoutRole__mainTop">
  205.                             {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  206.                         </div>
  207.                     {% endif %}
  208.                     {# MAIN AREA #}
  209.                     {% block main %}{% endblock %}
  210.                     {# Layout: MAIN_Bottom #}
  211.                     {% if Layout.MainBottom %}
  212.                         <div class="ec-layoutRole__mainBottom">
  213.                             {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  214.                         </div>
  215.                     {% endif %}
  216.                     
  217.                     {% if app.request.get('_route') == 'homepage' %}
  218.         
  219.                     {% else %}
  220.                         </div>
  221.                     {% endif %}
  222.                     {# Layout: CONTENTS_BOTTOM #}
  223.                     {% if Layout.ContentsBottom %}
  224.                         <div class="ec-layoutRole__contentBottom">
  225.                             {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  226.                         </div>
  227.                     {% endif %}
  228.                     <div id="pagetop">
  229.                         <a href="#"><img src="{{ asset('assets/assets/images/pagetop.png') }}" alt="↑"></a>
  230.                     </div>
  231.                 </main>
  232.                 {# Layout: SIDE_RIGHT #}
  233.                 {% if Layout.SideRight %}
  234.                     <aside class="ec-layoutRole__right">
  235.                         {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  236.                     </aside>
  237.                 {% endif %}
  238.             </div>
  239.             {# Layout: CONTENTS_FOOTER #}
  240.             <footer class="ec-layoutRole__footer" id="footer">
  241.                 {% if Layout.Footer %}
  242.                     {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  243.                 {% endif %}
  244.                 <div class="copyright">
  245.                     <!-- 20260216 -->
  246.                     <p>Copyright(C)<a href="https://kinkodo-calendar.com/">名入れカレンダー印刷・企業カレンダー制作|10冊〜の小ロット対応 きんこうどう.</a> All Rights Reserved.</p>
  247.                     <!-- 20260216 -->
  248.                 </div>
  249.             </footer>
  250.             
  251.         </div>
  252.         <!-- ec-layoutRole -->
  253.         <div class="fix_menu">
  254.             {# <p><a href="">データ 入 稿</a></p>
  255.             <p class="mail"><a title="お問い合わせ" href="/contact/"><i class="fas fa-envelope fa-2x"></i>お問い合わせ</a></p> #}
  256. {% if is_granted('ROLE_USER') %}
  257. <div class="fixbtn">
  258. <a class="" href="{{ url('mypage') }}">              
  259. <i class="fa fa-user fa-2x" aria-hidden="true"></i><span>{{ '会員情報'|trans }}</span>
  260. </a>
  261. </div>
  262. {% else %}
  263. <div class="fixbtn">
  264. <a class="" href="{{ url('mypage_login') }}">
  265.                 <i class="fa fa-lock fa-2x" aria-hidden="true"></i><span>{{ 'ログイン'|trans }}</span>
  266.             </a>
  267. </div>
  268. {% endif %}
  269. <div class="fixbtn">
  270. <a href="{{ url('cart') }}">
  271.                         <i class="fa fa-shopping-cart fa-2x" aria-hidden="true"></i>カート</a>
  272. </div>
  273. <div class="fixbtn mailorder">
  274. <a href="/user_data/mailorder">
  275.     <i class="fas fa-envelope fa-2x"></i>注文フォーム</a>
  276. </div>
  277.         </div>
  278.         </div>
  279.         <div class="ec-overlayRole"></div>
  280.         <div class="ec-drawerRoleClose">
  281.             {# <i class="fas fa-times"></i> #}
  282.         </div>
  283.         <div
  284.             class="ec-drawerRole">
  285.             {# Layout: DRAWER #}
  286.             {% if Layout.Drawer %}
  287.                 {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  288.             {% endif %}
  289.         </div>
  290.         {# <div class="ec-blockTopBtn pagetop">{{'ページトップへ'|trans}}</div> #}
  291.         {% include('@common/lang.twig') %}
  292.         <script src="{{ asset('assets/js/function.js') }}"></script>
  293.         <script src="{{ asset('assets/js/eccube.js') }}"></script>
  294.         {% block javascript %}{% endblock %}
  295.         {# Layout: CLOSE_BODY_BEFORE #}
  296.         {% if Layout.CloseBodyBefore %}
  297.             {{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
  298.         {% endif %}
  299.         {# プラグイン用Snippet #}
  300.         {% if plugin_snippets is defined %}
  301.             {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  302.         {% endif %}
  303.         <script src="{{ asset('assets/js/customize.js', 'user_data') }}"></script>
  304.     </body>
  305. </html>