<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="conn/conn.asp"-->
<!--#include file="inc/Commoncode.asp"-->
<!--#include file="inc/CommonFunction.asp"-->
<%Call SQLin()
commonid=Trim(Request("commonid"))
if commonid="" or not IsNumeric(commonid) then
Response.Write("<SCRIPT language=JavaScript>alert('参数错误！');window.close();</script>")
response.end()
else
set rs=conn.execute("select * from JOB_common where id="&commonid&"")
if not rs.eof then
templateid=rs("templateid")
Commoncontent=rs("content")
Commotitle=rs("title")
else
Response.Write("<SCRIPT language=JavaScript>alert('内容不存在！');window.close();</script>")
response.end()
end if
rs.close
set rs=nothing
end if
'读取模版内容
html=LoadTemplate(9999,9,templateid)
html=Replace(html,"{$FR_页尾导航}",GetSitebottomnav())
html=Replace(html,"{$FR_本站公告}",""&Announcehtml(0,0)&"")
html=Replace(html,"{$FR_通用页面内容}",Commoncontent)
html=Replace(html,"{$FR_通用标题}",Commotitle)
html=ReplaceLableFlag(ReplaceAllLabel(html))
Response.Write(CreateHTMLReplace(html))
Call CloseConn
%>