⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 reg.asp

📁 新魔界最新帐号注册源码 精简了文件
💻 ASP
字号:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>新魔界 用户注册系统 www.5uwl.net</title>
<SCRIPT src="smart.js" type=text/javascript></SCRIPT>
<SCRIPT src="pswdchk.js" type=text/javascript></SCRIPT>
<SCRIPT src="register.js" type=text/javascript></SCRIPT>
</head>
<STYLE type=text/css>
.Label1 {
	TEXT-ALIGN: right
}
.Label {
	PADDING-LEFT: 5px
}
.Label1 {
	PADDING-LEFT: 5px
}
.Label {
	PADDING-BOTTOM: 16px; FONT: 13px Arial; VERTICAL-ALIGN: top! important; WIDTH: 100px; COLOR: #000; WHITE-SPACE: nowrap
}
.it {
	WIDTH: 160px
}
#ipassword {
	WIDTH: 160px
}
#ipassword2 {
	WIDTH: 160px
}
.it3 {
	VERTICAL-ALIGN: top; WIDTH: 160px
}
.it1 {	WIDTH: 160px
}
.Butt {
	BORDER-RIGHT: #2854a7 1px solid; BORDER-TOP: #7cbaff 1px solid; FONT: bold 12px Arial, Helvetica, sans-serif; BORDER-LEFT: #7cbaff 1px solid; COLOR: #ffffff; BORDER-BOTTOM: #2854a7 1px solid; BACKGROUND-COLOR: #3366cc
}
</STYLE>
<script language="vbscript">  

function checkform() 
   
   Set regEx = New RegExp

   struserid = Document.form.id.value
   

	if struserid = "" then 
		msgbox("请输入你的帐号!")
		document.form.id.focus()
		checkform=false
		exit function
	end if	
    
    regEx.Pattern = "\W"
    regEx.IgnoreCase = false
    Set Match = regEx.Execute(struserid)
    if Match.count>0 then
	   msgbox("您的帐号不符合规则!")
	   document.form.id.focus()
	   checkform=false
	   exit function
	End if
	
    set Match = nothing
	if len(struserid) < 4 or len(struserid)>12 then
		msgbox("帐号长度不正确,请输入长度4-12位的帐号!")
		document.form.id.focus()
		checkform=false 
		exit function
	end if	

	if len(document.form.oldpass.value) < 4 or len(document.form.oldpass.value) > 12 then
		msgbox("错误的密码长度,请输入长度4-12位的密码!")
		document.form.oldpass.focus()
		checkform=false 
		exit function
	end if
	
	if instr(document.form.oldpass.value," ") > 0 then
		msgbox("密码中不能有空格")
		document.form.oldpass.focus()
		checkform=false 
		exit function
	end if
	
	if (document.form.oldpass.value <> document.form.moldpass.value) then
		msgbox("两次输入的密码不一致!")
		document.form.moldpass.focus()
		checkform=false 
		exit function
	end if
	
		if (document.form.checkcode.value = "") then
		msgbox("请输入验证码!")
		document.form.checkcode.focus()
		checkform=false 
		exit function
	end if	
	
	
	
	document.form.action="registersave.asp?action=save"
    return true
  end function
  
</script>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" bgcolor="#ffffff">
<DIV style="WIDTH: 328px; height:251px">
								 <form name='form' name="thisForm" id="thisForm" method='post' action='' onSubmit="javascript:return checkform();">

      <TABLE width="312">
        <TBODY>
        <TR>
          <TD id=GoodStuff style="PADDING-LEFT: 0px; MARGIN-LEFT: 0px">
            <DIV id=theform style="PADDING-LEFT: 0px">
            <TABLE class=fdata width="323" height="229">
              <TBODY>
              <TR>
                <TD class=Label align="right" height="32"><span style="font-size: 9pt">你的帐号:</span></TD>
                <TD class=it3 height="32">
				<INPUT class=it style="FONT-SIZE: 9pt" name="id" id="id"><span style="font-size: 9pt">
				</span></TR>
              <TR>
                <TD class=Label align="right" height="37"><span style="font-size: 9pt">密码:</span></TD>
                <TD class=it3 height="37">
				<INPUT class=it id="ipassword" onkeyup=javascript:EvalPwd(this.value);  style="FONT-SIZE: 9pt" type=password maxLength=12  onchange=javascript:EvalPwd(this.value);  name=oldpass><span style="font-size: 9pt">
                <SCRIPT type=text/javascript>SmartInputText(document.getElementById('ipassword'),{novalign:true,notip:true});</SCRIPT> 
                </span> 
                <TABLE id=pwdpower cellSpacing=0 cellPadding=0 border=0 width="132"><TBODY>
                <TR><TD id=pweak align="center"><span style="font-size: 9pt">弱</span></TD>
					<TD id=pmedium align="center">
					<span style="font-size: 9pt">中</span></TD>
					<TD id=pstrong align="center">
					<span style="font-size: 9pt">强</span></TD></TR></TBODY></TABLE></TD>
                </TR>
              <TR>
                <TD class=Label align="right" height="32"><span style="font-size: 9pt">确认密码:</span></TD>
                <TD class=it3 height="32">
				<input class=it1 id="ipassword" style="FONT-SIZE: 9pt" type=password maxlength=12 name=moldpass></TD>
                </TR>
              <TR>
                <TD class=Label align="right" height="32"><span style="font-size: 9pt">验证码:</span></TD>
                <TD class=it3 height="32">
																<input name='CheckCode' size='20' maxlength='6'class=it style="FONT-SIZE: 9pt"></TD>
                </TR>
              <TR>
                <TD height="25"> </TD>
                <TD height="25"><span style="font-size: 9pt"><script language = javascript>  
								
				function refreshimg(){
					document.all.checkcode.src = 'checkcode.asp';
				}
				</script></span><a href="javascript:refreshimg()">
				<span style="font-size: 9pt">
				<img id='checkcode' src='CheckCode.Asp' style='border: 1px solid #ffffff; float:left' width='120' height='21' /></span></TD></TR>
              <TR>
                <TD> </TD>
                <TD style="FONT-SIZE: 14px; VERTICAL-ALIGN: middle">
				<span style="font-size: 9pt">
				<input class=Butt type=submit value=创建一区帐号&nbsp; name=B1></span></TD>
                </TR></TBODY></TABLE>
            </DIV></TD></TR></TBODY></TABLE></FORM>
</DIV>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -