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 | <!--▼CONTENTS--> |
---|
25 | <div id="mypagecolumn"> |
---|
26 | <h2 class="title"><!--{$tpl_title|h}--></h2> |
---|
27 | <!--{include file=$tpl_navi}--> |
---|
28 | <div id="mycontents_area"> |
---|
29 | <h3><!--{$tpl_subtitle|h}--></h3> |
---|
30 | <div class="mycondition_area clearfix"> |
---|
31 | <p> |
---|
32 | <span class="st">購入日時: </span><!--{$tpl_arrOrderData.create_date|sfDispDBDate}--><br /> |
---|
33 | <span class="st">注文番号: </span><!--{$tpl_arrOrderData.order_id}--><br /> |
---|
34 | <span class="st">お支払い方法: </span><!--{$arrPayment[$tpl_arrOrderData.payment_id]|h}--> |
---|
35 | </p> |
---|
36 | <form action="order.php" method="post"> |
---|
37 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
38 | <p class="btn"> |
---|
39 | <input type="hidden" name="order_id" value="<!--{$tpl_arrOrderData.order_id|h}-->"> |
---|
40 | <input type="image" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_order_re_on.jpg', this);" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_order_re.jpg', this);" src="<!--{$TPL_URLPATH}-->img/button/btn_order_re.jpg" alt="この購入内容で再注文する" name="submit" value="この購入内容で再注文する" /> |
---|
41 | </p> |
---|
42 | </form> |
---|
43 | </div> |
---|
44 | |
---|
45 | <table summary="購入商品詳細"> |
---|
46 | <colgroup width="15%"></colgroup> |
---|
47 | <colgroup width="25%"></colgroup> |
---|
48 | <colgroup width="20%"></colgroup> |
---|
49 | <colgroup width="15%"></colgroup> |
---|
50 | <colgroup width="10%"></colgroup> |
---|
51 | <colgroup width="15%"></colgroup> |
---|
52 | <tr> |
---|
53 | <th>商品コード</th> |
---|
54 | <th>商品名</th> |
---|
55 | <th>商品種別</th> |
---|
56 | <th>単価</th> |
---|
57 | <th>数量</th> |
---|
58 | <th>小計</th> |
---|
59 | </tr> |
---|
60 | <!--{foreach from=$tpl_arrOrderDetail item=orderDetail}--> |
---|
61 | <tr> |
---|
62 | <td><!--{$orderDetail.product_code|h}--></td> |
---|
63 | <td><a<!--{if $orderDetail.enable}--> href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$orderDetail.product_id|u}-->"<!--{/if}-->><!--{$orderDetail.product_name|h}--></a></td> |
---|
64 | <td> |
---|
65 | <!--{if $orderDetail.product_type_id == PRODUCT_TYPE_DOWNLOAD}--> |
---|
66 | <!--{if $orderDetail.price == "0" || ( $orderDetail.status >= "4" && $orderDetail.effective == "1" )}--> |
---|
67 | <a target="_self" href="<!--{$smarty.const.ROOT_URLPATH}-->mypage/download.php?order_id=<!--{$tpl_arrOrderData.order_id}-->&product_id=<!--{$orderDetail.product_id}-->&product_class_id=<!--{$orderDetail.product_class_id}-->">ダウンロード</a> |
---|
68 | <!--{elseif $orderDetail.payment_date == "" || $orderDetail.status < "4"}--> |
---|
69 | ダウンロード商品<BR />(入金確認中) |
---|
70 | <!--{elseif $orderDetail.effective != "1"}--> |
---|
71 | ダウンロード商品<BR />(期限切れ) |
---|
72 | <!--{/if}--> |
---|
73 | <!--{else if $orderDetail.product_type_id == PRODUCT_TYPE_NORMAL}--> |
---|
74 | 通常商品 |
---|
75 | <!--{/if}--> |
---|
76 | </td> |
---|
77 | <!--{assign var=price value=`$orderDetail.price`}--> |
---|
78 | <!--{assign var=quantity value=`$orderDetail.quantity`}--> |
---|
79 | <td class="alignR"><!--{$price|number_format|h}-->円</td> |
---|
80 | <td class="alignR"><!--{$quantity|h}--></td> |
---|
81 | <td class="alignR"><!--{$price|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|sfMultiply:$quantity|number_format}-->円</td> |
---|
82 | </tr> |
---|
83 | <!--{/foreach}--> |
---|
84 | <tr> |
---|
85 | <th colspan="5" class="alignR">小計</th> |
---|
86 | <td class="alignR"><!--{$tpl_arrOrderData.subtotal|number_format}-->円</td> |
---|
87 | </tr> |
---|
88 | <!--{assign var=point_discount value="`$tpl_arrOrderData.use_point*$smarty.const.POINT_VALUE`"}--> |
---|
89 | <!--{if $point_discount > 0}--> |
---|
90 | <tr> |
---|
91 | <th colspan="5" class="alignR">ポイント値引き</th> |
---|
92 | <td class="alignR"><!--{$point_discount|number_format}-->円</td> |
---|
93 | </tr> |
---|
94 | <!--{/if}--> |
---|
95 | <!--{assign var=key value="discount"}--> |
---|
96 | <!--{if $tpl_arrOrderData[$key] != "" && $tpl_arrOrderData[$key] > 0}--> |
---|
97 | <tr> |
---|
98 | <th colspan="5" class="alignR">値引き</th> |
---|
99 | <td class="alignR"><!--{$tpl_arrOrderData[$key]|number_format}-->円</td> |
---|
100 | </tr> |
---|
101 | <!--{/if}--> |
---|
102 | <tr> |
---|
103 | <th colspan="5" class="alignR">送料</th> |
---|
104 | <td class="alignR"><!--{assign var=key value="deliv_fee"}--><!--{$tpl_arrOrderData[$key]|number_format|h}-->円</td> |
---|
105 | </tr> |
---|
106 | <tr> |
---|
107 | <th colspan="5" class="alignR">手数料</th> |
---|
108 | <!--{assign var=key value="charge"}--> |
---|
109 | <td class="alignR"><!--{$tpl_arrOrderData[$key]|number_format|h}-->円</td> |
---|
110 | </tr> |
---|
111 | <tr> |
---|
112 | <th colspan="5" class="alignR">合計</th> |
---|
113 | <td class="alignR"><span class="price"><!--{$tpl_arrOrderData.payment_total|number_format}-->円</price></td> |
---|
114 | </tr> |
---|
115 | </table> |
---|
116 | |
---|
117 | <!-- 使用ポイントここから --> |
---|
118 | <!--{if $smarty.const.USE_POINT !== false}--> |
---|
119 | <table summary="使用ポイント"> |
---|
120 | <colgroup width="30%"></colgroup> |
---|
121 | <colgroup width="70%"></colgroup> |
---|
122 | <tr> |
---|
123 | <th class="alignL">ご使用ポイント</th> |
---|
124 | <td><!--{assign var=key value="use_point"}--><!--{$tpl_arrOrderData[$key]|number_format|default:0}--> pt</td> |
---|
125 | </tr> |
---|
126 | <tr> |
---|
127 | <th class="alignL">今回加算されるポイント</th> |
---|
128 | <td><!--{$tpl_arrOrderData.add_point|number_format|default:0}--> pt</td> |
---|
129 | </tr> |
---|
130 | </table> |
---|
131 | <!--{/if}--> |
---|
132 | <!-- 使用ポイントここまで --> |
---|
133 | |
---|
134 | <!--{foreach item=shippingItem name=shippingItem from=$arrShipping}--> |
---|
135 | <h3>お届け先<!--{if $isMultiple}--><!--{$smarty.foreach.shippingItem.iteration}--><!--{/if}--></h3> |
---|
136 | <!--{if $isMultiple}--> |
---|
137 | <table summary="お届け内容確認"> |
---|
138 | <colgroup width="30%"></colgroup> |
---|
139 | <colgroup width="70%"></colgroup> |
---|
140 | <tr> |
---|
141 | <th>商品コード</th> |
---|
142 | <th>商品名</th> |
---|
143 | <th>単価</th> |
---|
144 | <th>数量</th> |
---|
145 | <!--{* XXX 購入小計と誤差が出るためコメントアウト |
---|
146 | <th>小計</th> |
---|
147 | *}--> |
---|
148 | </tr> |
---|
149 | <!--{foreach item=item from=$shippingItem.shipment_item}--> |
---|
150 | <tr> |
---|
151 | <td><!--{$item.productsClass.product_code|h}--></td> |
---|
152 | <td><!--{* 商品名 *}--><!--{$item.productsClass.name|h}--><br /> |
---|
153 | <!--{if $item.productsClass.classcategory_name1 != ""}--> |
---|
154 | <!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--><br /> |
---|
155 | <!--{/if}--> |
---|
156 | <!--{if $item.productsClass.classcategory_name2 != ""}--> |
---|
157 | <!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}--> |
---|
158 | <!--{/if}--> |
---|
159 | </td> |
---|
160 | <td class="alignR"> |
---|
161 | <!--{$item.productsClass.price02|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円 |
---|
162 | </td> |
---|
163 | <td class="alignC"><!--{$item.quantity}--></td> |
---|
164 | <!--{* XXX 購入小計と誤差が出るためコメントアウト |
---|
165 | <td class="alignR"><!--{$item.total_inctax|number_format}-->円</td> |
---|
166 | *}--> |
---|
167 | </tr> |
---|
168 | <!--{/foreach}--> |
---|
169 | </table> |
---|
170 | <!--{/if}--> |
---|
171 | <table summary="お届け先" class="delivname"> |
---|
172 | <colgroup width="30%"></colgroup> |
---|
173 | <colgroup width="70%"></colgroup> |
---|
174 | <tr> |
---|
175 | <th class="alignL">お名前</th> |
---|
176 | <td><!--{$shippingItem.shipping_name01|h}--> <!--{$shippingItem.shipping_name02|h}--></td> |
---|
177 | </tr> |
---|
178 | <tr> |
---|
179 | <th class="alignL">お名前(フリガナ)</th> |
---|
180 | <td><!--{$shippingItem.shipping_kana01|h}--> <!--{$shippingItem.shipping_kana02|h}--></td> |
---|
181 | </tr> |
---|
182 | <tr> |
---|
183 | <th class="alignL">郵便番号</th> |
---|
184 | <td>〒<!--{$shippingItem.shipping_zip01}-->-<!--{$shippingItem.shipping_zip02}--></td> |
---|
185 | </tr> |
---|
186 | <tr> |
---|
187 | <th class="alignL">住所</th> |
---|
188 | <td><!--{$arrPref[$shippingItem.shipping_pref]}--><!--{$shippingItem.shipping_addr01|h}--><!--{$shippingItem.shipping_addr02|h}--></td> |
---|
189 | </tr> |
---|
190 | <tr> |
---|
191 | <th class="alignL">電話番号</th> |
---|
192 | <td><!--{$shippingItem.shipping_tel01}-->-<!--{$shippingItem.shipping_tel02}-->-<!--{$shippingItem.shipping_tel03}--></td> |
---|
193 | </tr> |
---|
194 | <tr> |
---|
195 | <th class="alignL">お届け日</th> |
---|
196 | <td><!--{$shippingItem.shipping_date|default:'指定なし'|h}--></td> |
---|
197 | </tr> |
---|
198 | <tr> |
---|
199 | <th class="alignL">お届け時間</th> |
---|
200 | <td><!--{$shippingItem.shipping_time|default:'指定なし'|h}--></td> |
---|
201 | </tr> |
---|
202 | </tbody> |
---|
203 | </table> |
---|
204 | <!--{/foreach}--> |
---|
205 | |
---|
206 | <br /> |
---|
207 | |
---|
208 | <h3>メール配信履歴一覧</h3> |
---|
209 | <table> |
---|
210 | <tr> |
---|
211 | <th>処理日</th> |
---|
212 | <th>通知メール</th> |
---|
213 | <th>件名</th> |
---|
214 | </tr> |
---|
215 | <!--{section name=cnt loop=$tpl_arrMailHistory}--> |
---|
216 | <tr class="center"> |
---|
217 | <td><!--{$tpl_arrMailHistory[cnt].send_date|sfDispDBDate|h}--></td> |
---|
218 | <!--{assign var=key value="`$tpl_arrMailHistory[cnt].template_id`"}--> |
---|
219 | <td><!--{$arrMAILTEMPLATE[$key]|h}--></td> |
---|
220 | <td><a href="#" onclick="win02('./mail_view.php?send_id=<!--{$tpl_arrMailHistory[cnt].send_id}-->','mail_view','650','800'); return false;"><!--{$tpl_arrMailHistory[cnt].subject|h}--></a></td> |
---|
221 | </tr> |
---|
222 | <!--{/section}--> |
---|
223 | </table> |
---|
224 | |
---|
225 | <div class="btn_area"> |
---|
226 | <ul> |
---|
227 | <li> |
---|
228 | <a href="./<!--{$smarty.const.DIR_INDEX_PATH}-->" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back_on.jpg','change');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back.jpg','change');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_back.jpg" alt="戻る" name="change" id="change" /></a> |
---|
229 | </li> |
---|
230 | </ul> |
---|
231 | </div> |
---|
232 | |
---|
233 | </div> |
---|
234 | </div> |
---|
235 | <!--▲CONTENTS--> |
---|