source: branches/version-2_5-dev/data/Smarty/templates/default/frontparts/bloc/best5.tpl @ 19983

Revision 19983, 3.5 KB checked in by Seasoft, 12 years ago (diff)

#834(パスに関わるパラメータ名が不適切)

  • TPL_DIR -> TPL_URLPATH
  • Property svn:eol-style set to LF
  • 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-2010 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 id="recomendarea" class="bloc_outer">
24    <h2><img src="<!--{$TPL_URLPATH}-->img/icon/ico_block_recommend.gif" width="20" height="20" alt="*" class="title_icon" />
25        おすすめ商品</h2>
26    <!--{section name=cnt loop=$arrBestProducts step=2}-->
27    <div class="recomendblock">
28        <div class="recomendleft">
29
30            <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrBestProducts[cnt].product_id|u}-->">
31                <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$arrBestProducts[cnt].main_list_image|sfNoImageMainList|h}-->&amp;width=48&amp;height=48" alt="<!--{$arrBestProducts[cnt].name|h}-->" /></a>
32
33            <h3>
34                <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrBestProducts[cnt].product_id|u}-->"><!--{$arrBestProducts[cnt].name|h}--></a>
35            </h3>
36
37            <!--{assign var=price01 value=`$arrBestProducts[cnt].price01_min`}-->
38            <!--{assign var=price02 value=`$arrBestProducts[cnt].price02_min`}-->
39
40            <p class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>:
41                <span class="price"><!--{$price02|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 円</span>
42            </p>
43
44            <p class="mini comment"><!--{$arrBestProducts[cnt].comment|h|nl2br}--></p>
45        </div>
46
47        <div class="recomendright">
48            <!--{assign var=cnt2 value=`$smarty.section.cnt.iteration*$smarty.section.cnt.step-1`}-->
49            <!--{if $arrBestProducts[$cnt2]|count > 0}-->
50
51            <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrBestProducts[$cnt2].product_id|u}-->">
52                <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$arrBestProducts[$cnt2].main_list_image|sfNoImageMainList|h}-->&amp;width=48&amp;height=48" alt="<!--{$arrBestProducts[$cnt2].name|h}-->" /></a>
53
54            <h3>
55            <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrBestProducts[$cnt2].product_id|u}-->"><!--{$arrBestProducts[$cnt2].name|h}--></a>
56            </h3>
57
58            <!--{assign var=price01 value=`$arrBestProducts[$cnt2].price01_min`}-->
59            <!--{assign var=price02 value=`$arrBestProducts[$cnt2].price02_min`}-->
60
61            <p class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>:
62                <span class="price"><!--{$price02|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 円</span>
63            </p>
64
65            <p class="mini comment"><!--{$arrBestProducts[$cnt2].comment|h|nl2br}--></p>
66            <!--{/if}-->
67        </div>
68    </div>
69    <!--{/section}-->
70</div>
71<!--{/if}-->
Note: See TracBrowser for help on using the repository browser.