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

Revision 19943, 15.1 KB checked in by Seasoft, 13 years ago (diff)

#834(パラメータの定数名に「URL」を含むにもかかわらず、パスのみのものがある)

  • パラメータサフィックスの変更 *_URL_PATH → *_URLPATH
  • Property svn:eol-style set to LF
  • 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.URL_PATH}-->js/jquery.facebox/facebox.js"></script>
23<link rel="stylesheet" type="text/css" href="<!--{$smarty.const.URL_PATH}-->js/jquery.facebox/facebox.css" media="screen" />
24<script type="text/javascript">//<![CDATA[
25var send = true;
26
27function fnCheckSubmit() {
28    if(send) {
29        send = false;
30        return true;
31    } else {
32        alert("只今、処理中です。しばらくお待ち下さい。");
33        return false;
34    }
35}
36
37$(document).ready(function() {
38    $('a.expansion').facebox({
39        loadingImage : '<!--{$smarty.const.URL_PATH}-->js/jquery.facebox/loading.gif',
40        closeImage   : '<!--{$smarty.const.URL_PATH}-->js/jquery.facebox/closelabel.png'
41    });
42});
43//]]></script>
44
45<!--▼CONTENTS-->
46<div id="under02column">
47    <div id="under02column_shopping">
48        <p class="flowarea"><img src="<!--{$TPL_DIR}-->img/picture/img_flow_03.gif" width="700" height="36" alt="購入手続きの流れ" /></p>
49        <h2 class="title"><!--{$tpl_title|h}--></h2>
50
51        <p>下記ご注文内容で送信してもよろしいでしょうか?<br />
52            よろしければ、「<!--{if $payment_type != ""}-->次へ<!--{else}-->ご注文完了ページへ<!--{/if}-->」ボタンをクリックしてください。</p>
53
54        <form name="form1" id="form1" method="post" action="?">
55            <input type="hidden" name="mode" value="confirm" />
56            <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" />
57
58            <div class="tblareabtn">
59                <a href="./payment.php" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_back_on.gif',back03)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_back.gif',back03)"><img src="<!--{$TPL_DIR}-->img/button/btn_back.gif" width="150" height="30" alt="戻る" border="0" name="back03-top" id="back03-top" /></a>&nbsp;
60                <!--{if $payment_type != ""}-->
61                <input type="image" onclick="return fnCheckSubmit();" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_next_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_next.gif',this)" src="<!--{$TPL_DIR}-->img/button/btn_next.gif" alt="次へ" class="box150" name="next-top" id="next-top" />
62                <!--{else}-->
63                <input type="image" onclick="return fnCheckSubmit();" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_order_complete_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_order_complete.gif',this)" src="<!--{$TPL_DIR}-->img/button/btn_order_complete.gif" alt="ご注文完了ページへ" class="box150" name="next-top" id="next-top" />                <!--{/if}-->
64            </div>
65
66            <table summary="ご注文内容確認">
67                <tr>
68                    <th>商品写真</th>
69                    <th>商品名</th>
70                    <th>単価</th>
71                    <th>数量</th>
72                    <th>小計</th>
73                </tr>
74                <!--{foreach from=$cartItems item=item}-->
75                <tr>
76                    <td class="phototd">
77                        <a
78                            <!--{if $item.productsClass.main_image|strlen >= 1}-->
79                                href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->"
80                                class="expansion"
81                                target="_blank"
82                            <!--{/if}-->
83                        >
84                            <img src="<!--{$smarty.const.URL_PATH}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&amp;width=65&amp;height=65" alt="<!--{$item.productsClass.name|h}-->" /></a>
85                    </td>
86                    <td>
87                        <ul>
88                            <li><strong><!--{$item.productsClass.name|h}--></strong></li>
89                            <!--{if $item.productsClass.classcategory_name1 != ""}-->
90                            <li><!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--></li>
91                            <!--{/if}-->
92                            <!--{if $item.productsClass.classcategory_name2 != ""}-->
93                            <li><!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}--></li>
94                            <!--{/if}-->
95                        </ul>
96                 </td>
97                 <td class="pricetd">
98                     <!--{$item.productsClass.price02|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円
99                 </td>
100                 <td><!--{$item.quantity|number_format}--></td>
101                 <td class="pricetd"><!--{$item.total_inctax|number_format}-->円</td>
102             </tr>
103             <!--{/foreach}-->
104                <tr>
105                    <th colspan="4" class="resulttd">小計</th>
106                    <td class="pricetd"><!--{$tpl_total_inctax[$cartKey]|number_format}-->円</td>
107                </tr>
108                <!--{if $smarty.const.USE_POINT !== false}-->
109                    <tr>
110                        <th colspan="4" class="resulttd">値引き(ポイントご使用時)</th>
111                        <td class="pricetd">
112                        <!--{assign var=discount value=`$arrData.use_point*$smarty.const.POINT_VALUE`}-->
113                         -<!--{$discount|number_format|default:0}-->円</td>
114                    </tr>
115                <!--{/if}-->
116                <tr>
117                    <th colspan="4" class="resulttd">送料</th>
118                    <td class="pricetd"><!--{$arrData.deliv_fee|number_format}-->円</td>
119                </tr>
120                <tr>
121                    <th colspan="4" class="resulttd">手数料</th>
122                    <td class="pricetd"><!--{$arrData.charge|number_format}-->円</td>
123                </tr>
124                <tr>
125                    <th colspan="4" class="resulttd">合計</th>
126                    <td class="pricetd"><em><!--{$arrData.payment_total|number_format}-->円</em></td>
127                </tr>
128            </table>
129
130            <!--{* ログイン済みの会員のみ *}-->
131            <!--{if $tpl_login == 1 && $smarty.const.USE_POINT !== false}-->
132                <table summary="ポイント確認" class="delivname">
133                    <tr>
134                        <th>ご注文前のポイント</th>
135                        <td><!--{$tpl_user_point|number_format|default:0}-->Pt</td>
136                    </tr>
137                    <tr>
138                        <th>ご使用ポイント</th>
139                        <td>-<!--{$arrData.use_point|number_format|default:0}-->Pt</td>
140                    </tr>
141                    <!--{if $arrData.birth_point > 0}-->
142                    <tr>
143                        <th>お誕生月ポイント</th>
144                        <td>+<!--{$arrData.birth_point|number_format|default:0}-->Pt</td>
145                    </tr>
146                    <!--{/if}-->
147                    <tr>
148                        <th>今回加算予定のポイント</th>
149                        <td>+<!--{$arrData.add_point|number_format|default:0}-->Pt</td>
150                    </tr>
151                    <tr>
152                    <!--{assign var=total_point value=`$tpl_user_point-$arrData.use_point+$arrData.add_point`}-->
153                        <th>加算後のポイント</th>
154                        <td><!--{$total_point|number_format}-->Pt</td>
155                    </tr>
156                </table>
157            <!--{/if}-->
158            <!--{* ログイン済みの会員のみ *}-->
159
160            <!--お届け先ここから-->
161            <!--{* 販売方法判定(ダウンロード販売のみの場合はお届け先を表示しない) *}-->
162            <!--{if $cartKey != $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
163            <!--{foreach item=shippingItem from=$shipping name=shippingItem}-->
164            <h3>▼お届け先<!--{if $isMultiple}--><!--{$smarty.foreach.shippingItem.iteration}--><!--{/if}--></h3>
165           <!--{if $isMultiple}-->
166            <table summary="ご注文内容確認">
167              <tr>
168                <th>商品写真</th>
169                <th>商品名</th>
170                <th>単価</th>
171                <th>数量</th>
172                <!--{* XXX 購入小計と誤差が出るためコメントアウト
173                <th>小計</th>
174                *}-->
175              </tr>
176              <!--{foreach item=item from=$shippingItem.shipment_item}-->
177                  <tr>
178                      <td class="phototd">
179                        <a
180                            <!--{if $item.productsClass.main_image|strlen >= 1}-->
181                                href="<!--{$smarty.const.IMAGE_SAVE_URL}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->"
182                                class="expansion"
183                                target="_blank"
184                            <!--{/if}-->
185                        >
186                            <img src="<!--{$smarty.const.URL_PATH}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&amp;width=65&amp;height=65" alt="<!--{$item.productsClass.name|h}-->" /></a>
187                      </td>
188                      <td><!--{* 商品名 *}--><strong><!--{$item.productsClass.name|h}--></strong><br />
189                          <!--{if $item.productsClass.classcategory_name1 != ""}-->
190                              <!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--><br />
191                          <!--{/if}-->
192                          <!--{if $item.productsClass.classcategory_name2 != ""}-->
193                              <!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}-->
194                          <!--{/if}-->
195                      </td>
196                      <td class="pricetd">
197                          <!--{$item.productsClass.price02|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円
198                      </td>
199                      <td id="quantity"><!--{$item.quantity}--></td>
200                      <!--{* XXX 購入小計と誤差が出るためコメントアウト
201                      <td class="pricetd"><!--{$item.total_inctax|number_format}-->円</td>
202                      *}-->
203                  </tr>
204              <!--{/foreach}-->
205            </table>
206           <!--{/if}-->
207
208            <table summary="お届け先確認" class="delivname">
209                <tbody>
210                    <tr>
211                        <th>お名前</th>
212                        <td><!--{$shippingItem.shipping_name01|h}--> <!--{$shippingItem.shipping_name02|h}--></td>
213                    </tr>
214                    <tr>
215                        <th>お名前(フリガナ)</th>
216                        <td><!--{$shippingItem.shipping_kana01|h}--> <!--{$shippingItem.shipping_kana02|h}--></td>
217                    </tr>
218                    <tr>
219                        <th>郵便番号</th>
220                        <td>〒<!--{$shippingItem.shipping_zip01|h}-->-<!--{$shippingItem.shipping_zip02|h}--></td>
221                    </tr>
222                    <tr>
223                        <th>住所</th>
224                        <td><!--{$arrPref[$shippingItem.shipping_pref]}--><!--{$shippingItem.shipping_addr01|h}--><!--{$shippingItem.shipping_addr02|h}--></td>
225                    </tr>
226                    <tr>
227                        <th>電話番号</th>
228                        <td><!--{$shippingItem.shipping_tel01}-->-<!--{$shippingItem.shipping_tel02}-->-<!--{$shippingItem.shipping_tel03}--></td>
229                    </tr>
230                <!--{if $cartKey != $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
231                    <tr>
232                        <th>お届け日</th>
233                        <td><!--{$shippingItem.shipping_date|default:"指定なし"|h}--></td>
234                    </tr>
235                    <tr>
236                       <th>お届け時間</th>
237                        <td><!--{$shippingItem.shipping_time|default:"指定なし"|h}--></td>
238                    </tr>
239                <!--{/if}-->
240                </tbody>
241            </table>
242            <!--{/foreach}-->
243            <!--{/if}-->
244            <!--お届け先ここまで-->
245
246            <h3>▼お支払方法・その他お問い合わせ</h3>
247            <table summary="お支払方法・その他お問い合わせ" class="delivname">
248                <tbody>
249                <tr>
250                    <th>お支払方法</th>
251                    <td><!--{$arrData.payment_method|h}--></td>
252                </tr>
253                <!--{* 販売方法判定(ダウンロード販売のみの場合はお届け日、時間を表示しない) *}-->
254                <tr>
255                    <th>その他お問い合わせ</th>
256                    <td><!--{$arrData.message|h|nl2br}--></td>
257                </tr>
258                </tbody>
259            </table>
260
261            <!--{if 'sfTSPrintOrderBox'|function_exists}-->
262                <!--{'sfTSPrintOrderBox'|call_user_func}-->
263            <!--{/if}-->
264
265            <div class="tblareabtn">
266                <a href="./payment.php" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_back_on.gif',back03)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_back.gif',back03)"><img src="<!--{$TPL_DIR}-->img/button/btn_back.gif" width="150" height="30" alt="戻る" border="0" name="back03" id="back03" /></a>&nbsp;
267                <!--{if $payment_type != ""}-->
268                <input type="image" onclick="return fnCheckSubmit();" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_next_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_next.gif',this)" src="<!--{$TPL_DIR}-->img/button/btn_next.gif" alt="次へ" class="box150" name="next" id="next" />
269                <!--{else}-->
270                <input type="image" onclick="return fnCheckSubmit();" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_order_complete_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_order_complete.gif',this)" src="<!--{$TPL_DIR}-->img/button/btn_order_complete.gif" alt="ご注文完了ページへ" class="box150" name="next" id="next" />
271                <!--{/if}-->
272            </div>
273        </form>
274    </div>
275</div>
276<!--▲CONTENTS-->
Note: See TracBrowser for help on using the repository browser.