app/template/kinkodo/default_frame.twig line 211

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