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

📄 admin_login.asp

📁 一套asp办公小软件
💻 ASP
字号:
<html>
<head>
<title>管理登录</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../tourism/Admin_Style.css">
<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;
	}
	
}

function CheckBrowser() 
{
  var app=navigator.appName;
  var verStr=navigator.appVersion;
  if (app.indexOf('Netscape') != -1) {
    alert("法政集团友情提示:\n    你使用的是Netscape浏览器,可能会导致无法使用后台的部分功能。建议您使用 IE6.0 或以上版本。");
  } 
  else if (app.indexOf('Microsoft') != -1) {
    if (verStr.indexOf("MSIE 3.0")!=-1 || verStr.indexOf("MSIE 4.0") != -1 || verStr.indexOf("MSIE 5.0") != -1 || verStr.indexOf("MSIE 5.1") != -1)
      alert("法政集团友情提示:\n    您的浏览器版本太低,可能会导致无法使用后台的部分功能。建议您使用 IE6.0 或以上版本。");
  }
}
/-->
</script>
</head>
<body bgcolor="#000000"  leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<p> </p>
<p> </p>
<p>
<form name="Login" action="Admin_ChkLogin.asp" method="post" target="_parent" onSubmit="return CheckForm();">
  <table width="100%"  border="0" align="left" cellpadding="0" cellspacing="0">
    <tr>
      <td width="125" height="39" background="../tourism/Images/admin_login_2.gif">
		<img src="images/admin_login_1.gif" width="125" height="39"></td>
      <td background="images/admin_login_2.gif"> </td>
      <td background="images/admin_login_2.gif">
		<img src="images/admin_login_3.gif" width="189" height="39"></td>
      <td colspan="2" valign="bottom" background="images/admin_login_2.gif"><MARQUEE scrollAmount=1 scrollDelay=4 width=300 align="left" onmouseover="this.stop()" onmouseout="this.start()">
     <font color="#999999">管理页面需要屏幕分辨率为</font> <font color="#FF9900"><strong>1024*768</strong></font> <font color="#999999">或以上才能达到最佳浏览效果!  需要浏览器为</font> <font color="#FF9900"><strong>IE5.5</strong></font> <font color="#999999">或以上版本才能正常运行!!!</font>      
      </marquee></td>
    </tr>
    <tr>
      <td width="125" height="166" background="images/admin_login_45.gif"> </td>
      <td width="64" background="images/admin_login_45.gif"> </td>
      <td width="189" background="images/admin_login_45.gif"> </td>
      <td width="394" background="images/admin_login_45.gif">
	    <table width="300" border="0" cellspacing="8" cellpadding="0">
          <tr> 
            <td align="right"><span class="Glow">用户名称:</span></td>
            <td colspan="2"><input name="UserName"  type="text"  id="UserName4" maxlength="20" style="width:160px;border-style:solid;border-width:1;padding-left:4;padding-right:4;padding-top:1;padding-bottom:1" onmouseover="this.style.background='#E1F4EE';" onmouseout="this.style.background='#FFFFFF'" onFocus="this.select(); "></td>
          </tr>
          <tr> 
            <td align="right"><span class="Glow">用户密码:</span></td>
            <td colspan="2"><input name="Password"  type="password" maxlength="20" style="width:160px;border-style:solid;border-width:1;padding-left:4;padding-right:4;padding-top:1;padding-bottom:1" onmouseover="this.style.background='#E1F4EE';" onmouseout="this.style.background='#FFFFFF'" onFocus="this.select(); "></td>
          </tr>
          
          <tr> 
            <td colspan="3"> <div align="center"> 
                <input   type="submit" name="Submit" value=" 确&nbsp;认 " style="font-size: 9pt; height: 19; width: 60; color: #000000; background-color: #E1F4EE; border: 1 solid #E1F4EE" onMouseOver ="this.style.backgroundColor='#ffffff'" onMouseOut ="this.style.backgroundColor='#E1F4EE'">
                &nbsp; 
                <input name="reset" type="reset"  id="reset" value=" 清&nbsp;除 " style="font-size: 9pt; height: 19; width: 60; color: #000000; background-color: #E1F4EE; border: 1 solid #E1F4EE" onMouseOver ="this.style.backgroundColor='#ffffff'" onMouseOut ="this.style.backgroundColor='#E1F4EE'">
                <br>
              </div></td>
          </tr>
        </table>
	  </td>
      <td background="images/admin_login_45.gif"> </td>
    </tr>
    <tr>
      <td height="41" colspan="3" align="right" background="images/admin_login_22.gif"><font color="#FFFFFF">法政集团</font>.</td>
      <td colspan="2" align="right" background="images/admin_login_22.gif">
		<img src="images/admin_login_5.gif" width="125" height="41"></td>
    </tr>
  </table>
</p> <br>   
</form>
<script language="JavaScript" type="text/JavaScript">
CheckBrowser();
SetFocus(); 
</script>
</body>
</html>

⌨️ 快捷键说明

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