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

Revision 22796, 2.6 KB checked in by h_yoshimoto, 11 years ago (diff)

#2236 2.12.3リリース以降の2.12-devへのコミット差し戻し

  • 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-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<!--{if count($arrBestProducts) > 0}-->
24    <div class="block_outer clearfix">
25        <div id="recommend_area">
26            <h2><img src="<!--{$TPL_URLPATH}-->img/title/tit_bloc_recommend.jpg" alt="*" class="title_icon" /></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}-->&amp;width=80&amp;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}-->(税込): <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}-->
Note: See TracBrowser for help on using the repository browser.