source: branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/confirm.tpl @ 20407

Revision 20407, 13.3 KB checked in by kotani, 13 years ago (diff)

#812 (トランザクションIDの自動生成/自動検証), #1053 (transactionidが埋め込まれる前にクリックされるとエラー)

  • transactionid用hiddenタグをJavaScriptで生成しないように変更
  • 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 * This file is part of EC-CUBE
3 *
4 * Copyright(c) 2000-2010 LOCKON CO.,LTD. All Rights Reserved.
5 *
6 * http://www.lockon.co.jp/
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
21 *}-->
22<script type="text/javascript" src="<!--{$smarty.const.ROOT_URLPATH}-->js/jquery.fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
23<script type="text/javascript" src="<!--{$smarty.const.ROOT_URLPATH}-->js/jquery.fancybox/jquery.fancybox-1.3.4.pack.js"></script>
24<link rel="stylesheet" href="<!--{$smarty.const.ROOT_URLPATH}-->js/jquery.fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
25<script type="text/javascript">//<![CDATA[
26var send = true;
27
28function fnCheckSubmit() {
29    if(send) {
30        send = false;
31        return true;
32    } else {
33        alert("只今、処理中です。しばらくお待ち下さい。");
34        return false;
35    }
36}
37
38$(document).ready(function() {
39    $('a.expansion').fancybox();
40});
41//]]></script>
42
43<!--▼CONTENTS-->
44<div id="under02column">
45    <div id="under02column_shopping">
46         <h2 class="title"><!--{$tpl_title|h}--></h2>
47
48        <p>下記ご注文内容で送信してもよろしいでしょうか?<br />
49            よろしければ、「<!--{if $use_module}-->次へ<!--{else}-->ご注文完了ページへ<!--{/if}-->」ボタンをクリックしてください。</p>
50
51        <form name="form1" id="form1" method="post" action="?">
52            <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
53            <input type="hidden" name="mode" value="confirm" />
54            <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" />
55            <table summary="ご注文内容確認">
56                <tr>
57                    <th>商品写真</th>
58                    <th>商品名</th>
59                    <th>単価</th>
60                    <th>数量</th>
61                    <th>小計</th>
62                </tr>
63                <!--{foreach from=$arrCartItems item=item}-->
64                <tr>
65                    <td class="phototd">
66                        <a
67                            <!--{if $item.productsClass.main_image|strlen >= 1}-->
68                                href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->"
69                                class="expansion"
70                                target="_blank"
71                            <!--{/if}-->
72                        >
73                            <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&amp;width=40&amp;height=40" alt="<!--{$item.productsClass.name|h}-->" /></a>
74                    </td>
75                    <td>
76                        <ul>
77                            <li><strong><!--{$item.productsClass.name|h}--></strong></li>
78                            <!--{if $item.productsClass.classcategory_name1 != ""}-->
79                            <li><!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--></li>
80                            <!--{/if}-->
81                            <!--{if $item.productsClass.classcategory_name2 != ""}-->
82                            <li><!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}--></li>
83                            <!--{/if}-->
84                        </ul>
85                 </td>
86                 <td class="alignR">
87                     <!--{$item.productsClass.price02|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円
88                 </td>
89                 <td><!--{$item.quantity|number_format}--></td>
90                 <td class="alignR"><!--{$item.total_inctax|number_format}-->円</td>
91             </tr>
92             <!--{/foreach}-->
93                <tr>
94                    <th colspan="4" class="resulttd">小計</th>
95                    <td class="alignR"><!--{$tpl_total_inctax[$cartKey]|number_format}-->円</td>
96                </tr>
97                <!--{if $smarty.const.USE_POINT !== false}-->
98                    <tr>
99                        <th colspan="4" class="resulttd">値引き(ポイントご使用時)</th>
100                        <td class="alignR">
101                        <!--{assign var=discount value=`$arrForm.use_point*$smarty.const.POINT_VALUE`}-->
102                         -<!--{$discount|number_format|default:0}-->円</td>
103                    </tr>
104                <!--{/if}-->
105                <tr>
106                    <th colspan="4" class="resulttd">送料</th>
107                    <td class="pricetd"><!--{$arrForm.deliv_fee|number_format}-->円</td>
108                </tr>
109                <tr>
110                    <th colspan="4" class="resulttd">手数料</th>
111                    <td class="pricetd"><!--{$arrForm.charge|number_format}-->円</td>
112                </tr>
113                <tr>
114                    <th colspan="4" class="resulttd">合計</th>
115                    <td class="pricetd"><em><!--{$arrForm.payment_total|number_format}-->円</em></td>
116                </tr>
117            </table>
118
119            <!--{* ログイン済みの会員のみ *}-->
120            <!--{if $tpl_login == 1 && $smarty.const.USE_POINT !== false}-->
121                <table summary="ポイント確認" class="delivname">
122                    <tr>
123                        <th>ご注文前のポイント</th>
124                        <td><!--{$tpl_user_point|number_format|default:0}-->Pt</td>
125                    </tr>
126                    <tr>
127                        <th>ご使用ポイント</th>
128                        <td>-<!--{$arrForm.use_point|number_format|default:0}-->Pt</td>
129                    </tr>
130                    <!--{if $arrForm.birth_point > 0}-->
131                    <tr>
132                        <th>お誕生月ポイント</th>
133                        <td>+<!--{$arrForm.birth_point|number_format|default:0}-->Pt</td>
134                    </tr>
135                    <!--{/if}-->
136                    <tr>
137                        <th>今回加算予定のポイント</th>
138                        <td>+<!--{$arrForm.add_point|number_format|default:0}-->Pt</td>
139                    </tr>
140                    <tr>
141                    <!--{assign var=total_point value=`$tpl_user_point-$arrForm.use_point+$arrForm.add_point`}-->
142                        <th>加算後のポイント</th>
143                        <td><!--{$total_point|number_format}-->Pt</td>
144                    </tr>
145                </table>
146            <!--{/if}-->
147            <!--{* ログイン済みの会員のみ *}-->
148           
149            <!--お届け先ここから-->
150            <!--{* 販売方法判定(ダウンロード販売のみの場合はお届け先を表示しない) *}-->
151            <!--{if $cartKey != $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
152            <!--{foreach item=shippingItem from=$arrShipping name=shippingItem}-->
153            <h3>▼お届け先<!--{if $is_multiple}--><!--{$smarty.foreach.shippingItem.iteration}--><!--{/if}--></h3>
154           <!--{if $is_multiple}-->
155            <table summary="ご注文内容確認">
156              <tr>
157                <th>商品写真</th>
158                <th>商品名</th>
159                <th>単価</th>
160                <th>数量</th>
161                <!--{* XXX 購入小計と誤差が出るためコメントアウト
162                <th>小計</th>
163                *}-->
164              </tr>
165              <!--{foreach item=item from=$shippingItem.shipment_item}-->
166                  <tr>
167                      <td class="phototd">
168                        <a
169                            <!--{if $item.productsClass.main_image|strlen >= 1}-->
170                                href="<!--{$smarty.const.IMAGE_SAVE_URL}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->"
171                                class="expansion"
172                                target="_blank"
173                            <!--{/if}-->
174                        >
175                            <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&amp;width=65&amp;height=65" alt="<!--{$item.productsClass.name|h}-->" /></a>
176                      </td>
177                      <td><!--{* 商品名 *}--><strong><!--{$item.productsClass.name|h}--></strong><br />
178                          <!--{if $item.productsClass.classcategory_name1 != ""}-->
179                              <!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--><br />
180                          <!--{/if}-->
181                          <!--{if $item.productsClass.classcategory_name2 != ""}-->
182                              <!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}-->
183                          <!--{/if}-->
184                      </td>
185                      <td class="alignR">
186                          <!--{$item.productsClass.price02|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円
187                      </td>
188                      <td id="quantity"><!--{$item.quantity}--></td>
189                      <!--{* XXX 購入小計と誤差が出るためコメントアウト
190                      <td class="alignR"><!--{$item.total_inctax|number_format}-->円</td>
191                      *}-->
192                  </tr>
193              <!--{/foreach}-->
194            </table>
195           <!--{/if}-->
196
197            <table summary="お届け先確認" class="delivname">
198                <tbody>
199                    <tr>
200                        <th>お名前</th>
201                        <td><!--{$shippingItem.shipping_name01|h}--> <!--{$shippingItem.shipping_name02|h}--></td>
202                    </tr>
203                    <tr>
204                        <th>お名前(フリガナ)</th>
205                        <td><!--{$shippingItem.shipping_kana01|h}--> <!--{$shippingItem.shipping_kana02|h}--></td>
206                    </tr>
207                    <tr>
208                        <th>郵便番号</th>
209                        <td>〒<!--{$shippingItem.shipping_zip01|h}-->-<!--{$shippingItem.shipping_zip02|h}--></td>
210                    </tr>
211                    <tr>
212                        <th>住所</th>
213                        <td><!--{$arrPref[$shippingItem.shipping_pref]}--><!--{$shippingItem.shipping_addr01|h}--><!--{$shippingItem.shipping_addr02|h}--></td>
214                    </tr>
215                    <tr>
216                        <th>電話番号</th>
217                        <td><!--{$shippingItem.shipping_tel01}-->-<!--{$shippingItem.shipping_tel02}-->-<!--{$shippingItem.shipping_tel03}--></td>
218                    </tr>
219                <!--{if $cartKey != $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
220                    <tr>
221                        <th>お届け日</th>
222                        <td><!--{$shippingItem.shipping_date|default:"指定なし"|h}--></td>
223                    </tr>
224                    <tr>
225                       <th>お届け時間</th>
226                        <td><!--{$shippingItem.shipping_time|default:"指定なし"|h}--></td>
227                    </tr>
228                <!--{/if}-->
229                </tbody>
230            </table>
231            <!--{/foreach}-->
232            <!--{/if}-->
233            <!--お届け先ここまで-->
234
235            <table summary="配送方法・お支払方法・お届け日時の指定・その他お問い合わせ" class="delivname">
236                <thead>
237                <tr>
238                    <th colspan="2">▼配送方法・お支払方法・お届け日時の指定・その他お問い合わせ</th>
239                </tr>
240                </thead>
241                <tbody>
242                <tr>
243                    <th>配送方法</th>
244                    <td><!--{$arrDeliv[$arrForm.deliv_id]|h}--></td>
245                </tr>
246                <tr>
247                    <th>お支払方法</th>
248                    <td><!--{$arrForm.payment_method|h}--></td>
249                </tr>
250                <tr>
251                    <th>その他お問い合わせ</th>
252                    <td><!--{$arrForm.message|h|nl2br}--></td>
253                </tr>
254                </tbody>
255            </table>
256
257            <div class="tblareabtn">
258            <a href="./payment.php" class="spbtn spbtn-medeum">
259                    戻る</a>&nbsp;
260                <!--{if $use_module}-->
261                 <input type="submit" value="次へ" class="spbtn spbtn-shopping" width="130" height="30" alt="次へ" name="next" id="next" />
262                <!--{else}-->
263                 <input type="submit" value="ご注文完了ページへ" class="spbtn spbtn-shopping" width="130" height="30" alt="ご注文完了ページへ" name="next" id="next" />
264                <!--{/if}-->
265            </div>
266        </form>
267    </div>
268</div>
269<!--▲CONTENTS-->
Note: See TracBrowser for help on using the repository browser.