source: branches/comu-ver2/data/Smarty/templates/default/admin/total/page_products.tpl @ 17198

Revision 17198, 2.9 KB checked in by pineray, 13 years ago (diff)
  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/html; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
6 *
7 * http://www.lockon.co.jp/
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22 */
23*}-->
24<table width="840" border="0" cellspacing="1" cellpadding="5" summary=" ">
25    <tr bgcolor="#636469" align="center" class="fs12n">
26        <td width="40"><span class="white">順位</span></td>
27        <td width="80"><span class="white">商品番号</span></td>
28        <td width="300"><span class="white">商品名</span></td>             
29        <td width="80"><span class="white">購入件数</span></td>
30        <td width="80"><span class="white">点数</span></td>
31        <td width="80"><span class="white">単価</span></td>
32        <td width="80"><span class="white">金額</span></td>
33    </tr>
34   
35    <!--{section name=cnt loop=$arrResults}-->
36    <!--{* 色分け判定 *}-->
37    <!--{assign var=type value="`$smarty.section.cnt.index%2`"}-->
38    <!--{if $type == 0}-->
39        <!--{* 偶数行 *}-->
40        <!--{assign var=color value="#FFFFFF"}-->
41    <!--{else}-->
42        <!--{* 奇数行 *}-->
43        <!--{assign var=color value="#D1DEFE"}-->
44    <!--{/if}-->
45
46    <tr bgcolor="<!--{$color}-->" class="fs12">
47        <td align="center"><!--{*順位*}--><!--{$smarty.section.cnt.iteration}--></td>
48        <td align="right"><!--{*商品番号*}--><!--{$arrResults[cnt].product_code|escape}--></td>
49        <td align="left"><!--{*商品名*}--><!--{$arrResults[cnt].name|sfCutString:40|escape}--></td>
50        <td align="right"><!--{*購入件数*}--><!--{$arrResults[cnt].order_count}-->件</td>
51        <td align="right"><!--{*点数*}--><!--{$arrResults[cnt].products_count}--></td>
52        <td align="right"><!--{*単価*}--><!--{$arrResults[cnt].price|number_format}-->円</td>
53        <td align="right"><!--{*金額*}--><!--{$arrResults[cnt].total|number_format}-->円</td>
54    </tr>
55    <!--{/section}-->
56   
57    <tr bgcolor="#636469" align="center" class="fs12n">
58        <td width="40"><span class="white">順位</span></td>
59        <td width="80"><span class="white">商品番号</span></td>
60        <td width="300"><span class="white">商品名</span></td>             
61        <td width="80"><span class="white">購入件数</span></td>             
62        <td width="80"><span class="white">点数</span></td>
63        <td width="80"><span class="white">単価</span></td>
64        <td width="80"><span class="white">金額</span></td>
65    </tr>
66</table>
Note: See TracBrowser for help on using the repository browser.