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

📄 index.asp

📁 标准的小型企业网站程序
💻 ASP
字号:
<html>
<head>
<title>管理员登录</title>
<script language=javascript>
function SetFocus()
{
if (document.Login.UserName.value=="")
	document.Login.UserName.focus();
else
	document.Login.UserName.select();
}
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>
<link href="../images/style.css" rel="stylesheet" type="text/css">
</head>
<body onLoad="SetFocus();">
<p> </p>
<form name="Login" action="check.asp" method="post" target="_parent" onSubmit="return CheckForm();">
    <div align="center">
      <center>
    <table width="600" border="0" cellpadding="5" cellspacing="0" class="border" style="border-collapse: collapse" bordercolor="#111111" >
      <tr class="title"> 
        <td colspan="2" align="center"> <strong>管理员登录</strong></td>
      </tr>
      
    <tr> 
      <td height="120" colspan="2" class="tdbg">
<table width="250" border="0" cellspacing="8" cellpadding="0" align="center">
          <tr> 
            <td align="right"><span class="boxcontent">用户名称</span>:</td>
            <td><input name="UserName"  type="text" class="TEXTAREA"  id="UserName2" size="23" maxlength="20"></td>
          </tr>
          <tr> 
            <td align="right"><span class="boxcontent">用户密码</span>:</td>
            <td><input name="Password"  type="password" class="TEXTAREA"  size="23" maxlength="20"></td>
          </tr>
          <tr> 
            <td colspan="2"> <div align="center"> 
                <input   type="submit" name="Submit" value=" 确认 ">
                &nbsp; 
                <input name="reset" type="reset"  id="reset" value=" 清除 ">
                <br>
              </div></td>
          </tr>
        </table>
            <p style="line-height: 150%">&nbsp;</td>
      </tr>
    </table>
      </center>
    </div>
</form>
</body>
</html>

⌨️ 快捷键说明

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