source: branches/version-2_5-dev/data/Smarty/templates/sphone/frontparts/bloc/recommend.tpl @ 20764

Revision 20764, 3.6 KB checked in by nanasess, 13 years ago (diff)

#601 (コピーライトの更新)

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