<!--#include file=conn.asp-->
<!--#include file=../config.asp-->

<title>地区后台管理登陆</title>
<link rel="stylesheet" type="text/css" href="images/fox.css">
<link href="Style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
	background-color: #CCCC99;
}
.style1 {color: #FF0000}
-->
</style>
<body>

<p>　</p>
<p>　</p>
<table cellSpacing="0" cellPadding="0" width="442" align="center" border="0" style="font-size: 12px; line-height: 150%" id="table200">
	<tr vAlign="top">
		<td width="442">
		<table cellSpacing="0" cellPadding="0" width="442" align="center" background="images/t2bg4.gif" border="0" style="font-size: 12px; line-height: 150%" id="table204">
			<tr>
				<td colspan="4">
				<table cellSpacing="0" cellPadding="0" width="442" background="images/t2bg1.gif" border="0" style="font-size: 12px; line-height: 150%" id="table205">
					<tr>
						<td>
						<img height="30" src="images/t2.gif" width="176"></td>
						<td align="right">
						<img height="30" src="images/t2bg2.gif" width="8"></td>
					</tr>
				</table>
				</td>
			</tr>
			<tr>
				<td background="images/t2bg3.gif" width="8">　</td>
				<td width="438" bgcolor="#79A7D3" colspan="3">
						<p align="right"><font color="#E6E6E6"><%=title%>地区后台管理&nbsp;&nbsp;&nbsp;&nbsp; </font></td>
			</tr>
			<tr>
				<td background="images/t2bg3.gif" width="8" rowspan="2">　</td>
				<td background="images/t2bg3.gif" width="221">
						
				<img border="0" src="images/logo.gif"></td>
				<td background="images/t2bg3.gif" width="206">
						
				<img border="0" src="../<%=css%>/weblogo.jpg"></td>
				<td background="images/t2bg3.gif" width="11">
						
				　</td>
			</tr>
			<tr>
				<td colspan="3">
<table cellSpacing="0" cellPadding="0" width="98%" border="0" id="table211">
							<tr>
								<td align="middle" bgColor="#B9CCEA" height="2"></td>
							</tr>
							<tr>
								<td align="middle" bgColor="#EAEAEA">
								<form name="form_fox" action="loginchk.asp" method="post">
                  <table cellSpacing="0" cellPadding="0" width="100%" border="0" height="73" id="table212">
                    <tr>
                      <td width="12%" align="right" height="30" class="top_hui_text">
						<font face="Arial, Helvetica, sans-serif" color="#999999"> 
						用户名：&nbsp; </font></td>
                      <td width="48%" height="30" class="top_hui_text">
						<input class="editbox4" size="18" name="username">
                      </td>
                      <td width="12%" height="30" class="top_hui_text">
						<font face="Arial, Helvetica, sans-serif" color="#999999"> 
						密&nbsp;&nbsp; 码：</font></td>
                      <td width="27%" height="30" class="top_hui_text">
						<input class="editbox4" type="password" size="18" value name="password"></td>
                    </tr>
                    <tr>
                      <td width="12%" align="right" height="30" class="top_hui_text">
						<font face="Arial, Helvetica, sans-serif" color="#999999"> 
						地&nbsp;&nbsp; 区：&nbsp;&nbsp; </font></td>
                      <td width="48%" height="30" class="top_hui_text"> <%
dim rsclass
dim sqlclass
dim count
set rsclass=server.createobject("adodb.recordset")
sqlclass = "select * from FOX_shi order by paixu desc"
rsclass.open sqlclass,conn,1,1
%><SCRIPT language = "JavaScript">
var onecount;
onecount=0;
subcat = new Array();
        <%
        count = 0
        do while not rsclass.eof 
        %>
subcat[<%=count%>] = new Array("<%= trim(rsclass("shi"))%>","<%= trim(rsclass("sheng"))%>","<%= trim(rsclass("id"))%>");
        <%
        count = count + 1
        rsclass.movenext
        loop
        rsclass.close
        %>
onecount=<%=count%>;

function changelocation(locationid)
    {
    document.form_fox.shi.length = 0; 

    var locationid=locationid;
    var i;
    for (i=0;i < onecount; i++)
        {
            if (subcat[i][1] == locationid)
            { 
                document.form_fox.shi.options[document.form_fox.shi.length] = new Option(subcat[i][0], subcat[i][2]);
            }        
        }
        
    }    
                      </SCRIPT><%
sqlclass = "select * from FOX_sheng order by paixu desc"
rsclass.open sqlclass,conn,1,1
if rsclass.eof and rsclass.bof then
response.write "请先添加栏目。"
response.end
else
%> <SELECT name="sheng" onChange="changelocation(document.form_fox.sheng.options[document.form_fox.sheng.selectedIndex].value)" size="1" class="right_bg01">
<OPTION selected value="0">分类</OPTION>
                                <%do while not rsclass.eof
%>
                                <OPTION value="<%=trim(rsclass("id"))%>"><%=trim(rsclass("sheng"))%></OPTION>
                                <%
        rsclass.movenext
        loop
	    end if
        rsclass.close
        set rsclass=nothing
%>
                              </SELECT>
                              <SELECT name="shi" size="1" class="right_bg01">
                                <OPTION selected value="0">二级</OPTION>
                              </SELECT> <font color="#FF0000">*</font>
　</td>
                      <td width="12%" height="30" class="top_hui_text"> 验证码：</td>
                      <td width="27%" height="30" class="top_hui_text">  
<input class=wenbenkuang name=verifycode type=text value="<%If GetCode=9999 Then Response.Write "9999"%>" maxLength=4 size=10><img src=../GetCode.asp></td>
                    </tr>
                    </table>
                  <table width="88%"  border="0" cellspacing="0" cellpadding="0" id="table213">
                    <tr>
                      <td colspan="2" height="5"></td>
                    </tr>
                    <tr>
                      <td><div align="center">
                        <input class="button" type="submit" value="确认登陆" name="Submit1">
                      </div></td>
                      <td><div align="center">
                        <input class="button" type="reset" value="擦除重写" name="Submit">
                      </div></td>
                    </tr>
                    <tr>
                      <td colspan="2" height="5"></td>
                    </tr>                    
                    </form>
                  </table>


								</td>
							</tr>
						</table>
						</td>
			</tr>
			</table>
		</td>
	</tr>
</table>
<div align="center">
	<table border="0" width="442" id="table210" cellpadding="0" height="8" cellspacing="0" background="images/t2bg5.gif">
			<tr>
				<td height="8"></td>
			</tr>
	</table>
		</div>


      
	