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

📄 login.asp

📁 教师使用管理系统
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="dqe_Conn.asp"-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>使用说明</title>
<style type="text/css">
<!--
.unnamed1 {	border: 1px dashed #CCCCCC;
}
.unnamed2 {
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: none;
	border-right-style: dashed;
	border-bottom-style: dashed;
	border-left-style: none;
	border-top-color: #E1DFE0;
	border-bottom-color: #E1DFE0;
	border-right-color: #E1DFE0;
}
.unnamed3 {border: 1px solid #E1E1E1;
}
body,td,th {
	font-family: 宋体;
	font-size: 10pt;
	color: #000000;
}
a:link {
	color: #60389A;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #60389A;
}
a:hover {
	text-decoration: underline;
	color: #FF0000;
}
a:active {
	text-decoration: none;
	color: #9874CC;
}
.style7 {
	color: #FFFFFF;
	font-weight: bold;
}
.style8 {color: #8F6DC4}
body {
	background-image: url(images/204.gif);
}
-->
</style>
</head>

<body>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><br>
  <br>
</p>
<%
dim aspdlname,aspdlkey
    aspdlname=Request.Form("name")
	aspdlkey=Request.Form("password")
if (aspdlname<>"")and(aspdlkey<>"") then
   if (aspdlname=UserName)and(aspdlkey=UserPwd) then
   Session("adminLevel")=10
   Response.Redirect("readme.asp")
   Else
   Response.Write("用户名或密码不正确!")
   Response.End
   End If
End If
	%>
<form name="form1" method="post" action="login.asp">
  <table width="300"  border="1" align="center" cellpadding="0" cellspacing="2" bordercolor="#8F6DC4" bgcolor="#E9E2F3">
    <tr>
      <td height="160" bgcolor="#FFFFFF"><div align="left">
        <table width="80%"  border="1" align="center" cellpadding="01" cellspacing="1" bordercolor="#E9E2F3">
                <tr bgcolor="#8F6DC4">
                  <td height="20" colspan="2"><div align="center" class="style7">后台登陆</div></td>
                </tr>
                <tr>
                  <td width="31%" height="20"><div align="left" class="style8">
                    <div align="center">帐号:</div>
                  </div></td>
                  <td width="69%" height="20"><input name="name" type="text" id="name" size="15"></td>
                </tr>
                <tr>
                  <td height="20"><div align="left" class="style8">
                    <div align="center">密码:</div>
                  </div></td>
                  <td height="20"><input name="password" type="password" id="password" size="15"></td>
                </tr>
                <tr>
                  <td height="20" colspan="2">
                    <div align="center">
                      <input type="submit" name="Submit" value="提交"> 
                      &nbsp;&nbsp;
                      <input type="reset" name="Submit2" value="重置">
                    </div></td>
                </tr>
                <tr>
                  <td height="20" colspan="2"><div align="center"><a href="index.asp">返回</a></div></td>
                </tr>
              </table>
</div></td>
    </tr>
  </table>
</form>
</body>
</html>

⌨️ 快捷键说明

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