source: branches/comu-ver2/data/Smarty/templates/default/bloc/best5.tpl @ 17461

Revision 17461, 3.8 KB checked in by Seasoft, 16 years ago (diff)

CSSクラス追加

  • 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 class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>:
48        <span class="price"><!--{$price02|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 円</span>
49      </p>
50
51      <p class="mini"><!--{$arrBestProducts[cnt].comment|escape|nl2br}--></p>
52    </div>
53
54    <div class="recomendright">
55      <!--{assign var=cnt2 value=`$smarty.section.cnt.iteration*$smarty.section.cnt.step-1` }-->
56      <!--{if $arrBestProducts[$cnt2]|count > 0}-->
57        <!--{if $arrBestProducts[$cnt2].main_list_image != ""}-->
58          <!--{assign var=image_path value="`$arrBestProducts[$cnt2].main_list_image`"}-->
59        <!--{else}-->
60          <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}-->
61        <!--{/if}-->
62
63      <a href="<!--{$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{$arrBestProducts[$cnt2].product_id}-->">
64        <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&amp;width=48&amp;height=48" alt="<!--{$arrBestProducts[$cnt2].name|escape}-->" />
65      </a>
66
67      <h3>
68      <a href="<!--{$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{$arrBestProducts[$cnt2].product_id}-->"><!--{$arrBestProducts[$cnt2].name|escape}--></a>
69      </h3>
70
71<!--{assign var=price01 value=`$arrBestProducts[$cnt2].price01_min`}-->
72<!--{assign var=price02 value=`$arrBestProducts[$cnt2].price02_min`}-->
73
74      <p class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>:
75        <span class="price"><!--{$price02|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 円</span>
76      </p>
77
78      <p class="mini"><!--{$arrBestProducts[$cnt2].comment|escape|nl2br}--></p>
79      <!--{/if}-->
80    </div>
81  </div>
82  <!--{/section}-->
83</div>
84<!--▲おすすめ商品-->
Note: See TracBrowser for help on using the repository browser.