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

📄 login.asp

📁 asp+access的电影免费网站源码是个很好的学习例子大家可以下来学习
💻 ASP
字号:
<!-- #include file="loginconn.asp" -->
<%
if request("skyuc")<>logintype then
response.write "非法登录,系统识别你不是管理员请尽快离开"
response.end
end if
%>
<%
if loginip<>"" then
tter=Request.ServerVariables("REMOTE_ADDR")
tter2="loginip"
if tter<>tter2 then 
response.write "非法IP登录,你的IP并未授权打开此页面"
response.end
end if
end if
%>


<HTML><HEAD><TITLE>控制面板</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><link rel="stylesheet" type="text/css" href="inc/Admin_STYLE.CSS">
<SCRIPT language=javascript>
function check_input()	{
      if (document.domainlogin.user.value == '')	{
	 alert("请输入用户名!");
  	 document.domainlogin.user.focus();
	 return false;
	}
      if (document.domainlogin.pass.value == '')	{
	 alert("请输入密码!");
  	 document.domainlogin.pass.focus();
	 return false;
	}
	      if (document.domainlogin.yzm.value == '')	{
	 alert("请输入验证码!");
  	 document.domainlogin.yzm.focus();
	 return false;
	}
      return true;
}
//-->
</SCRIPT>
<style>
<!--
TD {
	FONT-SIZE: 9pt; COLOR: #333333; LINE-HEIGHT: normal; FONT-FAMILY: "宋体"
}
.gray {
	FONT-SIZE: 9pt; COLOR: #666600; LINE-HEIGHT: 16px; FONT-FAMILY: "宋体"
}
.title {
	FONT-WEIGHT: bold; FONT-SIZE: 14px; COLOR: #646464; LINE-HEIGHT: 16px; FONT-FAMILY: "宋体"
}
.uprise {
	VERTICAL-ALIGN: super; TEXT-TRANSFORM: none; FONT-VARIANT: small-caps
}
.blue {
	COLOR: #007dc6
}
.small {
	FONT-SIZE: 9px; COLOR: #999999; LINE-HEIGHT: 12px; FONT-FAMILY: "Arial", "Helvetica", "sans-serif"
}
A:hover {
	COLOR: #000000; TEXT-DECORATION: underline
}
A:active {
	COLOR: #000000; TEXT-DECORATION: none
}
A:link {
	COLOR: #043b9c; TEXT-DECORATION: none
}
A:visited {
	COLOR: #043b9c; TEXT-DECORATION: none
}
A.menu:link {
	FONT-SIZE: 13px; COLOR: #ffffff; TEXT-DECORATION: none
}
A.menu:visited {
	FONT-SIZE: 13px; COLOR: #ffffff; TEXT-DECORATION: none
}
A.menu:active {
	FONT-SIZE: 13px; COLOR: #ffffff; TEXT-DECORATION: none
}
A.menu:hover {
	FONT-SIZE: 13px; COLOR: #ffffff; TEXT-DECORATION: none
}
A.fgs:link {
	FONT-SIZE: 14px; COLOR: #ffffff; TEXT-DECORATION: none
}
A.fgs:visited {
	FONT-SIZE: 14px; COLOR: #ffffff; TEXT-DECORATION: none
}
A.fgs:active {
	FONT-SIZE: 14px; COLOR: #00ccff; TEXT-DECORATION: none
}
A.fgs:hover {
	FONT-SIZE: 14px; COLOR: #00ccff; TEXT-DECORATION: none
}
.form22222 {
	BORDER-RIGHT: #888888 1px solid; BORDER-TOP: #888888 1px solid; FONT-SIZE: 9pt; BORDER-LEFT: #888888 1px solid; COLOR: #000000; BORDER-BOTTOM: #888888 1px solid; HEIGHT: 16px; BACKGROUND-COLOR: #ffffff
}
.form {
	BORDER-RIGHT: #999999 1px solid; BORDER-TOP: #999999 1px solid; FONT-SIZE: 9pt; BORDER-LEFT: #999999 1px solid; COLOR: #043b9c; BORDER-BOTTOM: #999999 1px solid; HEIGHT: 17px; BACKGROUND-COLOR: #ffffff
}
.formmenu {
	BORDER-RIGHT: #3179ce 1px solid; BORDER-TOP: #3179ce 1px solid; FONT-SIZE: 9pt; BORDER-LEFT: #3179ce 1px solid; COLOR: #043b9c; BORDER-BOTTOM: #3179ce 1px solid; BACKGROUND-COLOR: #f7fbff
}
.white {
	FONT-WEIGHT: normal; FONT-SIZE: 9pt; COLOR: #ffffff; LINE-HEIGHT: 18pt; FONT-FAMILY: "宋体"
}
.title1 {
	FONT-WEIGHT: bold; FONT-SIZE: 12pt; COLOR: #333333; FONT-FAMILY: "宋体"
}
.size8 {
	FONT-SIZE: 8pt; FONT-FAMILY: "宋体"
}
.size09 {
	FONT-SIZE: 9pt; LINE-HEIGHT: 13px
}
.form2 {
	COLOR: #333333; BACKGROUND-COLOR: #ffffff
}
.54master {
	FONT-SIZE: 12px; COLOR: #bbbbbb
}
.red {
	COLOR: #990000
}
.abc {
	LINE-HEIGHT: 22px
}
.sizebig {
	FONT-SIZE: 18px
}
.bg {
	BACKGROUND-POSITION: center center; BACKGROUND-ATTACHMENT: fixed; BACKGROUND-IMAGE: url(../images/zzy-01.gif); BACKGROUND-REPEAT: no-repeat
}
.text-12-18 {
	FONT-SIZE: 12px; LINE-HEIGHT: 18px; FONT-STYLE: normal; TEXT-DECORATION: none
}
.line0 {
	LINE-HEIGHT: 0px
}
.text-14 {
	FONT-SIZE: 14px; LINE-HEIGHT: normal; FONT-STYLE: normal; TEXT-DECORATION: none
}
A.company:link {
	COLOR: #ffffff; TEXT-DECORATION: none
}
A.company:visited {
	COLOR: #ffffff; TEXT-DECORATION: none
}
A.company:active {
	COLOR: #d8d8d8; TEXT-DECORATION: none
}
A.company:hover {
	COLOR: #d8d8d8; TEXT-DECORATION: none
}
.menubar_63x30 {
	PADDING-LEFT: 0px; BACKGROUND-IMAGE: url(../images/bg_menubar_63x30_out.gif); WIDTH: 76px; COLOR: #ffffff; PADDING-TOP: 9px; HEIGHT: 31px
}
.menubar_63x30:hover {
	PADDING-LEFT: 0px; BACKGROUND-IMAGE: url(../images/bg_menubar_63x30_over.gif); WIDTH: 76px; COLOR: #ffffff; PADDING-TOP: 9px; HEIGHT: 31px; TEXT-DECORATION: none
}
.menubar_63x30:link {
	COLOR: #ffffff
}
.menubar_63x30:active {
	COLOR: #ffffff
}
.menubar_63x30:visited {
	COLOR: #ffffff
}
.1menubar_63x30 {
	PADDING-LEFT: 0px; BACKGROUND-IMAGE: url(../images/bg_menubar_63x30_out.gif); WIDTH: 75px; COLOR: #ffffff; PADDING-TOP: 9px; HEIGHT: 31px
}
.1menubar_63x30:hover {
	PADDING-LEFT: 0px; BACKGROUND-IMAGE: url(../images/bg_menubar_63x30_over.gif); WIDTH: 75px; COLOR: #ffffff; PADDING-TOP: 9px; HEIGHT: 31px; TEXT-DECORATION: none
}
.1menubar_63x30:link {
	COLOR: #ffffff
}
.1menubar_63x30:active {
	COLOR: #ffffff
}
.1menubar_63x30:visited {
	COLOR: #ffffff
}
.text-12-21 {
	FONT-SIZE: 12px; LINE-HEIGHT: 21px; FONT-STYLE: normal; TEXT-DECORATION: none
}
.text-12-24 {
	FONT-SIZE: 12px; LINE-HEIGHT: 24px; FONT-STYLE: normal; TEXT-DECORATION: none
}
.text-12-30 {
	FONT-SIZE: 12px; LINE-HEIGHT: 30px; FONT-STYLE: normal; TEXT-DECORATION: none
}
.bg-l-b-x {
	BACKGROUND-POSITION: left bottom; BACKGROUND-ATTACHMENT: fixed; BACKGROUND-REPEAT: repeat-x
}
.text-10 {
	FONT-SIZE: 9px; LINE-HEIGHT: normal; FONT-STYLE: normal; TEXT-DECORATION: none
}

-->
</style>
<META content="MSHTML 6.00.3790.0" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff leftMargin=0 topMargin=0 MARGINHEIGHT="0" MARGINWIDTH="0">
<CENTER>
<TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" 
background=images/bg.gif border=0>
  <TBODY>
  <TR>
    <TD vAlign=center align=middle>
      <TABLE height=402 cellSpacing=0 cellPadding=0 width=562 bgColor=#f4f4f4 
      border=0>
        <TBODY>
        <TR>
          <TD vAlign=center align=middle>
            <TABLE cellSpacing=0 cellPadding=0 width=560 border=0>
              <TBODY>
              <TR>
                <TD><IMG height=40 alt="" src="images/index_01.gif" 
                  width=142></TD>
                <TD><IMG height=40 alt="" src="images/index_02.gif" 
                  width=171></TD>
                <TD><IMG height=40 alt="" src="images/index_03.gif" 
                  width=130></TD>
                <TD><IMG height=40 alt="" src="images/index_04.gif" 
                  width=117></TD></TR>
              <TR>
                <TD><IMG height=49 alt="" src="images/index_05.gif" 
                  width=142></TD>
                <TD colSpan=2>
                  <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                    <TBODY>
                    <TR>
                      <TD width="10%"><IMG height=49 alt="" 
                        src="images/index_06.gif" width=90></TD>
                      <TD width="90%"><IMG height=49 alt="" 
                        src="images/index_07.gif" 
                  width=211></TD></TR></TBODY></TABLE></TD>
                <TD><IMG height=49 alt="" src="images/index_08.gif" 
                  width=117></TD></TR>
              <TR>
                <TD><IMG height=55 alt="" src="images/index_09.gif" 
                  width=142></TD>
                <TD><IMG height=55 alt="" src="images/index_10.gif" 
                  width=171></TD>
                <TD><IMG height=55 alt="" src="images/index_11.gif" 
                  width=130></TD>
                <TD><IMG height=55 alt="" src="images/index_12.gif" 
                  width=117></TD></TR>
              <TR>
                        <TD height="170" colSpan=4> 
                          <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                    <TBODY>
                    <TR>
                      <TD width="25%"><IMG height=62 alt="" 
                        src="images/index_13.gif" width=142></TD>
                      <TD vAlign=center align=middle width="61%" bgColor=#f4f4f4 
                      rowSpan=2>
                        <FORM 
                        action=FindAccount.asp 
                        method=post name=loginform target="_top" onsubmit="return check_input();">
                                    <TABLE height=80 cellSpacing=1 cellPadding=5 width="92%" 
                        border=0>
                                      <TBODY>
                                        <TR vAlign=center align=middle bgColor=#ffffff> 
                                          <TD width="24%"> </TD>
                                          <TD colspan="2"><div align="left"><FONT color=#5a514a> 
                                              </FONT><font color="#FF0000"> 
                                              <%
Randomize
an= int((9999-1000+1) * RND +1000)
%>
                                              <%
			if request("id")="0" then response.write "出错咯:请填写完整!"
			if request("id")="1" then response.write "出错咯:用户名或密码错误!"
			if request("id")="3" then response.write "出错咯:验证码错误"
			if request("id")="8" then response.write "网络超时,或未登录。请重新登录!"
			if request("id")="9" then response.write "正常退出后台管理系统"
			%>
                                              </font></div></TD>
                                        </TR>
                                        <TR vAlign=center align=middle bgColor=#ffffff> 
                                          <TD><font 
color=#5a514a>账  号</font></TD>
                                          <TD colspan="2" bgcolor="#ffffff"><div align="left"><font color=#5a514a> 
                                              <input name=name 
                              class=form id="user2" size=23>
                                              </font></div></TD>
                                        </TR>
                                        <TR vAlign=center align=middle bgColor=#ffffff> 
                                          <TD><FONT color=#5a514a>密  码</FONT></TD>
                                          <TD colspan="2"><div align="left"><FONT color=#5a514a> 
                                              <INPUT name=pwd 
                              type=password class=form id="pwd" size=23>
                                              </FONT></div></TD>
                                        </TR>
                                        <TR vAlign=center align=middle bgColor=#ffffff> 
                                          <TD colspan="3"><div align="center">非管理员,请勿登陆,否则追究法律责任
                                            
                                          </div></TD>
                                        </TR>
                                      </TBODY>
                                    </TABLE>
                                    <TABLE height=33 cellSpacing=0 cellPadding=0 width="77%" 
                        border=0>
                                      <TBODY>
                          <TR vAlign=bottom align=middle>
                            <TD><INPUT type=image height=20 width=39 
                              src="images/login.gif" border=0 name=B1></TD>
                            <TD><A 
                              href="javascript:document.domainlogin.reset();"><IMG 
                              height=20 src="images/clear.gif" width=39 
                              border=0></A></TD></TR></TBODY></TABLE></FORM></TD>
                      <TD width="14%"><IMG height=62 alt="" 
                        src="images/index_15.gif" width=117></TD></TR>
                    <TR>
                                <TD height="108"><IMG height=108 alt="" 
                        src="images/index_16.gif" width=142></TD>
                      <TD><IMG height=108 alt="" 
                        src="images/index_18.gif" 
                  width=117></TD></TR></TBODY></TABLE></TD></TR>
              <TR>
                <TD><IMG height=44 alt="" src="images/index_19.gif" 
                  width=142></TD>
                <TD><IMG height=44 alt="" src="images/index_20.gif" 
                  width=171></TD>
                <TD><IMG height=44 alt="" src="images/index_21.gif" 
                  width=130></TD>
                <TD><IMG height=44 alt="" src="images/index_22.gif" 
                  width=117></TD></TR>
              <TR>
                <TD><IMG height=42 alt="" src="images/index_23.gif" 
                  width=142></TD>
                <TD><IMG height=42 alt="" src="images/index_24.gif" 
                  width=171></TD>
                <TD><IMG height=42 alt="" src="images/index_25.gif" 
                  width=130></TD>
                <TD><IMG height=42 alt="" src="images/index_26.gif" 
                  width=117></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></CENTER></BODY></HTML>

⌨️ 快捷键说明

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