source: branches/version-2_12-multilang/data/Smarty/templates/default_en/shopping/confirm.tpl @ 22225

Revision 22225, 14.4 KB checked in by h_yoshimoto, 11 years ago (diff)

#1996 テキストボタン画像のCSS化を一旦コミット

Line 
1<!--{*
2 * This file is part of EC-CUBE
3 *
4 * Copyright(c) 2000-2012 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("Please wait while processing is carried out.");
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        <div class="flow_area">
50            <ol>
51            <li><span>&gt; STEP1</span><br />Delivery destination</li>
52            <li class="large"><span>&gt; STEP2</span><br />Payment method and delivery time</li>
53            <li class="active"><span>&gt; STEP3</span><br />Confirmation</li>
54            <li class="last"><span>&gt; STEP4</span><br />Order complete</li>
55            </ol>
56        </div>
57        <h2 class="title"><!--{$tpl_title|h}--></h2>
58
59        <p class="information">Do you want to send the order details below?<br />
60            Click the "<!--{if $use_module}-->Next<!--{else}-->To order completion page<!--{/if}-->" button.</p>
61
62        <form name="form1" id="form1" method="post" action="?">
63        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
64        <input type="hidden" name="mode" value="confirm" />
65        <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" />
66
67        <div class="btn_area">
68            <ul>
69                <li>
70                    <a class="bt04" href="./payment.php">Go back</a>
71                </li>
72                    <!--{if $use_module}-->
73                <li><button class="bt02" onclick="return fnCheckSubmit();">Next</button></li>
74                   
75                    <!--{else}-->
76                <li><button class="bt02" onclick="return fnCheckSubmit();">To order completion page</button>
77                </li>
78                <!--{/if}-->
79            </ul>
80        </div>
81
82        <table summary="Confirmation of order details">
83            <col width="10%" />
84            <col width="40%" />
85            <col width="20%" />
86            <col width="10%" />
87            <col width="20%" />
88            <tr>
89                <th scope="col">Product photo</th>
90                <th scope="col">Product name</th>
91                <th scope="col">Unit price</th>
92                <th scope="col">Quantity</th>
93                <th scope="col">Subtotal</th>
94            </tr>
95            <!--{foreach from=$arrCartItems item=item}-->
96                <tr>
97                    <td class="alignC">
98                        <a
99                            <!--{if $item.productsClass.main_image|strlen >= 1}--> href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->" class="expansion" target="_blank"
100                            <!--{/if}-->
101                        >
102                            <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>
103                    </td>
104                    <td>
105                        <ul>
106                            <li><strong><!--{$item.productsClass.name|h}--></strong></li>
107                            <!--{if $item.productsClass.classcategory_name1 != ""}-->
108                            <li><!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--></li>
109                            <!--{/if}-->
110                            <!--{if $item.productsClass.classcategory_name2 != ""}-->
111                            <li><!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}--></li>
112                            <!--{/if}-->
113                        </ul>
114                    </td>
115                    <td class="alignR">
116                        &#036; <!--{$item.price|sfCalcIncTax|number_format}-->
117                    </td>
118                    <td class="alignR"><!--{$item.quantity|number_format}--></td>
119                    <td class="alignR">&#036; <!--{$item.total_inctax|number_format}--></td>
120                </tr>
121            <!--{/foreach}-->
122            <tr>
123                <th colspan="4" class="alignR" scope="row">Subtotal</th>
124                <td class="alignR">&#036; <!--{$tpl_total_inctax[$cartKey]|number_format}--></td>
125            </tr>
126            <!--{if $smarty.const.USE_POINT !== false}-->
127                <tr>
128                    <th colspan="4" class="alignR" scope="row">Discount (when using points)</th>
129                    <td class="alignR">
130                        <!--{assign var=discount value=`$arrForm.use_point*$smarty.const.POINT_VALUE`}-->
131                        &#036; -<!--{$discount|number_format|default:0}--></td>
132                </tr>
133            <!--{/if}-->
134            <tr>
135                <th colspan="4" class="alignR" scope="row">Shipping fee</th>
136                <td class="alignR">&#036; <!--{$arrForm.deliv_fee|number_format}--></td>
137            </tr>
138            <tr>
139                <th colspan="4" class="alignR" scope="row">Processing fee</th>
140                <td class="alignR">&#036; <!--{$arrForm.charge|number_format}--></td>
141            </tr>
142            <tr>
143                <th colspan="4" class="alignR" scope="row">Total</th>
144                <td class="alignR"><span class="price">&#036; <!--{$arrForm.payment_total|number_format}--></span></td>
145            </tr>
146        </table>
147
148        <!--{* ログイン済みの会員のみ *}-->
149        <!--{if $tpl_login == 1 && $smarty.const.USE_POINT !== false}-->
150            <table summary="Confirmation of points" class="delivname">
151            <col width="30%" />
152            <col width="70%" />
153                <tr>
154                    <th scope="row">Points before placing order</th>
155                    <td><!--{$tpl_user_point|number_format|default:0}-->Pt</td>
156                </tr>
157                <tr>
158                    <th scope="row">Points used</th>
159                    <td>-<!--{$arrForm.use_point|number_format|default:0}-->Pt</td>
160                </tr>
161                <!--{if $arrForm.birth_point > 0}-->
162                <tr>
163                    <th scope="row">Birthday points</th>
164                    <td>+<!--{$arrForm.birth_point|number_format|default:0}-->Pt</td>
165                </tr>
166                <!--{/if}-->
167                <tr>
168                    <th scope="row">Points expected to be added at this time</th>
169                    <td>+<!--{$arrForm.add_point|number_format|default:0}-->Pt</td>
170                </tr>
171                <tr>
172                <!--{assign var=total_point value=`$tpl_user_point-$arrForm.use_point+$arrForm.add_point`}-->
173                    <th scope="row">Points added</th>
174                    <td><!--{$total_point|number_format}-->Pt</td>
175                </tr>
176            </table>
177        <!--{/if}-->
178        <!--{* ログイン済みの会員のみ *}-->
179
180        <!--お届け先ここから-->
181        <!--{* 販売方法判定(ダウンロード販売のみの場合はお届け先を表示しない) *}-->
182        <!--{if $cartKey != $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
183        <!--{foreach item=shippingItem from=$arrShipping name=shippingItem}-->
184        <h3>Delivery destination<!--{if $is_multiple}--><!--{$smarty.foreach.shippingItem.iteration}--><!--{/if}--></h3>
185        <!--{if $is_multiple}-->
186            <table summary="Confirmation of order details">
187                <col width="10%" />
188                <col width="60%" />
189                <col width="20%" />
190                <col width="10%" />
191                <tr>
192                    <th scope="col">Product photos</th>
193                    <th scope="col">Product name</th>
194                    <th scope="col">Unit price</th>
195                    <th scope="col">Quantity</th>
196                    <!--{* XXX 購入小計と誤差が出るためコメントアウト
197                    <th scope="col">Subtotal</th>
198                    *}-->
199                </tr>
200                <!--{foreach item=item from=$shippingItem.shipment_item}-->
201                    <tr>
202                        <td class="alignC">
203                            <a
204                                <!--{if $item.productsClass.main_image|strlen >= 1}--> href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->" class="expansion" target="_blank"
205                                <!--{/if}-->
206                            >
207                                <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>
208                        </td>
209                        <td><!--{* 商品名 *}--><strong><!--{$item.productsClass.name|h}--></strong><br />
210                            <!--{if $item.productsClass.classcategory_name1 != ""}-->
211                                <!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--><br />
212                            <!--{/if}-->
213                            <!--{if $item.productsClass.classcategory_name2 != ""}-->
214                                <!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}-->
215                            <!--{/if}-->
216                        </td>
217                        <td class="alignR">
218                            &#036; <!--{$item.price|sfCalcIncTax|number_format}-->
219                        </td>
220                        <td class="alignC"><!--{$item.quantity}--></td>
221                        <!--{* XXX 購入小計と誤差が出るためコメントアウト
222                        <td class="alignR">&#036; <!--{$item.total_inctax|number_format}--></td>
223                        *}-->
224                    </tr>
225                <!--{/foreach}-->
226            </table>
227        <!--{/if}-->
228
229        <table summary="Confirm delivery destination" class="delivname">
230            <col width="30%" />
231            <col width="70%" />
232            <tbody>
233                <tr>
234                    <th scope="row">Name</th>
235                    <td><!--{$shippingItem.shipping_name01|h}--> <!--{$shippingItem.shipping_name02|h}--></td>
236                </tr>
237                <tr>
238                    <th scope="row">Postal code</th>
239                    <!--{* <td><!--{$shippingItem.shipping_zip01|h}-->-<!--{$shippingItem.shipping_zip02|h}--></td> *}-->
240                    <td><!--{$shippingItem.shipping_zipcode|h}--></td>
241                </tr>
242                <tr>
243                    <th scope="row">Address</th>
244                    <td><!--{$arrPref[$shippingItem.shipping_pref]}--><!--{$shippingItem.shipping_addr01|h}--><!--{$shippingItem.shipping_addr02|h}--></td>
245                </tr>
246                <tr>
247                    <th scope="row">Telephone number</th>
248                    <td><!--{$shippingItem.shipping_tel01}-->-<!--{$shippingItem.shipping_tel02}-->-<!--{$shippingItem.shipping_tel03}--></td>
249                </tr>
250                <tr>
251                    <th scope="row">Fax number</th>
252                    <td>
253                        <!--{if $shippingItem.shipping_fax01 > 0}-->
254                            <!--{$shippingItem.shipping_fax01}-->-<!--{$shippingItem.shipping_fax02}-->-<!--{$shippingItem.shipping_fax03}-->
255                        <!--{/if}-->
256                    </td>
257                </tr>
258            <!--{if $cartKey != $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
259                <tr>
260                    <th scope="row">Delivery date</th>
261                    <td><!--{$shippingItem.shipping_date|default:"No designation"|h}--></td>
262                </tr>
263                <tr>
264                    <th scope="row">Delivery time</th>
265                    <td><!--{$shippingItem.shipping_time|default:"No designation"|h}--></td>
266                </tr>
267            <!--{/if}-->
268            </tbody>
269        </table>
270        <!--{/foreach}-->
271        <!--{/if}-->
272        <!--お届け先ここまで-->
273
274        <h3>Delivery method/Payment method/Other inquiries</h3>
275        <table summary="Delivery method/Payment method/Other inquiries" class="delivname">
276            <col width="30%" />
277            <col width="70%" />
278            <tbody>
279            <tr>
280                <th scope="row">Delivery method</th>
281                <td><!--{$arrDeliv[$arrForm.deliv_id]|h}--></td>
282            </tr>
283            <tr>
284                <th scope="row">Payment method</th>
285                <td><!--{$arrForm.payment_method|h}--></td>
286            </tr>
287            <tr>
288                <th scope="row">Other inquiries</th>
289                <td><!--{$arrForm.message|h|nl2br}--></td>
290            </tr>
291            </tbody>
292        </table>
293
294        <div class="btn_area">
295            <ul>
296                <li>
297                    <a class="bt04" href="./payment.php">Go back</a>
298                </li>
299                <!--{if $use_module}-->
300                <li><button onclick="return fnCheckSubmit();" class="bt02">Next</button>
301                </li>
302                <!--{else}-->
303                <li><button class="bt02" onclick="return fnCheckSubmit();">To order completion page</button>
304                </li>
305                <!--{/if}-->
306        </ul>
307
308        </div>
309        </form>
310    </div>
311</div>
Note: See TracBrowser for help on using the repository browser.