source: branches/comu-ver2/data/Smarty/templates/default/mypage/history.tpl @ 18397

Revision 18397, 7.3 KB checked in by Seasoft, 11 years ago (diff)
  • フロント機能での定数「DETAIL_P_HTML」「MOBILE_DETAIL_P_HTML」利用の徹底。
  • 用語統一 「商品購入詳細」→「商品詳細」
  • 念のためにエスケープを追加
  • Property svn:eol-style set to LF
  • 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-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"><!--{$tpl_title|escape}--></h2>
27  <!--{include file=$tpl_navi}-->
28  <div id="mycontentsarea">
29    <h3><!--{$tpl_subtitle|escape}--></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    <!--{* (開発者向けレビュー)
43    <form action="order.php" method="post">
44        <input type="hidden" name="order_id" value="<!--{$arrDisp.order_id}-->">
45        <input type="submit" name="submit" value="再注文">
46    </form>
47    *}-->
48
49    <table summary="購入商品詳細">
50      <tr>
51        <th>商品コード</th>
52        <th>商品名</th>
53        <th>単価</th>
54        <th>数量</th>
55        <th>小計</th>
56      </tr>
57      <!--{section name=cnt loop=$arrDisp.quantity}-->
58      <tr>
59        <td><!--{$arrDisp.product_code[cnt]|escape}--></td>
60        <td><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrDisp.product_id[cnt]|escape:url}-->"><!--{$arrDisp.product_name[cnt]|escape}--></a></td>
61        <!--{assign var=price value=`$arrDisp.price[cnt]`}-->
62        <!--{assign var=quantity value=`$arrDisp.quantity[cnt]`}-->
63        <td class="pricetd"><!--{$price|escape|number_format}-->円</td>
64        <td><!--{$quantity|escape}--></td>
65        <td class="pricetd"><!--{$price|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|sfMultiply:$quantity|number_format}-->円</td>
66      </tr>
67      <!--{/section}-->
68      <tr>
69        <th colspan="4" class="resulttd">小計</th>
70        <td class="pricetd"><!--{$arrDisp.subtotal|number_format}-->円</td>
71      </tr>
72      <!--{assign var=point_discount value="`$arrDisp.use_point*$smarty.const.POINT_VALUE`"}-->
73      <!--{if $point_discount > 0}-->
74      <tr>
75        <th colspan="4" class="resulttd">ポイント値引き</th>
76        <td class="pricetd"><!--{$point_discount|number_format}-->円</td>
77      </tr>
78      <!--{/if}-->
79      <!--{assign var=key value="discount"}-->
80      <!--{if $arrDisp[$key] != "" && $arrDisp[$key] > 0}-->
81      <tr>
82        <th colspan="4" class="resulttd">値引き</th>
83        <td class="pricetd"><!--{$arrDisp[$key]|number_format}-->円</td>
84      </tr>
85      <!--{/if}-->
86      <tr>
87        <th colspan="4" class="resulttd">送料</th>
88        <td class="pricetd"><!--{assign var=key value="deliv_fee"}--><!--{$arrDisp[$key]|escape|number_format}-->円</td>
89      </tr>
90      <tr>
91        <th colspan="4" class="resulttd">手数料</th>
92        <!--{assign var=key value="charge"}-->
93        <td class="pricetd"><!--{$arrDisp[$key]|escape|number_format}-->円</td>
94      </tr>
95      <tr>
96        <th colspan="4" class="resulttd">合計</th>
97        <td class="pricetd"><em><!--{$arrDisp.payment_total|number_format}-->円</em></td>
98      </tr>
99    </table>
100
101    <!-- 使用ポイントここから -->
102    <!--{if $smarty.const.USE_POINT !== false}-->
103      <table summary="使用ポイント">
104        <tr>
105          <th>ご使用ポイント</th>
106          <td class="pricetd"><!--{assign var=key value="use_point"}--><!--{$arrDisp[$key]|number_format|default:0}--> pt</td>
107        </tr>
108        <tr>
109          <th>今回加算されるポイント</th>
110          <td class="pricetd"><!--{$arrDisp.add_point|number_format|default:0}--> pt</td>
111        </tr>
112      </table>
113    <!--{/if}-->
114    <!-- 使用ポイントここまで -->
115
116    <table summary="お届け先" class="delivname">
117      <thead>
118        <tr>
119          <th colspan="5">▼お届け先</th>
120        </tr>
121      </thead>
122      <tbody>
123        <tr>
124          <th>お名前</th>
125          <!--{assign var=key1 value="deliv_name01"}-->
126          <!--{assign var=key2 value="deliv_name02"}-->
127          <td><!--{$arrDisp[$key1]|escape}-->&nbsp;<!--{$arrDisp[$key2]|escape}--></td>
128        </tr>
129        <tr>
130          <th>お名前(フリガナ)</th>
131          <!--{assign var=key1 value="deliv_kana01"}-->
132          <!--{assign var=key2 value="deliv_kana02"}-->
133          <td><!--{$arrDisp[$key1]|escape}-->&nbsp;<!--{$arrDisp[$key2]|escape}--></td>
134        </tr>
135        <tr>
136          <th>郵便番号</th>
137          <!--{assign var=key1 value="deliv_zip01"}-->
138          <!--{assign var=key2 value="deliv_zip02"}-->
139          <td>〒<!--{$arrDisp[$key1]}-->-<!--{$arrDisp[$key2]}--></td>
140        </tr>
141        <tr>
142          <th>住所</th>
143          <!--{assign var=pref value=`$arrDisp.deliv_pref`}-->
144          <!--{assign var=key value="deliv_addr01"}-->
145          <td><!--{$arrPref[$pref]}--><!--{$arrDisp[$key]|escape}--><!--{assign var=key value="deliv_addr02"}--><!--{$arrDisp[$key]|escape}--></td>
146        </tr>
147        <tr>
148          <th>電話番号</th>
149          <!--{assign var=key1 value="deliv_tel01"}-->
150          <!--{assign var=key2 value="deliv_tel02"}-->
151          <!--{assign var=key3 value="deliv_tel03"}-->
152          <td><!--{$arrDisp[$key1]}-->-<!--{$arrDisp[$key2]}-->-<!--{$arrDisp[$key3]}--></td>
153        </tr>
154      </tbody>
155    </table>
156
157    <br />
158
159    <h3>メール配信履歴一覧</h3>
160    <table>
161      <tr>
162        <th>処理日</th>
163        <th>通知メール</th>
164        <th>件名</th>
165      </tr>
166      <!--{section name=cnt loop=$arrMailHistory}-->
167      <tr class="center">
168        <td><!--{$arrMailHistory[cnt].send_date|sfDispDBDate|escape}--></td>
169        <!--{assign var=key value="`$arrMailHistory[cnt].template_id`"}-->
170        <td><!--{$arrMAILTEMPLATE[$key]|escape}--></td>
171        <td><a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="win02('./mail_view.php?send_id=<!--{$arrMailHistory[cnt].send_id}-->','mail_view','650','800'); return false;"><!--{$arrMailHistory[cnt].subject|escape}--></a></td>
172      </tr>
173      <!--{/section}-->
174    </table>
175
176    <div class="tblareabtn">
177      <a href="./<!--{$smarty.const.DIR_INDEX_URL}-->" 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>
178    </div>
179
180  </div>
181</div>
182<!--▲CONTENTS-->
Note: See TracBrowser for help on using the repository browser.