source: tmp/version-2_5-test/data/Smarty/templates/default/admin/total/page_job.tpl @ 18609

Revision 18609, 2.1 KB checked in by kajiwara, 14 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-2008 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-job" class="list">
25    <tr>
26        <th>順位</th>
27        <th>職業</th>
28        <th>購入件数</th>
29        <th>購入合計</th>
30        <th>購入平均</th>
31    </tr>
32
33    <!--{section name=cnt loop=$arrResults}-->
34    <!--{* 色分け判定 *}-->
35    <!--{assign var=type value="`$smarty.section.cnt.index%2`"}-->
36    <!--{if $type == 0}-->
37        <!--{* 偶数行 *}-->
38        <!--{assign var=color value="even"}-->
39    <!--{else}-->
40        <!--{* 奇数行 *}-->
41        <!--{assign var=color value="odd"}-->
42    <!--{/if}-->
43
44    <tr class="<!--{$color}-->">
45        <td class="center"><!--{*順位*}--><!--{$smarty.section.cnt.iteration}--></td>
46        <td class="center"><!--{*職業*}--><!--{$arrResults[cnt].job_name}--></td>
47        <td class="right"><!--{*購入件数*}--><!--{$arrResults[cnt].order_count}-->件</td>
48        <td class="right"><!--{*購入合計*}--><!--{$arrResults[cnt].total|number_format}-->円</td>
49        <td class="right"><!--{*購入平均*}--><!--{$arrResults[cnt].total_average|number_format}-->円</td>
50    </tr>
51    <!--{/section}-->
52
53    <tr>
54        <th>順位</span></th>
55        <th>職業</span></th>
56        <th>購入件数</span></th>
57        <th>購入合計</span></th>
58        <th>購入平均</span></th>
59    </tr>
60</table>
Note: See TracBrowser for help on using the repository browser.