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 imgCodeem(){ var nums = Math.floor(Math.random()*10000); $("#imgcodeem").attr("src","/indexzhong.php/Reg/verify?"+nums); } function checkEmail(){ var email = $("#user_email").val(); var url = "/indexzhong.php/Reg/checkemail"; $.post(url,{"email":email}, function(data) { if(data==0){ ZENG.msgbox.show("此邮箱已经被注册", 3, 2000); } }); } //提交判断 function onSubmitDataem(){ var user_pass = $("#user_passem").val(); var user_pass1 = $("#user_passem1").val(); var vercode = $("#vercodeem").val(); var user_email = $("#user_email").val(); var vali_code = $("#vali_codeem").val(); if(user_email==""){ ZENG.msgbox.show("请填写邮箱", 3, 2000); $("#user_email").focus(); return false; } if(vali_code==""){ ZENG.msgbox.show("请输入收到的验证码", 3, 2000); $("#vali_codeem").focus(); return false; } if(user_pass==""){ ZENG.msgbox.show("请设置密码", 3, 2000); $("#user_passem").focus(); return false; } if(user_pass1==""){ ZENG.msgbox.show("请填写确认密码", 3, 2000); $("#user_passem1").focus(); return false; } if(user_pass1!=user_pass){ ZENG.msgbox.show("两次密码不对", 3, 2000); $("#user_passem1").focus(); return false; } if(vercode==""){ ZENG.msgbox.show("请填写验证码", 3, 2000); $("#vercodeem").focus(); return false; } $("#formRegem").submit(); } function isEmail(str){ var reg = /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(.[a-zA-Z0-9_-])+/; return reg.test(str); } function getCode(){ var user_email = $("#user_email").val(); if(isEmail(user_email)){ }else{ ZENG.msgbox.show("请填写正确的邮箱地址", 3, 2000); return false; } if(user_email!=""){ var url = "/indexzhong.php/Reg/sendEmail"; $.post(url,{"user_email":user_email}, 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); } } //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.foundrypc.org/en/indexzhong.php/index/index">EN</a></div> </div> </div> </div><form method="post" id="formRegem" name="formRegem" action="/indexzhong.php/Reg/checkem" > <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 unchecked_in"> 手机注册 </div> </a> <a href="/indexzhong.php/Reg/regmail" tppabs=""> <div class="col-xs-6 col-md-6 checked_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_email" id="user_email" onblur="checkEmail();" type="text" placeholder="请输入电子邮箱" class="input" /> </div> <div class="group"> <label for="UserPass" class="label">邮箱验证码</label> <input name="vali_codeem" id="vali_codeem" 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_passem" id="user_passem" 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_passem1" id="user_passem1" 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="vercodeem" id="vercodeem" class="input" placeholder="请输入验证码" /> <div class="reg_code_1"><img id="imgcodeem" src='/indexzhong.php/Reg/verify'/></div> <div class="reg_code_1" style="width: 150px;line-height: 30px;"><a href="javascript:imgCodeem();">看不清?换一个</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="onSubmitDataem();" 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>

Pages: 1 2 3 4 5 6 7 8 9 10