<!--#include file="../conn/conn.asp"-->
<!--#include file="../inc/Commoncode.asp"-->
<!--#include file="../inc/CommonFunction.asp"-->
<%SQLin
hire_id=Chkint(trim(request("hireid")))
If hire_id="" Or IsNumeric(hire_id)=False Then
	response.write "参数不足或参数错误！"
	response.end
End If
set rst=server.createobject("ADODB.Recordset")
sql="select hire_id,hire_announcedate from job_c_hire where hire_id="&hire_id
rst.open sql,conn,1,1
if rst.eof then
  rst.close
  set rst=nothing
  CloseConn
  response.write "此职位不存在，或已被管理员删除！"
  response.end
else
	hire_id=rst("hire_id")
	hire_announcedate=rst("hire_announcedate")
	rst.close
	set rst=nothing
end if
set rsuc=conn.execute("select UseCreateHTML from JOB_Channel where ChannelID=2")
	UseCreateHTML=rsuc("UseCreateHTML")
set rsuc=nothing
if  CreateHTML=1 and UseCreateHTML<>0 then
	response.redirect FormatLink(hire_announcedate,2,3,hire_id,0)
	Response.End()
else
Response.Write(CreateHTMLReplace(HireContentHtml(hire_id)))
end if
CloseConn
%>
