source: branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/history.tpl @ 20475

Revision 20475, 10.8 KB checked in by nanasess, 13 years ago (diff)

#703(URLパラメータでは実体参照を用いるべき)

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