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

Revision 22573, 14.1 KB checked in by Qwert, 11 years ago (diff)

#2153 (各種テンプレート修正)

PC版テンプレートを修正

  • 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-2013 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    <!--{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                <!--{if $is_price_change == true}-->   
36                    <div class="attention" Align="right">※金額が変更されている商品があるため、再注文時はご注意ください。</div>
37                <!--{/if}-->
38            </p>
39            <form action="order.php" method="post">
40                <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
41                <p class="btn">
42                    <input type="hidden" name="order_id" value="<!--{$tpl_arrOrderData.order_id|h}-->" />
43                    <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="この購入内容で再注文する" />
44                </p>
45            </form>
46        </div>
47
48        <table summary="購入商品詳細">
49            <col width="15%" />
50            <col width="25%" />
51            <col width="20%" />
52            <col width="15%" />
53            <col width="10%" />
54            <col width="15%" />
55            <tr>
56                <th class="alignC">商品コード</th>
57                <th class="alignC">商品名</th>
58                <th class="alignC">商品種別</th>
59                <th class="alignC">単価</th>
60                <th class="alignC">数量</th>
61                <th class="alignC">小計</th>
62            </tr>
63            <!--{foreach from=$tpl_arrOrderDetail item=orderDetail}-->
64                <tr>
65                    <td><!--{$orderDetail.product_code|h}--></td>
66                    <td><a<!--{if $orderDetail.enable}--> href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$orderDetail.product_id|u}-->"<!--{/if}-->><!--{$orderDetail.product_name|h}--></a><br />
67                        <!--{if $orderDetail.classcategory_name1 != ""}-->
68                            <!--{$orderDetail.classcategory_name1|h}--><br />
69                        <!--{/if}-->
70                        <!--{if $orderDetail.classcategory_name2 != ""}-->
71                            <!--{$orderDetail.classcategory_name2|h}-->
72                        <!--{/if}-->
73                    </td>
74                    <td class="alignC">
75                    <!--{if $orderDetail.product_type_id == $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
76                        <!--{if $orderDetail.is_downloadable}-->
77                            <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>
78                        <!--{else}-->
79                            <!--{if $orderDetail.payment_date == "" && $orderDetail.effective == "0"}-->
80                                <!--{$arrProductType[$orderDetail.product_type_id]}--><BR />(入金確認中)
81                            <!--{else}-->
82                                <!--{$arrProductType[$orderDetail.product_type_id]}--><BR />(期限切れ)
83                            <!--{/if}-->
84                        <!--{/if}-->
85                    <!--{else}-->
86                        <!--{$arrProductType[$orderDetail.product_type_id]}-->
87                    <!--{/if}-->
88                    </td>
89                    <!--{assign var=order_price   value=`$orderDetail.price`}-->
90                    <!--{assign var=product_price value=`$orderDetail.product_price`}-->
91                    <!--{assign var=quantity value=`$orderDetail.quantity`}-->
92                    <!--{assign var=tax_rate value=`$orderDetail.tax_rate`}-->
93                    <!--{assign var=tax_rule value=`$orderDetail.tax_rule`}-->
94                    <td class="alignR"><!--{$order_price|sfCalcIncTax:$tax_rate:$tax_rule|number_format|h}-->円
95                    <!--{if $order_price != $product_price}-->
96                        <div class="attention">【現在価格】</div><span class="attention"><!--{$product_price|sfCalcIncTax:$tax_rate:$tax_rule|number_format|h}-->円</span>
97                    <!--{/if}-->
98                    </td>
99                    <td class="alignR"><!--{$quantity|h}--></td>
100                    <td class="alignR"><!--{$order_price|sfCalcIncTax:$tax_rate:$tax_rule|sfMultiply:$quantity|number_format}-->円</td>
101                </tr>
102            <!--{/foreach}-->
103            <tr>
104                <th colspan="5" class="alignR">小計</th>
105                <td class="alignR"><!--{$tpl_arrOrderData.subtotal|number_format}-->円</td>
106            </tr>
107            <!--{assign var=point_discount value="`$tpl_arrOrderData.use_point*$smarty.const.POINT_VALUE`"}-->
108            <!--{if $point_discount > 0}-->
109            <tr>
110                <th colspan="5" class="alignR">ポイント値引き</th>
111                <td class="alignR">&minus;<!--{$point_discount|number_format}-->円</td>
112            </tr>
113            <!--{/if}-->
114            <!--{assign var=key value="discount"}-->
115            <!--{if $tpl_arrOrderData[$key] != "" && $tpl_arrOrderData[$key] > 0}-->
116            <tr>
117                <th colspan="5" class="alignR">値引き</th>
118                <td class="alignR">&minus;<!--{$tpl_arrOrderData[$key]|number_format}-->円</td>
119            </tr>
120            <!--{/if}-->
121            <tr>
122                <th colspan="5" class="alignR">送料</th>
123                <td class="alignR"><!--{assign var=key value="deliv_fee"}--><!--{$tpl_arrOrderData[$key]|number_format|h}-->円</td>
124            </tr>
125            <tr>
126                <th colspan="5" class="alignR">手数料</th>
127                <!--{assign var=key value="charge"}-->
128                <td class="alignR"><!--{$tpl_arrOrderData[$key]|number_format|h}-->円</td>
129            </tr>
130            <tr>
131                <th colspan="5" class="alignR">合計</th>
132                <td class="alignR"><span class="price"><!--{$tpl_arrOrderData.payment_total|number_format}-->円</span></td>
133            </tr>
134        </table>
135
136        <!-- 使用ポイントここから -->
137        <!--{if $smarty.const.USE_POINT !== false}-->
138            <table summary="使用ポイント">
139                <col width="30%" />
140                <col width="70%" />
141                <tr>
142                    <th class="alignL">ご使用ポイント</th>
143                    <td><!--{assign var=key value="use_point"}--><!--{$tpl_arrOrderData[$key]|number_format|default:0}--> pt</td>
144                </tr>
145                <tr>
146                    <th class="alignL">今回加算されるポイント</th>
147                    <td><!--{$tpl_arrOrderData.add_point|number_format|default:0}--> pt</td>
148                </tr>
149            </table>
150        <!--{/if}-->
151        <!-- 使用ポイントここまで -->
152
153        <!--{foreach item=shippingItem name=shippingItem from=$arrShipping}-->
154            <h3>お届け先<!--{if $isMultiple}--><!--{$smarty.foreach.shippingItem.iteration}--><!--{/if}--></h3>
155            <!--{if $isMultiple}-->
156                <table summary="お届け内容確認">
157                    <col width="30%" />
158                    <col width="40%" />
159                    <col width="20%" />
160                    <col width="10%" />
161                    <tr>
162                        <th class="alignC">商品コード</th>
163                        <th class="alignC">商品名</th>
164                        <th class="alignC">単価</th>
165                        <th class="alignC">数量</th>
166                        <!--{* XXX 購入小計と誤差が出るためコメントアウト
167                        <th>小計</th>
168                        *}-->
169                    </tr>
170                    <!--{foreach item=item from=$shippingItem.shipment_item}-->
171                        <tr>
172                            <td><!--{$item.productsClass.product_code|h}--></td>
173                            <td><!--{* 商品名 *}--><!--{$item.productsClass.name|h}--><br />
174                                <!--{if $item.productsClass.classcategory_name1 != ""}-->
175                                    <!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--><br />
176                                <!--{/if}-->
177                                <!--{if $item.productsClass.classcategory_name2 != ""}-->
178                                    <!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}-->
179                                <!--{/if}-->
180                            </td>
181                            <td class="alignR">
182                                <!--{$item.price|sfCalcIncTax:$tpl_arrOrderData.order_tax_rate:$tpl_arrOrderData.order_tax_rule|number_format}-->円
183                            </td>
184                            <td class="alignC"><!--{$item.quantity}--></td>
185                            <!--{* XXX 購入小計と誤差が出るためコメントアウト
186                            <td class="alignR"><!--{$item.total_inctax|number_format}-->円</td>
187                            *}-->
188                        </tr>
189                    <!--{/foreach}-->
190                </table>
191            <!--{/if}-->
192            <table summary="お届け先" class="delivname">
193                <col width="30%" />
194                <col width="70%" />
195                <tbody>
196                    <tr>
197                        <th class="alignL">お名前</th>
198                        <td><!--{$shippingItem.shipping_name01|h}-->&nbsp;<!--{$shippingItem.shipping_name02|h}--></td>
199                    </tr>
200                    <tr>
201                        <th class="alignL">お名前(フリガナ)</th>
202                        <td><!--{$shippingItem.shipping_kana01|h}-->&nbsp;<!--{$shippingItem.shipping_kana02|h}--></td>
203                    </tr>
204                    <tr>
205                        <th class="alignL">郵便番号</th>
206                        <td>〒<!--{$shippingItem.shipping_zip01}-->-<!--{$shippingItem.shipping_zip02}--></td>
207                    </tr>
208                    <tr>
209                        <th class="alignL">住所</th>
210                        <td><!--{$arrPref[$shippingItem.shipping_pref]}--><!--{$shippingItem.shipping_addr01|h}--><!--{$shippingItem.shipping_addr02|h}--></td>
211                    </tr>
212                    <tr>
213                        <th class="alignL">電話番号</th>
214                        <td><!--{$shippingItem.shipping_tel01}-->-<!--{$shippingItem.shipping_tel02}-->-<!--{$shippingItem.shipping_tel03}--></td>
215                    </tr>
216                    <tr>
217                        <th class="alignL">FAX番号</th>
218                        <td>
219                            <!--{if $shippingItem.shipping_fax01 > 0}-->
220                                <!--{$shippingItem.shipping_fax01}-->-<!--{$shippingItem.shipping_fax02}-->-<!--{$shippingItem.shipping_fax03}-->
221                            <!--{/if}-->
222                        </td>
223                    </tr>
224                    <tr>
225                        <th class="alignL">お届け日</th>
226                        <td><!--{$shippingItem.shipping_date|default:'指定なし'|h}--></td>
227                    </tr>
228                    <tr>
229                        <th class="alignL">お届け時間</th>
230                        <td><!--{$shippingItem.shipping_time|default:'指定なし'|h}--></td>
231                    </tr>
232                </tbody>
233            </table>
234        <!--{/foreach}-->
235
236        <br />
237
238        <h3>メール配信履歴一覧</h3>
239        <table>
240            <tr>
241                <th class="alignC">処理日</th>
242                <th class="alignC">通知メール</th>
243                <th class="alignC">件名</th>
244            </tr>
245            <!--{section name=cnt loop=$tpl_arrMailHistory}-->
246            <tr class="center">
247                <td class="alignC"><!--{$tpl_arrMailHistory[cnt].send_date|sfDispDBDate|h}--></td>
248                <!--{assign var=key value="`$tpl_arrMailHistory[cnt].template_id`"}-->
249                <td class="alignC"><!--{$arrMAILTEMPLATE[$key]|h}--></td>
250                <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>
251            </tr>
252            <!--{/section}-->
253        </table>
254
255        <div class="btn_area">
256            <ul>
257                <li>
258                    <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>
259                </li>
260            </ul>
261        </div>
262
263    </div>
264</div>
Note: See TracBrowser for help on using the repository browser.