initprovcity('','');
  

  •   
var YXM_switch_key = 1;var YXM_PUBLIC_KEY = 'e491033892fbb0b74b58cd2c37efeeaf'; document.write("<"+"/script>"); function YXM_valided_true() { $("form:first").submit(); } function YXM_valided_false() { art.dialog.alert('验证失败,请重试!'); } function CheckForm() { if(EmptyCheckForm('username','用户名不能为空!','')) return false; if(EmptyCheckForm('password','密码不能为空!',''))return false; if(EmptyCheckForm('repassword','确认密码不能为空!',''))return false; if(EmptyCheckForm('birthday','生日不能为空!',''))return false; if(EmptyCheckForm('province','省份不能为空!',''))return false; if(EmptyCheckForm('city','城市不能为空!',''))return false; if(EmptyCheckForm('email','邮箱不能为空!',''))return false; if(EmailCheckForm('email','邮箱格式不正确!'))return false; if(QQCheckForm('qq','qq号码不正确!'))return false; if(RepwdCheckForm('password','repassword','确认密码和密码不一致!'))return false; } function EmptyCheckForm(id,value,set) { if($('#'+id).val()==set) { $.dialog({icon:'warning',content:value,ok:function(){ $('#' + id).focus();}});return true; } return false; } function EmailCheckForm(id,msg) { var szReg=/^[A-Za-z0-9]+([-_.][A-Za-z0-9]+)*@([A-Za-z0-9]+[-.])+[A-Za-z0-9]{2,5}$/; Mail = $('#'+id).val(); if(szReg.test(Mail)==false) { $.dialog({icon:'warning',content:msg,ok:function(){ $('#' + id).focus();}});return true; } return false; } function QQCheckForm(id,msg) { var szReg=/^[1-9][0-9]{4,12}$/; Mail = $('#'+id).val(); if(szReg.test(Mail)==false) { $.dialog({icon:'warning',content:msg,ok:function(){ $('#' + id).focus();}});return true; } return false; } function RepwdCheckForm(id1,id2,msg) { if($('#'+id1).val() != $('#'+id2).val()) { $.dialog({icon:'warning',content:msg,ok:function(){ $('#' + id1).focus();}});return true; } return false; } $("#username").blur(function(){ if($("#username").val() !='') { $.post("/index.php?m=public&a=regtest", {username:$("#username").val()},function(data){ if(data==1) { $.dialog.alert('当前用户名已经注册了,请更换!'); $("#username").val(''); $("#username").focus(); } }); } }); \

© 2017安全短网址 okdsw.com dwz

软件下载  友情链接  建议反馈  投资合作 

SCANV网站安全中心