app/template/user_data/store_info.twig line 1

Open in your IDE?
  1. {% extends 'default_frame.twig' %}
  2. {% block javascript %}
  3. <script>
  4. </script>
  5. {% endblock %}
  6. {% block stylesheet %}
  7. <style>
  8.    .fcolbox .subtxt1 p:nth-child(odd){
  9.       max-width: 10em;
  10.    }
  11. </style>
  12. {% endblock %}
  13. {% block main %}
  14. <div class="comuni"><h1 class="title_bar nikke">店舗情報</h1>
  15. <!--内容ここから-->
  16.    <div class="fcolbox shopinfo">
  17.       <div class="col2">
  18.          <h4><span>地域密着の学校制服専門店です    </span></h4>
  19. <p>創業100年を超える地域密着型の学校制服専門店です。</p>
  20. <p>学校制服を通じて、快適で意義のあるスクールライフを過ごしていただけるよう、少しでもお役に立てれば幸いです。</p>
  21. <p>専門店でしかできないきめ細かなフォローを心掛け、品質とサービスの向上を目指して参ります。</p>
  22. <p class="kome">店舗営業時間・営業日は時期によって変わりますので、詳しくはトップページ「営業時間のお知らせ」でご確認ください。</p>
  23.       </div>
  24.       <div class="col2 shopphoto" style="background-image:url({{ url('homepage') }}/html/user_data/hata_shop.jpg);"></div>
  25.       {% for Store in Stores %}
  26.          {% if Store.visible %}
  27.          <div class="col2">
  28.             <h5>{{Store.store_name}}</h5>
  29.             <div class="subtxt1">
  30.                <p>所在地</p>
  31.                <p>〒{{Store.zip01}}-{{Store.zip02}}<br>
  32.                   {% if Store.Pref is not null %}{{Store.Pref.name}}{% endif %}
  33.                   {% if Store.addr01 is not null %}{{Store.addr01}}{% endif %}
  34.                   {% if Store.addr02 is not null %}{{Store.addr02}}{% endif %}
  35.                </p>
  36.                {% if Store.phone_number is not null %}
  37.                <p>電話番号</p>
  38.             <p style="font-weight: bold">{{Store.phone_number}}<br>&nbsp;<a href="tel:{{Store.phone_number}}"><button> ☏  電話をかける  </button></a></p>
  39.                {% endif %}
  40.                {% if Store.staff_name is not null %}
  41.                <p>担当者名</p>
  42.                <p>{{Store.staff_name}}</p>
  43.                {% endif %}
  44.                <p>営業時間</p>
  45.                <p>
  46.                   {% if Store.business_start_time is not null %}{{Store.business_start_time|date('H:i')}}{% endif %}〜
  47.                   {% if Store.business_end_time is not null %}{{Store.business_end_time|date('H:i')}}{% endif %}
  48.                </p>
  49.                {% if Store.email01 is not null %}
  50.                   <p>メールアドレス1</p>
  51.                   <p>
  52.                      {{Store.email01}}
  53.                   </p>
  54.                {% endif %}
  55.                {% if Store.email02 is not null %}
  56.                   <p>メールアドレス2</p>
  57.                   <p>
  58.                      {{Store.email02}}
  59.                   </p>
  60.                {% endif %}
  61.                {% if Store.fax_number is not null %}
  62.                   <p>FAX番号</p>
  63.                   <p>
  64.                      {{Store.fax_number}}
  65.                   </p>
  66.                {% endif %}
  67.                {% if Address[Store.store_id] is not null and Address[Store.store_id] is not empty %}
  68.                <iframe class="gmap_frame" id="gmap_frame1" src="https://maps.google.com/maps?q={{ Address[Store.store_id] }}&amp;ie=UTF8&amp;iwloc=&amp;output=embed" width="100%" height="100%" frameborder="0" style="border:0" allowfullscreen=""></iframe>
  69.                {% endif %}
  70.             </div>
  71.          </div>
  72.          {% endif %}
  73.       {% endfor %}
  74.    </div>
  75. <!--内容ここまで-->
  76. </div>
  77. {% endblock %}