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

Revision 18609, 3.2 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-term" class="list">
25  <tr>
26    <th>期間</th>
27    <th>購入件数</th>
28    <th>男性</th>
29    <th>女性</th>
30    <th>男性(会員)</th>
31    <th>男性<br />(非会員)</th>
32    <th>女性(会員)</th>
33    <th>女性<br />(非会員)</th>
34    <th>購入合計</th>
35    <th>購入平均</th>
36  </tr>
37 
38  <!--{section name=cnt loop=$arrResults}-->
39  <!--{* 色分け判定 *}-->
40  <!--{if !$smarty.section.cnt.last}-->
41    <!--{assign var=type value="`$smarty.section.cnt.index%2`"}-->
42    <!--{if $type == 0}-->
43      <!--{* 偶数行 *}-->
44      <!--{assign var=color value="even"}-->
45    <!--{else}-->
46      <!--{* 奇数行 *}-->
47      <!--{assign var=color value="odd"}-->
48    <!--{/if}-->
49  <!--{else}-->
50    <!--{* 最終行 *}-->
51    <!--{assign var=color value="last"}-->
52  <!--{/if}-->
53 
54 
55  <tr class="<!--{$color}-->">
56    <!--{assign var=wday value="`$arrResults[cnt].wday`"}-->
57   
58    <!--{if !$smarty.section.cnt.last}-->
59      <td class="center"><!--{*期間*}--><!--{$arrResults[cnt][$keyname]}--><!--{if $keyname == "key_day"}-->(<!--{$arrWDAY[$wday]}-->)<!--{/if}--><!--{$tpl_tail}--></td>
60    <!--{else}-->
61      <td class="center"><!--{*期間*}-->合計</td>
62    <!--{/if}-->
63   
64    <td class="right"><!--{*購入件数*}--><!--{$arrResults[cnt].total_order}-->件</td>
65    <td class="right"><!--{*男性*}--><!--{$arrResults[cnt].men}--></td>
66    <td class="right"><!--{*女性*}--><!--{$arrResults[cnt].women}--></td>
67    <td class="right"><!--{*男性(会員)*}--><!--{$arrResults[cnt].men_member}--></td>
68    <td class="right"><!--{*男性(非会員)*}--><!--{$arrResults[cnt].men_nonmember}--></td>
69    <td class="right"><!--{*女性(会員)*}--><!--{$arrResults[cnt].women_member}--></td>
70    <td class="right"><!--{*女性(非会員)*}--><!--{$arrResults[cnt].women_nonmember}--></td>
71    <td class="right"><!--{*購入合計*}--><!--{$arrResults[cnt].total|number_format}-->円</td>
72    <td class="right"><!--{*購入平均*}--><!--{$arrResults[cnt].total_average|number_format}-->円</td>
73  </tr>
74  <!--{/section}-->
75 
76  <tr>
77    <th>期間</th>
78    <th>購入件数</th>
79    <th>男性</th>
80    <th>女性</th>
81    <th>男性(会員)</th>
82    <th>男性<br />(非会員)</th>
83    <th>女性(会員)</th>
84    <th>女性<br />(非会員)</th>
85    <th>購入合計</th>
86    <th>購入平均</th>
87  </tr>
88</table>
Note: See TracBrowser for help on using the repository browser.