{% extends 'default_frame.twig' %}
{% form_theme search_form 'Form/form_div_layout.twig' %}
{% block javascript %}
{% endblock javascript %}
{% block main %}
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
{# ▼ ブロック:DispHtag ▼ #}
{{ include('Block/DispHtag.twig') }}
{# ▲ ブロック:DispHtag ▲ #}
<title>ベースボール・マガジン社 BBM@BOOK CART</title>
<meta name="description" content="ベースボール・マガジン社が運営する総合スポーツサイト。ベースボール・マガジン社発行の書籍・雑誌・スポーツカードなどの新着情報、各競技の技術情報や専門家によるコラムなど、スポーツファンを応援する情報が満載です。">
<meta name="keywords" content="ベースボールマガジン社,BBM">
{# ▼ ブロック:DispHead ▼ #}
{{ include('Block/DispHead.twig') }}
{# ▲ ブロック:DispHead ▲ #}
<link href="{{ asset('css/content.css', 'user_data') }}" rel="stylesheet">
</head>
<body id="s_tennis">
{# ▼ ブロック:DispBtag ▼ #}
{{ include('Block/DispBtag.twig') }}
{# ▲ ブロック:DispBtag ▲ #}
{# ▼ ブロック:DispHeader ▼ #}
{{ include('Block/DispHeaderTeiki.twig') }}
{# ▲ ブロック:DispHeader ▲ #}
<!--▼ CONTAINER ▼-->
<div id="container" class="clearfix">
<p id="topicpath"><a href="{{ url('bookcart') }}">ホーム</a></p>
<div id="content" class="w810">
<!--▼ 検索フォーム ▼-->
<div style="margin-bottom:5px;">
<form method="get" class="searchform" action="{{ path('search_list') }}">
<img src="{{ asset('common_img/tit_bloc_search.gif', 'user_data') }}" style="vertical-align: middle;">
{{ 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'}} ) }}
<button type="submit" class="hover_change_image" style="vertical-align: middle;"><img src="{{ asset('common_img/btn_bloc_search.jpg', 'user_data') }}" alt="検索" /></button>
</form>
</div>
<!--▲ 検索フォーム ▲-->
{% for Product in pagination %}
<table border="0" width="750" cellpadding="0" cellspacing="0" class="magazinebox">
<tr>
<td colspan="2"><div class="magtop1"> </div></td>
</tr>
<tr>
<td width="120" valign="top">
{% if Product.linkurl %}
<a href="{{ Product.linkurl }}">
{% else %}
<a href="{{ url('product_detail', {'id': Product.id}) }}">
{% endif %}
<img src="{{ asset(Product.main_list_image|no_image_product, 'save_image') }}" alt="{{ Product.name }}" style="width:120px; margin-right:5px;" />
</a>
</td>
<td width="680" rowspan="2" valign="top" class="magbg" style="font-size:140%; line-height: 120%;">
<h3>
{% if Product.linkurl %}
<a href="{{ Product.linkurl }}" style="font-size:14px;">
{% else %}
<a href="{{ url('product_detail', {'id': Product.id}) }}" style="font-size:14px;">
{% endif %}
{{ Product.name|raw|nl2br }}
</a>
</h3>
{{ Product.hatsubaibi }}<br>
{{ Product.teikaref }}
<!-- ▼ 販売価格 ▼ -->
{% if Product.hasProductClass %}
{% if Product.getPrice02Min == Product.getPrice02Max %}
{{ Product.getPrice02IncTaxMin|number_format }}円(税込)
{% else %}
{{ Product.getPrice02IncTaxMin|number_format }} ~ {{ Product.getPrice02IncTaxMax|number_format }}円(税込)
{% endif %}
{% else %}
{{ Product.getPrice02IncTaxMin|number_format }}円(税込)
{% endif %}
<!-- ▲ 販売価格 ▲ -->
<!-- ▼ 商品コード ▼ -->
{% if Product.code_min is not empty %}
<br>{{ Product.code_min }}{% if Product.code_min != Product.code_max %} ~ {{ Product.code_max }}{% endif %}
{% endif %}
<!-- ▲ 商品コード ▲ -->
{% if Product.description_list %}
<div style="margin-top:8px;">{{ Product.description_list|raw|nl2br }}</div>
{% endif %}
</td>
</tr>
<tr>
<td colspan="2"><div class="magbottom1"> </div></td>
</tr>
</table>
{% endfor %}
<!--▼ページナビ-->
{% include "productpager.twig" with {'pages': pagination.paginationData} %}
<!--▲ページナビ-->
</div>
<!--▲ 一覧 ▲-->
</div>
<!--▲ CONTAINER ▲-->
{# ▼ ブロック:DispFooter ▼ #}
{{ include('Block/DispFooter.twig') }}
{# ▲ ブロック:DispFooter ▲ #}
{# ▼ ブロック:DispFtag ▼ #}
{{ include('Block/DispFtag.twig') }}
{# ▲ ブロック:DispFtag ▲ #}
</body>
</html>
{% endblock %}
{# ▲ main ▲ #}