app/template/default/Block/footer.twig line 1

Open in your IDE?
  1. {#
  2. This file is part of EC-CUBE
  3. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  4. http://www.ec-cube.co.jp/
  5. For the full copyright and license information, please view the LICENSE
  6. file that was distributed with this source code.
  7. #}
  8. {% set specialRoutes = ['lacrymachristi', 'sale2025_2024_page', 'ms_rocktv', 'shopping_guide', 'recruit', 'liveartist_page', 'information_kinetv', 'information'] %}
  9. {% set routesHaveSocial = ['rock/', 'rocktv/', 'products/detail/'] %}
  10. {% set validCategoryIds = ['1', '2', '3'] %}
  11. {% set path = app.request.getPathInfo() %}
  12. {% set hasRouteMatch = routesHaveSocial|filter(route => path starts with '/' ~ route)|length > 0 %}
  13. {% set isNewsWithCategory = path == '/news' and app.request.get('category_id') in validCategoryIds %}
  14. {% set isNewsPage = app.request.pathinfo ends with '/news' %}
  15. {% import 'Block/social_links.twig' as social %}
  16. <div class="ec-footerRole {% if isNewsPage %}mt-20px{% endif %}">
  17.     {% if app.request.get('_route') == 'lacrymachristi' %}
  18.         <ul class="social__list">
  19.             <li class="social__item">
  20.                 <a target="_blank" href="https://www.facebook.com/lacrymachristiofficial/">
  21.                     <img src="{{ asset('assets/img/lacrymachristi/btn_footer_facebook.jpg') }}" alt="btn_footer_facebook">
  22.                 </a>
  23.             </li>
  24.             <li class="social__item">
  25.                 <a target="_blank" href="https://x.com/Lacryma_Info">
  26.                     <img src="{{ asset('assets/img/lacrymachristi/btn_footer_twitter.jpg') }}" alt="btn_footer_twitter">
  27.                 </a>
  28.             </li>
  29.             <li class="social__item">
  30.                 <a target="_blank" href="https://www.youtube.com/user/LacrymaChristiTV">
  31.                     <img src="{{ asset('assets/img/lacrymachristi/btn_footer_youtube.jpg') }}" alt="btn_footer_youtube">
  32.                 </a>
  33.             </li>
  34.         </ul>
  35.     {% endif %}
  36.     {% if path starts with '/rocktv/' or (path == '/news' and app.request.get('category_id') == '3') %}
  37.         {{ social.socialLinks(
  38.             'https://www.facebook.com/Masaito.rocktv/',
  39.             'https://x.com/MASA_ROCKTV',
  40.             'https://www.youtube.com/channel/UC0cOt_wzP3_IQp1rC4LMDHg'
  41.         ) }}
  42.     {% endif %}
  43.     {% if path starts with '/rock/' or path starts with '/products/detail/' or (path == '/news' and app.request.get('category_id') == '2') %}
  44.         {{ social.socialLinks(
  45.             'https://www.facebook.com/wardrecords/',
  46.             'https://x.com/Ward_Rock',
  47.             'https://www.youtube.com/user/wardmusictube'
  48.         ) }}
  49.     {% endif %}
  50.     {% if (path == '/news' and app.request.get('category_id') == '1') %}
  51.         {{ social.socialLinks(
  52.             'https://www.facebook.com/chaosreigns/',
  53.             'https://x.com/Chaos_Ward',
  54.             'https://www.youtube.com/channel/UCJW1_mNOlMEp_gMT1BSfjrg/featured'
  55.         ) }}
  56.     {% endif %}
  57.     <a id="sitemap"></a>
  58.     <div class="title">{{ 'サイトマップ'|trans }}</div>
  59.     <div class="ec-footerRole__inner">
  60.         <ul class="ec-footerNavi custom-mobile mobile{% if hasRouteMatch or isNewsWithCategory %} no-borderTop{% endif %}">
  61.             <li class="ec-footerNavi__link">
  62.                 <a href="{{ url('help_guide') }}">{{ 'ご利用ガイド'|trans }}</a>
  63.             </li>
  64.             {% if app.request.get('_route') not in specialRoutes %}
  65.                 <li class="ec-footerNavi__link">
  66.                     <a href="{{ url('shopping_guide') }}">{{ 'English Shopping Guide'|trans }}</a>
  67.                 </li>
  68.             {% endif %}
  69.             <li class="ec-footerNavi__link no-border">
  70.                 <a href="{{ url('faq_page') }}">{{ 'よくあるご質問'|trans }}</a>
  71.             </li>
  72.             {% if app.request.get('_route') not in specialRoutes %}
  73.                 <li class="ec-footerNavi__link no-border">
  74.                     <a href="{{ url('contact') }}">{{ 'お問い合わせ'|trans }}</a>
  75.                 </li>
  76.                 <li class="ec-footerNavi__link no-border">
  77.                     <a href="https://wardlivemedia.com/">{{ 'WARD LIVE MEDIA PORTAL'|trans }}</a>
  78.                 </li>
  79.             {% endif %}
  80.         </ul>
  81.         <ul class="ec-footerNavi pc">
  82.             <li class="ec-footerNavi__link">
  83.                 <a class="main__title" href="{{ url('rock_page') }}">{{ 'ワードレコーズ'|trans }}</a>
  84.                 {% if app.request.get('_route') in specialRoutes %}
  85.                     <a href="{{ url('product_list') }}?category_id=1">{{ '・商品一覧'|trans }}</a>
  86.                 {% else %}
  87.                     <a href="{{ url('product_list') }}">{{ '・商品一覧'|trans }}</a>
  88.                 {% endif %}
  89.                 <a href="{{ url('list_news_page') }}?category_id=1">{{ '・最新情報'|trans }}</a>
  90.                 <a href="{{ url('product_list') }}?category_id=1&product_status_id=1">{{ '・最新リリース'|trans }}</a>
  91.                 <a href="{{ url('product_list') }}?category_id=1&product_status_id=5">{{ '・予約商品'|trans }}</a>
  92.                 <a href="{{ url('list_artist_page') }}">{{ '・アーティスト一覧'|trans }}</a>
  93.             </li>
  94.             {% if app.request.get('_route') in specialRoutes %}
  95.                 <li class="ec-footerNavi__link">
  96.                     <a href="{{ url('product_list') }}?category_id=2">{{ '・商品一覧'|trans }}</a>
  97.                     <a href="{{ url('list_news_page') }}?category_id=1">{{ '・最新情報'|trans }}</a>
  98.                     <a href="{{ url('product_list') }}?category_id=2&product_status_id=1">{{ '・最新リリース'|trans }}</a>
  99.                     <a href="{{ url('product_list') }}?category_id=2&product_status_id=5">{{ '・予約商品'|trans }}</a>
  100.                     <a href="{{ url('list_artist_page') }}">{{ '・アーティスト一覧'|trans }}</a>
  101.                 </li>
  102.             {% endif %}
  103.             <li class="ec-footerNavi__link">
  104.                 <a class="main__title" href="https://wardrecords.com/page/rocktv/">{{ '伊藤政則のロックTV!'|trans }}</a>
  105.                 <a href="{{ url('rocktv_news') }}">{{ '・最新情報'|trans }}</a>
  106.                 <br>
  107.                 <a class="main__title" href="{{ url('goods_page') }}">{{ 'アーティストグッズ'|trans }}</a>
  108.                 <a href="{{ url('product_list')}}?genre_id=5">{{ '・アパレル'|trans }}</a>
  109.                 <a href="{{ url('product_list') }}?product_status_id=7">{{ '・グッズ'|trans }}</a>
  110.                 <a href="{{ url('product_list') }}?product_status_id=3">{{ '・ワードレコーズ・ダイレクト限定'|trans }}</a>
  111.                 <a href="{{ url('product_list') }}?product_status_id=8">{{ '・書籍'|trans }}</a>
  112.                 <a href="{{ url('product_list') }}?name=伊藤政則">{{ '・伊藤政則グッズ'|trans }}</a>
  113.             </li>
  114.             <li class="ec-footerNavi__link">
  115.                 <!-- <a class="main__title {% if app.request.get('_route') in specialRoutes %}text-first__title{% endif %}" href="{{ url('liveartist_page') }}">{{ 'ライヴ&チケット'|trans }}</a> -->
  116.                 {% if app.request.get('_route') not in specialRoutes %}
  117.                     <a class="main__title" href="https://wardlivemedia.com/">{{ 'WARD LIVE MEDIA PORTAL'|trans }}</a>
  118.                 {% endif %}
  119.                 <div class="main__title">{{ 'オフィシャルストア'|trans }}</div>
  120.                 <a href="{{ url('whitesnake') }}">{{ '・ホワイトスネイク'|trans }}</a>
  121.                 <a href="{{ url('the_dead_daisies') }}">{{ '・ザ・デッド・デイジーズ'|trans }}</a>
  122.                 {% if app.request.get('_route') not in specialRoutes %}
  123.                     <a href="{{ url('destinia') }}">{{ '・DESTINIA'|trans }}</a>
  124.                 {% endif %}
  125.                 <a href="{{ url('lacrymachristi') }}">{{ '・ラクリマ・クリスティー'|trans }}</a>
  126.                 <a href="{{ url('product_list') }}?category_id=402">{{ '・VISUALZINE / ROCKZINE'|trans }}</a>
  127.                 <!-- <a href="{{ url('information_kinetv') }}">{{ '・木根テレ!'|trans }}</a> -->
  128.             </li>
  129.             <li class="ec-footerNavi__link">
  130.                 <a href="{{ url('help_guide') }}">{{ '・ご利用ガイド'|trans }}</a>
  131.                 {% if app.request.get('_route') not in specialRoutes %}
  132.                     <a href="{{ url('shopping_guide') }}">{{ '・English Shopping Guide'|trans }}</a>
  133.                 {% endif %}
  134.                 <a href="{{ url('help_agreement') }}">{{ '・会員登録'|trans }}</a>
  135.                 <a href="{{ url('faq_page') }}">{{ '・よくあるご質問'|trans }}</a>
  136.                 {% if app.request.get('_route') not in specialRoutes %}
  137.                     <a href="{{ url('contact') }}">{{ '・お問い合わせ'|trans }}</a>
  138.                 {% endif %}
  139.                 <a href="{{ url('recruit') }}">{{ '・採用情報'|trans }}</a>
  140.                 <a href="{{ url('guide_order') }}">{{ '・特定商取引法に関する表示'|trans }}</a>
  141.                 <a href="{{ url('help_privacy') }}">{{ '・プライバシーポリシー'|trans }}</a>
  142.                 <a href="{{ url('mypage') }}">{{ '・マイページ'|trans }}</a>
  143.                 <a href="{{ url('cart') }}">{{ '・カートを見る'|trans }}</a>
  144.             </li>
  145.         </ul>
  146.         <!-- <div class="ec-footerTitle">
  147.             <div class="ec-footerTitle__logo">
  148.                 <a href="{{ url('homepage') }}">{{ BaseInfo.shop_name }}</a>
  149.             </div>
  150.             <div class="ec-footerTitle__copyright">copyright (c) {{ BaseInfo.shop_name }} all rights reserved.</div>
  151.         </div> -->
  152.     </div>
  153. </div>