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

📄 add_user.asp

📁 动力商业广告Sql版本全方位的WEB开发学习应用交流共享服务
💻 ASP
字号:
<%@ LANGUAGE = VBScript.Encode %><!--#include file="../../inc/verify_user.inc" -->
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../../css/ads.css" type="text/css">
</head>

<script language=javascript>
function formCheck()
{

	if (document.theform.username.value == "")
	{
		alert("请填写用户名")
		document.theform.username.focus()
		return false
	}
	
	
	if (document.theform.password1.value == "")
	{
		alert("请输入您的用户密码")
		document.theform.password1.focus()
		return false
	}

	if (document.theform.password1.value.length < 3)
	{
		alert("用户密码不能小于3位,请您重新输入")
		document.theform.password1.focus()
		return false
	}

	if (document.theform.password2.value == "")
	{
		alert("请输入您的确认密码")
		document.theform.password2.focus()
		return false
	}

	if (document.theform.password1.value != document.theform.password2.value)
	{
		alert("您输入用户密码和确认密码不一致,请您重新输入")
		document.theform.password1.focus() 
		return false
	}
	
	if (document.theform.comment.value == "")
	{
		alert("请填写备注说明")
		document.theform.comment.focus()
		return false
	}


return true
}
</script>




<body bgcolor="#FFFFFF" text="#000000">
<!--#include file="../../inc/top.inc" -->
<p>&nbsp;</p>
<p><b><img src="../../images/iico.gif" width="15" height="15" align="absmiddle"> 
<span class="px14">填写新添加用户的资料:</span> </b></p>
<form method="post" action="get_add_user.asp" name="theform" onsubmit="return formCheck();">
<table width="380" border="0" cellspacing="1" cellpadding="2" class="px14" bgcolor="#eeeeee">
<tr> 
<td width="126" bgcolor="#eeeeee"> 
<div align="right">用户名:</div>
</td>
<td width="243" bgcolor="#eeeeee"> 
<input type="text" name="username" size="20" maxlength="20">
</td>
</tr>
<tr bgcolor="#FFFFFF"> 
<td width="126"> 
<div align="right">密码:</div>
</td>
<td width="243"> 
<input type="password" name="password1" size="20" maxlength="20">
</td>
</tr>
<tr> 
<td width="126" bgcolor="#eeeeee"> 
<div align="right">密码确认:</div>
</td>
<td width="243" bgcolor="#eeeeee"> 
<input type="password" name="password2" size="20" maxlength="20">
</td>
</tr>
<tr bgcolor="#FFFFFF"> 
<td width="126"> 
<div align="right">备注:</div>
</td>
<td width="243"> 
<textarea name="comment" cols="30" rows="4"></textarea>
</td>
</tr>
<tr> 
<td colspan="2">
<input type="submit" name="Submit" value="添加用户">
</td>
</tr>
</table>
</form>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>

<!--#include file="../../inc/bottom.inc" -->

</body>
</html>

⌨️ 快捷键说明

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