📄 adduser.asp
字号:
<html>
<head>
<title>具体产品管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../images/css.css" rel="stylesheet" type="text/css">
<link href="../css/main.css" rel="stylesheet" type="text/css">
<link href="../images/style.css" rel="stylesheet" type="text/css">
</head>
<!--#include file=refuse.asp-->
<%
dim message
message=request.QueryString("message")
if message="" then message="为了数据的安全,请你仔细填写各项(加*为必填)"
%>
<body>
<table width="500" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#6B8FC8">
<!--DWLayoutTable-->
<tr>
<td width="496" height="29" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="496" height="27" valign="middle">
<div align="center" ><font color="red" size="3"><%=message%></font></div></td>
</tr>
</table></td>
</tr>
<tr>
<td height="236" valign="top" bgcolor="#E8F1FF"><div align="center">
<form name="form1" id="form1" method="post" action="adduser2.asp">
<table >
<!--DWLayoutTable-->
<tr>
<td width="124" height="21"> </td>
<td width="153"> </td>
</tr>
<tr>
<td height="22" valign="top" class="boxcontent">请输入用户名:</td>
<td valign="top"> <div align="left">
<input name="name" type="text" class="INPUT" id="name" size="13">
*</div></td>
</tr>
<tr>
<td height="22" valign="top" class="boxcontent">请输入密码:</td>
<td valign="top"><input name="password" type="password" class="INPUT" id="password" size="13">
*</td>
</tr>
<tr>
<td height="22" valign="top" class="boxcontent">确认密码:</td>
<td valign="top"><input name="password1" type="password" class="INPUT" id="password1" size="13">
*</td>
</tr>
<tr>
<td height="47"> </td>
<td></td>
</tr>
<tr>
<td height="30" valign="top"><div align="center">
<input type="submit" name="Submit" value="提交" onClick="return check();">
</div></td>
<td valign="top"><input type="reset" name="Submit2" value="重置"></td>
</tr>
<tr>
<td height="28" colspan="2" valign="top"><!--DWLayoutEmptyCell--> </td>
</tr>
</table>
</form>
</div>
</td>
</tr>
</table>
<br>
<SCRIPT LANGUAGE="JavaScript">
<!--
function check()
{
if(checkspace(document.form1.name.value)) {
document.form1.name.focus();
alert("用户名不能为空,请重新输入!");
return false;
}
if(checkspace(document.form1.password.value)) {
document.form1.password.focus();
alert("密码不能为空,请重新输入!");
return false;
}
if(document.form1.password.value != document.form1.password1.value) {
document.form1.password.focus();
document.form1.password.value = '';
document.form1.password1.value = '';
alert("两次输入的密码不同,请重新输入!");
return false;
}
}
function checkspace(checkstr) {
var str = '';
for(i = 0; i < checkstr.length; i++) {
str = str + ' ';
}
return (str == checkstr);
}
//-->
</script>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -