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

📄 login_admin.asp

📁 顶级影视站ASP源代码系统。很全面很强大。数据库用access
💻 ASP
字号:
<!--#include file="HMconnection.asp"-->
<html>
<head>
<title>顶级影视--管理员登陆</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../style/style.css" rel="stylesheet" type="text/css">
<style>
td{font-size:9pt;line-height:120%;color:#353535} 
body{font-size:9pt;line-height:120%} 

a:link          { color: #000000; text-decoration: none }
a:visited       { color: #000000; text-decoration: none }
a:active        { color: #000000; text-decoration: none }
a:hover         { color: #336699; text-decoration: none; position: relative; right: 0px; top: 1px }
</style>
</head>
<%requestIP=Request.ServerVariables("REMOTE_ADDR")
dim objRS8
set objRS8=server.CreateObject("adodb.recordset")
objRS8.Open "select * from errLogin where errLoginIP='"&requestIP&"'",conn,1,3
if not (objRS8.bof and  objRS8.eof) then
   if  objRS8("errLoginCount")>19 then 
    objRS8("errLoginCount")=objRS3("errLoginCount")+1
    objRS8.update
    response.write "<script LANGUAGE='javascript'>alert('您登陆失败次数过多,服务器暂时不允许您登入!');document.URL='../index.asp';</script>"
    objRS3.Close
    set objRS3=nothing
    response.end
   end if
   objRS3.Close
   set objRS3=nothing
end if
%>
<noscript><iframe src=*.html></iframe></noscript>
<body onLoad="javaScript:document.admininfo.username.focus()"><br><br><br>
<div align="center">
<form name="admininfo" method="post" action="admin_chklogin.asp" >
  <div align="center"></div>
    <table border="1" cellspacing="0" cellpadding="1" bordercolor="#CCCCCC" align="center">
      <tr> 
      <td> 
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td width="9" background="../images/back_3.gif" rowspan="2"></td>
            <td class="12v"> 
              <table width="100%" border="0" cellspacing="0" cellpadding="0" class="12v">
                <tr> 
                  <td class="12v" > 
                    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" id="AutoNumber3" height="0" width="100%">
                      <tr> 
                        <td> 
                          <table width="260" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#66CCFF">
                              <tr> 
                              <td>
                                <div align="center"><font color="#FFFFFF">管理员登陆</font></div>
                              </td>
                            </tr>
                            <tr> 
                              <td bgcolor="#FFFFFF"><br>
                                <table  width="178" border="0" align="center" cellpadding="1" cellspacing="1">
                                  <tr bgcolor="#FFFFFF"> 
                                    <td width="64"> 
                                      <div align="left">管理员:</div>
                                    </td>
                                    <td width="107"> 
                                      <div align="left"> 
                                        <input name="username" type="text" id="admin" size="12">
                                      </div>
                                    </td>
                                  </tr>
                                  <tr bgcolor="#FFFFFF"> 
                                    <td> 
                                      <div align="left">密&nbsp;&nbsp;码:</div>
                                    </td>
                                    <td> 
                                      <div align="left"> 
                                        <input name="password" type="password" id="password" size="12">
                                      </div>
                                    </td>
                                  </tr>
                                  <tr bgcolor="#FFFFFF"> 
                                    <td colspan="2"> 
                                      <div align="center"> 
                                        <input  onClick="return check();" type="submit" name="Submit" value="登 陆">
                                        &nbsp; 
                                        <input  type="reset" name="Submit2" value="清 除" >
                                      </div>
                                    </td>
                                  </tr>
                                </table>
                                <br>
                              </td>
                            </tr>
                          </table>
                        </td>
                      </tr>
                    </table>
                  </td>
                </tr>
              </table>
            </td>
            <td class="12v" background="../images/back_3.gif" width="9" rowspan="2"></td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
</form>
</div>
<table border="1" cellspacing="0" cellpadding="1" bordercolor="#CCCCCC" align="center">
  <tr> 
    <td> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td width="9" background="../images/back_3.gif" rowspan="2"></td>
          <td class="12v"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="12v">
              <tr> 
                <td class="12v" > 
                  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" id="AutoNumber3" height="0" width="100%">
                    <tr> 
                      <td> 
                        <table width="329" border="0" align="center" cellpadding="0" cellspacing="0">
                          <tr> 
                            <td width="329" height="30"> <p><font color="#FF0000">·请不要尝试非法登陆,您的每一次登陆动作都会记录在案!<br>
                                ·同一IP连续10次非法登陆将遭到服务器永久拒绝重新登陆!</font></p>
                            </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
          <td class="12v" background="../images/back_3.gif" width="9" rowspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</body>
</html>
<script LANGUAGE="javascript">
<!--
function checkspace(checkstr) {
  var str = '';
  for(i = 0; i < checkstr.length; i++) {
    str = str + ' ';
  }
  return (str == checkstr);
}
function check()
{
  if(checkspace(document.admininfo.admin.value)) {
	document.admininfo.admin.focus();
    alert("管理员不能为空!");
	return false;
  }
  if(checkspace(document.admininfo.password.value)) {
	document.admininfo.password.focus();
    alert("密码不能为空!");
	return false;
  }
	document.admininfo.submit();
  }
//-->
</script> 

⌨️ 快捷键说明

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