<% data_path="../../" 'ACC连接数据库路径，对SQL无效 %>
<!--#include file="../../conn/conn.asp"-->
<!--#include file="../../inc/filesystem.asp"-->
 <!--#include file="../../inc/safe.asp"-->
  <!--#include file="../checkrole.asp"-->
  <%
  Response.Buffer = true
  Response.ExpiresAbsolute=now()-1
  Response.Expires=0
  Response.CacheControl="no-cache"
 
  call checkuser("zh")

	if issession=0 then
	gsid=Replace_Text(request.Cookies("Yxmemberid"))
	else
	gsid=session("id")
	end if

if Not ChkPost then 
		response.write "<script language='javascript'>"
		response.write"parent.location.href='"&HOPE_InstallDir&"login/login1.asp';</SCRIPT>"
		response.end
end if
 
if not isempty(request("id")) then
newsidlist=request("id")
if instr(newsidlist,",")>0 then
dim newsidarr
newsidArr=split(newsidlist)
dim log_newsid
for i = 0 to ubound(newsidarr)
log_newsid=clng(newsidarr(i))
call deleteannounce(log_newsid,gsid)
next
else
call deleteannounce(clng(newsidlist),gsid)
end if
end if
sub deleteannounce(id,gsid)
FileName=HOPE_InstallDir&"service/expo/detail/"&id&".html"
Call FileDel(FileName)'删除文件
conn.execute("delete from Yixiang_expo where id="&id&" and gsid="&gsid&"")
end sub
 Conn.Close 
Set Conn = Nothing 
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>操作成功</title>
<link href="../../images/css.css" rel="stylesheet" type="text/css">
<meta HTTP-EQUIV=refresh Content='1;url=<%=HOPE_InstallDir%>member/modify/modify_mine.asp'>
</head>
 <script>window.location.href='../../member/modify/modify_mine.asp';</script>
 </body>
</html>