<!--#include file="articleconn.asp"-->
<!--#include file="error.ini"-->
<html>
<%if session("flag")>1 then
    response.write "<script>alert('您的操作权限不够！');history.back();</script>"
    response.end
end if
%><html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="Content-Language" content="zh-cn">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<LINK href="inc/Admin_STYLE.CSS" rel="stylesheet" type="text/css">
<title></title>
<style type="text/css">
<!--
.样式3 {font-size: 9pt}
-->
</style>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" cellspacing="0" cellpadding="2">
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>

<table border="0" width="100%" cellspacing="0" cellpadding="2" class="border">
  <tr bgcolor="#009ACE"> 
    <td height="24" colspan=2><div align="center"><font color="#FFFFFF">&nbsp; <b>栏目管理</b></font></div></td>
<%
   dim rs,sql,sel           
   set rs=server.createobject("adodb.recordset")
   sql="select * from admin where id=1"
    rs.open sql,conn,1,1
    %>
  </tr>
  <tr bgcolor="#F3F5F5"> 
 <%set rs=server.createobject("adodb.recordset")
   sql="select * from type"
   rs.open sql,conn,1,3
  do while not rs.eof%></tr>
  </form>
    <form method="POST" onsubmit action="changeadmin.asp?typeid=<%=rs("typeid")%>">
      <tr bgcolor="#F3F5F5"> 
          <td width="11%" height="25" nowrap class="tdbg"> 
          <p align="center"><span class="样式3"><%=rs("type")%></span></td>
        <td width="89%" class="tdbg" nowrap> <input type="text" name="typename" size="15"> 
          &nbsp; <input type="submit" value="修改" name="change"> <input type="submit" value="删除" name="delet"></td>
      </tr>
    </form>
  <% rs.movenext
      loop
      %>
    <form method="POST" onsubmit action="changeadmin.asp">
      <tr bgcolor="#F3F5F5"> 
        <td width="11%" class="tdbg" nowrap> <p align="center">新增：</td>
        <td width="89%" class="tdbg" nowrap> <input type="text" name="type" size="15"> 
          &nbsp; <input type="submit" value="新增" name="addname"></td>
      </tr>
    </form>
</table>
<br>

</html>