1 | <!--{* |
---|
2 | * This file is part of EC-CUBE |
---|
3 | * |
---|
4 | * Copyright(c) 2000-2012 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 | <!--{if count($arrBestProducts) > 0}--> |
---|
24 | <div class="block_outer clearfix"> |
---|
25 | <div id="recommend_area"> |
---|
26 | <h2><img src="<!--{$TPL_URLPATH}-->img/title/icon_bloc_recommend.png" alt="*" class="title_icon" /><span class="title">Recommend Information</span></h2> |
---|
27 | <div class="block_body clearfix"> |
---|
28 | <!--{foreach from=$arrBestProducts item=arrProduct name="recommend_products"}--> |
---|
29 | <div class="product_item clearfix"> |
---|
30 | <div class="productImage"> |
---|
31 | <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->"> |
---|
32 | <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$arrProduct.main_list_image|sfNoImageMainList|h}-->&width=80&height=80" alt="<!--{$arrProduct.name|h}-->" /> |
---|
33 | </a> |
---|
34 | </div> |
---|
35 | <div class="productContents"> |
---|
36 | <h3> |
---|
37 | <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->"><!--{$arrProduct.name|h}--></a> |
---|
38 | </h3> |
---|
39 | <p class="sale_price"> |
---|
40 | <!--{$smarty.const.SALE_PRICE_TITLE}-->(tax included): <span class="price">$ <!--{$arrProduct.price02_min_inctax|number_format}--></span> |
---|
41 | </p> |
---|
42 | <p class="mini comment"><!--{$arrProduct.comment|h|nl2br}--></p> |
---|
43 | </div> |
---|
44 | </div> |
---|
45 | <!--{if $smarty.foreach.recommend_products.iteration % 2 === 0}--> |
---|
46 | <div class="clear"></div> |
---|
47 | <!--{/if}--> |
---|
48 | <!--{/foreach}--> |
---|
49 | </div> |
---|
50 | </div> |
---|
51 | </div> |
---|
52 | <!--{/if}--> |
---|