<!--#include file="../conn/conn.asp"-->
<!--#include file="../inc/Commoncode.asp"-->
<!--#include file="../inc/CommonFunction.asp"-->
<%Cid=1
Call SQLin()
rid=Chkint(trim(request("rid")))
If isNumeric(rid)=False Then
	Response.Write("<script>alert(""参数不全！"");window.close();</script>")
	Response.End()
End If
set rs=server.createobject("ADODB.Recordset")
sql="select resume_template from job_p_resume where resume_id="&rid
rs.open sql,conn,1,1
if rs.eof then
  rs.close
  set rs=nothing
  CloseConn
  response.write "此条信息已不存在，或已被删除！"
  response.end
else
TemplateID=rs("resume_template")
end if
rs.close
set rs=nothing

'读取模版内容
if TemplateID<>"" and TemplateID<>0 then
html=LoadTemplate(Cid,13,TemplateID)
else
html=LoadTemplate(Cid,13,0)
end if
html=ReplaceLableFlag(ReplaceAllLabel(html))
html=ResumeContentHtml(html,rid)
Response.Write(CreateHTMLReplace(html))
CloseConn
%>