| 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 | <!--▼CONTENTS--> |
---|
| 25 | <div id="mypagecolumn"> |
---|
| 26 | <h2 class="title"><img src="<!--{$TPL_DIR}-->img/mypage/title.jpg" width="700" height="40" alt="MYページ" /></h2> |
---|
| 27 | <!--{if $tpl_navi != ""}--> |
---|
| 28 | <!--{include file=$tpl_navi}--> |
---|
| 29 | <!--{else}--> |
---|
| 30 | <!--{include file=`$smarty.const.TEMPLATE_DIR`mypage/navi.tpl}--> |
---|
| 31 | <!--{/if}--> |
---|
| 32 | <div id="mycontentsarea"> |
---|
| 33 | <form name="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->"> |
---|
| 34 | <input type="hidden" name="order_id" value="" /> |
---|
| 35 | <input type="hidden" name="pageno" value="<!--{$tpl_pageno}-->" /> |
---|
| 36 | <h3><img src="<!--{$TPL_DIR}-->img/mypage/subtitle01.gif" width="515" height="32" alt="購入履歴一覧" /></h3> |
---|
| 37 | |
---|
| 38 | <!--{if $tpl_linemax > 0}--> |
---|
| 39 | |
---|
| 40 | <p><!--{$tpl_linemax}-->件の購入履歴があります。</p> |
---|
| 41 | <div> |
---|
| 42 | <!--▼ページナビ--> |
---|
| 43 | <!--{$tpl_strnavi}--> |
---|
| 44 | <!--▲ページナビ--> |
---|
| 45 | </div> |
---|
| 46 | |
---|
| 47 | <table summary="購入履歴"> |
---|
| 48 | <tr> |
---|
| 49 | <th>購入日時</th> |
---|
| 50 | <th>注文番号</th> |
---|
| 51 | <th>お支払い方法</th> |
---|
| 52 | <th>合計金額</th> |
---|
| 53 | <th>詳細</th> |
---|
| 54 | </tr> |
---|
| 55 | <!--{section name=cnt loop=$arrOrder}--> |
---|
| 56 | <tr> |
---|
| 57 | <td><!--{$arrOrder[cnt].create_date|sfDispDBDate}--></td> |
---|
| 58 | <td><!--{$arrOrder[cnt].order_id}--></td> |
---|
| 59 | <!--{assign var=payment_id value="`$arrOrder[cnt].payment_id`"}--> |
---|
| 60 | <td><!--{$arrPayment[$payment_id]|escape}--></td> |
---|
| 61 | <td class="pricetd"><!--{$arrOrder[cnt].payment_total|number_format}-->円</td> |
---|
| 62 | <td class="centertd"><a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnChangeAction('./history.php'); fnKeySubmit('order_id','<!--{$arrOrder[cnt].order_id}-->'); return false">詳細</a></td> |
---|
| 63 | </tr> |
---|
| 64 | <!--{/section}--> |
---|
| 65 | </table> |
---|
| 66 | |
---|
| 67 | <!--{else}--> |
---|
| 68 | <p>購入履歴はありません。</p> |
---|
| 69 | <!--{/if}--> |
---|
| 70 | </form> |
---|
| 71 | </div> |
---|
| 72 | </div> |
---|