source: branches/version-2_11-dev/data/Smarty/templates/default/frontparts/bloc/recommend.tpl @ 21253

Revision 21253, 2.6 KB checked in by Seasoft, 13 years ago (diff)

#1481 (おすすめ商品ブロックの改善)

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
Line 
1<!--{*
2 * This file is part of EC-CUBE
3 *
4 * Copyright(c) 2000-2011 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<!--{if count($arrBestProducts) > 0}-->
23    <div class="bloc_outer clearfix">
24        <div id="recommend_area">
25            <h2><img src="<!--{$TPL_URLPATH}-->img/title/tit_bloc_recommend.jpg" alt="*" class="title_icon" /></h2>
26            <div class="bloc_body clearfix">
27                <!--{foreach from=$arrBestProducts item=arrProduct name="recommend_products"}-->
28                    <div class="product_item clearfix">
29                        <div class="productImage">
30                            <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->">
31                                <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$arrProduct.main_list_image|sfNoImageMainList|h}-->&amp;width=80&amp;height=80" alt="<!--{$arrProduct.name|h}-->" />
32                            </a>
33                        </div>
34                        <div class="productContents">
35                            <h3>
36                                <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->"><!--{$arrProduct.name|h}--></a>
37                            </h3>
38                            <p class="sale_price">
39                                <!--{$smarty.const.SALE_PRICE_TITLE}-->(税込): <span class="price"><!--{$arrProduct.price02_min|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 円</span>
40                            </p>
41                            <p class="mini comment"><!--{$arrProduct.comment|h|nl2br}--></p>
42                        </div>
43                    </div>
44                    <!--{if $smarty.foreach.recommend_products.iteration % 2 === 0}-->
45                        <div class="clear"></div>
46                    <!--{/if}-->
47                <!--{/foreach}-->
48            </div>
49        </div>
50    </div>
51<!--{/if}-->
Note: See TracBrowser for help on using the repository browser.