<%@language=vbscript codepage=936 %>
<!--#include file="../../Inc/conn.asp"-->
<!--#include file="../admin.asp"-->
<!-- #include file="../Inc/Head.asp" -->
<%
dim SmallClassID,sql
BigClassID=strToNum(Request("BigClassID"))
SmallClassID=strToNum(Request("SmallClassID"))
if BigClassID<>0 and SmallClassID<>0 then
	sql="delete from SmallClass_New where SmallClassID="&SmallClassID&""
	conn.Execute sql
	sql="delete from News where BigClass="&BigClassID&" And SmallClass="&SmallClassID&""
	conn.Execute sql
end if
call CloseConn()      
response.redirect "News_ClassManage.asp"
%>