📄 userreg.asp
字号:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>科研、设备信息化管理系统</title>
<link href="../css/c1.css" rel="stylesheet" type="text/css">
</head>
<script language="javascript">
function checkform()
{
if (myform.username.value=="")
{
window.message.innerHTML="请输入用户名"
myform.username.focus()
return false
}
return true
if (myform.password1.value=="")
{
window.message.innerHTML="请输入密码"
myform.password1.focus()
return false
}
return true
if (myform.password2.value=="")
{
window.message.innerHTML="请输入确认密码"
myform.password2.focus()
return false
}
return true
}
function into()
{
myform.username.focus()
}
</script>
<%
dim top_path
top_path="../"
ec=request.QueryString("ec")
if not isnumeric(ec) then
ec=0
end if
select case ec
case 0
case 1
m="请输入用户名"
case 2
m="请输入密码"
case 3
m="请输入确认密码"
case 4
m="输入密码不一致"
case 5
m="该用户已注册"
end select
%>
<body onLoad="into()">
<!--#include file="../share/top.asp" -->
<table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
<form action="userregup.asp" method="post" name="myform" id="myform" onSubmit="return checkform()">
<tr>
<td height="28" colspan="2"><div align="center" class="style2">欢迎使用科研、设备信息化管理系统,注册前请认真阅读以下注册协议</div></td>
</tr>
<tr>
<td height=1 width=600 colspan="2" bgcolor=#999999></td>
</tr>
<tr>
<td height="250" colspan="2" align=center><iframe width=600 height=250 src=license.htm></iframe></td>
</tr>
<tr>
<td height=1 width=600 colspan="2" bgcolor=#999999></td>
</tr>
<tr>
<td height="35" colspan="2"><div align="center" class="style2"><span class="top_right_white"> </span><span class="blackfont">注册新用户</span></div></td>
</tr>
<tr>
<td colspan="2" height=28><div align="center"><span class="style3">用 户 名:</span><span class="style2">
<input name="username" type="text" id="username" style="width:150px;border: 1px solid #CCCCCC;height:18px" value="" maxlength="20" size="20">
</span></div></td>
</tr>
<tr>
<td colspan="2" height=28 class="style3"><div align="center">密 码:
<input name="password1" type="password" id="password" style="width:150px;border: 1px solid #CCCCCC;height:18px" value="" maxlength="20" size="20">
</div></td>
</tr>
<tr>
<td colspan="2" height=28 class="style3"><div align="center">确认密码:
<input name="password2" type="password" id="password" style="width:150px;border: 1px solid #CCCCCC;height:18px" value="" maxlength="20" size="20">
</div></td>
</tr>
<tr>
<td height="40" align=center bgcolor=#ffffff><input type="submit" name="Submit" value="注 册"></td>
</tr>
<tr>
<td colspan="2" bgcolor=#ffffff><div align="center" class="style2"><span class="top_right_white"><div align="center" class="redfont" id="message"><%=m%></div></div></td>
</tr>
<tr>
<td height="18" colspan="2"></td>
</tr>
</table>
</form></td>
</tr>
</table>
<!--#include file="../share/bottom.htm" -->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -