<%@ codepage ="936" %>
 <% 
	data_path="../../" 'ACC连接数据库路径，对SQL无效
	numid="52"
	dir="../err.asp" 
  %>
  <!--#include file="../../conn/conn.asp"-->
  

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>类别管理</title>
<link rel="stylesheet" type="text/css" href="../css/style.css">


<script language="javascript">
function istruedel()
{
var i=confirm("你确定要删除吗?");
if(i)
{
return true ;

}
else
{
return false;
}

}
</script>
</HEAD>
<table width="98%" border="0" cellspacing="0" cellpadding="0" align=center class="tableBorder"> 
 
  

     
         </form>
  </tr>
  <Tr><td colspan="2" height="1"  bgcolor="#CCCCCC"></td></Tr>
</table>
<%
set rssort=server.createobject("adodb.recordset")
sql="select * from Websen_newstype order by orderid"
rssort.open sql,conn,1,1
%>
 <table width="95%" border="0" cellspacing="1" cellpadding="3"  align=center class="tableBorder">
	<tr> 
	<th height="22">评论信息类别列表</th>
	</tr>
	<tr>
	  <td class="Forumrow"><TABLE border="0" width="100%" cellpadding="0">
        <TR>   
          <%
		  if rssort.eof then
response.Write"<br><br><div align='center'>暂无类别请<a href=class_ok.asp?action=add_class_1>添加</a></div><br><br>"
else
		  j=1
          do while not rssort.eof
          %>
          <td width="28%" height="25"><p style="line-height: 150%"> <IMG src="../images_new/plus.gif" width="9" height="9"> <a href="reviewpl_delete.asp?typeid=<%=rssort("typeid")%>"><%=rssort("type")%></a><font  color="#666666">(序:<font color="#0099CC"><b><%=rssort("orderid")%></b></font>)</font>〖<a href='class_ok.asp?action=del_class_1&id=<%=rssort("typeid")%>' onClick="return istruedel();"><font color=#ff0000>删除</font></a>〗</td>
          <%if j mod 3 = 0 then %></tr><tr ><%end if%>
          <% rssort.movenext
             j=j+1
             loop
             rssort.close
             set rssort=nothing
			 end if
          %>
      </TABLE></td>
	</tr>
</table>
<br>
<!--#include file="../copy.asp" -->
