<% stats="回收站内容" dim AnnounceID dim username dim tablename dim abgcolor if request("id")="" then founderr=true Errmsg=Errmsg+"
"+"
  • 非法的参数。" elseif not isInteger(request("id")) then founderr=true Errmsg=Errmsg+"
    "+"
  • 非法的参数。" else AnnounceID=request("id") end if if not master then founderr=true Errmsg=Errmsg+"
    "+"
  • 您不是系统管理员,没有权限查看被删除的帖子。" end if if founderr then call dvbbs_error() else set rs=server.createobject("adodb.recordset") if instr(request("tablename"),"bbs")>0 then 'if request("tablename")="bbs1" then sql="select Announceid,topic,body,username,dateandtime from "&replace(request("tablename"),"'","")&" where AnnounceID="&AnnounceID tablename=request("tablename") else sql="select topicid,title,title as body,postusername,dateandtime from topic where topicID="&AnnounceID tablename="topic" end if rs.open sql,conn,1,1 if rs.eof and rs.bof then Errmsg=Errmsg+"
    "+"
  • 没有找到相关信息。" call dvbbs_error() else %> <%=Forum_info(0)%>--<%=stats%> >
    <%=htmlencode(rs(1))%>

    target=_blank><%=htmlencode(rs(3))%> 发布于 <%=rs(4)%>


    <%=dvbcode(rs(2),1,2)%>
    『 直接删除 』  『 关闭窗口 』
    <% end if rs.close set rs=nothing end if call footer() %>