CINXE.COM
会员手机注册
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> <title>会员手机注册</title> <meta name="keywords" content="会员手机注册"/> <meta name="description" content="会员手机注册"/> <link rel="stylesheet" type="text/css" href="/Public/Css/bootstrap-4.4.1-dist/css/bootstrap.css" /> <link rel="stylesheet" type="text/css" href="/Public/Css/stylemain.css" /> <link rel="stylesheet" type="text/css" href="/Public/Css/codehim-dropdown.css" /> <link rel="stylesheet" type="text/css" href="/Public/Css/bootstrap.css" /> <link rel="stylesheet" type="text/css" href="/Public/Css/login.css" /> <!--[if lt IE 9]> <script type="text/javascript" src="/Public/Js/html5shiv.min.js"></script> <script type="text/javascript" src="/Public/Js/respond.js"></script> <![endif]--> <script type="text/javascript" src="/Public/Js/jquery-1.8.0.min.js"></script> <script type="text/javascript" src="/Public/Js/top.js"></script> <link rel="stylesheet" type="text/css" href="/Public/Css/msgbox.css" /> <script type="text/javascript" src="/Public/Js/msgbox.js"></script> <script type="text/javascript"> //换验证码 function imgCode(){ var nums = Math.floor(Math.random()*10000); $("#imgcode").attr("src","/indexzhong.php/Reg/verify?"+nums); } function checktel(){ var user_tel = $("#user_tel").val(); var url = "/indexzhong.php/Reg/checktel"; $.post(url,{"user_tel":user_tel}, function(data) { if(data==0){ ZENG.msgbox.show("此手机号已经被注册", 3, 2000); } }); } //提交判断 function onSubmitData(){ var user_pass = $("#user_pass").val(); var user_pass1 = $("#user_pass1").val(); var vercode = $("#vercode").val(); var user_tel = $("#user_tel").val(); var vali_code = $("#vali_code").val(); if(user_tel==""){ ZENG.msgbox.show("请输入您的手机号码", 3, 2000); $("#user_tel").focus(); return false; } if(vali_code==""){ ZENG.msgbox.show("请输入收到的验证码", 3, 2000); $("#vali_code").focus(); return false; } if(user_pass==""){ ZENG.msgbox.show("请设置密码", 3, 2000); $("#user_pass").focus(); return false; } if(user_pass1==""){ ZENG.msgbox.show("请填写确认密码", 3, 2000); $("#user_pass1").focus(); return false; } if(user_pass1!=user_pass){ ZENG.msgbox.show("两次密码不对", 3, 2000); $("#user_pass1").focus(); return false; } if(vercode==""){ ZENG.msgbox.show("请填写验证码", 3, 2000); $("#vercode").focus(); return false; } $("#formReg").submit(); } function getCode(){ var user_tel = $("#user_tel").val(); var vercode = $("#vercode").val(); if(vercode!=""){ if(user_tel!=""){ var url = "/indexzhong.php/Reg/sendSms"; $.post(url,{"user_tel":user_tel,"vercode":vercode}, function(data) { if(data==1){ $("#times").html("<a href='javascript:;' class='send_btn2' style='right: 10px;top: 123px;color: white;'>重新发送(<span id='i'></span>)</a>"); fun_timedown(90); }else{ ZENG.msgbox.show("短信发送失败,数字验证码不正确!", 3, 2000); } }); }else{ ZENG.msgbox.show("请填写手机号码", 3, 2000); $("#user_tel").focus(); } }else{ ZENG.msgbox.show("请填写数字验证码", 3, 2000); $("#vercode").focus(); } } //60秒倒计时 function fun_timedown(time){ if(time=='undefined') time = 60; $("#i").html(time); time = time-1; if(time>=0){ setTimeout("fun_timedown("+time+")",1000); }else{ $("#times").html('<a href="javascript:getCode();" class="send_btn" style="right: 10px;top: 123px;color: white;">重新获取</a>'); } } $(function(){ if(!placeholderSupport()){ // 判断浏览器是否支持 placeholder $('[placeholder]').focus(function() { var input = $(this); if (input.val() == input.attr('placeholder')) { input.val(''); input.removeClass('placeholder'); } }).blur(function() { var input = $(this); if (input.val() == '' || input.val() == input.attr('placeholder')) { input.addClass('placeholder'); input.val(input.attr('placeholder')); } }).blur(); }; }) function placeholderSupport() { return 'placeholder' in document.createElement('input'); } function gotologin(){ location.href="/indexzhong.php/Login/login"; } </script> <style type="text/css"> .send_btn{width:90px; height:30px; background-color: #DD3E07;position:absolute; top:5px; right:160px;padding: 0;margin: 0; border: none;border-radius: 15px;cursor: pointer;text-align: center;line-height: 30px;} .send_btn2{width:90px; height:30px;background-color: #999999;position:absolute; top:5px; right:160px;padding: 0;margin: 0; border: none;border-radius: 15px;cursor: pointer;text-align: center;line-height: 30px;} .reg_code_1{width: 70px;height: 30px;border: 0px solid red;float: left;margin-left: 10px;margin-top: 10px;} .reg_code_1 a{color: #989898;} </style> </head> <body style="background: none;"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <div class="headroom"> <div class="headroom_main container"> <div class="float-left"> <form action="http://www.foundrypc.org/indexzhong.php/index/index" method="post" id="search_form200"> <input type="hidden" name="session_login" value=""> <input type="hidden" name="session_user_email" value=""> <input type="hidden" name="session_user_id" value=""> <input type="hidden" name="session_user_tel" value=""> <input type="hidden" name="session_user_name_china" value=""> </form> <a href="#" style="cursor:pointer" onclick="document:search_form200.submit();">返回首页</a> </div> <div class="float-right"> <div class="float-left p_center"><a href="http://www.foundrypc.org/indexzhong.php/Login/login">登陆</a></div> <div class="float-left"><a href="/indexzhong.php/Reg/regtel">注册</a>|<a href="http://www.foundryworld.com/en/indexzhong.php/index/indexzzs">EN</a></div> </div> </div> </div><form method="post" name="formReg" action="/indexzhong.php/Reg/check" id="formReg"> <div class="aspNetHidden" style="margin-top: 30px;"> <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwULLTIwOTMwNjMxODFkZGTJ+7ECPxugyB6xi9+c1LTR2tBx2O1IThEjS7EWJw6W" /> </div> <div class="aspNetHidden"> <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWBAK7n96QBAKnoPmuCwLPyszgDQKM54rGBqtMXXpqyGe8sD9xdmphPefueerutVyl1a48w3rl+Boa" /> </div> <div class="container no-padding" style="background-color: #fff; height: 100%;"> <div class="regin_box clearfix"> <div class="col-md-12 col-xs-12 "> <div class="col-xs-12 col-md-12 login_in clearfix" style=""> <a href="/indexzhong.php/Reg/regtel" tppabs=""> <div class="col-xs-6 col-md-6 checked_in"> 手机注册 </div> </a> <a href="/indexzhong.php/Reg/regmail" tppabs=""> <div class="col-xs-6 col-md-6 unchecked_in"> 邮箱注册 </div> </a> <div class="login-form col-xs-10 col-xs-offset-1 col-md-8 col-md-offset-2"> <input id="sales" name="sales" type="hidden" value=""> <div class="sign-in-htm col-xs-12"> <div class="group"> <label for="UserMob" class="label">手机号码</label> <input name="user_tel" id="user_tel" onblur="checktel();" type="text" placeholder="请输入手机号码" class="input" /> </div> <div class="group"> <label for="UserPass" class="label">手机验证码</label> <input name="vali_code" id="vali_code" type="text" class="input" placeholder="请输入手机收到验证码" /> <span id="times"><a class="send_btn" href="javascript:getCode();" style="right: 10px;top: 123px;color: white;">发送验证码</a></span> <span class="field-validation-valid" data-valmsg-for="UserPass" data-valmsg-replace="true"></span> </div> <div class="group"> <label for="UserPass" class="label">密码</label> <input type="password" name="user_pass" id="user_pass" class="input" placeholder="请输入密码" /> <span class="field-validation-valid" data-valmsg-for="UserPass" data-valmsg-replace="true"></span> </div> <div class="group"> <label for="UserPass" class="label">确认密码</label> <input type="password" name="user_pass1" id="user_pass1" class="input" placeholder="请再次输入密码" /> <span class="field-validation-valid" data-valmsg-for="UserPass" data-valmsg-replace="true"></span> </div> <div class="group"> <label for="UserPass" class="label">数字验证码</label> <input type="text" name="vercode" id="vercode" class="input" placeholder="请输入数字验证码" /> <div class="reg_code_1"><img id="imgcode" src='/indexzhong.php/Reg/verify'/></div> <div class="reg_code_1" style="width: 150px;line-height: 30px;"><a href="javascript:imgCode();">看不清?换一个</a></div> <span class="field-validation-valid" data-valmsg-for="UserPass" data-valmsg-replace="true"></span> </div> <div class="sub_btn clearfix" style="margin-bottom: 30px;"> <div class="col-xs-6 col-md-6"> <input type="button" onclick="javascript:gotologin();" name="" value="登 录" id="" class="button reg_sub col-xs-12 col-md-12" style="padding-top: 15px; margin-top: 20px; padding-bottom: 15px;" /> </div> <div class="col-xs-6 col-md-6"> <input type="button" value="注册" onclick="onSubmitData();" name="Button1" id="Button1" class="button group_sub col-xs-12 col-md-12" style="padding-top: 15px; margin-top: 20px; padding-bottom: 15px;" /> </div> </div> </div> </div> </div> </div> </div> </div> </form> </body> </html>