<% data_path="../../" 'ACC连接数据库路径，对SQL无效 %>
<!--#include file="../../conn/conn.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("sj")
 
if Not ChkPost then 
response.write "<script language='javascript'>"
response.write"parent.location.href='"&HOPE_InstallDir&"member/err.asp';</SCRIPT>"
response.end
end if

  
if not isempty(request("info_id")) then
newsidlist=request("info_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)
next
else
call deleteannounce(clng(newsidlist))
end if
end if
sub deleteannounce (info_id)
set rs=server.createobject("adodb.recordset")
sql="select * from Yixiang_Info where info_id="&info_id&""
rs.open sql,conn,1,3
if not rs.eof then 
rs("dateandtime")=now()
rs.update
rs.close
end if
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=edit.asp'>
</head>

<%
Content="<center>恭喜您，此信息重发成功！<br><br><input name='' type='button' value='返回上一页' onclick='javascript:history.go(-1)'></center>"

Call Operation(Content,1)
%>

</body>
</html>