source: branches/version-2_11-dev/data/Smarty/templates/admin/total/page_products.tpl @ 20828

Revision 20828, 2.4 KB checked in by Seasoft, 12 years ago (diff)

#1251 (マルチバイト文字列を考慮していない処理)

  • 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/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2011 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 id="total-products" class="list">
25    <tr>
26        <th>順位</th>
27        <th>商品コード</th>
28        <th>商品名</th>
29        <th>購入件数</th>
30        <th>点数</th>
31        <th>単価</th>
32        <th>金額</th>
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="even"}-->
41        <!--{else}-->
42            <!--{* 奇数行 *}-->
43            <!--{assign var=color value="odd"}-->
44        <!--{/if}-->
45
46        <tr class="<!--{$color}-->">
47            <td class="center"><!--{*順位*}--><!--{$smarty.section.cnt.iteration}--></td>
48            <td class="right"><!--{*商品コード*}--><!--{$arrResults[cnt].product_code|h}--></td>
49            <td class="left"><!--{*商品名*}--><!--{$arrResults[cnt].product_name|sfCutString:40:false|h}--></td>
50            <td class="right"><!--{*購入件数*}--><!--{$arrResults[cnt].order_count}-->件</td>
51            <td class="right"><!--{*点数*}--><!--{$arrResults[cnt].products_count}--></td>
52            <td class="right"><!--{*単価*}--><!--{$arrResults[cnt].price|number_format}-->円</td>
53            <td class="right"><!--{*金額*}--><!--{$arrResults[cnt].total|number_format}-->円</td>
54        </tr>
55    <!--{/section}-->
56
57    <tr>
58        <th>順位</th>
59        <th>商品コード</th>
60        <th>商品名</th>
61        <th>購入件数</th>
62        <th>点数</th>
63        <th>単価</th>
64        <th>金額</th>
65    </tr>
66</table>
Note: See TracBrowser for help on using the repository browser.