1 | <!--{* |
---|
2 | /* |
---|
3 | * This file is part of EC-CUBE |
---|
4 | * |
---|
5 | * Copyright(c) 2000-2012 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 | <div id="mypagecolumn"> |
---|
26 | <h2 class="title"><!--{$tpl_title|h}--></h2> |
---|
27 | <!--{if $tpl_navi != ""}--> |
---|
28 | <!--{include file=$tpl_navi}--> |
---|
29 | <!--{else}--> |
---|
30 | <!--{include file=`$smarty.const.TEMPLATE_REALDIR`mypage/navi.tpl}--> |
---|
31 | <!--{/if}--> |
---|
32 | <div id="mycontents_area"> |
---|
33 | <form name="form1" method="post" action="?"> |
---|
34 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
35 | <input type="hidden" name="order_id" value="" /> |
---|
36 | <input type="hidden" name="pageno" value="<!--{$objNavi->nowpage}-->" /> |
---|
37 | <h3><!--{$tpl_subtitle|h}--></h3> |
---|
38 | |
---|
39 | <!--{if $objNavi->all_row > 0}--> |
---|
40 | |
---|
41 | <p>There are <span class="attention"><!--{$objNavi->all_row}--> items</span> in your purchase history.</p> |
---|
42 | <div class="pagenumber_area"> |
---|
43 | <!--▼ページナビ--> |
---|
44 | <!--{$objNavi->strnavi}--> |
---|
45 | <!--▲ページナビ--> |
---|
46 | </div> |
---|
47 | |
---|
48 | <table summary="Purchase history"> |
---|
49 | <tr> |
---|
50 | <th class="alignC">Date and time of purchase</th> |
---|
51 | <th class="alignC">Order number</th> |
---|
52 | <th class="alignC">Payment method</th> |
---|
53 | <th class="alignC">Total amount</th> |
---|
54 | <!--{if $smarty.const.MYPAGE_ORDER_STATUS_DISP_FLAG }--> |
---|
55 | <th class="alignC">Order status</th> |
---|
56 | <!--{/if}--> |
---|
57 | <th class="alignC">Details</th> |
---|
58 | </tr> |
---|
59 | <!--{section name=cnt loop=$arrOrder}--> |
---|
60 | <tr> |
---|
61 | <td class="alignC"><!--{$arrOrder[cnt].create_date|sfDispDBDate}--></td> |
---|
62 | <td><!--{$arrOrder[cnt].order_id}--></td> |
---|
63 | <!--{assign var=payment_id value="`$arrOrder[cnt].payment_id`"}--> |
---|
64 | <td class="alignC"><!--{$arrPayment[$payment_id]|h}--></td> |
---|
65 | <td class="alignR">$ <!--{$arrOrder[cnt].payment_total|number_format}--></td> |
---|
66 | |
---|
67 | <!--{if $smarty.const.MYPAGE_ORDER_STATUS_DISP_FLAG }--> |
---|
68 | <!--{assign var=order_status_id value="`$arrOrder[cnt].status`"}--> |
---|
69 | <!--{if $order_status_id != $smarty.const.ORDER_PENDING }--> |
---|
70 | <td class="alignC"><!--{$arrCustomerOrderStatus[$order_status_id]|h}--></td> |
---|
71 | <!--{else}--> |
---|
72 | <td class="alignC attention"><!--{$arrCustomerOrderStatus[$order_status_id]|h}--></td> |
---|
73 | <!--{/if}--> |
---|
74 | <!--{/if}--> |
---|
75 | <td class="alignC"><a href="<!--{$smarty.const.ROOT_URLPATH}-->mypage/history.php?order_id=<!--{$arrOrder[cnt].order_id}-->">Details</a></td> |
---|
76 | </tr> |
---|
77 | <!--{/section}--> |
---|
78 | </table> |
---|
79 | |
---|
80 | <!--{else}--> |
---|
81 | <p>There is no purchase history</p> |
---|
82 | <!--{/if}--> |
---|
83 | </form> |
---|
84 | </div> |
---|
85 | </div> |
---|