<!--#include file="../conn/conn.asp"-->
<!--#include file="../inc/Commoncode.asp"-->
<!--#include file="../inc/CommonFunction.asp"-->
<%Call SQLin()
hid=Trim(Request("id"))
if hid="" or not IsNumeric(hid) then
Response.end()
else
set rs=conn.execute("select hire_announcedate from JOB_C_hire where hire_id="&hid&"")
	if not rs.eof then
	addtime=rs("hire_announcedate")
	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,2,3,hid,0)&"")) then
		If datediff("s",ShowFileInfo(""&FormatLink(addtime,2,3,hid,0)&""),Now())>60*CreateTime then
		Call HireContentHtml(hid)
		End If
	else
		Call HireContentHtml(hid)
	end if
End if
Set fso = Nothing
end if
Call CloseConn
%>