[19661] | 1 | <!--{* |
---|
| 2 | * This file is part of EC-CUBE |
---|
| 3 | * |
---|
[20764] | 4 | * Copyright(c) 2000-2011 LOCKON CO.,LTD. All Rights Reserved. |
---|
[19661] | 5 | * |
---|
| 6 | * http://www.lockon.co.jp/ |
---|
| 7 | * |
---|
| 8 | * This program is free software; you can redistribute it and/or |
---|
| 9 | * modify it under the terms of the GNU General Public License |
---|
| 10 | * as published by the Free Software Foundation; either version 2 |
---|
| 11 | * of the License, or (at your option) any later version. |
---|
| 12 | * |
---|
| 13 | * This program is distributed in the hope that it will be useful, |
---|
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
| 16 | * GNU General Public License for more details. |
---|
| 17 | * |
---|
| 18 | * You should have received a copy of the GNU General Public License |
---|
| 19 | * along with this program; if not, write to the Free Software |
---|
| 20 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
| 21 | *}--> |
---|
[21533] | 22 | |
---|
[21050] | 23 | <!-- ▼おすすめ商品 --> |
---|
[19661] | 24 | <!--{if count($arrBestProducts) > 0}--> |
---|
[21533] | 25 | <section id="recommend_area" class="mainImageInit"> |
---|
| 26 | <h2>おすすめ商品</h2> |
---|
| 27 | <ul> |
---|
| 28 | <!--{section name=cnt loop=$arrBestProducts step=2}--> |
---|
| 29 | <li id="mainImage<!--{$smarty.section.cnt.index}-->"> |
---|
| 30 | <div class="recommendblock clearfix"> |
---|
| 31 | <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$arrBestProducts[cnt].main_list_image|sfNoImageMainList|h}-->&width=80&height=80" alt="<!--{$arrBestProducts[cnt].name|h}-->" /> |
---|
| 32 | <div class="productContents"> |
---|
| 33 | <h3><a rel="external" href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrBestProducts[cnt].product_id|u}-->"><!--{$arrBestProducts[cnt].name|h}--></a></h3> |
---|
| 34 | <p class="mini comment"><!--{$arrBestProducts[cnt].comment|h|nl2br}--></p> |
---|
| 35 | <!--{assign var=price01 value=`$arrBestProducts[cnt].price01_min`}--> |
---|
| 36 | <!--{assign var=price02 value=`$arrBestProducts[cnt].price02_min`}--> |
---|
[21545] | 37 | <p class="sale_price"><span class="mini"><!--<span class="mini">-->販売価格(税込):<!--</span>--></span><span class="price"><!--{$price02|sfCalcIncTax|number_format}--> 円</span></p> |
---|
[21533] | 38 | </div> |
---|
| 39 | </div> |
---|
| 40 | </li> |
---|
| 41 | <!--{assign var=cnt2 value=`$smarty.section.cnt.iteration*$smarty.section.cnt.step-1`}--> |
---|
| 42 | <!--{if $arrBestProducts[$cnt2]|count > 0}--> |
---|
| 43 | <li id="mainImage<!--{$cnt2}-->"> |
---|
| 44 | <div class="recommendblock clearfix"> |
---|
| 45 | <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$arrBestProducts[$cnt2].main_list_image|sfNoImageMainList|h}-->&width=80&height=80" alt="<!--{$arrBestProducts[$cnt2].name|h}-->" /> |
---|
| 46 | <div class="productContents"> |
---|
| 47 | <h3><a rel="external" href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrBestProducts[$cnt2].product_id|u}-->"><!--{$arrBestProducts[$cnt2].name|h}--></a></h3> |
---|
| 48 | <p class="mini comment"><!--{$arrBestProducts[$cnt2].comment|h|nl2br}--></p> |
---|
| 49 | <!--{assign var=price01 value=`$arrBestProducts[$cnt2].price01_min`}--> |
---|
| 50 | <!--{assign var=price02 value=`$arrBestProducts[$cnt2].price02_min`}--> |
---|
[21545] | 51 | <p class="sale_price"><span class="mini"><!--<span class="mini">-->販売価格(税込):</span><!--</span>--><span class="price"><!--{$price02|sfCalcIncTax|number_format}--> 円</span></p> |
---|
[21533] | 52 | </div> |
---|
| 53 | </div> |
---|
| 54 | </li> |
---|
| 55 | <!--{/if}--> |
---|
| 56 | <!--{/section}--> |
---|
[21535] | 57 | </ul> |
---|
[21533] | 58 | </section> |
---|
[19661] | 59 | <!--{/if}--> |
---|
[21050] | 60 | <!-- ▲おすすめ商品 --> |
---|
| 61 | |
---|
[21535] | 62 | <script type="application/javascript"> |
---|
[21533] | 63 | <!--// |
---|
| 64 | $(function(){ |
---|
| 65 | $('#recommend_area ul li').flickSlide({target:'#recommend_area>ul', duration:5000}); |
---|
| 66 | }); |
---|
| 67 | //--> |
---|
[21050] | 68 | </script> |
---|