<!--#include file="Conn.asp"-->
<!--#include file ="Check_Manager.asp"-->
<script language="JavaScript" type="text/JavaScript">
function ConfirmDelBig()
{
   if(confirm("确定要删除此类别吗?"))
     return true;
   else
     return false;
	 
}
</script>
<html>
<head>
<titel></titel>
<LINK href="admin/admin.css" type=text/css rel=stylesheet>
</head>
<body>
<table width="100%" height="37%" border="0" cellpadding="0" cellspacing="0">
  <tr> 
    <td align="center" valign="top"> <table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td align="center" valign="top"><br>
            <strong><font color="0000">下载分类</font></strong><p><a href="Down_EditClass.asp?action=add"><b>添加下载类别</b></a><p><br> 
            <br> 
            <table class=tableBorder width="500" border="0" cellpadding="0" cellspacing="1" bgcolor="#0099FF">
              <tr> 
                <td width="56" height="25" align="center" background="admin/admin_bg_1.gif"><strong>ID</strong></td>
                <td width="307" align="center" background="admin/admin_bg_1.gif"><div align="center"><strong>栏目名称</strong></div></td>
                <td width="131" align="center" background="admin/admin_bg_1.gif"><div align="center"><strong>操作选项</strong></div></td>
              </tr>
<%
set rs=server.CreateObject("adodb.recordset")
rs.open "Select * From [BigClassDown] ",conn,1,1
if not(rs.bof and rs.eof) then
do while not rs.eof
%>
              <tr> 
                <td width="56" height="22" bgcolor="#FFFFFF"><div align="center"><%=rs("ID")%></div></td>
                <td align="right" bgcolor="#FFFFFF" style="padding-right:10"> 
                  <div align="center"><a href="News_AddClass.asp?add=smallclass"> 
                    </a><%=rs("DownType")%></div></td>
                <td align="right" bgcolor="#FFFFFF" style="padding-right:10"><div align="center"> 
                    <a href="Down_EditClass.asp?action=down&id=<%=rs("ID")%>">修改</a> 
                    | <a href="Down_EditClass.asp?action=del&id=<%=rs("ID")%>" onClick="return ConfirmDelBig();">删除</a> 
                    | <a href="Down_EditClass.asp?action=add&id=<%=rs("ID")%>">添加</a></div></td>
              </tr>
<%
rs.movenext
loop
End if
rs.close
set rs=nothing	
%>
            </table>
            <br> </td>
        </tr>
      </table>
      <%
call CloseConn()
%>
    </td>
  </tr>
</table>
</body>
</html>
