<!--#include file="../conn/conn.asp"-->
<!--#include file="../inc/Commoncode.asp"-->
<!--#include file="../inc/CommonFunction.asp"-->
<%Call SQLin()
newsid=Trim(Request("id"))
if newsid="" or not IsNumeric(newsid) then
Response.end()
else
set rs=conn.execute("select N_sid,N_cid,N_addtime from JOB_news where N_id="&newsid&"")
	if not rs.eof then
	typeid=rs("N_sid")
	Cid=rs("N_cid")
	addtime=rs("N_addtime")
	else
	Response.end()
    end if
set rs=nothing
Set fso = Server.CreateObject(FR_HR_FSO)
If CreateHTML=1 and CreateTime<>0 then
	if fso.FileExists(server.MapPath(""&FormatLink(addtime,Cid,typeid,newsid,0)&"")) then
		If datediff("s",ShowFileInfo(""&FormatLink(addtime,Cid,typeid,newsid,0)&""),Now())>60*CreateTime then
		Call NewsContentHtml(newsid)
		End If
	else
		Call NewsContentHtml(newsid)
	end if
End if
Set fso = Nothing
end if
Call CloseConn
%>