<%dbdns="../../"%>
<!--#include file="../../inc/conn.asp"-->
<!--#include file="../cook.asp"-->
<%if fla0<>1 then
response.write "<script>alert('操作权限出错，您没有权限操作些功能');history.go(-1);</Script>"
Response.End 
end if%>
<%=citycss%>
<br>
<table width="95%" height="0" border="1" align="center" cellpadding="0" cellspacing="0" bordercolorlight="#6C90D1" bordercolordark="#FFFFFF">
  <form name="form1" method="post" >
    <tr align="center" bgcolor="#D6DFF7"> 
      <td width="28%" height="25">省份添加</td>
      <td width="37%"><input type="text" name="addone"></td>
      <td width="35%"><input type="button" name="Submit" value="添加" class=input1></td>
    </tr>
  </form>
</table>
<br>
<!--#######################################################################-->
<table width="95%" height="0" border="1" align="center" cellpadding="0" cellspacing="0" bordercolorlight="#6C90D1" bordercolordark="#FFFFFF">
<tr align="center"> 
<%sql="select *  from dlxf_ypaddone order by dlxf_date desc"
set rs=Server.CreateObject("ADODB.Recordset")                                                    
rs.open sql,conn,1,1 
	if (rs.eof and rs.bof) then
	response.write "<tr><td height=20 colspan=3>暂无内容</td></tr>"
else                                                 
n=0                                                   
do while not rs.eof
n=n+1%>
<td width="10%" height="25"><a href=addoneadd.asp?id=<%=rs("dlxf_addone_id")%>&one=<%=rs("dlxf_addone")%>><%=rs("dlxf_addone")%></a> <a href=addonesave.asp?id=<%=rs("dlxf_addone_id")%>&action=aa><font color=#6C90D1>排序</font></a></td>
<%if n mod 10=0 then response.write"</tr><tr align=center>"
rs.movenext                                             
loop   
end if                                   
rs.close                                             
set rs=nothing%>
</tr>
</table>
<br>
<!--#######################################################################-->
<%if request("id")<>"" then%>
<table width="95%" height="0" border="1" align="center" cellpadding="0" cellspacing="0" bordercolorlight="#6C90D1" bordercolordark="#FFFFFF">
<form name="form1" method="post" >
  <tr bgcolor="#D6DFF7">
    <td width="23%" height="30" align="center"><input name="addone" type="text" value="<%=request("one")%>"></td>
	<td width="25%" align="center"><input type="submit" name="Submit2" value="改名" class=input1>　　
<input type="button" name="button" title="点击此删除栏目及子栏目和内容" class=input1 value="删除" >
</td>
</tr>
</form>
</table>
<br>
<table width="95%" height="0" border="1" align="center" cellpadding="0" cellspacing="0" bordercolorlight="#6C90D1" bordercolordark="#FFFFFF">
  <form name="form1" method="post">
<input type="hidden" name="addone_id" value="<%=request("id")%>">
    <tr align="center" bgcolor="#D6DFF7"> 
      <td width="17%" height="30">地区添加</td>
      <td width="29%" height="30"><input name="addone" type="text" value="<%=request("one")%>" readonly></td>
	  <td width="24%" height="30"><input name="addtwo" type="text"></td>
      <td width="30%"><input type="submit" name="Submit" value="添加" class="input1"></td>
    </tr>
  </form>
</table>
<br>
<table width="95%" height="0" border="1" align="center" cellpadding="0" cellspacing="0" bordercolorlight="#6C90D1" bordercolordark="#FFFFFF">
<tr align="center"> 
<%sql="select *  from dlxf_ypaddtwo where dlxf_addone_id="&request("id")&" order by dlxf_date desc"
set rs=Server.CreateObject("ADODB.Recordset")                                                    
rs.open sql,conn,1,1 
	if (rs.eof and rs.bof) then
	response.write "<tr><td height=20 colspan=3>暂无内容</td></tr>"
else                                                 
n=0                                                   
do while not rs.eof
n=n+1%>
<td width="20%" height=25><a href=addtwoadd.asp?id=<%=rs("dlxf_addtwo_id")%>&action=edit><%=rs("dlxf_addtwo")%></a> <a href=addonesave.asp?id=<%=rs("dlxf_addtwo_id")%>&oneid=<%=rs("dlxf_addone_id")%>&one=<%=rs("dlxf_addone")%>&action=aaa><font color=#6C90D1>排序</font></a></td>
<%if n mod 5 =0 then response.write"</tr><tr align=center>"
rs.movenext
loop
end if
rs.close
set rs=nothing%>
</tr>
</table>
<%end if%>
</body>
</html>
