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

📄 index.asp

📁 本房地产网站功能强大
💻 ASP
字号:
<!--#include file="../inc/conn.asp"-->
<!--#include file="../inc/getPartStrAndBytesLen.asp"-->
<!--#include file="../inc/md5.asp"-->
<%
'┌─  风云ASP在线  ────────────────────────┐
'│                                                                 │
'│  作者:赵振波.	http://www.fyasp.com	    				    │
'│                                                                 │
'│   Q Q:185623333  										   	    │
'│                                                                 │
'│ Email:fy96@163.com                                             │
'│                                                                 │
'│ 程序定做,系统开发,网站制作,提供高质量的网络产品、技术和服务!│
'│                                                                 │
'│【版权声明】                                                     │
'│                                                                 │
'│     本程序版权归坐看风云所有,未经授权擅自修改、复制或散布本程序│
'│                                                                 │
'│的部分或全部,将承受严厉的民事和刑事处罚,对已知的违反者将给予法 │
'│                                                                 │
'│律范围内的全面制裁。对非法使用此程序所造成的一切后果本人概不负责!│
'│                                                                 │
'└───────────────────  http://www.fyasp.com ──┘
if request("action")="out" then
Session.Abandon()
response.write"<script>alert('已经退出登录!');window.open('manage.asp','_top');</script>"
end if
if request("action")="check" then
opendataconn
if session("errortime")<>"" then
   if DateDiff("n",session("errortime"),Now())<5 then
   Response.write("<script>alert(""请隔5分钟再尝试!"");location.href=""manage.asp"";</script>")
Response.end
end if
end if
uname=changechr(request("uname"))
upwd=changechr(request("upwd"))

if uname="" or upwd="" then
Session.Abandon()
response.write"<script>alert('信息不完整!');window.open('manage.asp','_top');</script>"
end if
upwd=md5(upwd,16)
set rs=server.createobject("adodb.recordset")
sql="select * from manager66 where name='" & uname & "' and pwd='" & upwd & "' "
rs.open sql,conn,1,1

if rs.eof then
session("errortime")=now()
  response.redirect "manage.asp"
  response.end
else
  session("manager")=uname
  session("fyasp_pwd")=upwd
  session("idkey")=trim(rs("id_key"))
  session("logined")=true
  session("gl_id")=trim(rs("id"))
  session("gl_name")=trim(rs("name"))
  session("gonggao")=trim(rs("gonggao"))
  session("Type")=trim(rs("Type"))
  session("news")=trim(rs("news"))
  session("ads")=trim(rs("ads"))
  session("huandeng")=trim(rs("huandeng"))
  session("hyetype")=trim(rs("hyetype"))
  session("hyedetail")=trim(rs("hyedetail"))
  session("newhouse")=trim(rs("newhouse"))
  session("Sphouse")=trim(rs("Sphouse"))
  session("Tjhouse")=trim(rs("Tjhouse"))
  session("house")=trim(rs("house"))
  session("gl_old")=trim(rs("gl_old"))
  session("Tjrecomco")=trim(rs("Tjrecomco"))
  session("dc")=trim(rs("dc"))
  session("banner")=trim(rs("banner"))
  session("gbook")=trim(rs("gbook"))
  session("member")=trim(rs("member"))
  session("link")=trim(rs("link"))
  session("peigou")=trim(rs("peigou"))
  session("pinguren")=trim(rs("pinguren"))
  session("pingu")=trim(rs("pingu"))
  session("person")=trim(rs("person"))
  session("jc")=trim(rs("jc"))
  session("Zs")=trim(rs("Zs"))
  session("jj")=trim(rs("jj"))
  session("job")=trim(rs("job"))
  session("ADMIN")=trim(rs("ADMIN"))
  session("jz")=trim(rs("jz"))
  session("td")=trim(rs("td"))
  session("zx")=trim(rs("zx"))
  Response.Redirect "main.asp"
end if
rs.close
set rs=nothing
closedataconn
end if
%><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<TITLE><%=homepage_title%>---后台系统总管理登陆</TITLE>
</head>
<body text="#0099CC">
<HTML><HEAD>
<meta http-equiv="Content-Language" content="zh-cn">
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<LINK 
href="css.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.5450.4" name=GENERATOR>
<SCRIPT type=text/javascript>

function checkForm(form){
	if(form.uname.value!="") {
		var	re	= new RegExp("[^<>'\"?&#%]", "g");
		if(!re.test(form.uname.value)) {
			alert("您输入的帐号含有非法字符,请重新输入!");
			form.uname.focus();
			return false;
		}
	}else{
		alert("请输入您的帐号!");
			form.uname.focus();
			return false;
	}
}
</SCRIPT>

<SCRIPT>
if(top&&top!=this) top.location=this.location;
</SCRIPT>
</HEAD>
<BODY bgColor=#72CEFF leftMargin=0 topMargin=0 MARGINHEIGHT="0" MARGINWIDTH="0">
<CENTER>
<TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" 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 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 method="POST" name=form1 onsubmit="return checkForm(this);" action=?action=check>
                        <input maxlength=20 name="s2" size=12 type=hidden value="<%=s%>">
                        <TABLE height=79 cellSpacing=1 cellPadding=0 width="92%" 
                        border=0>
                          <TBODY>
                          <TR vAlign=center align=middle bgColor=#ffffff>
                            <TD width="33%" height="26">
							<FONT 
color=#5a514a style="font-size: 9pt">用 户 名:</FONT></TD>
                            <TD width="67%" height="26" align="left"><FONT color=#5a514a> 
							<INPUT 
                              class=form size=22 name=uname> </FONT></TD></TR>
                          <TR vAlign=center align=middle bgColor=#ffffff>
                            <TD height="26">
							<FONT color=#5a514a style="font-size: 9pt">管理密码:</FONT></TD>
                            <TD height="26" align="left"><FONT color=#5a514a><INPUT class=form 
                              type=password size=22 name=upwd> 
                          </FONT></TD></TR>
                          </TBODY></TABLE>
                        <TABLE height=38 cellSpacing=0 cellPadding=0 width="70%" 
                        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.form1.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>
						<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 colspan="4" bgcolor="#72CEFF" height="42" align=center>
				<font color="#000000"><span style="font-size: 9pt">Copyright &copy; 
				2008 <b>
				<a target="_blank" href="http://www.fyasp.com">FyAsp.Com</a></b>, All Rights Reserved.</span><br>
 </font></TD>
                </TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></CENTER></BODY></HTML>
</body>
</html>

⌨️ 快捷键说明

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