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/data/compiled/ |
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title><?php echo $this->_var['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="<?php echo $this->_var['ectouch_themes']; ?>/images/touch-icon.png" rel="apple-touch-icon-precomposed" /> <link href="<?php echo $this->_var['ectouch_themes']; ?>/images/favicon.ico" rel="shortcut icon" type="image/x-icon" /> <link href="<?php echo $this->_var['ectouch_css']; ?>" rel="stylesheet" type="text/css" /> <?php echo $this->smarty_insert_scripts(array('files'=>'common.js,shopping_flow.js')); ?> <?php echo $this->smarty_insert_scripts(array('files'=>'transportjq.js,utils.js')); ?> <script type="text/javascript" src="<?php echo $this->_var['ectouch_themes']; ?>/js/jquery-1.4.4.min.js"></script> <script type="text/javascript" src="<?php echo $this->_var['ectouch_themes']; ?>/js/jquery.json.js"></script> <script type="text/javascript" src="<?php echo $this->_var['ectouch_themes']; ?>/js/TouchSlide.js"></script> <script type="text/javascript" src="<?php echo $this->_var['ectouch_themes']; ?>/js/ectouch.js"></script> </head> <body> <?php if ($this->_var['step'] == "cart"): ?> <div id="page"> <header id="header"> <div class="header_l"> <a class="ico_10" href="<?php echo $this->_var['jump_http_referer']; ?>"> 返回 </a> </div> <h1>购物车</h1> <div class="header_r"></div> </header> </div> <?php echo $this->smarty_insert_scripts(array('files'=>'showdiv.js')); ?> <script type="text/javascript"> <?php $_from = $this->_var['lang']['password_js']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)): foreach ($_from AS $this->_var['key'] => $this->_var['item']): ?> var <?php echo $this->_var['key']; ?> = "<?php echo $this->_var['item']; ?>"; <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> </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> <?php if ($this->_var['goods_list']): ?> <section class="wrap" style="padding-bottom:3rem" > <form id="formCart1" name="formCart" method="post" action="flow.php"> <ul class="radius10 itemlist"> <?php $_from = $this->_var['goods_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods');if (count($_from)): foreach ($_from AS $this->_var['goods']): ?> <li class="new-tbl-type"> <div class="selcartgoods new-tbl-cell"> <input type="checkbox" <?php if (! $this->_var['goods']['is_cansel']): ?> disabled <?php else: ?> checked=checked <?php endif; ?> autocomplete="off" name="sel_cartgoods[]" value="<?php echo $this->_var['goods']['rec_id']; ?>" id="sel_cartgoods_<?php echo $this->_var['goods']['rec_id']; ?>" onclick="select_cart_goods();"><label for="sel_cartgoods_<?php echo $this->_var['goods']['rec_id']; ?>"></label> </div> <div class="itemlist_l new-tbl-cell" style="width:30%;"> <?php if ($this->_var['goods']['goods_id'] > 0 && $this->_var['goods']['extension_code'] != 'package_buy'): ?> <a href="goods.php?id=<?php echo $this->_var['goods']['goods_id']; ?>" target="_blank"> <img class="lazy" src="<?php echo $this->_var['site_url']; ?><?php echo $this->_var['goods']['goods_thumb']; ?>" border="0" title="<?php echo htmlspecialchars($this->_var['goods']['goods_name']); ?>" /> </a> <?php if ($this->_var['goods']['parent_id'] > 0): ?> <span style="color:#FF0000">(<?php echo $this->_var['lang']['accessories']; ?>)</span> <?php endif; ?> <?php if ($this->_var['goods']['is_gift'] > 0): ?> <span style="color:#FF0000">(<?php echo $this->_var['lang']['largess']; ?>)</span> <?php endif; ?> <?php elseif ($this->_var['goods']['goods_id'] > 0 && $this->_var['goods']['extension_code'] == 'package_buy'): ?> <a href="javascript:void(0)" onClick="setSuitShow(<?php echo $this->_var['goods']['goods_id']; ?>)" class="f6"><?php echo $this->_var['goods']['goods_name']; ?><span style="color:#FF0000;">(<?php echo $this->_var['lang']['remark_package']; ?>)</span></a> <div id="suit_<?php echo $this->_var['goods']['goods_id']; ?>" style="display:none"> <?php $_from = $this->_var['goods']['package_goods_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'package_goods_list');if (count($_from)): foreach ($_from AS $this->_var['package_goods_list']): ?> <a href="goods.php?id=<?php echo $this->_var['package_goods_list']['goods_id']; ?>" target="_blank" class="f6"><?php echo $this->_var['package_goods_list']['goods_name']; ?></a><br /> <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> </div> <?php else: ?> <?php echo $this->_var['goods']['goods_name']; ?> <?php endif; ?> </div> <div class="desc new-tbl-cell"> <a style="color:#333" href="goods.php?id=<?php echo $this->_var['goods']['goods_id']; ?>" target="_blank" class="fragment"> <h4><?php echo $this->_var['goods']['goods_name']; ?></h4> </a> <div style="clear:both"> </div> <?php if ($this->_var['show_goods_attribute'] == 1): ?> <p> <?php echo nl2br($this->_var['goods']['goods_attr']); ?> </p> <?php endif; ?> <div class="b"> <em class="price"><?php echo $this->_var['goods']['goods_price']; ?></em> <span class="jianju">x </span> <?php if ($this->_var['goods']['goods_id'] > 0 && $this->_var['goods']['is_gift'] == 0 && $this->_var['goods']['parent_id'] == 0): ?> <span class="txt"> <button type="button" class="decrease" onclick="changenum(<?php echo $this->_var['goods']['rec_id']; ?>,-1)">-</button> <input class="num" type="text" min="1" max="1000" name="goods_number[<?php echo $this->_var['goods']['rec_id']; ?>]" id="goods_number_<?php echo $this->_var['goods']['rec_id']; ?>" value="<?php echo $this->_var['goods']['goods_number']; ?>" size="4" onkeyup="changenum(<?php echo $this->_var['goods']['rec_id']; ?>,0)"/> <input type="hidden" id="goods_min_number_<?php echo $this->_var['goods']['rec_id']; ?>" value="<?php echo $this->_var['goods']['min_number']; ?>" /> <button type="button" class="increase" onclick="changenum(<?php echo $this->_var['goods']['rec_id']; ?>,1)">+</button> </span> <?php else: ?> <span> <?php echo $this->_var['goods']['goods_number']; ?> </span> <?php endif; ?> <a href="javascript:if (confirm('<?php echo $this->_var['lang']['drop_goods_confirm']; ?>')) location.href='flow.php?step=drop_goods&id=<?php echo $this->_var['goods']['rec_id']; ?>'; " class="ico_08 cha"> </a> </div> </div> </li> <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> </ul> <?php echo $this->smarty_insert_scripts(array('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){ <?php if ($this->_var['goods']['min_number']): ?> if(goods_number < min_num) { alert('本商品最少订购数量为'+min_num); var goods_number = min_num; } <?php endif; ?> 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"><?php echo $this->_var['total']['goods_price']; ?></em></p> <a onclick="return selcart_submit();">结算(<em class="num" id="total_number"><?php echo $this->_var['total']['total_number']; ?></em>)</a> </footer> <?php 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> <?php endif; ?> <?php if ($_SESSION['user_id'] > 0): ?> <?php echo $this->smarty_insert_scripts(array('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> <?php endif; ?> <?php endif; ?> <?php if ($this->_var['step'] == "consignee"): ?> <?php echo $this->smarty_insert_scripts(array('files'=>'region.js,utils.js')); ?> <script type="text/javascript"> region.isAdmin = false; <?php $_from = $this->_var['lang']['flow_js']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)): foreach ($_from AS $this->_var['key'] => $this->_var['item']): ?> var <?php echo $this->_var['key']; ?> = "<?php echo $this->_var['item']; ?>"; <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> onload = function() { if (!document.all) { document.forms['theForm'].reset(); } } </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"> <?php $_from = $this->_var['consignee_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('sn', 'consignee');if (count($_from)): foreach ($_from AS $this->_var['sn'] => $this->_var['consignee']): ?> <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)"> <?php echo $this->fetch('library/consignee.lbi'); ?> </form> </div> </section> <div class="blank1n"></div> <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> </div> <?php endif; ?> <?php if ($this->_var['step'] == "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 = "<?php echo $this->_var['lang']['flow_no_payment']; ?>"; var flow_no_shipping = "<?php echo $this->_var['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><?php echo $this->_var['lang']['consignee_name']; ?><span class="dspan1"><?php echo htmlspecialchars($this->_var['consignee']['consignee']); ?></span></dd> <dd>手机号码<span class="dspan1"><?php echo $this->_var['consignee']['mobile']; ?></span></dd> </dl> <dl> <dd><?php echo $this->_var['lang']['detailed_address']; ?><span class="dspan1"><?php echo htmlspecialchars($this->_var['consignee']['province_name']); ?><?php echo htmlspecialchars($this->_var['consignee']['city_name']); ?><?php echo htmlspecialchars($this->_var['consignee']['district_name']); ?><?php echo htmlspecialchars($this->_var['consignee']['address']); ?></span></dd> <dd><a href="flow.php?step=consignee" class="modify radius5"><?php echo $this->_var['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"> <?php if ($this->_var['total']['real_goods_count'] != 0): ?> <dl> <dd class="dd4"><?php echo $this->_var['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"> <?php $_from = $this->_var['shipping_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'shipping');if (count($_from)): foreach ($_from AS $this->_var['shipping']): ?> <p> <input name="shipping" type="radio" class="radio" id="shipping_<?php echo $this->_var['shipping']['shipping_id']; ?>" value="<?php echo $this->_var['shipping']['shipping_id']; ?>" <?php if ($this->_var['order']['shipping_id'] == $this->_var['shipping']['shipping_id']): ?>checked="true"<?php endif; ?> supportCod="<?php echo $this->_var['shipping']['support_cod']; ?>" insure="<?php echo $this->_var['shipping']['insure']; ?>" onclick="selectShipping(this)" style="vertical-align:middle" /><label for="shipping_<?php echo $this->_var['shipping']['shipping_id']; ?>"> <?php echo $this->_var['shipping']['shipping_name']; ?> [<?php echo $this->_var['shipping']['format_shipping_fee']; ?>]</label> </p> <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> <!-- <input name="need_insure" id="ECS_NEEDINSURE" type="checkbox" onclick="selectInsure(this.checked)" value="1" <?php if ($this->_var['order']['need_insure']): ?>checked="true"<?php endif; ?> <?php if ($this->_var['insure_disabled']): ?>disabled="true"<?php endif; ?> /> <?php echo $this->_var['lang']['need_insure']; ?>--> </div> <?php else: ?> <input name="shipping" type="radio" value = "-1" checked="checked" style="display:none"/> <?php endif; ?> <?php if ($this->_var['is_exchange_goods'] != 1 || $this->_var['total']['real_goods_count'] != 0): ?> <dl> <dd class="dd4"><?php echo $this->_var['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"> <?php $_from = $this->_var['payment_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'payment');if (count($_from)): foreach ($_from AS $this->_var['payment']): ?> <p> <input type="radio" class="radio" name="payment" id="payment_<?php echo $this->_var['payment']['pay_id']; ?>" value="<?php echo $this->_var['payment']['pay_id']; ?>" <?php if ($this->_var['order']['pay_id'] == $this->_var['payment']['pay_id']): ?>checked<?php endif; ?> isCod="<?php echo $this->_var['payment']['is_cod']; ?>" onclick="selectPayment(this)" <?php if ($this->_var['cod_disabled'] && $this->_var['payment']['is_cod'] == "1"): ?>disabled="true"<?php endif; ?> style="vertical-align:middle" /><label for="payment_<?php echo $this->_var['payment']['pay_id']; ?>"><?php echo $this->_var['payment']['pay_name']; ?> [<?php echo $this->_var['payment']['format_pay_fee']; ?>]</label> <?php if ($this->_var['payment']['pay_code'] == bank): ?> <br> 【<?php echo $this->_var['payment']['pay_desc']; ?>】 <?php endif; ?> </p> <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> </div> <?php else: ?> <input name = "payment" type="radio" value = "-1" checked="checked" style="display:none"/> <?php endif; ?> <?php if ($this->_var['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" <?php if ($this->_var['order']['need_inv']): ?>checked="true"<?php endif; ?> style="display:none;" /> <?php if ($this->_var['inv_type_list']): ?> <?php echo $this->_var['lang']['invoice_type']; ?> <select name="inv_type" id="ECS_INVTYPE" <?php if ($this->_var['order']['need_inv'] != 1): ?>disabled="true"<?php endif; ?> onchange="changeNeedInv()" style="border:1px solid #ccc;"> <?php echo $this->html_options(array('options'=>$this->_var['inv_type_list'],'selected'=>$this->_var['order']['inv_type'])); ?></select> <?php endif; ?> </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="<?php echo $this->_var['order']['inv_payee']; ?>" <?php if (! $this->_var['order']['need_inv']): ?>disabled="true"<?php endif; ?> onblur="changeNeedInv()" /></dd> </dl> <dl style="line-height: 40px;"> <dd class="c333"> 发票内容 </dd> <dd> <select name="inv_content" id="ECS_INVCONTENT" <?php if ($this->_var['order']['need_inv'] != 1): ?>disabled="true"<?php endif; ?> onchange="changeNeedInv()" style="border:1px solid #ccc;"> <?php echo $this->html_options(array('values'=>$this->_var['inv_content_list'],'output'=>$this->_var['inv_content_list'],'selected'=>$this->_var['order']['inv_content'])); ?> </select> </dd> </dl> </div> <?php endif; ?> </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"> <?php if ($this->_var['allow_use_bonus']): ?> <dl> <dd class="dd1"> <?php echo $this->_var['lang']['use_bonus']; ?> </dd> <dd class="dd2" id="selected4"> 未选择 </dd> <i></i> </dl> <div class="dl_box" id="bonus_box" style="display:none;"> <?php $_from = $this->_var['bonus_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'bonus');if (count($_from)): foreach ($_from AS $this->_var['bonus']): ?> <p> <input name="bonus" type="radio" class="radio" value="0" <?php if ($this->_var['order']['bonus_id'] == 0): ?>selected<?php endif; ?> onclick="changeBonus(this.value)" />不使用红包 </p> <p> <input name="bonus" type="radio" id="bonus_<?php echo $this->_var['bonus']['bonus_id']; ?>" class="radio" value="<?php echo $this->_var['bonus']['bonus_id']; ?>" onclick="changeBonus(this.value)" /><label for="bonus_<?php echo $this->_var['bonus']['bonus_id']; ?>"><?php echo $this->_var['bonus']['type_name']; ?>[<?php echo $this->_var['bonus']['bonus_money_formated']; ?>]</label> </p> <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> </div> <?php endif; ?> <?php if ($this->_var['pack_list']): ?> <dl class="b_no"> <dd class="dd1"><?php echo $this->_var['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" <?php if ($this->_var['order']['pack_id'] == 0): ?>checked="true"<?php endif; ?> onclick="selectPack(this)" /><?php echo $this->_var['lang']['no_pack']; ?></p> <?php $_from = $this->_var['pack_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'pack');if (count($_from)): foreach ($_from AS $this->_var['pack']): ?> <p><input type="radio" class="radio" name="pack" id="pack_<?php echo $this->_var['pack']['pack_id']; ?>" value="<?php echo $this->_var['pack']['pack_id']; ?>" <?php if ($this->_var['order']['pack_id'] == $this->_var['pack']['pack_id']): ?>checked="true"<?php endif; ?> onclick="selectPack(this)" /><label for="pack_<?php echo $this->_var['pack']['pack_id']; ?>"><?php echo $this->_var['pack']['pack_name']; ?>[<?php echo $this->_var['pack']['format_pack_fee']; ?>]</label></p> <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> </div> <?php endif; ?> <?php if ($this->_var['card_list']): ?> <dl class="b_no"> <dd class="dd1"><?php echo $this->_var['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" <?php if ($this->_var['order']['card_id'] == 0): ?>checked="true"<?php endif; ?> onclick="selectCard(this)" /><?php echo $this->_var['lang']['no_card']; ?></p> <?php $_from = $this->_var['card_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'card');if (count($_from)): foreach ($_from AS $this->_var['card']): ?> <p><input type="radio" class="radio" name="card" id="card_<?php echo $this->_var['card']['card_id']; ?>" value="<?php echo $this->_var['card']['card_id']; ?>" <?php if ($this->_var['order']['card_id'] == $this->_var['card']['card_id']): ?>checked="true"<?php endif; ?> onclick="selectCard(this)" /><label for="card_<?php echo $this->_var['card']['card_id']; ?>"><?php echo $this->_var['card']['card_name']; ?>[<?php echo $this->_var['card']['format_card_fee']; ?>]</label> </p> <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> </div> <?php endif; ?> <?php if ($this->_var['allow_use_surplus']): ?> <div class="dl_box"> <dl> <dd class="dd1"><?php echo $this->_var['lang']['use_surplus']; ?></dd> <dd class="weiruan" bgcolor="#ffffff"><input name="surplus" type="text" class="inputBg" id="ECS_SURPLUS" size="20" value="<?php echo empty($this->_var['order']['surplus']) ? '0' : $this->_var['order']['surplus']; ?>" onblur="changeSurplus(this.value)" <?php if ($this->_var['disable_surplus']): ?>disabled="disabled"<?php endif; ?> /></dd> </dl> </div> <div class="dl_box"> <dl> <dd class="dd1"></dd> <dd class="weiruan" bgcolor="#ffffff">可用余额:<span class="f4_c"><?php echo empty($this->_var['your_surplus']) ? '0' : $this->_var['your_surplus']; ?></span> </dd> </dl> </div> <?php endif; ?> <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> <?php if ($this->_var['allow_use_integral']): ?> <div class="dl_box"> <dl> <dd class="dd1"><?php echo $this->_var['lang']['use_integral']; ?></dd> <dd class="weiruan" bgcolor="#ffffff"><input name="integral" type="text" id="ECS_INTEGRAL" onblur="changeIntegral(this.value)" value="<?php echo empty($this->_var['order']['integral']) ? '0' : $this->_var['order']['integral']; ?>" size="20" class="inputBg" /></dd> </dl> </div> <div class="dl_box"> <dl> <dd class="dd1"></dd> <dd class="weiruan" bgcolor="#ffffff"><?php echo $this->_var['lang']['can_use_integral']; ?>:<span class="f4_c"><?php echo empty($this->_var['your_integral']) ? '0' : $this->_var['your_integral']; ?> </span><?php echo $this->_var['points_name']; ?>,<?php echo $this->_var['lang']['noworder_can_integral']; ?><span class="f4_c"><?php echo $this->_var['order_max_integral']; ?> </span><?php echo $this->_var['points_name']; ?>. <span id="ECS_INTEGRAL_NOTICE" class="notice"></span> </dd> </dl> </div> <?php endif; ?> </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 ><?php echo $this->_var['lang']['goods_list']; ?><?php if ($this->_var['allow_edit_cart']): ?><a href="flow.php" class="modify radius5"><?php echo $this->_var['lang']['modify']; ?></a><?php endif; ?></dd> </dl> <?php $_from = $this->_var['goods_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods');if (count($_from)): foreach ($_from AS $this->_var['goods']): ?> <dl> <dd class="dd1 w60"> <?php if ($this->_var['goods']['goods_id'] > 0 && $this->_var['goods']['extension_code'] == 'package_buy'): ?> <a href="javascript:void(0)" onClick="setSuitShow(<?php echo $this->_var['goods']['goods_id']; ?>)" ><?php echo $this->_var['goods']['goods_name']; ?><span style="color:#FF0000;">(<?php echo $this->_var['lang']['remark_package']; ?>)</span></a> <?php else: ?> <a href="goods.php?id=<?php echo $this->_var['goods']['goods_id']; ?>" target="_blank" ><?php echo $this->_var['goods']['goods_name']; ?></a> <?php if ($this->_var['goods']['parent_id'] > 0): ?> <span style="color:#FF0000">(<?php echo $this->_var['lang']['accessories']; ?>)</span> <?php elseif ($this->_var['goods']['is_gift']): ?> <span style="color:#FF0000">(<?php echo $this->_var['lang']['largess']; ?>)</span> <?php endif; ?> <?php endif; ?> <?php if ($this->_var['goods']['is_shipping']): ?>(<span style="color:#FF0000"><?php echo $this->_var['lang']['free_goods']; ?></span>)<?php endif; ?> </dd> <dd class="dd2 w10 c999"> x <?php echo $this->_var['goods']['goods_number']; ?> </dd> <dd class="dd3 w30"> <?php echo $this->_var['goods']['formated_subtotal']; ?> </dd> </dl> <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> <?php echo $this->fetch('library/order_total.lbi'); ?> </div> </section> <div class="blank1n"></div> <input type="submit" name="submit" value="提交订单" class="c-btn6" /> <input type="hidden" name="step" value="done" /> </form> </section> <?php endif; ?> <?php if ($this->_var['step'] == "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;"><?php echo $this->_var['lang']['remember_order_number']; ?>: <font style="color:red"><?php echo $this->_var['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;"><?php if ($this->_var['order']['shipping_name']): ?><?php echo $this->_var['lang']['select_shipping']; ?>: <strong><?php echo $this->_var['order']['shipping_name']; ?></strong><br><?php endif; ?><?php echo $this->_var['lang']['select_payment']; ?>: <strong><?php echo $this->_var['order']['pay_name']; ?></strong><br><?php echo $this->_var['lang']['order_amount']; ?>: <strong><?php echo $this->_var['total']['amount_formated']; ?></strong><br><?php echo $this->_var['order']['pay_desc']; ?></td> </tr> <?php if ($this->_var['pay_online']): ?> <tr> <td align="center"><?php echo $this->_var['pay_online']; ?></td> </tr> <?php endif; ?> </table> <?php if ($this->_var['virtual_card']): ?> <div style="text-align:center;overflow:hidden;border:1px solid #E2C822; background:#FFF9D7;margin:10px;padding:10px 50px 30px; margin:10px;"> <?php $_from = $this->_var['virtual_card']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'vgoods');if (count($_from)): foreach ($_from AS $this->_var['vgoods']): ?> <h3 style="color:#2359B1; font-size:12px;"><?php echo $this->_var['vgoods']['goods_name']; ?></h3> <?php $_from = $this->_var['vgoods']['info']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'card');if (count($_from)): foreach ($_from AS $this->_var['card']): ?> <ul style="list-style:none;padding:0;margin:0;clear:both"> <?php if ($this->_var['card']['card_sn']): ?> <li style="margin-right:50px;float:left;"> <strong><?php echo $this->_var['lang']['card_sn']; ?>:</strong><span style="color:red;"><?php echo $this->_var['card']['card_sn']; ?></span> </li> <?php endif; ?> <?php if ($this->_var['card']['card_password']): ?> <li style="margin-right:50px;float:left;"> <strong><?php echo $this->_var['lang']['card_password']; ?>:</strong><span style="color:red;"><?php echo $this->_var['card']['card_password']; ?></span> </li> <?php endif; ?> <?php if ($this->_var['card']['end_date']): ?> <li style="float:left;"> <strong><?php echo $this->_var['lang']['end_date']; ?>:</strong><?php echo $this->_var['card']['end_date']; ?> </li> <?php endif; ?> </ul> <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> </div> <?php endif; ?> <p style="text-align:center; margin-bottom:20px;"><?php echo $this->_var['order_submit_back']; ?></p> </section> </div> </div> </div> </div> </section> <?php endif; ?> <?php if ($this->_var['step'] == "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;"><?php echo $this->_var['lang']['remember_order_number']; ?>: <font style="color:red"><?php echo $this->_var['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;"><?php if ($this->_var['order']['shipping_name']): ?><?php echo $this->_var['lang']['select_shipping']; ?>: <strong><?php echo $this->_var['order']['shipping_name']; ?></strong><br><?php endif; ?><?php echo $this->_var['lang']['select_payment']; ?>: <strong><?php echo $this->_var['order']['pay_name']; ?></strong><br><?php echo $this->_var['lang']['order_amount']; ?>: <strong><?php echo $this->_var['order']['order_amount_formated']; ?></strong><br><?php echo $this->_var['order']['pay_desc']; ?></td> </tr> <?php if ($this->_var['pay_online']): ?> <tr> <td align="center"><?php echo $this->_var['pay_online']; ?></td> </tr> <?php endif; ?> </table> <?php if ($this->_var['virtual_card']): ?> <div style="text-align:center;overflow:hidden;border:1px solid #E2C822; background:#FFF9D7;margin:10px;padding:10px 50px 30px; margin:10px;"> <?php $_from = $this->_var['virtual_card']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'vgoods');if (count($_from)): foreach ($_from AS $this->_var['vgoods']): ?> <h3 style="color:#2359B1; font-size:12px;"><?php echo $this->_var['vgoods']['goods_name']; ?></h3> <?php $_from = $this->_var['vgoods']['info']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'card');if (count($_from)): foreach ($_from AS $this->_var['card']): ?> <ul style="list-style:none;padding:0;margin:0;clear:both"> <?php if ($this->_var['card']['card_sn']): ?> <li style="margin-right:50px;float:left;"> <strong><?php echo $this->_var['lang']['card_sn']; ?>:</strong><span style="color:red;"><?php echo $this->_var['card']['card_sn']; ?></span> </li> <?php endif; ?> <?php if ($this->_var['card']['card_password']): ?> <li style="margin-right:50px;float:left;"> <strong><?php echo $this->_var['lang']['card_password']; ?>:</strong><span style="color:red;"><?php echo $this->_var['card']['card_password']; ?></span> </li> <?php endif; ?> <?php if ($this->_var['card']['end_date']): ?> <li style="float:left;"> <strong><?php echo $this->_var['lang']['end_date']; ?>:</strong><?php echo $this->_var['card']['end_date']; ?> </li> <?php endif; ?> </ul> <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> </div> <?php endif; ?> <p style="text-align:center; margin-bottom:20px;"><?php echo $this->_var['order_submit_back']; ?></p> </section> </div> </div> </div> </div> </section> <?php endif; ?> <?php if ($this->_var['step'] == "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"> <?php echo $this->smarty_insert_scripts(array('files'=>'utils.js,user.js')); ?> <div id="leftTabBox" class="loginBox"> <div class="bd" id="tabBox1-bd" <?php if ($this->_var['action'] == 'register'): ?> style="display:none"<?php endif; ?>> <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> <?php if ($this->_var['anonymous_buy'] == 1): ?> <input type="button" value="<?php echo $this->_var['lang']['direct_shopping']; ?>" class="c-btn3" onclick="location.href='flow.php?step=consignee&direct_shopping=1'" /> <?php endif; ?> </dd> </dl> <?php if ($this->_var['qq_login'] || $this->_var['weibo_login'] || $this->_var['alipay_login'] || $this->_var['weixin_login']): ?> <div class="hezuo"> <p class="t">使用合作账号登录</p> <p class="b"> <?php if ($this->_var['qq_login']): ?><a href="user.php?act=oath&type=qq"><img src="<?php echo $this->_var['ectouch_themes']; ?>/images/quicklogin/qq.png"></a> <?php endif; ?> <?php if ($this->_var['weibo_login']): ?><a href="user.php?act=oath&type=weibo"><img src="<?php echo $this->_var['ectouch_themes']; ?>/images/quicklogin/weibo.png"></a> <?php endif; ?> <?php if ($this->_var['alipay_login']): ?><a href="user.php?act=oath&type=alipay"><img src="<?php echo $this->_var['ectouch_themes']; ?>/images/quicklogin/zhifubao.png"></a> <?php endif; ?> <?php if ($this->_var['is_wechat_browser'] && $this->_var['weixin_login']): ?><a href="user.php?act=oath&type=weixin"><img src="<?php echo $this->_var['ectouch_themes']; ?>/images/quicklogin/weixin.png"></a><?php endif; ?> </p> </div> <?php endif; ?> </div> </ul> </div> <div class="bd"<?php if ($this->_var['action'] == 'login'): ?> style="display:none"<?php endif; ?>> <ul style="height:25rem"> <?php if ($this->_var['shop_reg_closed'] == 1): ?> <li style="line-height:10rem;text-align:center;font-size:1.5rem;color:red;"><?php echo $this->_var['lang']['shop_register_closed']; ?></li> <?php else: ?> <?php if ($this->_var['enabled_sms_signin'] == 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="<?php echo $this->_var['back_act']; ?>" /> <input name="Submit" type="submit" value="下一步" class="c-btn3" /> </dd> </dl> </div> </form> <?php 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> <?php $_from = $this->_var['extend_info_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'field');if (count($_from)): foreach ($_from AS $this->_var['field']): ?> <?php if ($this->_var['field']['reg_field_name'] == '手机'): ?> <?php if ($this->_var['_CFG'] [ 'ecsdxt_mobile_reg' ] == '1'): ?> <script>var ztime=<?php echo $this->_var['ztime']; ?>;</script> <?php echo $this->smarty_insert_scripts(array('files'=>'transportjq.js')); ?> <?php echo $this->smarty_insert_scripts(array('files'=>'sms.js')); ?> <dl> <dd> <input placeholder="请输入手机号码" class="inputBg" name="extend_field<?php echo $this->_var['field']['id']; ?>" id="extend_field<?php echo $this->_var['field']['id']; ?>" type="text" /> </dd> </dl> <dl> <dd> <input placeholder="请输入验证码" class="inputBg" name="extend_field<?php echo $this->_var['field']['id+1']; ?>" id="extend_field<?php echo $this->_var['field']['id']; ?>" type="text" /> </dd> <dd> <input id="zphone" name="sendsms" type="button" value="获取验证码" onclick="getverifycode1('extend_field<?php echo $this->_var['field']['id']; ?>', '<?php echo $this->_var['field']['reg_field_name']; ?>');" class="c-btn3" /> </dd> </dl> <?php else: ?> <dl> <dd> <input placeholder="<?php echo $this->_var['field']['reg_field_name']; ?>" class="inputBg" name="extend_field<?php echo $this->_var['field']['id']; ?>" id="extend_field<?php echo $this->_var['field']['id']; ?>" type="text" /> </dd> </dl> <?php endif; ?> <?php else: ?> <dl> <dd> <input placeholder="<?php echo $this->_var['field']['reg_field_name']; ?>" class="inputBg" name="extend_field<?php echo $this->_var['field']['id']; ?>" id="extend_field<?php echo $this->_var['field']['id']; ?>" type="text" /> </dd> </dl> <?php endif; ?> <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> <?php if ($this->_var['enabled_captcha']): ?> <dl> <dd> <input placeholder="请输入验证码" class="inputBg" name="captcha" id="captcha" type="text" /> </dd> <dd> <img src="captcha.php?<?php echo $this->_var['rand']; ?>" alt="captcha" style="height:34px;vertical-align: middle; margin-left:5px;" onClick="this.src='captcha.php?'+Math.random()" /> </dd> </dl> <?php endif; ?> <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="<?php echo $this->_var['back_act']; ?>" /> <input name="Submit" type="submit" value="下一步" class="c-btn3" /> </dd> </dl> </div> </form> <?php endif; ?> <?php if ($this->_var['need_rechoose_gift']): ?> <?php echo $this->_var['lang']['gift_remainder']; ?> <?php endif; ?> <?php endif; ?> </ul> </div> </div> <script type="text/javascript" src="<?php echo $this->_var['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> <?php endif; ?> <div class="blank1n"></div> <div style="width:1px; height:1px; overflow:hidden"><?php $_from = $this->_var['lang']['p_y']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'pv');if (count($_from)): foreach ($_from AS $this->_var['pv']): ?><?php echo $this->_var['pv']; ?><?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?></div> </body> <script type="text/javascript"> var process_request = "<?php echo $this->_var['lang']['process_request']; ?>"; <?php $_from = $this->_var['lang']['passport_js']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)): foreach ($_from AS $this->_var['key'] => $this->_var['item']): ?> var <?php echo $this->_var['key']; ?> = "<?php echo $this->_var['item']; ?>"; <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> var username_exist = "<?php echo $this->_var['lang']['username_exist']; ?>"; var compare_no_goods = "<?php echo $this->_var['lang']['compare_no_goods']; ?>"; var btn_buy = "<?php echo $this->_var['lang']['btn_buy']; ?>"; var is_cancel = "<?php echo $this->_var['lang']['is_cancel']; ?>"; var select_spe = "<?php echo $this->_var['lang']['select_spe']; ?>"; </script> </html>