<aside class="aside">
{% set currentUri = app.request.getUri %}
{% if '/products/list' in currentUri %}
<form name="formSelPC" id="formSelPC" method="get" action="?">
{% elseif '/products/detail' in currentUri %}
<form name="formSelPC2" id="formSelPC2" method="get" action="{{ url('product_list') }}">
<input type="hidden" name="mode">
<input type="hidden" name="category_id" value="7">
<input type="hidden" name="name">
<input type="hidden" name="pageno" value="1">
<input type="hidden" name="disp_number" value="21">
<input type="hidden" name="orderby" value="2">
<input type="hidden" name="ball-type" id="ball-type">
<input type="hidden" name="ball-nums" id="ball-nums">
<input type="hidden" name="ball-price" id="ball-price">
</form>
<form name="formSelPC" id="formSelPC">
{% endif %}
<div class="aside-filter mb-5">
<div class="title">
ボールの種類から選ぶ
</div>
<ul class="list-unstyled mb-0 list">
<li>
<label>
<input type="checkbox" name="ball_type" class="ball_type" value="14"{% if( '/products/list' in currentUri and 14 in Selects['ball-type'] ) %} checked{% endif %}>
持ち込みボール
</label>
</li>
<li>
<label>
<input type="checkbox" name="ball_type" class="ball_type" value="11"{% if( '/products/list' in currentUri and 11 in Selects['ball-type'] ) %} checked{% endif %}>
スリクソン
</label>
</li>
<li>
<label>
<input type="checkbox" name="ball_type" class="ball_type" value="12"{% if( '/products/list' in currentUri and 12 in Selects['ball-type'] ) %} checked{% endif %}>
ゼクシオ
</label>
</li>
<li>
<label>
<input type="checkbox" name="ball_type" class="ball_type" value="13"{% if( '/products/list' in currentUri and 13 in Selects['ball-type'] ) %} checked{% endif %}>
ツアースペシャル
</label>
</li>
</ul>
<div class="title">
ボールの球数から選ぶ
</div>
<ul class="list-unstyled mb-0 list">
<li>
<label>
<input type="checkbox" name="ball_nums" class="ball_nums" value="8,13"{% if( '/products/list' in currentUri and ( 8 in Selects['ball-nums'] or 13 in Selects['ball-nums'] ) ) %} checked{% endif %}>
3球
</label>
</li>
<li>
<label>
<input type="checkbox" name="ball_nums" class="ball_nums" value="11,14"{% if( '/products/list' in currentUri and ( 11 in Selects['ball-nums'] or 14 in Selects['ball-nums'] ) ) %} checked{% endif %}>
6球
</label>
</li>
<li>
<label>
<input type="checkbox" name="ball_nums" class="ball_nums" value="12,15"{% if( '/products/list' in currentUri and ( 12 in Selects['ball-nums'] or 15 in Selects['ball-nums'] ) ) %} checked{% endif %}>
12球
</label>
</li>
</ul>
<div class="title">
価格で選ぶ
</div>
<ul class="list-unstyled mb-0 list">
<li>
<label>
<input type="checkbox" name="ball_price" class="ball_price" value="1"{% if( '/products/list' in currentUri and 1 in Selects['ball-price'] ) %} checked{% endif %}>
~2,999円
</label>
</li>
<li>
<label>
<input type="checkbox" name="ball_price" class="ball_price" value="2"{% if( '/products/list' in currentUri and 2 in Selects['ball-price'] ) %} checked{% endif %}>
3,000円~4,999円
</label>
</li>
<li>
<label>
<input type="checkbox" name="ball_price" class="ball_price" value="3"{% if( '/products/list' in currentUri and 3 in Selects['ball-price'] ) %} checked{% endif %}>
5,000円~9,999円
</label>
</li>
<li>
<label>
<input type="checkbox" name="ball_price" class="ball_price" value="4"{% if( '/products/list' in currentUri and 4 in Selects['ball-price'] ) %} checked{% endif %}>
10,000円以上
</label>
</li>
</ul>
<ul class="list-unstyled mb-0 list">
<li>
<div class="d-flex justify-content-between">
{% if '/products/list' in currentUri %}
<a href="javascript:void(0);" onclick="setValPC();" class="btn btn-danger rounded-0">絞り込む</a>
<a href="{{ url('product_list') }}?category_id=7" class="btn btn-outline-dark rounded-0">クリア</a>
{% elseif '/products/detail' in currentUri %}
<a href="javascript:void(0);" onclick="setValPC();" class="btn btn-danger rounded-0">絞り込む</a>
<a href="{{ url('product_detail', {'id': Product.id}) }}" class="btn btn-outline-dark rounded-0">クリア</a>
{% endif %}
</div>
</li>
</ul>
</div>
</form>
<a href="{{ url('product_list') }}?mode=&category_id=7&name=&pageno=1&disp_number=21&orderby=2&ball-type=14&ball-nums=&ball-price="><img src="{{ asset('assets/img/common/bnr_aside01.png') }}" class="img-fluid mb-3" width="236" height="135" alt="業界最安値挑戦中!持ち込みボール印刷3球455円"></a>
<a href="{{ url('faq_detail', {'id':'19'}) }}"><img src="{{ asset('assets/img/common/bnr_aside02.png') }}" class="img-fluid mb-3" width="236" height="47" alt="即日出荷OK"></a>
<a href="{{ url('faq_detail', {'id':'21'}) }}"><img src="{{ asset('assets/img/common/bnr_aside03.png') }}" class="img-fluid mb-3" width="236" height="47" alt="ポイント3%還元"></a>
<a href="{{ url('product_list') }}?category_id=10"><img src="{{ asset('assets/img/common/bnr_aside04.png') }}" class="img-fluid mb-3" width="236" height="47" alt="ギフトラッピング"></a>
<a href="{{ url('case') }}" class="btn btn-outline-dark w-100 py-3 mb-3 rounded-0"><i class="icon-reviews"></i>導入事例</a>
<a href="{{ url('faq') }}" class="btn btn-outline-dark w-100 py-3 mb-3 rounded-0"><i class="icon-forum"></i>よくある質問</a>
</aside>