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

Revision 21548, 15.6 KB checked in by Seasoft, 12 years ago (diff)

#1625 (typo修正・ソース整形・ソースコメントの改善)

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