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="100"><span class="white">期間</span></td> |
---|
27 | <td width="80"><span class="white">購入件数</span></td> |
---|
28 | <td width="80"><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">男性<br />(非会員)</span></td> |
---|
32 | <td width="80"><span class="white">女性(会員)</span></td> |
---|
33 | <td width="80"><span class="white">女性<br />(非会員)</span></td> |
---|
34 | <td width="80"><span class="white">購入合計</span></td> |
---|
35 | <td width="80"><span class="white">購入平均</span></td> |
---|
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="#FFFFFF"}--> |
---|
45 | <!--{else}--> |
---|
46 | <!--{* 奇数行 *}--> |
---|
47 | <!--{assign var=color value="#D1DEFE"}--> |
---|
48 | <!--{/if}--> |
---|
49 | <!--{else}--> |
---|
50 | <!--{* 最終行 *}--> |
---|
51 | <!--{assign var=color value="#FFD9EC"}--> |
---|
52 | <!--{/if}--> |
---|
53 | |
---|
54 | |
---|
55 | <tr bgcolor="<!--{$color}-->" class="fs12"> |
---|
56 | <!--{assign var=wday value="`$arrResults[cnt].wday`"}--> |
---|
57 | |
---|
58 | <!--{if !$smarty.section.cnt.last}--> |
---|
59 | <td align="center"><!--{*期間*}--><!--{$arrResults[cnt][$keyname]}--><!--{if $keyname == "key_day"}-->(<!--{$arrWDAY[$wday]}-->)<!--{/if}--><!--{$tpl_tail}--></td> |
---|
60 | <!--{else}--> |
---|
61 | <td align="center"><!--{*期間*}-->合計</td> |
---|
62 | <!--{/if}--> |
---|
63 | |
---|
64 | <td align="right"><!--{*購入件数*}--><!--{$arrResults[cnt].total_order}-->件</td> |
---|
65 | <td align="right"><!--{*男性*}--><!--{$arrResults[cnt].men}--></td> |
---|
66 | <td align="right"><!--{*女性*}--><!--{$arrResults[cnt].women}--></td> |
---|
67 | <td align="right"><!--{*男性(会員)*}--><!--{$arrResults[cnt].men_member}--></td> |
---|
68 | <td align="right"><!--{*男性(非会員)*}--><!--{$arrResults[cnt].men_nonmember}--></td> |
---|
69 | <td align="right"><!--{*女性(会員)*}--><!--{$arrResults[cnt].women_member}--></td> |
---|
70 | <td align="right"><!--{*女性(非会員)*}--><!--{$arrResults[cnt].women_nonmember}--></td> |
---|
71 | <td align="right"><!--{*購入合計*}--><!--{$arrResults[cnt].total|number_format}-->円</td> |
---|
72 | <td align="right"><!--{*購入平均*}--><!--{$arrResults[cnt].total_average|number_format}-->円</td> |
---|
73 | </tr> |
---|
74 | <!--{/section}--> |
---|
75 | |
---|
76 | <tr bgcolor="#636469" align="center" class="fs12n"> |
---|
77 | <td width="100"><span class="white">期間</span></td> |
---|
78 | <td width="80"><span class="white">購入件数</span></td> |
---|
79 | <td width="80"><span class="white">男性</span></td> |
---|
80 | <td width="80"><span class="white">女性</span></td> |
---|
81 | <td width="80"><span class="white">男性(会員)</span></td> |
---|
82 | <td width="80"><span class="white">男性<br />(非会員)</span></td> |
---|
83 | <td width="80"><span class="white">女性(会員)</span></td> |
---|
84 | <td width="80"><span class="white">女性<br />(非会員)</span></td> |
---|
85 | <td width="80"><span class="white">購入合計</span></td> |
---|
86 | <td width="80"><span class="white">購入平均</span></td> |
---|
87 | </tr> |
---|
88 | </table> |
---|