<!-- #include file="../admin/check_master.asp" -->
<!-- #include file="../inc/conn.asp"-->
<%
   dim sql
   dim rs
   return_url=request("return_url")
   sql="delete from bbstitle where id="&request("id")
   conn.execute sql
   sql="delete from bbsmenu where pid="&request("id")
   conn.execute sql
   conn.close
   set conn=nothing
   if request("bbs_img")<>"" then
   '以下是删除图片文件
   FiLePaTh = Server.MapPath("../")& "\html\upfile\" &request("bbs_img")
   Set fso = CreateObject("Scripting.FileSystemObject")
   fso.DeleteFile(filepath)
   Set fso = nothing   
   end if
   response.redirect return_url
%>
