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

📄 admin_login.asp

📁 漂亮的企业网站管理系统 v2.6 修正了联系我们不能显示
💻 ASP
字号:
<!--#include file="open.asp" -->
<!--#include file="md5.asp" -->
<%
admin=Request("admin")
pwd=md5(Request("pwd"))
if admin<>"" and pwd<>"" then
SQL="select * from admin where admin='"&replace(request.form("admin"),"'","''")&"' and pwd='"&replace(pwd,"'","''")&"'"
Set rs=Server.CreateObject("ADODB.RecordSet")
rs.Open SQL,con,1,1
if rs.Eof then
	Response.Write("<script>alert('对不起,用户名密码不正确!')</script>")
	rs.Close
	Set rs=nothing
	else
	rs.Close
	Set rs=nothing
	con.Close
	Set con=nothing
	Session("admin")=true
	Response.redirect("admin.asp")
end if
end if
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>管理员登陆</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META http-equiv=Expires content=0>
<META http-equiv=Cache-Control content=no-cache>
<META http-equiv=Pragma content=no-cache><LINK href="admin/myweb.css" 
type=text/css rel=stylesheet>
<STYLE type=text/css>TD {
	FONT-SIZE: 12px; COLOR: #000000; LINE-HEIGHT: 17px; FONT-FAMILY: "宋体"
}
</STYLE>

<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff leftMargin=0 topMargin=0 marginheight="0" marginwidth="0">
<FORM name=login action=admin_login.asp method=post>
<TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
  <TR>
    <TD vAlign=bottom align=middle bgColor=#2a9afe>
      <TABLE cellSpacing=0 cellPadding=0 width=500 align=center border=0>
        <TBODY>
        <TR>
          <TD width=236><IMG height=111 src="admin/lonin_01.jpg" 
            width=236></TD>
          <TD width=264><IMG height=111 src="admin/lonin_02.jpg" 
            width=164></TD></TR></TBODY></TABLE></TD></TR>
  <TR>
        <TD vAlign=top bgColor=#ffffff> <table cellspacing=0 cellpadding=0 width=500 align=center border=0>
            <tbody>
              <tr> 
                <td width=148> </td>
                <td width=352> <table cellspacing=0 cellpadding=4 width=282 align=center 
              border=0>
                    <tbody>
                      <tr> 
                        <td align=right width=41 height=30><font 
                  face="Verdana, Arial, Helvetica, sans-serif"><b>ID:</b></font></td>
                        <td width=117 height=30><input name=admin class=web_ipt id="admin" 
                  style="FONT-FAMILY: Arial" size=14 maxlength=20> </td>
                        <td width=100 height=30 rowspan=2><input type=image height=42 
                  width=63 src="admin/login2.gif" border=0 
                name=imageField></td>
                      </tr>
                      <tr> 
                        <td nowrap align=right width=41><font 
                  face="Verdana, Arial, Helvetica, sans-serif"><b>PW:</b></font></td>
                        <td width=117><input name=pwd 
                  type=password class=web_ipt id="pwd" style="FONT-FAMILY: Arial" size=14 maxlength=20> 
                        </td>
                      </tr>
                      <tr align=middle> 
                        <td colspan=3 height=40><input type=hidden value=1 
                  name=savecookie> </td>
                      </tr>
                    </tbody>
                  </table></td>
              </tr>
              <tr align=left> 
                <td colspan=2><div align="center"></div></td>
              </tr>
            </tbody>
          </table></TD>
      </TR></TBODY></TABLE></FORM>
</BODY></HTML>
<!--#include file="close.asp" -->

⌨️ 快捷键说明

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