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

📄 login.asp

📁 图利文章管理系统。毕业设计郑州科技学院2006级计算机系计算机信息管理专业
💻 ASP
字号:
<%@language=vbscript codepage=936 %>
<%
option explicit
'强制浏览器重新访问服务器下载页面,而不是从缓存读取页面
Response.Buffer = True 
Response.Expires = -1
Response.ExpiresAbsolute = Now() - 1 
Response.Expires = 0 
Response.CacheControl = "no-cache" 
'主要是使随机出现的图片数字随机
%>

<html>
<head>
<title>登陆</title>
<link rel="stylesheet" href="style.CSS">
<script language=javascript>
function CheckForm()
{
	if(document.Login.UserName.value=="")
	{
		alert("请输入用户名!");
		document.Login.UserName.focus();
		return false;
	}
	if(document.Login.Password.value == "")
	{
		alert("请输入密码!");
		document.Login.Password.focus();
		return false;
	}
	
}
</script>
</head>
<body topmargin="100">
  <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="100%">
    <tr>
      <td>
        <table width="401" border="0" cellpadding="0" cellspacing="1" style="border-collapse: collapse" class="border" align="center" bgcolor="#ccc">
          <form method="post" action="Chkadmin.asp" onSubmit="return CheckForm();" name="Login">
		  <tr> 
            <td colspan="2" valign="top" bgcolor="#CCCCCC"><div align="center">
              <h5>管理员登录</h5>
            </div></td>
          </tr>
          <tr align="center"> 
            <td height="62" colspan="2" align="center" bgcolor="#f1f1f1"> 
              <table width="250" border="0" cellspacing="5" cellpadding="0" align="center">
                <tr> 
                  <td align="right">用户名称:</td>
                  <td> 
                    <input name="UserName"  type="text"  id="UserName2" size="23" maxlength="20">                  </td>
                </tr>
                <tr> 
                  <td align="right">用户密码:</td>
                  <td> 
                    <input name="Password"  type="password"  size="23" maxlength="20">                  </td>
                </tr>
                <tr align="center"> 
                  <td colspan="2"> 
                    <input   type="submit" name="Submit" value=" 确认 ">
                    &nbsp;  
                    <input name="reset" type="reset"  id="reset" value=" 清除 ">                  </td>
                </tr>
              </table>
            </td>
          </tr>
          <tr align="center"> 
            <td height="2" colspan="2" align="right" valign="top" bgcolor="#CCCCCC"> </td>
          </tr>
		  </form>   
        </table>
      <div align="center"><br>
      </div> 
      <div align="right">  </div>
    </td>
    </tr>
  </table>
</body>  
</html>

⌨️ 快捷键说明

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