app/template/aneros2023/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: http://ogp.me/ns# fb: http://ogp.me/ns/fb# product: http://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. {% set path = app.request.getPathInfo()|default('') %}
  15. {% set is_lp_page = (path == '/lp') or (path starts with '/lp/') %}
  16. {% set lp_param = app.request.query.get('lp')|default('') %}
  17. {% set is_lp_param = (lp_param == '1') %}
  18. {% set lp_session = app.session.get('lp_flow')|default('') %}
  19. {% set is_lp_session = (lp_session == '1') %}
  20. {% set is_medical_flow = is_lp_page or is_lp_param or is_lp_session %}
  21. {#
  22.     <title>
  23.         {% if Page.url == "homepage" %}
  24.             アネロスジャパン | ANEROS JAPAN
  25.         {% else %}
  26.             {% if subtitle is defined and subtitle is not empty %}{{ subtitle }} | {% elseif title is defined and title is not empty %}{{ title }} | {% endif %}アネロスジャパン | ANEROS JAPAN
  27.         {% endif %}
  28.     </title>
  29. #}
  30.     <title>
  31.         {% if is_medical_flow %}
  32.             {% if subtitle is defined and subtitle is not empty %}
  33.                 {{ subtitle }}
  34.             {% elseif title is defined and title is not empty %}
  35.                 {{ title }}
  36.             {% else %}
  37.                 前立腺セルフケア
  38.             {% endif %}
  39.         {% else %}
  40.             {% if Page.url == "homepage" %}
  41.                 アネロスジャパン | ANEROS JAPAN
  42.             {% else %}
  43.                 {% if subtitle is defined and subtitle is not empty %}{{ subtitle }} | {% elseif title is defined and title is not empty %}{{ title }} | {% endif %}アネロスジャパン | ANEROS JAPAN
  44.             {% endif %}
  45.         {% endif %}
  46.     </title>
  47.     
  48.     {#
  49.     <title>{{ BaseInfo.shop_name }}{% if subtitle is defined and subtitle is not empty %} / {{ subtitle }}{% elseif title is defined and title is not empty %} / {{ title }}{% endif %}</title>
  50.     #}
  51.     {% if Page.author is not empty %}
  52.         <meta name="author" content="{{ Page.author }}">
  53.     {% endif %}
  54.     {% if Page.description is not empty %}
  55.         <meta name="description" content="{{ Page.description }}">
  56.     {% endif %}
  57.     {% if Page.keyword is not empty %}
  58.         <meta name="keywords" content="{{ Page.keyword }}">
  59.     {% endif %}
  60.     {% if Page.meta_robots is not empty %}
  61.         <meta name="robots" content="{{ Page.meta_robots }}">
  62.     {% endif %}
  63.     {% if Page.meta_tags is not empty %}
  64.         {{ include(template_from_string(Page.meta_tags)) }}
  65.     {% endif %}
  66.     <link rel="icon" href="{{ asset('assets/img/common/favicon.ico', 'user_data') }}">
  67. {#
  68.     <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
  69.     <script src="https://kit.fontawesome.com/63c5755af8.js" crossorigin="anonymous"></script>
  70. #}
  71.     <link rel="stylesheet" href="{{ asset('aneros/css/all.min.css') }}">
  72. {% if not is_lp_page %}
  73.     <link rel="stylesheet" href="//cdn.jsdelivr.net/jquery.slick/1.6.0/slick.css">
  74. {% endif %}
  75.     {# 商品ページでは「style.css」を読み込まない #}
  76.     {% if body_class is not defined or body_class != 'product_page' %}
  77.         <link rel="stylesheet" href="{{ asset('assets/css/style.css?v=20240528') }}">
  78.     {% endif %}
  79.     {# カート、購入ページ、マイページで「shopping.css」を読み込む #}
  80.     {% if Page.url == 'cart' or 'shopping' in Page.url or 'entry' in Page.url or 'mypage' in Page.url or 'contact' in Page.url or 'forgot' in Page.url or 'introduce_friend' in Page.url %}
  81.         <link rel="stylesheet" href="{{ asset('aneros/css/shopping.css?v=20221025') }}">
  82.     {% endif %}
  83.     {# マイページで「mypage.css」を読み込む(マイページログインでは読み込まない) #}
  84.     {% if 'mypage' in Page.url and Page.url != 'mypage_login' or 'contact' in Page.url or 'forgot' in Page.url or 'introduce_friend' in Page.url %}
  85.         <link rel="stylesheet" href="{{ asset('aneros/css/mypage.css?v=20220602') }}">
  86.     {% endif %}
  87.     {# 商品一覧ページ、カテゴリページ(一覧付き)で「product_list.css」を読み込む #}
  88.     {% if Page.url == 'product_list' or Page.url == 'accessories' or Page.url == 'sex-toys-for-men' or Page.url == 'sex-toys-for-women' or Page.url == 'sex-toys-for-couples' or Page.url == 'lubricants' or Page.url == 'masturbators' or Page.url == 'special-offers' or Page.url == 'timesale2024' or Page.url == '2024-xmas-sale' or Page.url == '2025-vday-sale' or Page.url == '2025-gw-sale' or Page.url == '2025-summer-sale' or Page.url == '2025-time-sale' or Page.url == '2025-black-friday-sale' or Page.url == '2025-xmas-sale' %}
  89.         <link rel="stylesheet" href="{{ asset('aneros/css/product_list.css') }}">
  90.     {% endif %}
  91.     {# その他ページ #}
  92.     {% if  Page.url == 'dr-voice' or Page.url == 'greeting' or Page.url == 'company' or Page.url == 'patent' or Page.url == 'disclaimer' or Page.url == 'privacy' or Page.url == 'terms' or Page.url == 'refund-policy' or Page.url == 'warranty-policy' or Page.url == 'payment' or Page.url == 'shipping' or Page.url == 'faqs' or Page.url == 'help_agreement' or Page.url == 'error404' or Page.url == 'aneros-members' or Page.url == 'help_tradelaw' %}
  93.         <link rel="stylesheet" href="{{ asset('aneros/css/other-page.css') }}">
  94.     {% endif %}
  95.     {# カテゴリページ #}
  96.     {% if Page.url == 'prostate-massagers' or Page.url == 'accessories' or Page.url == 'sex-toys-for-men' or Page.url == 'sex-toys-for-women' or Page.url == 'sex-toys-for-couples' or Page.url == 'lubricants' or Page.url == 'masturbators' or Page.url == 'special-offers' or Page.url == 'trident-series' or Page.url == 'progasm-products' or Page.url == 'timesale2024' or Page.url == '2024-xmas-sale' or Page.url == '2025-vday-sale' or Page.url == '2025-gw-sale' or Page.url == '2025-summer-sale' or Page.url == '2025-time-sale' or Page.url == '2025-black-friday-sale' or Page.url == '2025-xmas-sale' %}
  97.         <link rel="stylesheet" href="{{ asset('aneros/css/category.css?v=20250822') }}">
  98.     {% endif %}
  99.     {# アネロス講座 #}
  100.     {% if Page.url == 'learning-center' or Page.url == 'learning-center-men' or Page.url == 'learning-center-women' or Page.url == 'learning-center-unisex' %}
  101.         <link rel="stylesheet" href="{{ asset('aneros/css/learning-center.css') }}">
  102.     {% endif %}
  103.     {# レビュー一覧 #}
  104.     {% if Page.url == 'review_list' %}
  105.         <link rel="canonical" href="{{ url('review_list', {'id': Product.id}) }}" />
  106.     {% endif %}
  107.     
  108.     {# レビュー投稿 #}
  109.     {% if Page.url == 'review_post' %}
  110.         <link rel="canonical" href="{{ url('review_post', {'id': Product.id}) }}" />
  111.     {% endif %}
  112.     {% block stylesheet %}{% endblock %}
  113.     {#<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>#}
  114.   {% if not is_lp_page %}  
  115.     <script src="{{ asset('aneros/modules/jquery/jquery-3.5.1.min.js') }}"></script>
  116.     <script>
  117.         $(function() {
  118.             $.ajaxSetup({
  119.                 'headers': {
  120.                     'ECCUBE-CSRF-TOKEN': $('meta[name="eccube-csrf-token"]').attr('content')
  121.                 }
  122.             });
  123.         });
  124.     </script>
  125.     {% endif %}
  126.     
  127.     {# Layout: HEAD #}
  128.     {% if Layout.Head and not is_medical_flow %}
  129.         {{ include('block.twig', {'Blocks': Layout.Head}) }}
  130.     {% endif %}
  131.     {# プラグイン用styleseetやmetatagなど #}
  132.     {% if plugin_assets is defined %}{{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}{% endif %}
  133.     <link rel="stylesheet" href="{{ asset('assets/css/customize.css', 'user_data') }}">
  134. {# Sticky Footer: PDP only #}
  135. {% set route = app.request.attributes.get('_route')|default('') %}
  136. {% if route == 'product_detail' %}
  137.   {# {% include 'abtest/sticky_footer.twig' %} #}
  138.   {% include 'abtest/pdp_value_msg.twig' %}
  139. {% endif %}
  140. </head>
  141. <body id="page_{{ app.request.get('_route') }}" class="{{ body_class|default('other_page') }}">
  142. {# Layout: BODY_AFTER #}
  143. {% if Layout.BodyAfter and not is_medical_flow %}
  144.     {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  145. {% endif %}
  146. <div class="ec-layoutRole">
  147.     {# Layout: HEADER #}
  148.     {% if Layout.Header and not is_medical_flow %}
  149.         {#<div class="ec-layoutRole__header">#}
  150.             {{ include('block.twig', {'Blocks': Layout.Header}) }}
  151.         {#</div>#}
  152.     {% endif %}
  153.     {# Layout: CONTENTS_TOP #}
  154.     {% if Layout.ContentsTop and not is_medical_flow %}
  155.         <div class="ec-layoutRole__contentTop">
  156.             {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  157.         </div>
  158.     {% endif %}
  159.     <div class="ec-layoutRole__contents">
  160.         {# Layout: SIDE_LEFT #}
  161.         {% if Layout.SideLeft and not is_medical_flow %}
  162.             <div class="ec-layoutRole__left">
  163.                 {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  164.             </div>
  165.         {% endif %}
  166.         {% set layoutRoleMain = 'ec-layoutRole__main' %}
  167.         {% if Layout.ColumnNum == 2 %}
  168.             {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  169.         {% elseif Layout.ColumnNum == 3 %}
  170.             {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  171.         {% endif %}
  172.         <div class="{{ layoutRoleMain }}">
  173.             {# Layout: MAIN_TOP #}
  174.             {% if Layout.MainTop and not is_medical_flow %}
  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 and not is_medical_flow %}
  183.                 <div class="ec-layoutRole__mainBottom">
  184.                     {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  185.                 </div>
  186.             {% endif %}
  187.         </div>
  188.         {# Layout: SIDE_RIGHT #}
  189.         {% if Layout.SideRight and not is_medical_flow %}
  190.             <div class="ec-layoutRole__right">
  191.                 {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  192.             </div>
  193.         {% endif %}
  194.     </div>
  195.     {# Layout: CONTENTS_BOTTOM #}
  196.     {% if Layout.ContentsBottom and not is_medical_flow %}
  197.         <div class="ec-layoutRole__contentBottom">
  198.             {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  199.         </div>
  200.     {% endif %}
  201.     {# Layout: CONTENTS_FOOTER #}
  202.     {% if Layout.Footer and not is_medical_flow %}
  203.         <div class="ec-layoutRole__footer">
  204.             {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  205.         </div>
  206.     {% endif %}
  207. </div><!-- ec-layoutRole -->
  208. <div class="ec-overlayRole"></div>
  209. {#<div class="ec-drawerRoleClose"><i class="fas fa-times"></i></div>#}
  210. <div class="ec-drawerRole">
  211.     {# Layout: DRAWER #}
  212.     {% if Layout.Drawer and not is_medical_flow %}
  213.         {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  214.     {% endif %}
  215. </div>
  216. {#<div class="ec-blockTopBtn pagetop">{{'ページトップへ'|trans}}</div>#}
  217. {% if not is_medical_flow %}
  218. <style>
  219. #r18overlay ,#r18overlay .overlay_back {
  220.     height:100vh;
  221. }
  222. #r18overlay {
  223.     margin:0;
  224.     padding:0;
  225.     font-family:メイリオ,ヒラギノ角ゴ Pro W3,MS Pゴシック,Osaka,Meiryo,sans-serif;
  226.     z-index: 1000;
  227.     position: absolute;
  228.     top: 0;
  229.     bottom: 0;
  230.     left: 0;
  231.     right: 0;
  232. }
  233. #r18overlay .overlay_back {
  234.     background:#ffffff;
  235. }
  236. #r18overlay .age_c {
  237.     position: absolute;
  238.     top: 0;
  239.     left: 0;
  240.     right: 0;
  241.     bottom: 0;
  242.     margin: 0 auto;
  243.     width: 100%;
  244.     text-align:center;
  245.     padding:0;
  246. }
  247. #r18overlay .age_c p {
  248.     font-size:14px;
  249.     margin-bottom:20px;
  250.     color:#000000;
  251. }
  252. #r18overlay .age_c #age_c_hd{
  253.     background-color:#111111;
  254.     color:#ffffff;
  255.     padding:5px 0;
  256.     font-weight:bold;
  257.     margin-bottom:20px;
  258.     font-size:14px;
  259. }
  260. #r18overlay .age_c #age_c_logo img{
  261.     max-width: 600px;
  262.     width:100%;
  263.     margin: 0 auto 5px;
  264. }
  265. #r18overlay .age_c #age_c_logo p.r18_slogan{
  266.     letter-spacing:3px;
  267.     color:#000000;
  268.     font-size:21px;
  269. }
  270. #r18overlay .age_c ul.r18_buttons {
  271.     display:flex;
  272.     flex-flow: row no-wrap;
  273.     justify-content: center;
  274. }
  275. #r18overlay .age_c ul.r18_buttons li.no-button {
  276.     margin-left:10px;
  277. }
  278. #r18overlay .age_c #age_c_ft{
  279.     background-color:#111111;
  280.     color:#ffffff;
  281.     padding:5px 0;
  282.     font-weight:bold;
  283.     margin-bottom:20px;
  284.     font-size:12px;
  285.     margin-top:50px;
  286. }
  287. @media only screen and (max-width: 999px) {
  288.     #r18overlay .age_c ul.r18_buttons {
  289.         flex-direction:column;
  290.         align-items:center;
  291.     }
  292.     #r18overlay .age_c ul.r18_buttons li.no-button {
  293.         margin-top:10px;
  294.         margin-left:0;
  295.     }
  296.     #r18overlay .age_c ul.r18_buttons img {
  297.         max-width:100%;
  298.     }
  299. }
  300. @media only screen and (max-width: 487px) {
  301.     #r18overlay .age_c #age_c_logo, #r18overlay .age_c p, #r18overlay .age_c ul.r18_buttons {
  302.         padding:0 10px;
  303.     }
  304.     #r18overlay .age_c p {
  305.         font-size:12px;
  306.     }
  307.     #r18overlay .age_c #age_c_logo p.r18_slogan{
  308.         letter-spacing:2px;
  309.         font-size:16px;
  310.     }
  311. }
  312. </style>
  313. <div id="r18overlay" style="display: none;">
  314. <div class="overlay_back">
  315. </div>
  316. <div class="age_c">
  317.     <div id="age_c_hd">
  318.         ANEROS公式ウェブサイト - アネロスジャパン
  319.     </div>
  320.     <div id="age_c_logo">
  321.         <img src="/html/template/aneros2023/aneros/img/age_c/age_c_logo.jpg" alt="ANEROS JAPAN" title="ANEROS JAPAN" />
  322.         <p class="r18_slogan">アネロス以外はただのおもちゃさ!</p>
  323.     </div>
  324.     <p>
  325.         当サイトは、一部成人を対象とした表現が含まれています。<br />
  326.         18歳以上の方は各自の責任の上でご覧ください。<br />
  327.         また、18歳未満の方はここから先のアクセスを固くお断りいたします。<br />
  328.     </p>
  329.     <ul class="r18_buttons">
  330.         <li><a href="#" class="yes_button"><img src="/html/template/aneros2023/aneros/img/age_c/age_c_enter.jpg" alt="18歳以上の方/ENTER" title="ENTER" /></a></li>
  331.         <li class="no-button"><a href="https://www.google.co.jp" target="_blank"><img src="/html/template/aneros2023/aneros/img/age_c/age_c_exit.jpg" alt="18歳未満の方/EXIT" title="EXIT" /></a></li>
  332.     </ul>
  333.     <div id="age_c_ft">
  334.         Copyright © 2005-2025 Aneros Japan All Rights Reserved<br />
  335.         無店舗型性風俗特殊営業(千葉県公安委員会)受理番号第51号<br />
  336.     </div>
  337.     </div>
  338. </div>
  339. </div>
  340. {% endif %}
  341. {#
  342. <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>
  343. #}
  344. {% if not is_lp_page %}
  345. <script src="https://cdn.jsdelivr.net/jquery.slick/1.6.0/slick.min.js"></script>
  346. {% include('@common/lang.twig') %}
  347. <script src="{{ asset('assets/js/function.js') }}"></script>
  348. <script src="{{ asset('assets/js/eccube.js') }}"></script>
  349. {% endif %}
  350. {% block javascript %}{% endblock %}
  351. {# Layout: CLOSE_BODY_BEFORE #}
  352. {% if Layout.CloseBodyBefore and not is_medical_flow %}
  353.     {{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
  354. {% endif %}
  355. {# プラグイン用Snippet #}
  356. {% if plugin_snippets is defined %}
  357.     {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  358. {% endif %}
  359. {% if not is_lp_page %}
  360.     <script src="{{ asset('assets/js/customize.js', 'user_data') }}"></script>
  361. {% endif %}
  362.     {# カート、購入ページで「shopping.js」を読み込む #}
  363.     {% if Page.url == 'cart' or Page.url == 'shopping_login' or Page.url == 'shopping' %}
  364.         <script src="{{ asset('aneros/js/shopping.js?v=20230331A') }}"></script>
  365.     {% endif %}
  366. </body>
  367. </html>