source: branches/version-2_11-dev/data/Smarty/templates/default/mypage/history.tpl @ 21343

Revision 21343, 12.5 KB checked in by Seasoft, 12 years ago (diff)

#1526 (typo修正・ソース整形・ソースコメントの改善)

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2011 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">購入日時:&nbsp;</span><!--{$tpl_arrOrderData.create_date|sfDispDBDate}--><br />
33                <span class="st">注文番号:&nbsp;</span><!--{$tpl_arrOrderData.order_id}--><br />
34                <span class="st">お支払い方法:&nbsp;</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            <col width="15%" />
47            <col width="25%" />
48            <col width="20%" />
49            <col width="15%" />
50            <col width="10%" />
51            <col width="15%" />
52            <tr>
53                <th class="alignC">商品コード</th>
54                <th class="alignC">商品名</th>
55                <th class="alignC">商品種別</th>
56                <th class="alignC">単価</th>
57                <th class="alignC">数量</th>
58                <th class="alignC">小計</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 class="alignC">
65                    <!--{if $orderDetail.product_type_id == $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
66                        <!--{if $orderDetail.is_downloadable}-->
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                        <!--{else}-->
69                            <!--{if $orderDetail.payment_date == "" && $orderDetail.effective == "0"}-->
70                                <!--{$arrProductType[$orderDetail.product_type_id]}--><BR />(入金確認中)
71                            <!--{else}-->
72                                <!--{$arrProductType[$orderDetail.product_type_id]}--><BR />(期限切れ)
73                            <!--{/if}-->
74                        <!--{/if}-->
75                    <!--{else}-->
76                        <!--{$arrProductType[$orderDetail.product_type_id]}-->
77                    <!--{/if}-->
78                    </td>
79                    <!--{assign var=price value=`$orderDetail.price`}-->
80                    <!--{assign var=quantity value=`$orderDetail.quantity`}-->
81                    <td class="alignR"><!--{$price|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format|h}-->円</td>
82                    <td class="alignR"><!--{$quantity|h}--></td>
83                    <td class="alignR"><!--{$price|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|sfMultiply:$quantity|number_format}-->円</td>
84                </tr>
85            <!--{/foreach}-->
86            <tr>
87                <th colspan="5" class="alignR">小計</th>
88                <td class="alignR"><!--{$tpl_arrOrderData.subtotal|number_format}-->円</td>
89            </tr>
90            <!--{assign var=point_discount value="`$tpl_arrOrderData.use_point*$smarty.const.POINT_VALUE`"}-->
91            <!--{if $point_discount > 0}-->
92            <tr>
93                <th colspan="5" class="alignR">ポイント値引き</th>
94                <td class="alignR">&minus;<!--{$point_discount|number_format}-->円</td>
95            </tr>
96            <!--{/if}-->
97            <!--{assign var=key value="discount"}-->
98            <!--{if $tpl_arrOrderData[$key] != "" && $tpl_arrOrderData[$key] > 0}-->
99            <tr>
100                <th colspan="5" class="alignR">値引き</th>
101                <td class="alignR">&minus;<!--{$tpl_arrOrderData[$key]|number_format}-->円</td>
102            </tr>
103            <!--{/if}-->
104            <tr>
105                <th colspan="5" class="alignR">送料</th>
106                <td class="alignR"><!--{assign var=key value="deliv_fee"}--><!--{$tpl_arrOrderData[$key]|number_format|h}-->円</td>
107            </tr>
108            <tr>
109                <th colspan="5" class="alignR">手数料</th>
110                <!--{assign var=key value="charge"}-->
111                <td class="alignR"><!--{$tpl_arrOrderData[$key]|number_format|h}-->円</td>
112            </tr>
113            <tr>
114                <th colspan="5" class="alignR">合計</th>
115                <td class="alignR"><span class="price"><!--{$tpl_arrOrderData.payment_total|number_format}-->円</price></td>
116            </tr>
117        </table>
118
119        <!-- 使用ポイントここから -->
120        <!--{if $smarty.const.USE_POINT !== false}-->
121            <table summary="使用ポイント">
122                <col width="30%" />
123                <col width="70%" />
124                <tr>
125                    <th class="alignL">ご使用ポイント</th>
126                    <td><!--{assign var=key value="use_point"}--><!--{$tpl_arrOrderData[$key]|number_format|default:0}--> pt</td>
127                </tr>
128                <tr>
129                    <th class="alignL">今回加算されるポイント</th>
130                    <td><!--{$tpl_arrOrderData.add_point|number_format|default:0}--> pt</td>
131                </tr>
132            </table>
133        <!--{/if}-->
134        <!-- 使用ポイントここまで -->
135
136        <!--{foreach item=shippingItem name=shippingItem from=$arrShipping}-->
137            <h3>お届け先<!--{if $isMultiple}--><!--{$smarty.foreach.shippingItem.iteration}--><!--{/if}--></h3>
138            <!--{if $isMultiple}-->
139                <table summary="お届け内容確認">
140                    <col width="30%" />
141                    <col width="40%" />
142                    <col width="20%" />
143                    <col width="10%" />
144                    <tr>
145                        <th class="alignC">商品コード</th>
146                        <th class="alignC">商品名</th>
147                        <th class="alignC">単価</th>
148                        <th class="alignC">数量</th>
149                        <!--{* XXX 購入小計と誤差が出るためコメントアウト
150                        <th>小計</th>
151                        *}-->
152                    </tr>
153                    <!--{foreach item=item from=$shippingItem.shipment_item}-->
154                        <tr>
155                            <td><!--{$item.productsClass.product_code|h}--></td>
156                            <td><!--{* 商品名 *}--><!--{$item.productsClass.name|h}--><br />
157                                <!--{if $item.productsClass.classcategory_name1 != ""}-->
158                                    <!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--><br />
159                                <!--{/if}-->
160                                <!--{if $item.productsClass.classcategory_name2 != ""}-->
161                                    <!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}-->
162                                <!--{/if}-->
163                            </td>
164                            <td class="alignR">
165                                <!--{$item.price|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円
166                            </td>
167                            <td class="alignC"><!--{$item.quantity}--></td>
168                            <!--{* XXX 購入小計と誤差が出るためコメントアウト
169                            <td class="alignR"><!--{$item.total_inctax|number_format}-->円</td>
170                            *}-->
171                        </tr>
172                    <!--{/foreach}-->
173                </table>
174            <!--{/if}-->
175            <table summary="お届け先" class="delivname">
176                    <col width="30%" />
177                    <col width="70%" />
178                    <tr>
179                        <th class="alignL">お名前</th>
180                        <td><!--{$shippingItem.shipping_name01|h}-->&nbsp;<!--{$shippingItem.shipping_name02|h}--></td>
181                    </tr>
182                    <tr>
183                        <th class="alignL">お名前(フリガナ)</th>
184                        <td><!--{$shippingItem.shipping_kana01|h}-->&nbsp;<!--{$shippingItem.shipping_kana02|h}--></td>
185                    </tr>
186                    <tr>
187                        <th class="alignL">郵便番号</th>
188                        <td>〒<!--{$shippingItem.shipping_zip01}-->-<!--{$shippingItem.shipping_zip02}--></td>
189                    </tr>
190                    <tr>
191                        <th class="alignL">住所</th>
192                        <td><!--{$arrPref[$shippingItem.shipping_pref]}--><!--{$shippingItem.shipping_addr01|h}--><!--{$shippingItem.shipping_addr02|h}--></td>
193                    </tr>
194                    <tr>
195                        <th class="alignL">電話番号</th>
196                        <td><!--{$shippingItem.shipping_tel01}-->-<!--{$shippingItem.shipping_tel02}-->-<!--{$shippingItem.shipping_tel03}--></td>
197                    </tr>
198                    <tr>
199                        <th class="alignL">お届け日</th>
200                        <td><!--{$shippingItem.shipping_date|default:'指定なし'|h}--></td>
201                    </tr>
202                    <tr>
203                        <th class="alignL">お届け時間</th>
204                        <td><!--{$shippingItem.shipping_time|default:'指定なし'|h}--></td>
205                    </tr>
206                </tbody>
207            </table>
208        <!--{/foreach}-->
209
210        <br />
211
212        <h3>メール配信履歴一覧</h3>
213        <table>
214            <tr>
215                <th class="alignC">処理日</th>
216                <th class="alignC">通知メール</th>
217                <th class="alignC">件名</th>
218            </tr>
219            <!--{section name=cnt loop=$tpl_arrMailHistory}-->
220            <tr class="center">
221                <td class="alignC"><!--{$tpl_arrMailHistory[cnt].send_date|sfDispDBDate|h}--></td>
222                <!--{assign var=key value="`$tpl_arrMailHistory[cnt].template_id`"}-->
223                <td class="alignC"><!--{$arrMAILTEMPLATE[$key]|h}--></td>
224                <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>
225            </tr>
226            <!--{/section}-->
227        </table>
228
229        <div class="btn_area">
230            <ul>
231                <li>
232                    <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>
233                </li>
234            </ul>
235        </div>
236
237    </div>
238</div>
239<!--▲CONTENTS-->
Note: See TracBrowser for help on using the repository browser.