app/template/smartphone/Product/searchlist.twig line 1

Open in your IDE?
  1. {% extends 'default_frame.twig' %}
  2. {% form_theme search_form 'Form/form_div_layout.twig' %}
  3. {% block javascript %}
  4. {% endblock javascript %}
  5. {% block main %}
  6. <!DOCTYPE html>
  7. <html>
  8. <head>
  9. <meta charset="UTF-8">
  10. {# ▼ ブロック:DispHtag ▼ #}
  11. {{ include('Block/DispHtag.twig') }}
  12. {# ▲ ブロック:DispHtag ▲ #}
  13. <title>ベースボール・マガジン社 BBM@BOOK CART</title>
  14. <meta name="description" content="ベースボール・マガジン社が運営する総合スポーツサイト。ベースボール・マガジン社発行の書籍・雑誌・スポーツカードなどの新着情報、各競技の技術情報や専門家によるコラムなど、スポーツファンを応援する情報が満載です。">
  15. <meta name="keywords" content="ベースボールマガジン社,BBM">
  16. {# ▼ ブロック:DispHead ▼ #}
  17. {{ include('Block/DispHead.twig') }}
  18. {# ▲ ブロック:DispHead ▲ #}
  19. </head>
  20. <body id="pagetop">
  21. {# ▼ ブロック:DispBtag ▼ #}
  22. {{ include('Block/DispBtag.twig') }}
  23. {# ▲ ブロック:DispBtag ▲ #}
  24. {# ▼ ブロック:DispHeader ▼ #}
  25. {{ include('Block/DispHeader.twig') }}
  26. {# ▲ ブロック:DispHeader ▲ #}
  27. <div id="main-content" style="background-image: linear-gradient(#f9f9f9, #eee);">
  28.     <!--▼ 検索フォーム ▼-->
  29.     <div style="margin-bottom:5px;">
  30.         <form method="get" class="searchform" action="{{ path('search_list') }}">
  31.             <img src="{{ asset('common_img/tit_bloc_search.gif', 'user_data') }}" style="width:80px;">&nbsp;
  32.             {{ form_widget(search_form.name, {'id': null, 'attr': {'style': 'width:98%; margin-left:1%; vertical-align:middle; background-color:#ffffff; border:3px solid #7f9db9; height:30px;', 'placeholder' : '', 'maxlength' :  '200'}} ) }}
  33.             <div style="text-align: center;margin:10px 0 10px 0"><button type="submit" class="hover_change_image" style="vertical-align: middle;"><img src="{{ asset('common_img/btn_bloc_search.jpg', 'user_data') }}" alt="検索" /></button></div>
  34.         </form>
  35.     </div>
  36.     <!--▲ 検索フォーム ▲-->
  37.     {% for Product in pagination %}
  38.         <table border="0" cellpadding="0" cellspacing="0" class="magazinebox">
  39.             <tr>
  40.                 <td colspan="2"><div class="magtop1">&nbsp;</div></td>
  41.             </tr>
  42.             <tr>
  43.                 <td width="120" valign="top" style="padding-left:10px;">
  44.                     {% if Product.linkurl %}
  45.                           <a href="{{ Product.linkurl }}">
  46.                       {% else %}
  47.                           <a href="{{ url('product_detail', {'id': Product.id}) }}">
  48.                       {% endif %}
  49.                       <img src="{{ asset(Product.main_list_image|no_image_product, 'save_image') }}" alt="{{ Product.name }}" style="width:120px; margin-right:5px;" />
  50.                     </a>
  51.                 </td>
  52.                 <td rowspan="2" valign="top" class="magbg">
  53.                     <h3>
  54.                     {% if Product.linkurl %}
  55.                         <a href="{{ Product.linkurl }}">
  56.                     {% else %}
  57.                         <a href="{{ url('product_detail', {'id': Product.id}) }}">
  58.                     {% endif %}
  59.                             {{ Product.name|raw|nl2br }}
  60.                         </a>
  61.                     </h3>
  62.                     {{ Product.hatsubaibi }}<br>
  63.                     {{ Product.teikaref }}&nbsp;
  64.                     <!-- ▼ 販売価格 ▼ -->
  65.                     {% if Product.hasProductClass %}
  66.                         {% if Product.getPrice02Min == Product.getPrice02Max %}
  67.                             {{ Product.getPrice02IncTaxMin|number_format }}円(税込)
  68.                         {% else %}
  69.                             {{ Product.getPrice02IncTaxMin|number_format }} ~ {{ Product.getPrice02IncTaxMax|number_format }}円(税込)
  70.                         {% endif %}
  71.                     {% else %}
  72.                         {{ Product.getPrice02IncTaxMin|number_format }}円(税込)
  73.                     {% endif %}
  74.                     <!-- ▲ 販売価格 ▲ -->
  75.                     <!-- ▼ 商品コード ▼ -->
  76.                     {% if Product.code_min is not empty %}
  77.                         <br>{{ Product.code_min }}{% if Product.code_min != Product.code_max %} ~ {{ Product.code_max }}{% endif %}
  78.                     {% endif %}
  79.                     <!-- ▲ 商品コード ▲ -->
  80.                     {% if Product.description_list %}
  81.                         <div style="margin-top:8px;">{{ Product.description_list|raw|nl2br }}</div>
  82.                     {% endif %}
  83.                 </td>
  84.             </tr>
  85.             <tr>
  86.                 <td colspan="2"><div class="magbottom1">&nbsp;</div></td>
  87.             </tr>
  88.         </table>
  89.     {% endfor %}
  90.     <!--▼ページナビ-->
  91.     {% include "productpager.twig" with {'pages': pagination.paginationData} %}
  92.     <!--▲ページナビ-->
  93. {# ▼ ブロック:DispFooter ▼ #}
  94. {{ include('Block/DispFooter.twig') }}
  95. {# ▲ ブロック:DispFooter ▲ #}
  96. {# ▼ ブロック:DispFtag ▼ #}
  97. {{ include('Block/DispFtag.twig') }}
  98. {# ▲ ブロック:DispFtag ▲ #}
  99. </div>
  100. </body>
  101. </html>
  102. {% endblock %}
  103. {# ▲ main ▲ #}