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

Revision 20520, 3.8 KB checked in by Seasoft, 11 years ago (diff)

#627(ソース整形・ソースコメントの改善)
#624(軽微な表示乱れを修正)

  • HTML 構文誤り
  • 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-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 class="bloc_outer" class="clearfix">
24  <div id="recomend_area">
25    <h2><img src="<!--{$TPL_URLPATH}-->img/title/tit_bloc_recommend.jpg" alt="*" class="title_icon" /></h2>
26    <!--{section name=cnt loop=$arrBestProducts step=2}-->
27    <div class="bloc_body clearfix">
28        <div class="recomendleft clearfix">
29            <div class="productImage">
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=80&amp;height=80" alt="<!--{$arrBestProducts[cnt].name|h}-->" /></a>
32            </div>
33            <div class="productContents">
34                <h3>
35                    <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrBestProducts[cnt].product_id|u}-->"><!--{$arrBestProducts[cnt].name|h}--></a>
36                </h3>
37                <!--{assign var=price01 value=`$arrBestProducts[cnt].price01_min`}-->
38                <!--{assign var=price02 value=`$arrBestProducts[cnt].price02_min`}-->
39                <p class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}-->(税込):
40                    <span class="price"><!--{$price02|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 円</span>
41                </p>
42                <p class="mini comment"><!--{$arrBestProducts[cnt].comment|h|nl2br}--></p>
43            </div>
44        </div>
45
46        <div class="recomendright clearfix">
47            <div class="productImage">
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=80&amp;height=80" alt="<!--{$arrBestProducts[$cnt2].name|h}-->" /></a>
53            </div>
54            <div class="productContents">
55                <h3>
56                    <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrBestProducts[$cnt2].product_id|u}-->"><!--{$arrBestProducts[$cnt2].name|h}--></a>
57                </h3>
58
59                <!--{assign var=price01 value=`$arrBestProducts[$cnt2].price01_min`}-->
60                <!--{assign var=price02 value=`$arrBestProducts[$cnt2].price02_min`}-->
61
62                <p class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}-->(税込):
63                    <span class="price"><!--{$price02|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 円</span>
64                </p>
65                <p class="mini comment"><!--{$arrBestProducts[$cnt2].comment|h|nl2br}--></p>
66                <!--{/if}-->
67            </div>
68        </div>
69
70    </div>
71    <!--{/section}-->
72  </div>
73</div>
74<!--{/if}-->
Note: See TracBrowser for help on using the repository browser.