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

📄 userlogin.asp

📁 科研及设备管理系统是一个基于WEB的网络管理信息系统
💻 ASP
字号:
<%
	session.abandon
%>
<%
	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 10
			m="注册成功,请登陆!"
	end select
%>
<html>
<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
	}

	if (myform.password.value=="")
	{
		window.message.innerHTML="请输入密码"
		myform.password.focus()
		return false
	}
	return true
	}

function into()
{
	myform.username.focus()
}
</script>
<body onLoad="into()">
<!--#include file="../share/top.asp" -->
<div align=center>
<table style=margin:132px width="400" height="250" align="center" cellpadding="0" cellspacing="0" class=table0> 
		<form action="userindex.asp" method="post" name="myform" id="myform" onSubmit="return checkform()">		
		<tr>
			<td height="28" 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="28" colspan="2" bgcolor=#ffffff><div align="center" class="style2"><span class="top_right_white">&nbsp;</span><span class="blackfont">用户登录</span></div></td>
		</tr>
		<tr>
			<td colspan="2" height="20" bgcolor=#ffffff><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">
			</span></div></td>
		</tr>
		<tr>
			<td colspan="2" height="20" class="style3" bgcolor=#ffffff><div align="center">密&nbsp;&nbsp;码:
			<input name="password" type="password" id="password" style="width:150px;border: 1px solid #CCCCCC;height:18px" value="" maxlength="20">
 			</div></td>
		</tr>
		<tr>
			<td width="280" height="40" bgcolor=#ffffff nowrap align=center>
			<a class=userreg_white href="userreg.asp">注册新用户</a></td>
			<td width="120" bgcolor=#ffffff><input type="submit" name="Submit" value="登录"></td>
		</tr>
		<tr>
			<td height="18" colspan="2" bgcolor=#ffffff></td>
		</tr>          
        </table>
    </form></td>
  </tr>
</table>
</div>
<!--#include file="../share/bottom.htm" -->
</body>
</html>














⌨️ 快捷键说明

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