/PhpOnAzure.Web/data/Smarty/templates/sphone/shopping/confirm.tpl
Smarty Template | 288 lines | 243 code | 26 blank | 19 comment | 19 complexity | 889b87b46fc2f4efb62b5967aa2674d7 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1
- <!--{*
- * This file is part of EC-CUBE
- *
- * Copyright(c) 2000-2011 LOCKON CO.,LTD. All Rights Reserved.
- *
- * http://www.lockon.co.jp/
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *}-->
- <script>//<![CDATA[
- var send = true;
- function fnCheckSubmit() {
- if(send) {
- send = false;
- return true;
- } else {
- alert("????????????????????");
- return false;
- }
- }
- //???????????/???
- var speed = 1000; //???????????????
- var stateCartconfirm = 0;
- function fnCartconfirmToggle(areaEl, imgEl) {
- areaEl.toggle(speed);
- if (stateCartconfirm == 0) {
- $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/button/btn_plus.png");
- stateCartconfirm = 1;
- } else {
- $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/button/btn_minus.png");
- stateCartconfirm = 0
- }
- }
- //??????????/???
- var stateDelivconfirm = 0;
- function fnDelivconfirmToggle(areaEl, imgEl) {
- areaEl.toggle(speed);
- if (stateDelivconfirm == 0) {
- $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/button/btn_plus.png");
- stateDelivconfirm = 1;
- } else {
- $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/button/btn_minus.png");
- stateDelivconfirm = 0
- }
- }
- //??????????/???
- var stateOtherconfirm = 0;
- function fnOtherconfirmToggle(areaEl, imgEl) {
- areaEl.toggle(speed);
- if (stateOtherconfirm == 0) {
- $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/button/btn_plus.png");
- stateOtherconfirm = 1;
- } else {
- $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/button/btn_minus.png");
- stateOtherconfirm = 0
- }
- }
- //]]></script>
- <!--?????????? -->
- <section id="undercolumn">
- <h2 class="title"><!--{$tpl_title|h}--></h2>
- <!--???????????-->
- <div class="information end">
- <p>?????????????????????????????????????????</p>
- </div>
- <form name="form1" id="form1" method="post" action="<!--{$smarty.const.ROOT_URLPATH}-->shopping/confirm.php">
- <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
- <input type="hidden" name="mode" value="confirm" />
- <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" />
-
- <h3 class="subtitle">?????</h3>
-
- <section class="cartconfirm_area">
- <div class="form_area">
- <!--????????????? -->
- <div class="formBox">
- <!--??????????? -->
- <div class="cartcartconfirmarea">
-
- <!--{foreach from=$arrCartItems item=item}-->
- <!--??? -->
- <div class="cartconfirmBox">
- <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&width=80&height=80" alt="<!--{$item.productsClass.name|h}-->" width="80" height="80" class="photoL" />
- <div class="cartconfirmContents">
- <div>
- <p><em><!--{$item.productsClass.name|h}--></em><br />
- <!--{if $item.productsClass.classcategory_name1 != ""}-->
- <span class="mini"><!--{$item.productsClass.class_name1}-->?<!--{$item.productsClass.classcategory_name1}--></span><br />
- <!--{/if}-->
- <!--{if $item.productsClass.classcategory_name2 != ""}-->
- <span class="mini"><!--{$item.productsClass.class_name2}-->?<!--{$item.productsClass.classcategory_name2}--></span>
- <!--{/if}-->
- </p>
- </div>
- <ul>
- <li><span class="mini">???</span><!--{$item.quantity|number_format}--></li>
- <li class="result"><span class="mini">???</span><!--{$item.total_inctax|number_format}-->?</li>
- </ul>
- </div>
- </div>
- <!--??? -->
- <!--{/foreach}-->
- </div>
- <!--??????????????? -->
- <!--??????-->
- <div class="result_area">
- <ul>
- <li><span class="mini">?? ?</span><!--{$tpl_total_inctax[$cartKey]|number_format}--> ?</li>
- <!--{if $smarty.const.USE_POINT !== false}-->
- <li><span class="mini">?????????????? </span><!--{assign var=discount value=`$arrForm.use_point*$smarty.const.POINT_VALUE`}-->
- -<!--{$discount|number_format|default:0}--> ?</li>
- <!--{/if}-->
- <li><span class="mini">?? ?</span><!--{$arrForm.deliv_fee|number_format}--> ?</li>
- <li><span class="mini">??? ?</span><!--{$arrForm.charge|number_format}--> ?</li>
- </ul>
- </div>
- <!--????-->
- <div class="total_area">
- <span class="mini">???</span><span class="price fb"><!--{$arrForm.payment_total|number_format}--> ?</span>
- </div>
- </div><!--?formBox -->
- <!--{* ??????????? *}-->
- <!--{if $tpl_login == 1 && $smarty.const.USE_POINT !== false}-->
- <!--????????-->
- <div class="formBox point_confifrm">
- <dl>
- <dt>?????????</dt><dd><!--{$tpl_user_point|number_format|default:0}-->Pt</dd>
- </dl>
- <dl>
- <dt>???????</dt><dd>-<!--{$arrForm.use_point|number_format|default:0}-->Pt</dd>
- </dl>
- <!--{if $arrForm.birth_point > 0}-->
- <dl>
- <dt>????????</dt><dd>+<!--{$arrForm.birth_point|number_format|default:0}-->Pt</dd>
- </dl>
- <!--{/if}-->
- <dl>
- <dt>???????????</dt><dd>+<!--{$arrForm.add_point|number_format|default:0}-->Pt</dd>
- </dl>
- <dl>
- <!--{assign var=total_point value=`$tpl_user_point-$arrForm.use_point+$arrForm.add_point`}-->
- <dt>????????</dt><dd><!--{$total_point|number_format}-->Pt</dd>
- </dl>
- </div><!--?formBox -->
- <!--{/if}-->
- </div><!--?form_area -->
- </section>
- <!--?????????-->
- <!--{* ???????????????????????????????? *}-->
- <!--{if $cartKey != $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
- <section class="delivconfirm_area">
- <h3 class="subtitle">????</h3>
- <div class="form_area">
- <!--{foreach item=shippingItem from=$arrShipping name=shippingItem}-->
- <!--????????????? -->
- <div class="formBox">
- <dl class="deliv_confirm">
- <dt>????<!--{if $is_multiple}--><!--{$smarty.foreach.shippingItem.iteration}--><!--{/if}--></dt>
- <dd>
- <p>?<!--{$shippingItem.shipping_zip01|h}-->-<!--{$shippingItem.shipping_zip02|h}--><br />
- <!--{$arrPref[$shippingItem.shipping_pref]}--><!--{$shippingItem.shipping_addr01|h}--><!--{$shippingItem.shipping_addr02|h}--></p>
- <p class="deliv_name"><!--{$shippingItem.shipping_name01|h}--> <!--{$shippingItem.shipping_name02|h}--></p>
- <p><!--{$shippingItem.shipping_tel01}-->-<!--{$shippingItem.shipping_tel02}-->-<!--{$shippingItem.shipping_tel03}--></p>
- </dd>
- <!--{if $cartKey != $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
- <dd>
- <ul class="date_confirm">
- <li><em>?????</em><!--{$shippingItem.shipping_date|default:"????"|h}--></li>
- <li><em>??????</em><!--{$shippingItem.shipping_time|default:"????"|h}--></li>
- </ul>
- </dd>
- <!--{/if}-->
- </dl>
- <!--{if $is_multiple}-->
- <!--??????????? -->
- <div class="cartcartconfirmarea">
- <!--{foreach item=item from=$shippingItem.shipment_item}-->
- <!--??? -->
- <div class="cartconfirmBox">
- <!--{if $item.productsClass.main_image|strlen >= 1}-->
- <a href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->" target="_blank">
- <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&width=80&height=80" alt="<!--{$item.productsClass.name|h}-->" width="80" height="80" class="photoL" /></a>
- <!--{else}-->
- <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&width=80&height=80" alt="<!--{$item.productsClass.name|h}-->" width="80" height="80" class="photoL" />
- <!--{/if}-->
- <div class="cartconfirmContents">
- <p><em><!--{$item.productsClass.name|h}--></em><br />
- <!--{if $item.productsClass.classcategory_name1 != ""}-->
- <span class="mini"><!--{$item.productsClass.class_name1}-->?<!--{$item.productsClass.classcategory_name1}--></span><br />
- <!--{/if}-->
- <!--{if $item.productsClass.classcategory_name2 != ""}-->
- <span class="mini"><!--{$item.productsClass.class_name2}-->?<!--{$item.productsClass.classcategory_name2}--></span>
- <!--{/if}-->
- </p>
- <ul>
- <li><span class="mini">???</span><!--{$item.quantity}--></li>
- <!--{* XXX ??????????????????????????*}-->
- <li class="result"><span class="mini">???</span><!--{$item.total_inctax|number_format}-->?</li>
- </ul>
- </div>
- </div>
- <!--??? -->
- <!--{/foreach}-->
- </div>
- <!--??????????????? -->
- <!--{/if}-->
- </div><!--?formBox -->
- <!--{/foreach}-->
- </div><!--?form_area -->
- </section>
- <!--{/if}-->
- <!--??????????????-->
- <section class="otherconfirm_area">
- <h3 class="subtitle">????????????</h3>
- <div class="form_area">
- <!--????????????? -->
- <div class="formBox">
- <div class="innerBox">
- <em>????</em>?<!--{$arrDeliv[$arrForm.deliv_id]|h}-->
- </div>
- <div class="innerBox">
- <em>??????</em><!--{$arrForm.payment_method|h}-->
- </div>
- <div class="innerBox">
- <em>??????????</em><br />
- <!--{$arrForm.message|h|nl2br}-->
- </div>
- </div><!--?formBox -->
- </div><!--?form_area -->
- </section>
- <!--?????-->
- <div class="btn_area">
- <ul class="btn_btm">
- <!--{if $use_module}-->
- <li><a rel="external" href="javascript:void(document.form1.submit());" class="btn">??</a></li>
- <!--{else}-->
- <li><a rel="external" href="javascript:void(document.form1.submit());" class="btn">?????????</a></li>
- <!--{/if}-->
- <li><a rel="external" href="./payment.php" class="btn_back">??</a></li>
- </ul>
- </div>
- </form>
- </section>
- <!--????? -->
- <section id="search_area">
- <form method="get" action="<!--{$smarty.const.ROOT_URLPATH}-->products/list.php">
- <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
- <input type="hidden" name="mode" value="search" />
- <input type="search" name="name" id="search" value="" placeholder="????????" class="searchbox" >
- </form>
- </section>
- <!--????? -->
- <!--?????????? -->