1 | <!--{* |
---|
2 | /* |
---|
3 | * This file is part of EC-CUBE |
---|
4 | * |
---|
5 | * Copyright(c) 2000-2010 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 | <tr class="<!--{$color}-->"> |
---|
55 | <!--{assign var=wday value="`$arrResults[cnt].wday`"}--> |
---|
56 | |
---|
57 | <!--{if !$smarty.section.cnt.last}--> |
---|
58 | <td class="center"><!--{*期間*}--><!--{$arrResults[cnt].str_date}--></td> |
---|
59 | <!--{else}--> |
---|
60 | <td class="center"><!--{*期間*}-->合計</td> |
---|
61 | <!--{/if}--> |
---|
62 | |
---|
63 | <td class="right"><!--{*購入件数*}--><!--{$arrResults[cnt].total_order|number_format}-->件</td> |
---|
64 | <td class="right"><!--{*男性*}--><!--{$arrResults[cnt].men|number_format}--></td> |
---|
65 | <td class="right"><!--{*女性*}--><!--{$arrResults[cnt].women|number_format}--></td> |
---|
66 | <td class="right"><!--{*男性(会員)*}--><!--{$arrResults[cnt].men_member|number_format}--></td> |
---|
67 | <td class="right"><!--{*男性(非会員)*}--><!--{$arrResults[cnt].men_nonmember|number_format}--></td> |
---|
68 | <td class="right"><!--{*女性(会員)*}--><!--{$arrResults[cnt].women_member|number_format}--></td> |
---|
69 | <td class="right"><!--{*女性(非会員)*}--><!--{$arrResults[cnt].women_nonmember|number_format}--></td> |
---|
70 | <td class="right"><!--{*購入合計*}--><!--{$arrResults[cnt].total|number_format}-->円</td> |
---|
71 | <td class="right"><!--{*購入平均*}--><!--{$arrResults[cnt].total_average|number_format}-->円</td> |
---|
72 | </tr> |
---|
73 | <!--{/section}--> |
---|
74 | |
---|
75 | <tr> |
---|
76 | <th>期間</th> |
---|
77 | <th>購入件数</th> |
---|
78 | <th>男性</th> |
---|
79 | <th>女性</th> |
---|
80 | <th>男性(会員)</th> |
---|
81 | <th>男性<br />(非会員)</th> |
---|
82 | <th>女性(会員)</th> |
---|
83 | <th>女性<br />(非会員)</th> |
---|
84 | <th>購入合計</th> |
---|
85 | <th>購入平均</th> |
---|
86 | </tr> |
---|
87 | </table> |
---|