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

Revision 19883, 13.7 KB checked in by yomoro, 13 years ago (diff)

css3ボタン対応

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