| 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 | |
---|
| 25 | <table width="840" border="0" cellspacing="1" cellpadding="5" summary=" "> |
---|
| 26 | <tr bgcolor="#636469" align="center" class="fs12n"> |
---|
| 27 | <td width="40"><span class="white">順位</span></td> |
---|
| 28 | <td width="175"><span class="white">職業</span></td> |
---|
| 29 | <td width="175"><span class="white">購入件数</span></td> |
---|
| 30 | <td width="175"><span class="white">購入合計</span></td> |
---|
| 31 | <td width="175"><span class="white">購入平均</span></td> |
---|
| 32 | </tr> |
---|
| 33 | |
---|
| 34 | <!--{section name=cnt loop=$arrResults}--> |
---|
| 35 | <!--{* 色分け判定 *}--> |
---|
| 36 | <!--{assign var=type value="`$smarty.section.cnt.index%2`"}--> |
---|
| 37 | <!--{if $type == 0}--> |
---|
| 38 | <!--{* 偶数行 *}--> |
---|
| 39 | <!--{assign var=color value="#FFFFFF"}--> |
---|
| 40 | <!--{else}--> |
---|
| 41 | <!--{* 奇数行 *}--> |
---|
| 42 | <!--{assign var=color value="#D1DEFE"}--> |
---|
| 43 | <!--{/if}--> |
---|
| 44 | |
---|
| 45 | <tr bgcolor="<!--{$color}-->" class="fs12"> |
---|
| 46 | <td align="center"><!--{*順位*}--><!--{$smarty.section.cnt.iteration}--></td> |
---|
| 47 | <td align="center"><!--{*職業*}--><!--{$arrResults[cnt].job_name}--></td> |
---|
| 48 | <td align="right"><!--{*購入件数*}--><!--{$arrResults[cnt].order_count}-->件</td> |
---|
| 49 | <td align="right"><!--{*購入合計*}--><!--{$arrResults[cnt].total|number_format}-->円</td> |
---|
| 50 | <td align="right"><!--{*購入平均*}--><!--{$arrResults[cnt].total_average|number_format}-->円</td> |
---|
| 51 | </tr> |
---|
| 52 | <!--{/section}--> |
---|
| 53 | |
---|
| 54 | <tr bgcolor="#636469" align="center" class="fs12n"> |
---|
| 55 | <td width="40"><span class="white">順位</span></td> |
---|
| 56 | <td width="175"><span class="white">職業</span></td> |
---|
| 57 | <td width="175"><span class="white">購入件数</span></td> |
---|
| 58 | <td width="175"><span class="white">購入合計</span></td> |
---|
| 59 | <td width="175"><span class="white">購入平均</span></td> |
---|
| 60 | </tr> |
---|
| 61 | </table> |
---|