<% data_path="../../" 'ACC连接数据库路径，对SQL无效 %>
<!--#include file="../../conn/conn.asp"-->
<!--#include file="../../inc/safe.asp"-->
  <!--#include file="../checkrole.asp"-->
 <%
      call checkuser("zp")
  Response.Buffer = true
  Response.ExpiresAbsolute=now()-1
  Response.Expires=0
  Response.CacheControl="no-cache"
 
if Not ChkPost then 
		response.write "<script language='javascript'>"
		response.write"parent.location.href='"&HOPE_InstallDir&"login/login1.asp';</SCRIPT>"
		response.end
end if

 
 id=Replace_Text(request("id"))
 userid=Replace_Text(request("userid"))
  '--处理回复内容---------------------
  backcon=Replace_Text(request("backcon"))
  
  
  '-------------------------
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
<link href="../images/css.css" rel="stylesheet" type="text/css">
<script language="javascript">
function isok()
{
if(document.myform.backcon.value.replace(/^\s+|\s+$/g,'')=="") 

{
alert('请输入回复内容！');
return false;
}
}
</script>
</head>
 <%
 msg=""
 id=Replace_Text(request("id"))
 backgo=Replace_Text(request("backgo"))
 backcon=Replace_Text(request("backcon"))
 userid=Replace_Text(request("userid"))
 if backgo<>"" and backcon<>"" and id<>""  then 
 conn.execute "update Websen_joblist set backinfo='"&backcon&"' where id="&id
 msg="<br>回复成功！<br><br>"
 end if
 %>
 <body><TABLE cellSpacing=0 cellPadding=0 width=100% border=0>
        <TBODY>
        <TR>
              <TD width="6%"><IMG height=32 src="../images/edit_work.gif" 
            border=0></TD>
              <TD width="94%" background="../images/info_bg.gif">&nbsp;</TD>
        </TR></TBODY></TABLE>
 <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FAFAFA">
   <tr>
     <td height="40" align="center" bgcolor="#ECF3F9"><strong>回复应聘者【<%=userid%>】</strong></td>
   </tr>
   <form method="post" action="jobback.asp" name="myform" onSubmit="return isok();">
     <tr><td align="center"><input type="hidden" value="<%=userid%>"  name="userid"><input type="hidden" name="id" value="<%=id%>">  <textarea  name="backcon" cols="50" rows="12"><%
	 set rsh=server.CreateObject("adodb.recordset")
	 sqlh="select  * from Websen_joblist where id="&id
	 rsh.open sqlh,conn,1,1
	 if not rsh.eof then 
	 response.Write(rsh("backinfo"))
	 rsh.close
	 end if
	 
	 %></textarea></td>
     </tr>
	 <tr><td bgcolor="#CCDAEE" height="5" align="center"><font color="red"><%=msg%></font></td></tr>
	 <tr><td height="44" align="center"><input type="submit" name="backgo" value=" 回 复 ">&nbsp;<input type="reset" name="no" value="重填">&nbsp;&nbsp;&nbsp;<a href="<%=HOPE_InstallDir%>member/work/edit.asp">招聘信息管理</a></td>
	 </tr>
   </form>
 </table>
 
 </body>
</html>