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

Revision 23494, 2.7 KB checked in by pineray, 10 years ago (diff)

#2386 PHP 警告撲滅 for 2.13.3

ロケール処理も考慮に入れて、Smartyの修飾子で対応するように変更.

  • 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<!--{strip}-->
24    <!--{if count($arrBestProducts) > 0}-->
25        <div class="block_outer clearfix">
26            <div id="recommend_area">
27                <h2><img src="<!--{$TPL_URLPATH}-->img/title/tit_bloc_recommend.png" alt="*" class="title_icon" /></h2>
28                <div class="block_body clearfix">
29                    <!--{foreach from=$arrBestProducts item=arrProduct name="recommend_products"}-->
30                        <div class="product_item clearfix">
31                            <div class="productImage">
32                                <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->">
33                                    <img src="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct.main_list_image|sfNoImageMainList|h}-->" style="max-width: 80px;max-height: 80px;" alt="<!--{$arrProduct.name|h}-->" />
34                                </a>
35                            </div>
36                            <div class="productContents">
37                                <h3>
38                                    <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->"><!--{$arrProduct.name|h}--></a>
39                                </h3>
40                                <p class="sale_price">
41                                    <!--{$smarty.const.SALE_PRICE_TITLE}-->(税込): <span class="price"><!--{$arrProduct.price02_min_inctax|n2s}--> 円</span>
42                                </p>
43                                <p class="mini comment"><!--{$arrProduct.comment|h|nl2br}--></p>
44                            </div>
45                        </div>
46                        <!--{if $smarty.foreach.recommend_products.iteration % 2 === 0}-->
47                            <div class="clear"></div>
48                        <!--{/if}-->
49                    <!--{/foreach}-->
50                </div>
51            </div>
52        </div>
53    <!--{/if}-->
54<!--{/strip}-->
Note: See TracBrowser for help on using the repository browser.