<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="conn/conn.asp"-->
<%Call SQLin()
Announceid=Trim(Request("Announceid"))
if Announceid="" or not IsNumeric(Announceid) then
Response.Write("<SCRIPT language=JavaScript>alert('参数错误！');window.close();</script>")
response.end()
else
set rs=conn.execute("select * from JOB_Announce where JOB_id="&Announceid&"")
if not rs.eof then
AnnAuthor=rs("JOB_Author")
if AnnAuthor="" then
AnnAuthor="系统"
end if
AnnDateAndTime=rs("JOB_DateAndTime")
Anncontent=rs("JOB_Content")
Anntitle=rs("JOB_Title")
else
Response.Write("<SCRIPT language=JavaScript>alert('参数错误！');window.close();</script>")
response.end()
end if
rs.close
set rs=nothing
end if
Call CloseConn
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="Content-Language" content="gb2312" />
<title><%=Anntitle%>-网站公告-<%=SiteName%></title>
<link href="css/css3.css" rel="stylesheet" type="text/css">
</head>
<body>
<center>
<div class="anntc">
<li class="libt300"><%=Anntitle%></li>
<li class="li300"><%=Anncontent%></li>
<li>发布人:<%=AnnAuthor%>　时间:<%=AnnDateAndTime%>　<a href="javascript:window.close()">关闭窗口</a></li>
</div>
</center>
</body>
</html>