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" /> <link href="{$ectouch_themes}/css/opendiv.css" rel="stylesheet" type="text/css" /> {* 包含脚本文件 *} {insert_scripts files='common.js,user.js'} <script type="text/javascript" src="{$ectouch_themes}/js/jquery-1.4.4.min.js"></script> {insert_scripts files='utils.js'} <script type="text/javascript"> /* * * 处理注册用户 */ function register() { var frm = document.forms['formUser']; <!-- {if $_CFG['ecsdxt_mobile_reg']=='1'} --> var username = Utils.trim(frm.elements['extend_field5'].value); var yzm = Utils.trim(frm.elements['extend_field'].value); <!-- {else} --> var username = Utils.trim(frm.elements['username'].value); <!-- {/if} --> //var email = frm.elements['email'].value; var password = Utils.trim(frm.elements['password'].value); //var confirm_password = Utils.trim(frm.elements['confirm_password'].value); var checked_agreement = frm.elements['agreement'].checked; var msn = frm.elements['extend_field1'] ? Utils.trim(frm.elements['extend_field1'].value) : ''; var qq = frm.elements['extend_field2'] ? Utils.trim(frm.elements['extend_field2'].value) : ''; var home_phone = frm.elements['extend_field4'] ? Utils.trim(frm.elements['extend_field4'].value) : ''; var office_phone = frm.elements['extend_field3'] ? Utils.trim(frm.elements['extend_field3'].value) : ''; var mobile_phone = frm.elements['extend_field5'] ? Utils.trim(frm.elements['extend_field5'].value) : ''; var passwd_answer = frm.elements['passwd_answer'] ? Utils.trim(frm.elements['passwd_answer'].value) : ''; var sel_question = frm.elements['sel_question'] ? Utils.trim(frm.elements['sel_question'].value) : ''; var msg = ""; // 检查输入 var msg = ''; <!-- {if $_CFG['ecsdxt_mobile_reg']!='1'} --> if (username.length == 0) { msg += username_empty + '\n'; } else if (username.match(/^\s*$|^c:\\con\\con$|[%,\'\*\"\s\t\<\>\&\\]/)) { msg += username_invalid + '\n'; } else if (username.length < 3) { //msg += username_shorter + '\n'; } <!-- {else} --> if (!(Utils.isMobile(username))) { msg += '手机号码不正确' + '\n'; } if (yzm.length != 6 || !(Utils.isNumber(yzm))) { msg += '验证码不正确' + '\n'; } <!-- {/if} --> if (password.length == 0) { msg += password_empty + '\n'; } else if (password.length < 6) { msg += password_shorter + '\n'; } if (/ /.test(password) == true) { msg += passwd_balnk + '\n'; } if(checked_agreement != true) { msg += agreement + '\n'; } if (msn.length > 0 && (!Utils.isEmail(msn))) { msg += msn_invalid + '\n'; } if (qq.length > 0 && (!Utils.isNumber(qq))) { msg += qq_invalid + '\n'; } if (office_phone.length>0) { var reg = /^[\d|\-|\s]+$/; if (!reg.test(office_phone)) { msg += office_phone_invalid + '\n'; } } if (home_phone.length>0) { var reg = /^[\d|\-|\s]+$/; if (!reg.test(home_phone)) { msg += home_phone_invalid + '\n'; } } if (mobile_phone.length>0) { var reg = /^[\d|\-|\s]+$/; if (!reg.test(mobile_phone)) { msg += mobile_phone_invalid + '\n'; } } if (passwd_answer.length > 0 && sel_question == 0 || document.getElementById('passwd_quesetion') && passwd_answer.length == 0) { msg += no_select_question + '\n'; } for (i = 4; i < frm.elements.length - 4; i++) // 从第五项开始循环检查是否为必填项 { needinput = document.getElementById(frm.elements[i].name + 'i') ? document.getElementById(frm.elements[i].name + 'i') : ''; if (needinput != '' && frm.elements[i].value.length == 0) { msg += '- ' + needinput.innerHTML + msg_blank + '\n'; } } if (msg.length > 0) { alert(msg); return false; } else { return true; } } </script> </head> <body style="background:#fff;"> <!--#登录界面 start--> <!-- {if $action eq 'login'} --> <div class="login-container"> <div id="page"> <header id="header"> <div class="header_l"> <a class="ico_10" onClick="javascript:history.back(1);"> 返回 </a> </div> <h1> 会员登录 </h1> </header> </div> <!--登录Tab--> {if $_CFG['ecsdxt_mobile_log']=='1'} <ul class="login-title"> <li class="active" id="login-account" style="width:33.3%"><a href="javascript:void(0)">账号登录</a> <li id="login-phoneNum" style="width:33.3%"><a href="javascript:void(0)">手机验证码登录</a> <li id="login-cardNum" style="width:33.3%"><a href="javascript:void(0)">会员卡登录</a> </ul> {else} <ul class="login-title"> <li class="active" id="login-account" style="width:50%"><a href="javascript:void(0)">账号登录</a> <li id="login-cardNum" style="width:50%"><a href="javascript:void(0)">会员卡登录</a> </ul> {/if} <!--登录表单--> <div class="login-main"> <!--账号登录--> <div class="login-form login-account" style=""> <form name="formLogin" id="formLogin" action="user.php" method="post" onSubmit="return userLogin()"> <div class="form-content"> <span>账 号</span> <div class="form-input"> <input type="text" id="username" name="username" autocomplete="off" placeholder="{$lang.username}/{$lang.mobile}/{$lang.email}"> </div> </div> <div class="form-content"> <span>密 码</span> <div class="form-input"> <input type="password" id="password" name="password" autocomplete="off" placeholder="{$lang.label_password}"> </div> </div> <div class="form-content" style="display:none;"> <input type="checkbox" checked="checked" value="1" name="remember" id="remember" /> </div> <!--登录操作--> <div class="login-operate"> <input type="hidden" name="act" value="act_login" /> <input type="hidden" name="back_act" value="{$back_act}" /> <input type="hidden" id="login_type" name="login_type" value="0" /> <input type="submit" name="submit" value="登录" class="login-btn active-login-btn" /> <div class="login-guide"> <a href="user.php?act=register">注册会员</a> {if $_CFG['ecsdxt_mobile_pwd']=='1'}<a href="user.php?act=mpassword_name">忘记密码?</a>{else} <a href="user.php?act=get_password" id="goForgetPwd">忘记密码?</a>{/if} </div> </div> </form> </div> {if $_CFG['ecsdxt_mobile_log']=='1'} <!--手机验证码登录--> <div class="login-form login-phoneNum" style="display:none"> <script>var ztime={$ztime};</script> {insert_scripts files='global.js'} {insert_scripts files='transport.js'} {insert_scripts files='sms.js'} <form name="formUsermobile" action="user.php" method="post"> <div class="form-content"> <span>手机号</span> <div class="form-input"> <input type="text" name="mobile" id="mobile" value="" placeholder="请输入已注册的手机号" autocomplete="off"> </div> </div> <div class="form-content"> <span>验证码</span> <div class="form-input"> <input type="text" name="verifycode" id="verifycode" autocomplete="off" placeholder="请输入验证码" maxlength="6"> </div> <input id="zphone" type="button" value="获取验证码" onClick="getverifycode3('mobile', '手机号')" class="bounceIn phoneCodeBtn" style="background:none; border:none; border-left:1px solid #ddd;"/> </div> <div class="form-content" style="display:none;"> <input type="checkbox" checked="checked" value="1" name="remember" id="remember" /> </div> <!--登录操作--> <div class="login-operate"> <input type="hidden" name="act" value="act_sms_login" /> <input type="hidden" name="back_act" value="{$back_act}" /> <input type="hidden" id="login_type" name="login_type" value="0" /> <input type="submit" name="submit" value="登录" class="login-btn active-login-btn" /> <div class="login-guide"> <a href="user.php?act=register">注册会员</a> {if $_CFG['ecsdxt_mobile_pwd']=='1'}<a href="user.php?act=mpassword_name">忘记密码?</a>{else} <a href="user.php?act=get_password" id="goForgetPwd">忘记密码?</a>{/if} </div> </div> </form> </div> {/if} <!--会员卡登录--> <div class="login-form login-cardNum" style="display:none"> <form name="formcard" id="formcard" action="user.php" method="post" onSubmit="return usercard()"> <div class="form-content"> <span>会员卡号</span> <div class="form-input"> <input type="text" id="username" name="username" placeholder="请输入会员卡号"> </div> </div> <div class="form-content"> <span>会员卡密</span> <div class="form-input"> <input type="password" id="password" name="password" placeholder="请输入会员卡密码"> </div> </div> <div class="form-content" style="display:none;"> <input type="checkbox" checked="checked" value="1" name="remember" id="remember" /> </div> <!--登录操作--> <div class="login-operate"> <input type="hidden" name="act" value="act_login" /> <input type="hidden" name="back_act" value="{$back_act}" /> <input type="hidden" id="login_type" name="login_type" value="3" /> <input type="submit" name="submit" value="登录" class="login-btn active-login-btn" /> <div class="login-guide"> <a href="user.php?act=register">注册会员</a> {if $_CFG['ecsdxt_mobile_pwd']=='1'}<a href="user.php?act=mpassword_name">忘记密码?</a>{else} <a href="user.php?act=get_password" id="goForgetPwd">忘记密码?</a>{/if} </div> </div> </form> </div> </div> <!--其他登录--> {if $qq_login || $weibo_login || $alipay_login || $weixin_login} <div class="login-others"> <div class="login-others-title"> <div class="line"></div> <span>其他方式登录</span> <div class="line"></div> </div> <ul> {if $qq_login}<li><a href="user.php?act=oath&type=qq"><i class="qq-ico"></i><span>QQ</span></a></li>{/if} {if $is_wechat_browser && $weixin_login}<li><a href="user.php?act=oath&type=weixin"><i class="wx-ico"></i><span>微信</span></a></li>{/if} {if $weibo_login}<li><a href="user.php?act=oath&type=weibo"><i class="wb-ico"></i><span>微博</span></a></li>{/if} {if $alipay_login}<li><a href="user.php?act=oath&type=alipay"><i class="zfb-ico"></i><span>支付宝</span></a></li>{/if} </ul> </div> {/if} </div> <script type="text/javascript"> jQuery(function($){ $('.login-container ul li').click(function(){ var index = $('.login-container ul li').index(this); $(this).addClass('active').siblings('li').removeClass('active'); $('.login-main .login-form:eq('+index+')').show().siblings('.login-form').hide(); }) }) </script> <!--{/if}--> <!--#登录界面 end--> <!--#会员注册界面 start--> <!-- {if $action eq 'register'} --> <div class="login-container"> <div id="page"> <header id="header"> <div class="header_l"> <a class="ico_10" onClick="javascript:history.back(1);"> 返回 </a> </div> <h1> 会员注册 </h1> </header> </div> <!--注册表单--> <!-- {if $shop_reg_closed eq 1} --> <div class="login-form login-account">{$lang.shop_register_closed}</div> <!-- {else} --> <div class="login-main"> <!--账号注册--> <div class="login-form login-account"> <form action="user.php" method="post" name="formUser" onsubmit="return register();"> <input type="hidden" name="flag" id="flag" value="register" /> <!-- {if $_CFG['ecsdxt_mobile_reg']!='1'} --> <div class="form-content"> <span>账号</span> <div class="form-input"> <input type="text" id="username" name="username" autocomplete="off" placeholder="请输入用户名"> </div> </div> <div class="form-content"> <span>密码</span> <div class="form-input"> <input type="password" id="password" name="password" autocomplete="off" placeholder="请输入密码"> </div> </div> <!-- {/if} --> <!-- {foreach from=$extend_info_list item=field} --> <!-- {if $field.reg_field_name=='手机'} --> <!-- {if $_CFG['ecsdxt_mobile_reg']=='1'} --> <script type="text/javascript"> var w,h,className; function getSrceenWH(){ w = jQuery(window).width(); h = jQuery(window).height(); jQuery('#dialogBg').width(w).height(h); } window.onresize = function(){ getSrceenWH(); } jQuery(window).resize(); </script> <script>var ztime={$ztime};</script> {insert_scripts files='global.js'} {insert_scripts files='transport.js'} {insert_scripts files='sms.js'} <div class="form-content"> <span>手机</span> <div class="form-input"> <input type="text" autocomplete="off" name="extend_field{$field.id}" id="extend_field{$field.id}" placeholder="请输入手机号码"> </div> </div> <div class="form-content"> <span>验证码</span> <div class="form-input"> <input type="text" name="extend_field" id="extend_field" autocomplete="off" placeholder="请输入验证码" maxlength="6"> </div> <a href="javascript:getverifycode1('extend_field{$field.id}', '{$field.reg_field_name}');" class="bounceIn phoneCodeBtn">获取验证码</a> </div> <div class="form-content"> <span>密码</span> <div class="form-input"> <input type="password" name="password" id="mobile_pwd" autocomplete="off" placeholder="请输入密码"> </div> </div> <div id="dialogBg"></div> <div id="dialog" class="animated"> <div class="dialogTop"> <a href="javascript:;" class="claseDialogBtn">关闭</a> </div> <div class="editInfos"> <p><label><input type="text" name="captcha" placeholder="输入图形验证码" maxlength="6" id="yzm" class="ipt" /></label></p> <p><img src="captcha.php?{$rand}" style="vertical-align: middle;cursor: pointer;" onClick="this.src='captcha.php?'+Math.random()" /></p> <p id="errortit"></p> <p><input class="submitBtn" value="确认提交" type="button" onclick="check_yzm();"></p> </div> </div> <!-- {else} --> <div class="form-content"> <span>{$field.reg_field_name}</span> <div class="form-input"> <input type="text" name="extend_field{$field.id}" id="extend_field{$field.id}" autocomplete="off" placeholder="{$field.reg_field_name}"> </div> </div> <!-- {/if} --> <!-- {else} --> <!-- {if $field.id eq 6} --> <div class="form-content"> <span>{$lang.passwd_question}</span> <div class="form-input"> <select name='sel_question'> <option value='0'>{$lang.sel_question}</option> {html_options options=$passwd_questions} </select> </div> </div> <div class="form-content"> <span>{$lang.passwd_answer}</span> <div class="form-input"<!-- {if $field.is_need} --> id="passwd_quesetion"<!--{/if}-->> <input type="text" autocomplete="off" name="passwd_answer" placeholder="{$lang.passwd_answer}"> </div> </div> <!-- {else} --> <div class="form-content"> <span>{$field.reg_field_name}</span> <div class="form-input"> <input type="text" autocomplete="off" name="extend_field{$field.id}" id="extend_field{$field.id}" placeholder="{$field.reg_field_name}"> </div> </div> <!-- {/if} --> <!-- {/if} --> <!-- {/foreach} --> <div class="form-content" style="display:none;"> <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> </div> <!--登录操作--> <div class="login-operate"> <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 type="submit" name="submit" value="提交注册" class="login-btn active-login-btn" /> </div> </form> <div class="login-operate"> <div class="login-guide"> <a href="user.php">会员登录</a> </div> </div> </div> </div> <!-- {/if} --> <!--其他登录--> {if $qq_login || $weibo_login || $alipay_login || $weixin_login} <div class="login-others"> <div class="login-others-title"> <div class="line"></div> <span>其他方式登录</span> <div class="line"></div> </div> <ul> {if $qq_login}<li><a href="user.php?act=oath&type=qq"><i class="qq-ico"></i><span>QQ</span></a></li>{/if} {if $is_wechat_browser && $weixin_login}<li><a href="user.php?act=oath&type=weixin"><i class="wx-ico"></i><span>微信</span></a></li>{/if} {if $weibo_login}<li><a href="user.php?act=oath&type=weibo"><i class="wb-ico"></i><span>微博</span></a></li>{/if} {if $alipay_login}<li><a href="user.php?act=oath&type=alipay"><i class="zfb-ico"></i><span>支付宝</span></a></li>{/if} </ul> </div> {/if} </div> <!--{/if}--> <!--#会员注册界面 end--> <!--*找回密码界面 --> <!--{if $action eq 'get_password'} --> {insert_scripts files='utils.js'} <script type="text/javascript"> {foreach from=$lang.password_js item=item key=key} var {$key} = "{$item}"; {/foreach} </script> <div id="page"> <header id="header"> <div class="header_l"> <a class="ico_10" onClick="javascript:history.back();"> 返回 </a> </div> <h1> 找回密码 </h1> </header> </div> <section class="wrap"> <div id="leftTabBox" class="loginBox"> <div class="hd"> <span>您可通过<!--{if $enabled_sms_signin eq 1} 支持手机短信功能-->手机号码<!--{else}-->电子邮件<!--{/if}-->重置密码</span> </div> <div id="tabBox1-bd"><!-- 添加id,js用到 --> <ul> <!--{if $enabled_sms_signin eq 1} 支持手机短信功能--> <form action="user.php" method="post" name="getPassword" onSubmit="return submitForget();"> <input type="hidden" name="flag" id="flag" value="forget" /> <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="mobile_code" id="mobile_code" type="text" /> </dd> <dd> <input id="zphone" name="sendsms" type="button" value="获取验证码" onClick="sendSms();" class="c-btn5" /> </dd> </dl> <dl> <dd> <input name="act" type="hidden" value="send_pwd_sms" /> <input name="Submit" type="submit" value="{$lang.submit}" class="c-btn5" /> </dd> </dl> </div> </form> <!--{else}--> <form action="user.php" method="post" name="getPassword" onsubmit="return submitPwdInfo();"> <div class="table_box"> <dl> <dd> <input placeholder="{$lang.username}" class="inputBg" name="user_name" type="text" /> </dd> </dl> <dl> <dd> <input placeholder="{$lang.email}" class="inputBg" name="email" type="text" /> </dd> </dl> <dl> <dd> <input name="act" type="hidden" value="send_pwd_email" /> <input name="Submit" type="submit" value="{$lang.submit}" class="c-btn5" /> </dd> </dl> </div> <br /> </form> <!--{/if}--> </ul> </div> </div> </section> <!--{/if}--> <!--#找回密码界面 end--> <!--*重置密码界面 --> <!-- {if $action eq 'reset_password'} --> <script type="text/javascript"> {foreach from=$lang.password_js item=item key=key} var {$key} = "{$item}"; {/foreach} </script> <div id="page"> <header id="header"> <div class="header_l"> <a class="ico_10" onClick="javascript:history.back();"> 返回 </a> </div> <h1> 重置密码 </h1> </header> </div> <section class="wrap"> <div id="leftTabBox" class="loginBox"> <div> <ul> <form action="user.php" method="post" name="getPassword2" onSubmit="return submitPwd()"> <div class="table_box"> <dl> <dd> <input placeholder="{$lang.new_password}" class="inputBg" name="new_password" type="password" /> </dd> </dl> <dl> <dd> <input placeholder="{$lang.confirm_password}" class="inputBg" name="confirm_password" type="password" /> </dd> </dl> <dl> <dd> <input type="hidden" name="act" value="act_edit_password" /> <input type="hidden" name="uid" value="{$uid}" /> <input type="hidden" name="code" value="{$code}" /> <input name="Submit" type="submit" value="{$lang.confirm_submit}" class="c-btn3" /> </dd> </dl> </div> <br /> </form> </ul> </div> </div> </section> <!--{/if}--> <!--#重置密码界面 end--> <!--*短信找回密码界面 --> <!--{if $action eq 'mpassword_name'} --> {insert_scripts files='utils.js'} <script type="text/javascript"> {foreach from=$lang.password_js item=item key=key} var {$key} = "{$item}"; {/foreach} </script> <div id="page"> <header id="header"> <div class="header_l"> <a class="ico_10" onClick="javascript:history.back();"> 返回 </a> </div> <h1> 找回密码 </h1> </header> </div> <section class="wrap"> <div id="leftTabBox" class="loginBox"> <div class="hd"> <span>您可通过手机号码重置密码</span> </div> <div id="tabBox1-bd"> <ul> <form action="user.php" method="post" name="getPasswordByMobile" onsubmit="return submitPwdMobileInfo();"> <div class="table_box"> <dl> <dd> <input placeholder="请输入手机号码" name="mobile" type="text" size="30" class="inputBg" maxlength="12" /> </dd> </dl> <dl> <dd> <input type="hidden" name="act" value="send_pwd_mobile" /> <input type="submit" name="submit" value="{$lang.submit}" class="c-btn5" style="border:none;" /> </dd> </dl> </div> </form> </ul> </div> </div> </section> <!--{/if}--> <script type="text/javascript" src="{$ectouch_themes}/js/sms.js"></script> <div style="width:1px; height:1px; overflow:hidden">{foreach from=$lang.p_y item=pv}{$pv}{/foreach}</div> <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}"; </script> </body> </html>