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

Revision 21132, 12.2 KB checked in by nanasess, 13 years ago (diff)

#1413 HTML5 構文修正

  • カート, 複数お届け先指定, 購入確認画面での画像リンクは見づらいので廃止
  • 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<script>//<![CDATA[
23var send = true;
24
25function fnCheckSubmit() {
26    if(send) {
27        send = false;
28        return true;
29    } else {
30        alert("只今、処理中です。しばらくお待ち下さい。");
31        return false;
32    }
33}
34
35//ご注文内容エリアの表示/非表示
36var speed = 1000; //表示アニメのスピード(ミリ秒)
37var stateCartconfirm = 0;
38function fnCartconfirmToggle(areaEl, imgEl) {
39    areaEl.toggle(speed);
40    if (stateCartconfirm == 0) {
41        $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/common/btn_plus.png");
42        stateCartconfirm = 1;
43    } else {
44        $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/common/btn_minus.png");
45        stateCartconfirm = 0
46    }
47}
48//お届け先エリアの表示/非表示
49var stateDelivconfirm = 0;
50function fnDelivconfirmToggle(areaEl, imgEl) {
51    areaEl.toggle(speed);
52    if (stateDelivconfirm == 0) {
53        $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/common/btn_plus.png");
54        stateDelivconfirm = 1;
55    } else {
56        $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/common/btn_minus.png");
57        stateDelivconfirm = 0
58    }
59}
60//配送方法エリアの表示/非表示
61var stateOtherconfirm = 0;
62function fnOtherconfirmToggle(areaEl, imgEl) {
63    areaEl.toggle(speed);
64    if (stateOtherconfirm == 0) {
65        $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/common/btn_plus.png");
66        stateOtherconfirm = 1;
67    } else {
68        $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/common/btn_minus.png");
69        stateOtherconfirm = 0
70    }
71}
72//]]></script>
73
74<!--▼コンテンツここから -->
75<section id="undercolumn">
76
77<h2 class="title"><!--{$tpl_title|h}--></h2>
78
79<!--★インフォメーション★-->
80<div class="information end">
81 <p>下記ご注文内容でよろしければ、「ご注文完了ページへ」ボタンをクリックしてください。</p>
82</div>
83
84<form name="form1" id="form1" method="post" action="<!--{$smarty.const.HTTP_URL}-->shopping/confirm.php">
85            <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
86            <input type="hidden" name="mode" value="confirm" />
87            <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" />
88           
89  <h3 class="subtitle">ご注文内容</h3>
90 
91<section class="cartconfirm_area">
92<div class="form_area">
93<!--▼フォームボックスここから -->
94   <div class="formBox">
95      <!--▼カートの中の商品一覧 -->
96      <div class="cartcartconfirmarea">
97     
98         <!--{foreach from=$arrCartItems item=item}-->
99           <!--▼商品 -->
100             <div class="cartconfirmBox">
101               <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&amp;width=80&amp;height=80" alt="<!--{$item.productsClass.name|h}-->" width="80" height="80" class="photoL" />
102                 <div class="cartconfirmContents">
103                                                                    <div>
104                  <p><em><!--{$item.productsClass.name|h}--></em><br />
105                  <!--{if $item.productsClass.classcategory_name1 != ""}-->
106                      <span class="mini"><!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--></span><br />
107                  <!--{/if}-->
108                  <!--{if $item.productsClass.classcategory_name2 != ""}-->
109                      <span class="mini"><!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}--></span>
110                  <!--{/if}-->
111                  </p>
112                                                                    </div>
113               <ul>
114                 <li><span class="mini">数量:</span><!--{$item.quantity|number_format}--></li>
115                  <li class="result"><span class="mini">小計:</span><!--{$item.total_inctax|number_format}-->円</li>
116                   </ul>
117               </div>
118            </div>
119           <!--▲商品 -->
120         <!--{/foreach}-->
121    </div>
122    <!--▲カートの中の商品一覧ここまで -->
123
124    <!--★合計内訳★-->
125    <div class="result_area">
126        <ul>
127        <li><span class="mini">小計 :</span><!--{$tpl_total_inctax[$cartKey]|number_format}--> 円</li>
128        <!--{if $smarty.const.USE_POINT !== false}-->
129        <li><span class="mini">値引き(ポイントご使用時): </span><!--{assign var=discount value=`$arrForm.use_point*$smarty.const.POINT_VALUE`}-->
130        -<!--{$discount|number_format|default:0}--> 円</li>
131        <!--{/if}-->
132        <li><span class="mini">送料 :</span><!--{$arrForm.deliv_fee|number_format}--> 円</li>
133        <li><span class="mini">手数料 :</span><!--{$arrForm.charge|number_format}--> 円</li>
134        </ul>
135    </div>
136
137    <!--★合計★-->
138    <div class="total_area">
139        <p><span class="mini">合計:</span><span class="price fb"><!--{$arrForm.payment_total|number_format}--> 円</span></p>
140        <!--{* ログイン済みの会員のみ *}-->
141        <!--{if $tpl_login == 1 && $smarty.const.USE_POINT !== false}-->
142        <p><span class="mini">今回加算ポイント:</span> <!--{$arrForm.add_point|number_format|default:0}--> Pt</p>
143        <!--{/if}-->
144    </div>   
145   </div><!--▲formBox -->
146
147    <!--{* ログイン済みの会員のみ *}-->
148    <!--{if $tpl_login == 1 && $smarty.const.USE_POINT !== false}-->
149        <!--★ポイント情報★-->
150        <div class="formBox point_confifrm">
151          <dl>
152            <dt>ご注文前のポイント</dt><dd><!--{$tpl_user_point|number_format|default:0}-->Pt</dd>
153          </dl>
154          <dl>
155            <dt>ご使用ポイント</dt><dd>-<!--{$arrForm.use_point|number_format|default:0}-->Pt</dd>
156          </dl>
157          <!--{if $arrForm.birth_point > 0}-->
158          <dl>
159            <dt>お誕生月ポイント</dt><dd>+<!--{$arrForm.birth_point|number_format|default:0}-->Pt</dd>
160          </dl>
161          <!--{/if}-->
162          <dl>
163            <dt>今回加算予定のポイント</dt><dd>+<!--{$arrForm.add_point|number_format|default:0}--></dd>
164          </dl>
165          <dl>
166              <!--{assign var=total_point value=`$tpl_user_point-$arrForm.use_point+$arrForm.add_point`}-->
167               <dt>加算後のポイント</dt><dd><!--{$total_point|number_format}-->Pt</dd>
168           </dl>
169        </div><!--▲formBox -->
170    <!--{/if}-->
171
172  </div><!--▲form_area -->
173
174</section>
175
176
177<!--★お届け先の確認★-->
178<!--{* 販売方法判定(ダウンロード販売のみの場合はお届け先を表示しない) *}-->
179<!--{if $cartKey != $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
180<section class="delivconfirm_area">
181   <h3 class="subtitle">お届け先</h3>
182
183<div class="form_area">
184
185<!--{foreach item=shippingItem from=$arrShipping name=shippingItem}-->
186<!--▼フォームボックスここから -->
187  <div class="formBox">
188    <dl class="deliv_confirm">
189     <dt>お届け先<!--{if $is_multiple}--><!--{$smarty.foreach.shippingItem.iteration}--><!--{/if}--></dt>   
190      <dd>
191        <p>〒<!--{$shippingItem.shipping_zip01|h}-->-<!--{$shippingItem.shipping_zip02|h}--><br />
192          <!--{$arrPref[$shippingItem.shipping_pref]}--><!--{$shippingItem.shipping_addr01|h}--><!--{$shippingItem.shipping_addr02|h}--></p>
193        <p class="deliv_name"><!--{$shippingItem.shipping_name01|h}--> <!--{$shippingItem.shipping_name02|h}--></p>
194         <p><!--{$shippingItem.shipping_tel01}-->-<!--{$shippingItem.shipping_tel02}-->-<!--{$shippingItem.shipping_tel03}--></p>
195          </dd>
196    <!--{if $cartKey != $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
197     <dd>
198        <ul class="date_confirm">
199          <li><em>お届け日:</em><!--{$shippingItem.shipping_date|default:"指定なし"|h}--></li>
200          <li><em>お届け時間:</em><!--{$shippingItem.shipping_time|default:"指定なし"|h}--></li>
201           </ul>
202        </dd>
203    <!--{/if}-->
204          </dl>
205<!--▼カートの中の商品一覧 -->
206     <div class="cartcartconfirmarea">
207  <!--{foreach item=item from=$shippingItem.shipment_item}-->
208   <!--▼商品 -->
209   <div class="cartconfirmBox">
210     <!--{if $item.productsClass.main_image|strlen >= 1}-->
211       <a href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->" target="_blank">
212       <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&amp;width=80&amp;height=80" alt="<!--{$item.productsClass.name|h}-->" width="80" height="80" class="photoL" /></a>
213     <!--{else}-->
214       <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&amp;width=80&amp;height=80" alt="<!--{$item.productsClass.name|h}-->" width="80" height="80" class="photoL" />
215     <!--{/if}-->
216     <div class="cartconfirmContents">
217      <p><em><!--{$item.productsClass.name|h}--></em><br />
218      <!--{if $item.productsClass.classcategory_name1 != ""}-->
219          <span class="mini"><!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--></span><br />
220      <!--{/if}-->
221      <!--{if $item.productsClass.classcategory_name2 != ""}-->
222          <span class="mini"><!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}--></span>
223      <!--{/if}-->
224      </p>
225      <ul>
226       <li><span class="mini">数量:</span><!--{$item.quantity}--></li>
227       <!--{* XXX デフォルトでは購入小計と誤差が出るためコメントアウト*}-->
228        <li class="result"><span class="mini">小計:</span><!--{$item.total_inctax|number_format}-->円</li>
229         </ul>
230      </div>
231   </div>
232  <!--▲商品 -->
233  <!--{/foreach}-->
234</div>
235<!--▲カートの中の商品一覧ここまで -->
236
237</div><!--▲formBox -->
238<!--{/foreach}-->
239
240</div><!--▲form_area -->
241</section>
242<!--{/if}-->
243
244
245<!--★配送方法・お支払方法など★-->
246<section class="otherconfirm_area">
247  <h3 class="subtitle">配送方法・お支払方法など</h3>
248
249<div class="form_area">
250<!--▼フォームボックスここから -->
251  <div class="formBox">
252   <div class="innerBox">
253     <em>配送方法</em>:<!--{$arrDeliv[$arrForm.deliv_id]|h}-->
254    </div>
255   <div class="innerBox">
256     <em>お支払方法:</em><!--{$arrForm.payment_method|h}-->
257    </div>
258   <div class="innerBox">
259      <em>その他お問い合わせ:</em><br />
260          <!--{$arrForm.message|h|nl2br}-->
261         </div>
262
263  </div><!--▲formBox -->
264</div><!--▲form_area -->
265</section>
266
267<!--★ボタン★-->
268<div class="btn_area">
269<ul class="btn_btm">
270<!--{if $use_module}-->
271<li><a rel="external" href="javascript:void(document.form1.submit());" class="btn">次へ</a></li>
272<!--{else}-->
273<li><a rel="external" href="javascript:void(document.form1.submit());" class="btn">ご注文完了ページへ</a></li>
274<!--{/if}-->
275<li><a rel="external" href="./payment.php" class="btn_back">戻る</a></li>
276</ul>
277</div>
278
279</form>
280</section>
281<!--▼検索バー -->
282<section id="search_area">
283<form method="get" action="<!--{$smarty.const.ROOT_URLPATH}-->products/list.php">
284<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
285<input type="search" name="name" id="search" value="" placeholder="キーワードを入力" class="searchbox" >
286</form>
287</section>
288<!--▲検索バー -->
289<!--▲コンテンツここまで -->
Note: See TracBrowser for help on using the repository browser.