Server : Apache System : Linux iZ2vcgyutqttsd1p850kl8Z 3.10.0-1160.92.1.el7.x86_64 #1 SMP Tue Jun 20 11:48:01 UTC 2023 x86_64 User : www ( 1000) PHP Version : 5.6.40 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv Directory : /www/wwwroot/saimikebio.com/mobile/themes/lingshi/ |
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>{$page_title}</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" /> <meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-status-bar-style" content="black" /> <meta name="format-detection" content="telephone=no" /> <link href="{$ectouch_themes}/images/touch-icon.png" rel="apple-touch-icon-precomposed" /> <link href="{$ectouch_themes}/images/favicon.ico" rel="shortcut icon" type="image/x-icon" /> <link href="{$ectouch_css}" rel="stylesheet" type="text/css" /> {* 包含脚本文件 *} {insert_scripts files='common.js,shopping_flow.js'} {insert_scripts files='transportjq.js,utils.js'} <script type="text/javascript" src="{$ectouch_themes}/js/jquery-1.4.4.min.js"></script> <script type="text/javascript" src="{$ectouch_themes}/js/jquery.json.js"></script> <script type="text/javascript" src="{$ectouch_themes}/js/TouchSlide.js"></script> <script type="text/javascript" src="{$ectouch_themes}/js/ectouch.js"></script> </head> <body> <!-- {if $step eq "cart"} --> <div id="page"> <header id="header"> <div class="header_l"> <a class="ico_10" href="{$jump_http_referer}"> 返回 </a> </div> <h1>购物车</h1> <div class="header_r"></div> </header> </div> <!-- 购物车内容 --> {* 包含脚本文件 *} {insert_scripts files='showdiv.js'} <script type="text/javascript"> {foreach from=$lang.password_js item=item key=key} var {$key} = "{$item}"; {/foreach} </script> <div class="cart-step" id="J_cartTab"> <ul> <li class="cur">1.购物车列表</li> <li>2.确认订单</li> <li>3.购买成功</li> </ul> </div> <div class="blank1n"></div> <!-- {if $goods_list } --> <section class="wrap" style="padding-bottom:3rem" > <form id="formCart1" name="formCart" method="post" action="flow.php"> <ul class="radius10 itemlist"> <!-- {foreach from=$goods_list item=goods} --> <li class="new-tbl-type"> <div class="selcartgoods new-tbl-cell"> <input type="checkbox" {if !$goods.is_cansel} disabled {else} checked=checked {/if} autocomplete="off" name="sel_cartgoods[]" value="{$goods.rec_id}" id="sel_cartgoods_{$goods.rec_id}" onclick="select_cart_goods();"><label for="sel_cartgoods_{$goods.rec_id}"></label> </div> <div class="itemlist_l new-tbl-cell" style="width:30%;"> <!-- {if $goods.goods_id gt 0 && $goods.extension_code neq 'package_buy'} 商品 --> <a href="goods.php?id={$goods.goods_id}" target="_blank"> <img class="lazy" src="{$site_url}{$goods.goods_thumb}" border="0" title="{$goods.goods_name|escape:html}" /> </a> <!-- {if $goods.parent_id gt 0} 配件 --> <span style="color:#FF0000">({$lang.accessories})</span> <!-- {/if} --> <!-- {if $goods.is_gift gt 0} 赠品 --> <span style="color:#FF0000">({$lang.largess})</span> <!-- {/if} --> <!-- {elseif $goods.goods_id gt 0 && $goods.extension_code eq 'package_buy'} --> <a href="javascript:void(0)" onClick="setSuitShow({$goods.goods_id})" class="f6">{$goods.goods_name}<span style="color:#FF0000;">({$lang.remark_package})</span></a> <div id="suit_{$goods.goods_id}" style="display:none"> <!-- {foreach from=$goods.package_goods_list item=package_goods_list} --> <a href="goods.php?id={$package_goods_list.goods_id}" target="_blank" class="f6">{$package_goods_list.goods_name}</a><br /> <!-- {/foreach} --> </div> <!-- {else} 优惠活动 --> {$goods.goods_name} <!-- {/if} --> </div> <div class="desc new-tbl-cell"> <a style="color:#333" href="goods.php?id={$goods.goods_id}" target="_blank" class="fragment"> <h4>{$goods.goods_name}</h4> </a> <div style="clear:both"> </div> <!-- {if $show_goods_attribute eq 1} 显示商品属性 --> <p> {$goods.goods_attr|nl2br} </p> <!-- {/if} --> <div class="b"> <em class="price">{$goods.goods_price}</em> <span class="jianju">x </span> <!-- {if $goods.goods_id gt 0 && $goods.is_gift eq 0 && $goods.parent_id eq 0} 普通商品可修改数量 --> <span class="txt"> <button type="button" class="decrease" onclick="changenum({$goods.rec_id},-1)">-</button> <input class="num" type="text" min="1" max="1000" name="goods_number[{$goods.rec_id}]" id="goods_number_{$goods.rec_id}" value="{$goods.goods_number}" size="4" onkeyup="changenum({$goods.rec_id},0)"/> <input type="hidden" id="goods_min_number_{$goods.rec_id}" value="{$goods.min_number}" /> <button type="button" class="increase" onclick="changenum({$goods.rec_id},1)">+</button> </span> <!-- {else} --> <span> {$goods.goods_number} </span> <!-- {/if} --> <a href="javascript:if (confirm('{$lang.drop_goods_confirm}')) location.href='flow.php?step=drop_goods&id={$goods.rec_id}'; " class="ico_08 cha"> </a> </div> </div> </li> <!-- {/foreach} --> </ul> {insert_scripts files='transportjq.js'} <script> function changenum(rec_id,diff){ var num = parseInt(document.getElementById('goods_number_'+rec_id).value); var min_num = parseInt(document.getElementById('goods_min_number_'+rec_id).value); var goods_number = num + Number(diff); if( goods_number >= 1){ {if $goods.min_number} if(goods_number < min_num) { alert('本商品最少订购数量为'+min_num); var goods_number = min_num; } {/if} document.getElementById('goods_number_'+rec_id).value = goods_number;//更新数量 change_goods_number(rec_id,goods_number); } } function change_goods_number(rec_id, goods_number) { var sel_goods = new Array(); var obj_cartgoods = document.getElementsByName("sel_cartgoods[]"); var j=0; for (i=0;i<obj_cartgoods.length;i++) { if(obj_cartgoods[i].checked == true) { sel_goods[j] = obj_cartgoods[i].value; j++; } } Ajax.call('flow.php?step=ajax_update_cart', 'sel_goods='+ sel_goods +'&rec_id=' + rec_id +'&goods_number=' + goods_number, change_goods_number_response, 'POST','JSON'); } function change_goods_number_response(result) { if (result.error == 0) { var rec_id = result.rec_id; document.getElementById('total_number').innerHTML = result.total_number;//更新数量 document.getElementById('goods_subtotal').innerHTML = result.total_desc;//更新小计 if (document.getElementById('ECS_CARTINFO')) {//更新购物车数量 document.getElementById('ECS_CARTINFO').innerHTML = result.cart_info; } } else if (result.message != '') { alert(result.message); } } </script> <input type="hidden" name="step" id="actname" value="update_cart" /> </form> <script type="text/javascript" charset="utf-8"> function chkAll_onclick(){ var obj = document.getElementById('chkAll'); var obj_cartgoods = document.getElementsByName("sel_cartgoods[]"); for (var i=0;i<obj_cartgoods.length;i++){ if(!obj_cartgoods[i].disabled){ var e = obj_cartgoods[i]; if (e.name != 'chkAll'){ e.checked = obj.checked; } } } select_cart_goods(); } function select_cart_goods(){ var sel_goods = new Array(); var obj_cartgoods = document.getElementsByName("sel_cartgoods[]"); var j=0; var c = true; for (i=0;i<obj_cartgoods.length;i++){ if(obj_cartgoods[i].checked == true){ sel_goods[j] = obj_cartgoods[i].value; j++; }else{ c = false; } } document.getElementById('chkAll').checked = c; Ajax.call('flow.php', 'act=selcart&sel_goods=' + sel_goods, selcartResponse, 'GET', 'JSON'); } function selcartResponse(res){ if (res.err_msg.length > 0){ alert(res.err_msg); }else{ document.getElementById('total_number').innerHTML = res.total_number; document.getElementById('goods_subtotal').innerHTML = res.result; } } function selcart_submit(){ var obj_cartgoods = document.getElementsByName("sel_cartgoods[]"); var formobj = document.getElementById('formCart1'); var j=0; for (i=0;i<obj_cartgoods.length;i++){ if(obj_cartgoods[i].checked == true){ j++; } } if (j>0){ formobj.action='flow.php?step=checkout'; document.getElementById('actname').value='checkout'; formobj.submit(); return true; }else{ alert('您还没有选择商品哦!'); return false; } } </script> </section> <footer class="toolbar"> <span class="selcartgoods"><input type="checkbox" autocomplete="off" id="chkAll" name="chkAll" checked=true onclick="return chkAll_onclick()"><label for="chkAll">全选</label></span> <p>合计: <em class="price" id="goods_subtotal">{$total.goods_price}</em></p> <a onclick="return selcart_submit();">结算(<em class="num" id="total_number">{$total.total_number}</em>)</a> </footer> <!-- {else} --> <section class="wrap" > <div class="empty-cart"> <div class="ico_13 cart-logo"></div> <p class="message">没有宝贝哦,不如去添加宝贝</p> <div class="flex"> <a class="c-btn2 flex_in radius5" href="index.php" style=" background:#6bd0a2"> <i class="ico_04_b"></i> 去购物 </a> <a class="c-btn2 flex_in radius5" href="user.php?act=collection_list" style=" margin-left:0.5rem"> 查看收藏夹</a> </div> </div> </section> <!-- {/if} --> <!-- {if $smarty.session.user_id gt 0} --> {insert_scripts files='transportjq.js'} <script type="text/javascript" charset="utf-8"> function collect_to_flow(goodsId) { var goods = new Object(); var spec_arr = new Array(); var fittings_arr = new Array(); var number = 1; goods.spec = spec_arr; goods.goods_id = goodsId; goods.number = number; goods.parent = 0; Ajax.call('flow.php?step=add_to_cart', 'goods=' + goods.toJSONString(), collect_to_flow_response, 'POST', 'JSON'); } function collect_to_flow_response(result) { if (result.error > 0) { // 如果需要缺货登记,跳转 if (result.error == 2) { if (confirm(result.message)) { location.href = 'user.php?act=add_booking&id=' + result.goods_id; } } else if (result.error == 6) { openSpeDiv(result.message, result.goods_id); } else { alert(result.message); } } else { location.href = 'flow.php'; } } </script> <!-- {/if} --> <!-- {/if} --> <!-- {if $step eq "consignee"} --> <!-- 开始收货人信息填写界面 --> {insert_scripts files='region.js,utils.js'} <script type="text/javascript"> region.isAdmin = false; {foreach from=$lang.flow_js item=item key=key} var {$key} = "{$item}"; {/foreach} {literal} onload = function() { if (!document.all) { document.forms['theForm'].reset(); } } {/literal} </script> <div id="page"> <header id="header"> <div class="header_l"> <a class="ico_10" href="flow.php?step=cart"> 返回 </a> </div> <h1> 收货人信息 </h1> </header> </div> <div class="cart-step" id="J_cartTab"> <ul> <li>1.购物车列表</li> <li class="cur">2.确认订单</li> <li>3.购买成功</li> </ul> </div> <div class="blank1n"></div> <div class="wrap"> <!-- 如果有收货地址,循环显示用户的收获地址 --> <!-- {foreach from=$consignee_list item=consignee key=sn} --> <section class="order_box padd1 radius10" style="padding-top:0;padding-bottom:0;"> <div class="table_box2 table_box"> <form style="padding:8px;" action="flow.php" method="post" name="theForm" id="theForm" onSubmit="return checkConsignee(this)"> <!-- #BeginLibraryItem "/Library/consignee.lbi" --><!-- #EndLibraryItem --> </form> </div> </section> <div class="blank1n"></div> <!-- {/foreach} --> </div> <!-- {/if} --> <!-- {if $step eq "checkout"} 开始订单确认界面 --> <script> onload = function() { var sp = document.getElementsByName('shipping'); for (i=0;i<sp.length;i++){ if (sp[i].checked){ oRadioValue = sp[i]; } } selectShipping(oRadioValue ); var py = document.getElementsByName('payment'); for (i=0;i<py.length;i++){ if (py[i].checked){ oRadioValue = py[i]; } } selectPayment(oRadioValue ); var pack = document.getElementsByName('pack'); for (i=0;i<pack.length;i++){ if (pack[i].checked){ oRadioValue = pack[i]; } } selectPack(oRadioValue ); var bonus = document.getElementsByName('bonus'); for (i=0;i<bonus.length;i++){ if (bonus[i].checked){ oRadioValue = bonus[i]; } } changeBonus(oRadioValue ); var card = document.getElementsByName('card'); for (i=0;i<card.length;i++){ if (card[i].checked){ oRadioValue = card[i]; } } selectCard(oRadioValue ); } </script> <div id="page"> <header id="header"> <div class="header_l"> <a class="ico_10" href="flow.php"> 返回 </a> </div> <h1> 确认订单 </h1> </header> </div> <div class="cart-step" id="J_cartTab"> <ul> <li>1.购物车列表</li> <li class="cur">2.确认订单</li> <li>3.购买成功</li> </ul> </div> <div class="blank1n"></div> <section class="wrap"> <form action="flow.php" method="post" name="theForm" id="theForm" onSubmit="return checkOrderForm(this)"> <script type="text/javascript"> var flow_no_payment = "{$lang.flow_no_payment}"; var flow_no_shipping = "{$lang.flow_no_shipping}"; </script> <section class="order_box padd1 radius10" style="padding-top:0"> <div class="in"> <div class="table_box table_box1"> <dl> <dd>{$lang.consignee_name}<span class="dspan1">{$consignee.consignee|escape}</span></dd> <dd>手机号码<span class="dspan1">{$consignee.mobile}</span></dd> </dl> <dl> <dd>{$lang.detailed_address}<span class="dspan1">{$consignee.province_name|escape}{$consignee.city_name|escape}{$consignee.district_name|escape}{$consignee.address|escape}</span></dd> <dd><a href="flow.php?step=consignee" class="modify radius5">{$lang.modify}</a></dd> </dl> </div> </div> </section> <div class="blank1n"></div> <section class="order_box padd1 radius10" style="padding-top:0.3rem;padding-bottom:0.3rem;"> <div class="table_box table_box2"> <!--{if $total.real_goods_count neq 0}--> <dl> <dd class="dd4">{$lang.shipping_method} <span class="span1 radius5">必填</span></dd> <dd class="dd2" id="selected1">请选择配送方式</dd> <i></i> </dl> <div class="dl_box" id="shipping" style="display:none"> <!-- {foreach from=$shipping_list item=shipping} 循环配送方式 --> <p> <input name="shipping" type="radio" class="radio" id="shipping_{$shipping.shipping_id}" value="{$shipping.shipping_id}" {if $order.shipping_id eq $shipping.shipping_id}checked="true"{/if} supportCod="{$shipping.support_cod}" insure="{$shipping.insure}" onclick="selectShipping(this)" style="vertical-align:middle" /><label for="shipping_{$shipping.shipping_id}"> {$shipping.shipping_name} [{$shipping.format_shipping_fee}]</label> </p> <!-- {/foreach} 循环配送方式 --> <!-- <input name="need_insure" id="ECS_NEEDINSURE" type="checkbox" onclick="selectInsure(this.checked)" value="1" {if $order.need_insure}checked="true"{/if} {if $insure_disabled}disabled="true"{/if} /> {$lang.need_insure}--> </div> <!--{else}--> <input name="shipping" type="radio" value = "-1" checked="checked" style="display:none"/> <!--{/if}--> <!--{if $is_exchange_goods neq 1 || $total.real_goods_count neq 0}--> <dl> <dd class="dd4">{$lang.payment_method} <span class="span1 radius5">必填</span></dd> <dd class="dd2 selectPayment" id="selected2">请选择支付方式</dd> <i></i> </dl> <div class="dl_box" id="payment" style="display:none"> <!-- {foreach from=$payment_list item=payment} --> <p> <input type="radio" class="radio" name="payment" id="payment_{$payment.pay_id}" value="{$payment.pay_id}" {if $order.pay_id eq $payment.pay_id}checked{/if} isCod="{$payment.is_cod}" onclick="selectPayment(this)" {if $cod_disabled and $payment.is_cod eq "1"}disabled="true"{/if} style="vertical-align:middle" /><label for="payment_{$payment.pay_id}">{$payment.pay_name} [{$payment.format_pay_fee}]</label> {if $payment.pay_code eq bank} <br> 【{$payment.pay_desc}】 {/if} </p> <!-- {/foreach} --> </div> <!--{else}--> <input name = "payment" type="radio" value = "-1" checked="checked" style="display:none"/> <!--{/if}--> <!-- {if $inv_content_list} 能否开发票 --> <dl class="b_no" style="line-height: 40px;"> <dd class="dd1">是否开票</dd> <label for="ECS_NEEDINV"><span class="modRadio fr" style="margin-top: 10px;"> <i class="fl"></i> <ins>否</ins> </span></label> </dl> <div class="dl_box" id="inviype_box" style="margin-bottom:0.5rem; display:none;"> <dl style="line-height: 40px;"> <dd class="c333">发票类型</dd> <dd> <input name="need_inv" type="checkbox" class="input" id="ECS_NEEDINV" onclick="changeNeedInv()" value="1" {if $order.need_inv}checked="true"{/if} style="display:none;" /> <!-- {if $inv_type_list} --> {$lang.invoice_type} <select name="inv_type" id="ECS_INVTYPE" {if $order.need_inv neq 1}disabled="true"{/if} onchange="changeNeedInv()" style="border:1px solid #ccc;"> {html_options options=$inv_type_list selected=$order.inv_type}</select> <!-- {/if} --> </dd> </dl> <dl style="line-height: 40px;"> <dd class="c333">发票抬头</dd> <dd><input name="inv_payee" type="text" class="input" id="ECS_INVPAYEE" size="20" value="{$order.inv_payee}" {if !$order.need_inv}disabled="true"{/if} onblur="changeNeedInv()" /></dd> </dl> <dl style="line-height: 40px;"> <dd class="c333"> 发票内容 </dd> <dd> <select name="inv_content" id="ECS_INVCONTENT" {if $order.need_inv neq 1}disabled="true"{/if} onchange="changeNeedInv()" style="border:1px solid #ccc;"> {html_options values=$inv_content_list output=$inv_content_list selected=$order.inv_content} </select> </dd> </dl> </div> <!-- {/if} --> </div> </section> <div class="blank1n"></div> <section class="order_box padd1 radius10" style="padding-top:0.3rem;padding-bottom:0.3rem;"> <div class="table_box table_box2" style=" margin-bottom:0.5rem"> <!-- {if $allow_use_bonus} 是否使用红包 --> <dl> <dd class="dd1"> {$lang.use_bonus} </dd> <dd class="dd2" id="selected4"> 未选择 </dd> <i></i> </dl> <div class="dl_box" id="bonus_box" style="display:none;"> <!-- {foreach from=$bonus_list item=bonus} --> <p> <input name="bonus" type="radio" class="radio" value="0" {if $order.bonus_id eq 0}selected{/if} onclick="changeBonus(this.value)" />不使用红包 </p> <p> <input name="bonus" type="radio" id="bonus_{$bonus.bonus_id}" class="radio" value="{$bonus.bonus_id}" onclick="changeBonus(this.value)" /><label for="bonus_{$bonus.bonus_id}">{$bonus.type_name}[{$bonus.bonus_money_formated}]</label> </p> <!-- {/foreach} --> </div> <!-- {/if} 是否使用红包 --> <!-- {if $pack_list} 是否有包装 --> <dl class="b_no"> <dd class="dd1">{$lang.goods_package}</dd> <dd class="dd2" id="selected5"> 未选择 </dd> <i></i> </dl> <div class="dl_box" id="package_box" style="display:none;"> <p> <input type="radio" class="radio" name="pack" value="0" {if $order.pack_id eq 0}checked="true"{/if} onclick="selectPack(this)" />{$lang.no_pack}</p> <!-- {foreach from=$pack_list item=pack} 循环包装 --> <p><input type="radio" class="radio" name="pack" id="pack_{$pack.pack_id}" value="{$pack.pack_id}" {if $order.pack_id eq $pack.pack_id}checked="true"{/if} onclick="selectPack(this)" /><label for="pack_{$pack.pack_id}">{$pack.pack_name}[{$pack.format_pack_fee}]</label></p> <!-- {/foreach} 循环包装 --> </div> <!-- {/if} 是否使用包装 --> <!-- {if $card_list} 是否有贺卡 --> <dl class="b_no"> <dd class="dd1">{$lang.goods_card}</dd> <dd class="dd2" id="selected6"> 未选择 </dd> <i></i> </dl> <div class="dl_box" id="card_box" style="display:none;"> <p> <input type="radio" class="radio" name="card" value="0" {if $order.card_id eq 0}checked="true"{/if} onclick="selectCard(this)" />{$lang.no_card}</p> <!-- {foreach from=$card_list item=card} 循环贺卡 --> <p><input type="radio" class="radio" name="card" id="card_{$card.card_id}" value="{$card.card_id}" {if $order.card_id eq $card.card_id}checked="true"{/if} onclick="selectCard(this)" /><label for="card_{$card.card_id}">{$card.card_name}[{$card.format_card_fee}]</label> </p> <!-- {/foreach} 循环贺卡 --> </div> <!-- {/if} 是否使用贺卡 --> <!-- {if $allow_use_surplus} 是否使用余额 --> <div class="dl_box"> <dl> <dd class="dd1">{$lang.use_surplus}</dd> <dd class="weiruan" bgcolor="#ffffff"><input name="surplus" type="text" class="inputBg" id="ECS_SURPLUS" size="20" value="{$order.surplus|default:0}" onblur="changeSurplus(this.value)" {if $disable_surplus}disabled="disabled"{/if} /></dd> </dl> </div> <div class="dl_box"> <dl> <dd class="dd1"></dd> <dd class="weiruan" bgcolor="#ffffff">可用余额:<span class="f4_c">{$your_surplus|default:0}</span> </dd> </dl> </div> <!-- {/if} 是否使用余额 --> <div class="dl_box"> <dl> <dd class="dd1">留言备注</dd> <dd class="weiruan" bgcolor="#ffffff"> <input placeholder="请输入订单备注" id="postscript" name="postscript" type="text" size="20" class="inputBg" /> </dd> </dl> </div> <!-- {if $allow_use_integral} 是否使用积分 --> <div class="dl_box"> <dl> <dd class="dd1">{$lang.use_integral}</dd> <dd class="weiruan" bgcolor="#ffffff"><input name="integral" type="text" id="ECS_INTEGRAL" onblur="changeIntegral(this.value)" value="{$order.integral|default:0}" size="20" class="inputBg" /></dd> </dl> </div> <div class="dl_box"> <dl> <dd class="dd1"></dd> <dd class="weiruan" bgcolor="#ffffff">{$lang.can_use_integral}:<span class="f4_c">{$your_integral|default:0} </span>{$points_name},{$lang.noworder_can_integral}<span class="f4_c">{$order_max_integral} </span>{$points_name}. <span id="ECS_INTEGRAL_NOTICE" class="notice"></span> </dd> </dl> </div> <!-- {/if} 是否使用积分 --> </div> </section> <div class="blank1n"></div> <section class="order_box padd1 radius10" style="padding-top:0;padding-bottom:0;"> <div class="table_box table_box3"> <dl> <dd >{$lang.goods_list}<!--{if $allow_edit_cart} --><a href="flow.php" class="modify radius5">{$lang.modify}</a><!--{/if} --></dd> </dl> <!-- {foreach from=$goods_list item=goods} --> <dl> <dd class="dd1 w60"> <!-- {if $goods.goods_id gt 0 && $goods.extension_code eq 'package_buy'} --> <a href="javascript:void(0)" onClick="setSuitShow({$goods.goods_id})" >{$goods.goods_name}<span style="color:#FF0000;">({$lang.remark_package})</span></a> <!-- { else } --> <a href="goods.php?id={$goods.goods_id}" target="_blank" >{$goods.goods_name}</a> <!-- {if $goods.parent_id > 0} --> <span style="color:#FF0000">({$lang.accessories})</span> <!-- {elseif $goods.is_gift} --> <span style="color:#FF0000">({$lang.largess})</span> <!-- {/if} --> <!-- {/if} --> <!-- {if $goods.is_shipping} -->(<span style="color:#FF0000">{$lang.free_goods}</span>)<!-- {/if} --> </dd> <dd class="dd2 w10 c999"> x {$goods.goods_number} </dd> <dd class="dd3 w30"> {$goods.formated_subtotal} </dd> </dl> <!-- {/foreach} --> <!-- #BeginLibraryItem "/Library/order_total.lbi" --><!-- #EndLibraryItem --> </div> </section> <div class="blank1n"></div> <input type="submit" name="submit" value="提交订单" class="c-btn6" /> <input type="hidden" name="step" value="done" /> </form> </section> <!-- {/if} --> <!-- {if $step eq "done"} --> <!-- 订单提交成功 --> <style type="text/css"> /* 本例子css */ .pay_bottom{ display: inline-block; min-width: 60px; height: 40px; padding: 0 15px; border: 0; background: #f40; text-align: center; text-decoration: none; line-height: 40px; color: #fff; font-size: 14px; font-weight: 700; -webkit-border-radius: 2px; background: -webkit-gradient(linear,0 0,0 100%,color-stop(0,#f50),color-stop(1,#f40)); text-shadow: 0 -1px 1px #ca3511; -webkit-box-shadow: 0 -1px 0 #bf3210 inset; } </style> <header id="header"> <div class="header_l"> <a class="ico_10" href="index.php"> 返回 </a> </div> <h1> 订单提交成功 </h1> </header> <div class="cart-step" id="J_cartTab"> <ul> <li>1.购物车列表</li> <li>2.确认订单</li> <li class="cur">3.购买成功</li> </ul> </div> <div class="blank1n"></div> <section class="content"> <div id="J_plugin_cart"> <div class="bcont"> <div id="J_allGoods"> <div class="cont"> <section class="order on"> <h6 style="text-align:center;line-height:20px;">{$lang.remember_order_number}: <font style="color:red">{$order.order_sn}</font></h6> <table width="90%" align="center" border="0" cellpadding="15" cellspacing="0" style="border:1px solid #ddd; margin:10px auto;" bgcolor="#FFFFFF"> <tr> <td align="left" style="padding: 5px;line-height: 24px;"><!--{if $order.shipping_name}-->{$lang.select_shipping}: <strong>{$order.shipping_name}</strong><br><!--{/if}-->{$lang.select_payment}: <strong>{$order.pay_name}</strong><br>{$lang.order_amount}: <strong>{$total.amount_formated}</strong><br>{$order.pay_desc}</td> </tr> <!-- {if $pay_online} --> <!-- 如果是线上支付则显示支付按钮 --> <tr> <td align="center">{$pay_online}</td> </tr> <!-- {/if} --> </table> <!--{if $virtual_card}--> <div style="text-align:center;overflow:hidden;border:1px solid #E2C822; background:#FFF9D7;margin:10px;padding:10px 50px 30px; margin:10px;"> <!--{foreach from=$virtual_card item=vgoods}--> <h3 style="color:#2359B1; font-size:12px;">{$vgoods.goods_name}</h3> <!--{foreach from=$vgoods.info item=card}--> <ul style="list-style:none;padding:0;margin:0;clear:both"> <!--{if $card.card_sn}--> <li style="margin-right:50px;float:left;"> <strong>{$lang.card_sn}:</strong><span style="color:red;">{$card.card_sn}</span> </li> <!--{/if}--> <!--{if $card.card_password}--> <li style="margin-right:50px;float:left;"> <strong>{$lang.card_password}:</strong><span style="color:red;">{$card.card_password}</span> </li> <!--{/if}--> <!--{if $card.end_date}--> <li style="float:left;"> <strong>{$lang.end_date}:</strong>{$card.end_date} </li> <!--{/if}--> </ul> <!--{/foreach}--> <!--{/foreach}--> </div> <!--{/if}--> <p style="text-align:center; margin-bottom:20px;">{$order_submit_back}</p> </section> </div> </div> </div> </div> </section> <!-- {/if} --> <!-- {if $step eq "ok"} --> <!-- 订单提交成功 --> <style type="text/css"> /* 本例子css */ .pay_bottom{ display: inline-block; min-width: 60px; height: 40px; padding: 0 15px; border: 0; background: #f40; text-align: center; text-decoration: none; line-height: 40px; color: #fff; font-size: 14px; font-weight: 700; -webkit-border-radius: 2px; background: -webkit-gradient(linear,0 0,0 100%,color-stop(0,#f50),color-stop(1,#f40)); text-shadow: 0 -1px 1px #ca3511; -webkit-box-shadow: 0 -1px 0 #bf3210 inset; } </style> <header id="header"> <div class="header_l"> <a class="ico_10" href="index.php"> 返回 </a> </div> <h1> </h1> </header> <div class="cart-step" id="J_cartTab"> <ul> <li>1.购物车列表</li> <li>2.确认订单</li> <li class="cur">3.购买成功</li> </ul> </div> <div class="blank1n"></div> <section class="content"> <div id="J_plugin_cart"> <div class="bcont"> <div id="J_allGoods"> <div class="cont"> <section class="order on"> <h6 style="text-align:center;line-height:20px;">{$lang.remember_order_number}: <font style="color:red">{$order.order_sn}</font></h6> <table width="90%" align="center" border="0" cellpadding="15" cellspacing="0" style="border:1px solid #ddd; margin:10px auto;" bgcolor="#FFFFFF"> <tr> <td align="left" style="padding: 5px;line-height: 24px;"><!--{if $order.shipping_name}-->{$lang.select_shipping}: <strong>{$order.shipping_name}</strong><br><!--{/if}-->{$lang.select_payment}: <strong>{$order.pay_name}</strong><br>{$lang.order_amount}: <strong>{$order.order_amount_formated}</strong><br>{$order.pay_desc}</td> </tr> <!-- {if $pay_online} --> <!-- 如果是线上支付则显示支付按钮 --> <tr> <td align="center">{$pay_online}</td> </tr> <!-- {/if} --> </table> <!--{if $virtual_card}--> <div style="text-align:center;overflow:hidden;border:1px solid #E2C822; background:#FFF9D7;margin:10px;padding:10px 50px 30px; margin:10px;"> <!--{foreach from=$virtual_card item=vgoods}--> <h3 style="color:#2359B1; font-size:12px;">{$vgoods.goods_name}</h3> <!--{foreach from=$vgoods.info item=card}--> <ul style="list-style:none;padding:0;margin:0;clear:both"> <!--{if $card.card_sn}--> <li style="margin-right:50px;float:left;"> <strong>{$lang.card_sn}:</strong><span style="color:red;">{$card.card_sn}</span> </li> <!--{/if}--> <!--{if $card.card_password}--> <li style="margin-right:50px;float:left;"> <strong>{$lang.card_password}:</strong><span style="color:red;">{$card.card_password}</span> </li> <!--{/if}--> <!--{if $card.end_date}--> <li style="float:left;"> <strong>{$lang.end_date}:</strong>{$card.end_date} </li> <!--{/if}--> </ul> <!--{/foreach}--> <!--{/foreach}--> </div> <!--{/if}--> <p style="text-align:center; margin-bottom:20px;">{$order_submit_back}</p> </section> </div> </div> </div> </div> </section> <!-- {/if} --> <!-- {if $step eq "login"} --> <div id="page"> <header id="header"> <div class="header_l"> <a class="ico_10" onClick="javascript:history.go(-1)"> 返回 </a> </div> <h1> 登录/注册 </h1> </header> </div> <div class="cart-step" id="J_cartTab"> <ul> <li>1.购物车列表</li> <li class="cur">2.确认订单</li> <li>3.购买成功</li> </ul> </div> <div class="blank2"></div> <section class="wrap"> {insert_scripts files='utils.js,user.js'} <!-- Tab切换(高度自适应示范) --> <div id="leftTabBox" class="loginBox"> <div class="bd" id="tabBox1-bd" {if $action eq 'register'} style="display:none"{/if}> <ul> <div class="table_box" style="width: 95%;margin: 0 auto"> <dl> <dd> <input type="button" onclick="location.href='user.php?act=login'" value="登录会员中心" class="c-btn3"> </dd> </dl> <dl> <dd> <input type="button" onclick="location.href='user.php?act=register'" value="还没有会员?立即注册" class="c-btn3"> </dd> </dl> <dl> <dd> <!-- {if $anonymous_buy eq 1} 是否允许未登录用户购物 --> <input type="button" value="{$lang.direct_shopping}" class="c-btn3" onclick="location.href='flow.php?step=consignee&direct_shopping=1'" /> <!-- {/if} --> </dd> </dl> {if $qq_login || $weibo_login || $alipay_login || $weixin_login} <div class="hezuo"> <p class="t">使用合作账号登录</p> <p class="b"> {if $qq_login}<a href="user.php?act=oath&type=qq"><img src="{$ectouch_themes}/images/quicklogin/qq.png"></a> {/if} {if $weibo_login}<a href="user.php?act=oath&type=weibo"><img src="{$ectouch_themes}/images/quicklogin/weibo.png"></a> {/if} {if $alipay_login}<a href="user.php?act=oath&type=alipay"><img src="{$ectouch_themes}/images/quicklogin/zhifubao.png"></a> {/if} {if $is_wechat_browser && $weixin_login}<a href="user.php?act=oath&type=weixin"><img src="{$ectouch_themes}/images/quicklogin/weixin.png"></a>{/if} </p> </div> {/if} </div> </ul> </div> <div class="bd"{if $action eq 'login'} style="display:none"{/if}> <ul style="height:25rem"> <!-- {if $shop_reg_closed eq 1} --> <li style="line-height:10rem;text-align:center;font-size:1.5rem;color:red;">{$lang.shop_register_closed}</li> <!-- {else} --> <!--{if $enabled_sms_signin eq 1} 支持手机短信功能--> <form action="user.php" method="post" name="formUser" onsubmit="return register2();"> <input type="hidden" name="flag" id="flag" value="register" /> <div class="table_box"> <dl> <dd> <input placeholder="请输入手机号码" class="inputBg" name="mobile" id="mobile_phone" type="text" /> </dd> </dl> <dl> <dd> <input placeholder="请输入帐号密码" class="inputBg" name="password" id="mobile_pwd" type="password" /> </dd> </dl> <dl> <dd> <input placeholder="请输入验证码" class="inputBg" name="mobile_code" id="mobile_code" type="text" /> </dd> <dd> <input id="zphone" name="sendsms" type="button" value="获取手机验证码" onClick="sendSms();" class="c-btn3" /> </dd> </dl> <dl> <dd> <input id="agreement" name="agreement" type="checkbox" value="1" checked="checked" style="vertical-align:middle; zoom:200%;" /><label for="agreement"> 我已看过并同意《<a href="article.php?cat_id=-1">用户协议</a>》</label> </dd> </dl> <dl> <dd> <input name="act" type="hidden" value="act_register" /> <input name="enabled_sms" type="hidden" value="1" /> <input type="hidden" name="back_act" value="{$back_act}" /> <input name="Submit" type="submit" value="下一步" class="c-btn3" /> </dd> </dl> </div> </form> <!--{else}--> <form action="user.php" method="post" name="formUser" onsubmit="return register();"> <input type="hidden" name="flag" id="flag" value="register" /> <div class="table_box"> <dl> <dd> <input placeholder="请输入用户名" class="inputBg" name="username" id="username" type="text" /> </dd> </dl> <dl> <dd> <input placeholder="请输入登录密码" class="inputBg" name="password" id="password1" type="password" /> </dd> </dl> <!-- {foreach from=$extend_info_list item=field} --> <!-- {if $field.reg_field_name=='手机'} --> <!-- {if $_CFG['ecsdxt_mobile_reg']=='1'} --> <script>var ztime={$ztime};</script> {insert_scripts files='transportjq.js'} {insert_scripts files='sms.js'} <dl> <dd> <input placeholder="请输入手机号码" class="inputBg" name="extend_field{$field.id}" id="extend_field{$field.id}" type="text" /> </dd> </dl> <dl> <dd> <input placeholder="请输入验证码" class="inputBg" name="extend_field{$field.id+1}" id="extend_field{$field.id}" type="text" /> </dd> <dd> <input id="zphone" name="sendsms" type="button" value="获取验证码" onclick="getverifycode1('extend_field{$field.id}', '{$field.reg_field_name}');" class="c-btn3" /> </dd> </dl> <!-- {else} --> <dl> <dd> <input placeholder="{$field.reg_field_name}" class="inputBg" name="extend_field{$field.id}" id="extend_field{$field.id}" type="text" /> </dd> </dl> <!-- {/if} --> <!-- {else} --> <dl> <dd> <input placeholder="{$field.reg_field_name}" class="inputBg" name="extend_field{$field.id}" id="extend_field{$field.id}" type="text" /> </dd> </dl> <!-- {/if} --> <!-- {/foreach} --> <!-- 判断是否启用验证码{if $enabled_captcha} --> <dl> <dd> <input placeholder="请输入验证码" class="inputBg" name="captcha" id="captcha" type="text" /> </dd> <dd> <img src="captcha.php?{$rand}" alt="captcha" style="height:34px;vertical-align: middle; margin-left:5px;" onClick="this.src='captcha.php?'+Math.random()" /> </dd> </dl> <!--{/if}--> <dl> <dd> <input id="agreement" name="agreement" type="checkbox" value="1" checked="checked" style="vertical-align:middle; zoom:200%;" /><label for="agreement"> 我已看过并同意《<a href="article.php?cat_id=-1">用户协议</a>》</label> </dd> </dl> <dl> <dd> <input name="act" type="hidden" value="act_register" /> <input name="enabled_sms" type="hidden" value="0" /> <input type="hidden" name="back_act" value="{$back_act}" /> <input name="Submit" type="submit" value="下一步" class="c-btn3" /> </dd> </dl> </div> </form> <!--{/if}--> {if $need_rechoose_gift} {$lang.gift_remainder} {/if} <!--{/if}--> </ul> </div> </div> <script type="text/javascript" src="{$ectouch_themes}/js/sms.js"></script> </section> <script type="text/javascript"> jQuery(function($){ $('.hd ul li').click(function(){ var index = $('.hd ul li').index(this); $(this).addClass('on').siblings('li').removeClass('on'); $('.loginBox .bd:eq('+index+')').show().siblings('.bd').hide(); }) }) </script> <!-- 结束用户登录注册界面 --> <!-- {/if} --> <div class="blank1n"></div> <div style="width:1px; height:1px; overflow:hidden">{foreach from=$lang.p_y item=pv}{$pv}{/foreach}</div> </body> <script type="text/javascript"> var process_request = "{$lang.process_request}"; {foreach from=$lang.passport_js item=item key=key} var {$key} = "{$item}"; {/foreach} var username_exist = "{$lang.username_exist}"; var compare_no_goods = "{$lang.compare_no_goods}"; var btn_buy = "{$lang.btn_buy}"; var is_cancel = "{$lang.is_cancel}"; var select_spe = "{$lang.select_spe}"; </script> </html>