source: branches/feature-module-update/data/Smarty/templates/default/bloc/best5.tpl @ 16583

Revision 16583, 4.0 KB checked in by nanasess, 16 years ago (diff)

typo fix

  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/html; charset=UTF-8
Line 
1<!--{*
2 * This file is part of EC-CUBE
3 *
4 * Copyright(c) 2000-2007 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<div id="recomendarea">
24  <h2>
25    <img src="<!--{$TPL_DIR}-->img/top/osusume.jpg" width="400" height="29" alt="おすすめ情報" />
26  </h2>
27  <!--{section name=cnt loop=$arrBestProducts step=2}-->
28  <div class="recomendblock">
29    <div class="recomendleft">
30    <!--{if $arrBestProducts[cnt].main_list_image != ""}-->
31      <!--{assign var=image_path value="`$arrBestProducts[cnt].main_list_image`"}-->
32    <!--{else}-->
33      <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}-->
34    <!--{/if}-->
35
36      <a href="<!--{$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{$arrBestProducts[cnt].product_id}-->">
37        <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&amp;width=48&amp;height=48" alt="<!--{$arrBestProducts[cnt].name|escape}-->" />
38      </a>
39
40      <h3>
41        <a href="<!--{$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{$arrBestProducts[cnt].product_id}-->"><!--{$arrBestProducts[cnt].name|escape}--></a>
42      </h3>
43
44<!--{assign var=price01 value=`$arrBestProducts[cnt].price01_min`}-->
45<!--{assign var=price02 value=`$arrBestProducts[cnt].price02_min`}-->
46
47      <p>価格<span class="mini">(税込)</span>:<span class="price">
48<!--{if $price02 == ""}-->
49  <!--{$price01|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->
50<!--{else}-->
51  <!--{$price02|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->
52<!--{/if}-->円
53        </span>
54      </p>
55      <p class="mini"><!--{$arrBestProducts[cnt].comment|escape|nl2br}--></p>
56    </div>
57
58    <div class="recomendright">
59      <!--{assign var=cnt2 value=`$smarty.section.cnt.iteration*$smarty.section.cnt.step-1` }-->
60      <!--{if $arrBestProducts[$cnt2]|count > 0}-->
61        <!--{if $arrBestProducts[$cnt2].main_list_image != ""}-->
62          <!--{assign var=image_path value="`$arrBestProducts[$cnt2].main_list_image`"}-->
63        <!--{else}-->
64          <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}-->
65        <!--{/if}-->
66
67      <a href="<!--{$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{$arrBestProducts[$cnt2].product_id}-->">
68        <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&amp;width=48&amp;height=48" alt="<!--{$arrBestProducts[$cnt2].name|escape}-->" />
69      </a>
70
71      <h3>
72      <a href="<!--{$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{$arrBestProducts[$cnt2].product_id}-->"><!--{$arrBestProducts[$cnt2].name|escape}--></a>
73      </h3>
74
75<!--{assign var=price01 value=`$arrBestProducts[cnt].price01_min`}-->
76<!--{assign var=price02 value=`$arrBestProducts[cnt].price02_min`}-->
77
78      <p>価格<span class="mini">(税込)</span>:<span class="price">
79<!--{if $price02 == ""}-->
80  <!--{$price01|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->
81<!--{else}-->
82  <!--{$price02|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->
83<!--{/if}-->円</span>
84      </p>
85
86      <p class="mini"><!--{$arrBestProducts[$cnt2].comment|escape|nl2br}--></p>
87      <!--{/if}-->
88    </div>
89  </div>
90  <!--{/section}-->
91</div>
92<!--▲おすすめ情報ここまで-->
Note: See TracBrowser for help on using the repository browser.