source: branches/version-2_4/data/Smarty/templates/default/bloc/best5.tpl @ 18734

Revision 18734, 4.0 KB checked in by nanasess, 14 years ago (diff)

Copyright の更新(#601)

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