<!--{*
 * This file is part of EC-CUBE
 *
 * Copyright(c) 2000-2010 LOCKON CO.,LTD. All Rights Reserved.
 *
 * http://www.lockon.co.jp/
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 *}-->
<!--{if count($arrBestProducts) > 0}-->
<div id="recomendarea" class="bloc_outer">
    <h2><img src="<!--{$TPL_URLPATH}-->img/bloc/best5/title_icon.gif" width="20" height="20" alt="*" class="title_icon" />
        おすすめ商品</h2>
    <!--{section name=cnt loop=$arrBestProducts step=2}-->
    <div class="recomendblock">
        <div class="recomendleft">

            <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrBestProducts[cnt].product_id|u}-->">
                <img src="<!--{$smarty.const.SMARTPHONE_URLPATH}-->resize_image.php?image=<!--{$arrBestProducts[cnt].main_list_image|sfNoImageMainList|h}-->&amp;width=80&amp;height=80" alt="<!--{$arrBestProducts[cnt].name|h}-->" /></a>
            
            <div class="recomendrightblock">
                <h3>
                    <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrBestProducts[cnt].product_id|u}-->"><!--{$arrBestProducts[cnt].name|h}--></a>
                </h3>

                <!--{assign var=price01 value=`$arrBestProducts[cnt].price01_min`}-->
                <!--{assign var=price02 value=`$arrBestProducts[cnt].price02_min`}-->

                <p class="sale_price"><span class="mini">(税込)</span>：
                    <span class="price"><!--{$price02|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 円</span>
                </p>

                <p class="mini comment"><!--{$arrBestProducts[cnt].comment|h|nl2br}--></p>
            </div>
        </div>
        
        <!--{assign var=cnt2 value=`$smarty.section.cnt.iteration*$smarty.section.cnt.step-1`}-->
        <!--{if $arrBestProducts[$cnt2]|count > 0}-->
        <div class="recomendright">
            <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrBestProducts[$cnt2].product_id|u}-->">
                <img src="<!--{$smarty.const.SMARTPHONE_URLPATH}-->resize_image.php?image=<!--{$arrBestProducts[$cnt2].main_list_image|sfNoImageMainList|h}-->&amp;width=80&amp;height=80" alt="<!--{$arrBestProducts[$cnt2].name|h}-->" /></a>

            <div class="recomendrightblock">
                <h3>
                <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrBestProducts[$cnt2].product_id|u}-->"><!--{$arrBestProducts[$cnt2].name|h}--></a>
                </h3>

                <!--{assign var=price01 value=`$arrBestProducts[$cnt2].price01_min`}-->
                <!--{assign var=price02 value=`$arrBestProducts[$cnt2].price02_min`}-->

                <p class="sale_price"><span class="mini">(税込)</span>：
                    <span class="price"><!--{$price02|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 円</span>
                </p>

                <p class="mini comment"><!--{$arrBestProducts[$cnt2].comment|h|nl2br}--></p>
            </div>
        </div>
        <!--{/if}-->
    </div>
    <!--{/section}-->
</div>
<!--{/if}-->
