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

Revision 18007, 6.5 KB checked in by kajiwara, 15 years ago (diff)

2.4.0 正式版のコミット。コミット内容の詳細はこちら(http://svn.ec-cube.net/open_trac/query?status=closed&milestone=EC-CUBE2.4.0

  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/html; charset=UTF-8
Line 
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  <!--{include file=$tpl_navi}-->
28  <div id="mycontentsarea">
29    <h3><img src="<!--{$TPL_DIR}-->img/mypage/subtitle05.gif" width="515" height="32" alt="購入履歴詳細" /></h3>
30    <p class="myconditionarea">
31    <strong>購入日時:&nbsp;</strong><!--{$arrDisp.create_date|sfDispDBDate}--><br />
32    <strong>注文番号:&nbsp;</strong><!--{$arrDisp.order_id}--><br />
33    <strong>お支払い方法:&nbsp;</strong><!--{$arrPayment[$arrDisp.payment_id]|escape}-->
34    <!--{if $arrDisp.deliv_time_id != ""}--><br />
35    <strong>お届け時間指定:&nbsp;</strong><!--{$arrDelivTime[$arrDisp.deliv_time_id]|escape}-->
36    <!--{/if}-->
37    <!--{if $arrDisp.deliv_date != ""}--><br />
38    <strong>お届け日指定:&nbsp;</strong><!--{$arrDisp.deliv_date|escape}-->
39    <!--{/if}-->
40    </p>
41
42    <table summary="購入商品詳細">
43      <tr>
44        <th>商品コード</th>
45        <th>商品名</th>
46        <th>単価</th>
47        <th>個数</th>
48        <th>小計</th>
49      </tr>
50      <!--{section name=cnt loop=$arrDisp.quantity}-->
51      <tr>
52        <td><!--{$arrDisp.product_code[cnt]|escape}--></td>
53        <td><a href="<!--{$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{$arrDisp.product_id[cnt]}-->"><!--{$arrDisp.product_name[cnt]|escape}--></a></td>
54        <!--{assign var=price value=`$arrDisp.price[cnt]`}-->
55        <!--{assign var=quantity value=`$arrDisp.quantity[cnt]`}-->
56        <td class="pricetd"><!--{$price|escape|number_format}-->円</td>
57        <td><!--{$quantity|escape}--></td>
58        <td class="pricetd"><!--{$price|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|sfMultiply:$quantity|number_format}-->円</td>
59      </tr>
60      <!--{/section}-->
61      <tr>
62        <th colspan="4" class="resulttd">小計</th>
63        <td class="pricetd"><!--{$arrDisp.subtotal|number_format}-->円</td>
64      </tr>
65      <!--{assign var=point_discount value="`$arrDisp.use_point*$smarty.const.POINT_VALUE`"}-->
66      <!--{if $point_discount > 0}-->
67      <tr>
68        <th colspan="4" class="resulttd">ポイント値引き</th>
69        <td class="pricetd"><!--{$point_discount|number_format}-->円</td>
70      </tr>
71      <!--{/if}-->
72      <!--{assign var=key value="discount"}-->
73      <!--{if $arrDisp[$key] != "" && $arrDisp[$key] > 0}-->
74      <tr>
75        <th colspan="4" class="resulttd">値引き</th>
76        <td class="pricetd"><!--{$arrDisp[$key]|number_format}-->円</td>
77      </tr>
78      <!--{/if}-->
79      <tr>
80        <th colspan="4" class="resulttd">送料</th>
81        <td class="pricetd"><!--{assign var=key value="deliv_fee"}--><!--{$arrDisp[$key]|escape|number_format}-->円</td>
82      </tr>
83      <tr>
84        <th colspan="4" class="resulttd">手数料</th>
85        <!--{assign var=key value="charge"}-->
86        <td class="pricetd"><!--{$arrDisp[$key]|escape|number_format}-->円</td>
87      </tr>
88      <tr>
89        <th colspan="4" class="resulttd">合計</th>
90        <td class="pricetd"><em><!--{$arrDisp.payment_total|number_format}-->円</em></td>
91      </tr>
92    </table>
93
94    <!-- 使用ポイントここから -->
95    <!--{if $smarty.const.USE_POINT === true}-->
96      <table summary="使用ポイント">
97        <tr>
98          <th>ご使用ポイント</th>
99          <td class="pricetd"><!--{assign var=key value="use_point"}--><!--{$arrDisp[$key]|number_format|default:0}--> pt</td>
100        </tr>
101        <tr>
102          <th>今回加算されるポイント</th>
103          <td class="pricetd"><!--{$arrDisp.add_point|number_format|default:0}--> pt</td>
104        </tr>
105      </table>
106    <!--{/if}-->
107    <!-- 使用ポイントここまで -->
108
109    <table summary="お届け先" class="delivname">
110      <thead>
111        <tr>
112          <th colspan="5">▼お届け先</th>
113        </tr>
114      </thead>
115      <tbody>
116        <tr>
117          <th>お名前</th>
118          <!--{assign var=key1 value="deliv_name01"}-->
119          <!--{assign var=key2 value="deliv_name02"}-->
120          <td><!--{$arrDisp[$key1]|escape}-->&nbsp;<!--{$arrDisp[$key2]|escape}--></td>
121        </tr>
122        <tr>
123          <th>お名前(フリガナ)</th>
124          <!--{assign var=key1 value="deliv_kana01"}-->
125          <!--{assign var=key2 value="deliv_kana02"}-->
126          <td><!--{$arrDisp[$key1]|escape}-->&nbsp;<!--{$arrDisp[$key2]|escape}--></td>
127        </tr>
128        <tr>
129          <th>郵便番号</th>
130          <!--{assign var=key1 value="deliv_zip01"}-->
131          <!--{assign var=key2 value="deliv_zip02"}-->
132          <td>〒<!--{$arrDisp[$key1]}-->-<!--{$arrDisp[$key2]}--></td>
133        </tr>
134        <tr>
135          <th>住所</th>
136          <!--{assign var=pref value=`$arrDisp.deliv_pref`}-->
137          <!--{assign var=key value="deliv_addr01"}-->
138          <td><!--{$arrPref[$pref]}--><!--{$arrDisp[$key]|escape}--><!--{assign var=key value="deliv_addr02"}--><!--{$arrDisp[$key]|escape}--></td>
139        </tr>
140        <tr>
141          <th>電話番号</th>
142          <!--{assign var=key1 value="deliv_tel01"}-->
143          <!--{assign var=key2 value="deliv_tel02"}-->
144          <!--{assign var=key3 value="deliv_tel03"}-->
145          <td><!--{$arrDisp[$key1]}-->-<!--{$arrDisp[$key2]}-->-<!--{$arrDisp[$key3]}--></td>
146        </tr>
147      </tbody>
148    </table>
149
150    <div class="tblareabtn">
151      <a href="./index.php" onmouseover="chgImg('<!--{$TPL_DIR}-->img/common/b_back_on.gif','change');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/common/b_back.gif','change');"><img src="<!--{$TPL_DIR}-->img/common/b_back.gif" width="150" height="30" alt="戻る" name="change" id="change" /></a>
152    </div>
153  </div>
154</div>
155<!--▲CONTENTS-->
Note: See TracBrowser for help on using the repository browser.