1 | <!--{* |
---|
2 | * This file is part of EC-CUBE |
---|
3 | * |
---|
4 | * Copyright(c) 2000-2013 LOCKON CO.,LTD. All Rights Reserved. |
---|
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 | *}--> |
---|
22 | |
---|
23 | <!-- ▼おすすめ商品 --> |
---|
24 | <!--{if count($arrBestProducts) > 0}--> |
---|
25 | <section id="recommend_area" class="mainImageInit"> |
---|
26 | <h2>おすすめ商品</h2> |
---|
27 | <ul> |
---|
28 | <!--{section name=cnt loop=$arrBestProducts}--> |
---|
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 | <p class="sale_price"> |
---|
36 | <span class="mini"><!--{$smarty.const.SALE_PRICE_TITLE|h}-->(税込):</span><span class="price"><!--{$arrBestProducts[cnt].price02_min_inctax|number_format}--> 円</span> |
---|
37 | </p> |
---|
38 | </div> |
---|
39 | </div> |
---|
40 | </li> |
---|
41 | <!--{/section}--> |
---|
42 | </ul> |
---|
43 | </section> |
---|
44 | <!--{/if}--> |
---|
45 | <!-- ▲おすすめ商品 --> |
---|
46 | |
---|
47 | <script type="application/javascript"> |
---|
48 | <!--// |
---|
49 | $(function(){ |
---|
50 | $('#recommend_area ul li').flickSlide({target:'#recommend_area>ul', duration:5000}); |
---|
51 | }); |
---|
52 | //--> |
---|
53 | </script> |
---|