📄 reginster0.asp
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>资源管理系统</title>
</head>
<script language="JavaScript">
function checkForm()
{
if(document.regForm.loginName.value=="")
{
alert("用户名不能为空!");
document.regForm.loginName.focus();
return false;
}
if(document.regForm.userPassword1.value=="")
{
alert("密码不能为空!");
document.regForm.userPassword1.focus();
return false;
}
if(document.regForm.userPassword1.value!=document.regForm.userPassword2.value)
{
alert("两个密码必需相等!");
document.regForm.userPassword1.focus();
return false;
}
return true;
}
</script>
<body>
<table width="74%" border="1" align="center" cellspacing="0" bordercolor="#FFCC99">
<tr>
<td height="73" bgcolor="#3399FF"> <p align="center"><font color="#FF9900" size="7"><strong>资源管理系统</strong></font></p></td>
</tr>
<tr>
<td height="31" bgcolor="#FFCC00"> <div align="center"><strong><font color="#000099" size="4">用户注册</font></strong></div></td>
</tr>
<tr>
<td bgcolor="#FFFFCC"><form name="regForm" action="reginster1.asp" method="post" onSubmit="return checkForm()">
<p align="center"> </p>
<p align="center">用户名:
<input type="text" name="loginName">
</p>
<p align="center"> 密码:
<input type="text" name="userPassword1">
</p>
<p align="center"> 确认密码:
<input type="text" name="userPassword2">
</p>
<p align="center"> 真实姓名:
<input type="text" name="realName">
</p>
<p align="center">性别:
<input name="boy" type="radio" value="0" checked>
男
<input type="radio" name="girl" value="1">
女 </p>
<p align="center">E_mail:
<input type="text" name="userEmail">
</p>
<p align="center">
<input type="submit" name="Submit" value="提交">
<input name="reset" type="reset"value="重置">
</p>
</form></td>
</tr>
<tr>
<td height="32" bgcolor="#0099FF"> <div align="center"><font color="#000099" size="3">版权所有©CORNER</font></div></td>
</tr>
</table>
<p> </p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -