app/template/default/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. <link href="{{ asset('css/content.css', 'user_data') }}" rel="stylesheet">
  20. </head>
  21. <body id="s_tennis">
  22. {# ▼ ブロック:DispBtag ▼ #}
  23. {{ include('Block/DispBtag.twig') }}
  24. {# ▲ ブロック:DispBtag ▲ #}
  25. {# ▼ ブロック:DispHeader ▼ #}
  26. {{ include('Block/DispHeaderTeiki.twig') }}
  27. {# ▲ ブロック:DispHeader ▲ #}
  28.     <!--▼ CONTAINER ▼-->
  29.     <div id="container" class="clearfix">
  30.         <p id="topicpath"><a href="{{ url('bookcart') }}">ホーム</a></p>
  31.         <div id="content" class="w810">
  32.             <!--▼ 検索フォーム ▼-->
  33.             <div style="margin-bottom:5px;">
  34.                 <form method="get" class="searchform" action="{{ path('search_list') }}">
  35.                     <img src="{{ asset('common_img/tit_bloc_search.gif', 'user_data') }}" style="vertical-align: middle;">&nbsp;
  36.                     {{ form_widget(search_form.name, {'id': null, 'attr': {'style': 'width:320px; vertical-align:middle; background-color:#ffffff; border:3px solid #7f9db9; height:30px;', 'placeholder' : '', 'maxlength' :  '200'}} ) }}
  37.                     <button type="submit" class="hover_change_image" style="vertical-align: middle;"><img src="{{ asset('common_img/btn_bloc_search.jpg', 'user_data') }}" alt="検索" /></button>
  38.                 </form>
  39.             </div>
  40.             <!--▲ 検索フォーム ▲-->
  41.             {% for Product in pagination %}
  42.                 <table border="0" width="750" cellpadding="0" cellspacing="0" class="magazinebox">
  43.                     <tr>
  44.                         <td colspan="2"><div class="magtop1">&nbsp;</div></td>
  45.                     </tr>
  46.                     <tr>
  47.                         <td width="120" valign="top">
  48.                             {% if Product.linkurl %}
  49.                                   <a href="{{ Product.linkurl }}">
  50.                               {% else %}
  51.                                   <a href="{{ url('product_detail', {'id': Product.id}) }}">
  52.                               {% endif %}
  53.                               <img src="{{ asset(Product.main_list_image|no_image_product, 'save_image') }}" alt="{{ Product.name }}" style="width:120px; margin-right:5px;" />
  54.                             </a>
  55.                         </td>
  56.                         <td width="680" rowspan="2" valign="top" class="magbg" style="font-size:140%; line-height: 120%;">
  57.                             <h3>
  58.                             {% if Product.linkurl %}
  59.                                 <a href="{{ Product.linkurl }}" style="font-size:14px;">
  60.                             {% else %}
  61.                                 <a href="{{ url('product_detail', {'id': Product.id}) }}" style="font-size:14px;">
  62.                             {% endif %}
  63.                                     {{ Product.name|raw|nl2br }}
  64.                                 </a>
  65.                             </h3>
  66.                             {{ Product.hatsubaibi }}<br>
  67.                             {{ Product.teikaref }}&nbsp;
  68.                             <!-- ▼ 販売価格 ▼ -->
  69.                             {% if Product.hasProductClass %}
  70.                                 {% if Product.getPrice02Min == Product.getPrice02Max %}
  71.                                     {{ Product.getPrice02IncTaxMin|number_format }}円(税込)
  72.                                 {% else %}
  73.                                     {{ Product.getPrice02IncTaxMin|number_format }} ~ {{ Product.getPrice02IncTaxMax|number_format }}円(税込)
  74.                                 {% endif %}
  75.                             {% else %}
  76.                                 {{ Product.getPrice02IncTaxMin|number_format }}円(税込)
  77.                             {% endif %}
  78.                             <!-- ▲ 販売価格 ▲ -->
  79.                             <!-- ▼ 商品コード ▼ -->
  80.                             {% if Product.code_min is not empty %}
  81.                                 <br>{{ Product.code_min }}{% if Product.code_min != Product.code_max %} ~ {{ Product.code_max }}{% endif %}
  82.                             {% endif %}
  83.                             <!-- ▲ 商品コード ▲ -->
  84.                             {% if Product.description_list %}
  85.                                 <div style="margin-top:8px;">{{ Product.description_list|raw|nl2br }}</div>
  86.                             {% endif %}
  87.                         </td>
  88.                     </tr>
  89.                     <tr>
  90.                         <td colspan="2"><div class="magbottom1">&nbsp;</div></td>
  91.                     </tr>
  92.                 </table>
  93.             {% endfor %}
  94.             <!--▼ページナビ-->
  95.             {% include "productpager.twig" with {'pages': pagination.paginationData} %}
  96.             <!--▲ページナビ-->
  97.         </div>
  98.         <!--▲ 一覧 ▲-->
  99.     </div>
  100.     <!--▲ CONTAINER ▲-->
  101. {# ▼ ブロック:DispFooter ▼ #}
  102. {{ include('Block/DispFooter.twig') }}
  103. {# ▲ ブロック:DispFooter ▲ #}
  104. {# ▼ ブロック:DispFtag ▼ #}
  105. {{ include('Block/DispFtag.twig') }}
  106. {# ▲ ブロック:DispFtag ▲ #}
  107. </body>
  108. </html>
  109. {% endblock %}
  110. {# ▲ main ▲ #}