<%@language=vbscript codepage=936 %>
<!--#include file="Admin.asp" -->
<!--#include file="cf.asp" -->
<!--#include file="adminconn.asp" -->
<!--#include file="../include/safe.asp"-->
<%

if session("aleave")="check" then
response.write"<script language=javascript>alert('对不起，你没有这个权限！');"
response.write"javascript:history.go(-1)</script>"
response.end
end if

'----------------------------------------------------------------------
dim smallclassid,sql
smallclassid=trim(request("smallclassid"))
smallclassname=trim(request("smallclassname"))
if smallclassid<>"" then
	sql="delete from smallclass2 where smallclassid="&cint(smallclassid)&""
	conn.execute sql
	sql="delete from news2 where smallclassname='" & smallclassname & "'"
	conn.execute sql
end if
call closeconn()      
response.redirect "classmanage2.asp"
%>




                                                              
                                                              
                                                              