<% data_path="../" 'ACC连接数据库路径，对SQL无效 %>
<!--#include file="../conn/conn.asp"-->
<!--#include file="../inc/safe.asp"-->
<%
  Response.Buffer = true
  Response.ExpiresAbsolute=now()-1
  Response.Expires=0
  Response.CacheControl="no-cache"
 
 
 
 
 '投放简历处理
 action=Replace_Text(request("action"))
 jobid=Replace_Text(request("jobid"))
 infoid=Replace_Text(request("infoid"))
if action="injob" then

set rsj=server.CreateObject("adodb.recordset")
sqlj="select * from Websen_joblist where jobid="&infoid&" and jobuserid="&jobid&""
rsj.open sqlj,conn,1,3
if  rsj.eof then
rsj.addnew 
rsj("jobid")=infoid
rsj("jobuserid")=jobid
rsj("addtime")=date()
rsj.update
end if
response.Write("<script >alert('简历已经发送到该企业信息库中!');window.close();</script>")
response.End()
end if


dim sql
dim rs
if Chkrequest(request("info_id")) then
info_id=request("info_id")
else
info_id=1
end if

conn.execute("update Websen_work set click=click+1 where info_id="&info_id&"")

sql="select Websen_work.*,Websen_corporation.* from Websen_work,Websen_corporation where Websen_work.info_id="&info_id&" and Websen_corporation.id=Websen_work.gsid" 
 Set rs= Server.CreateObject("ADODB.Recordset") 
rs.open sql,conn,1,1
if rs.eof then 
response.Write("<font color=red>对不起！此消息已不存在或已无效！</font><a href=# onclick=window.close()>关闭</a>")
else
%> 
<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()
{

 var i=confirm("你确定要将简历发送给该企业进行应聘吗？");
 if(i)
 {
 return true ;
 }
 else
 {
 return false;
 }
}
</script>
</head>
<BODY bgColor=#ffffff text=#000000>
<TABLE align="center" border=0 cellPadding=0 cellSpacing=0 height=290 width=415 style="border-collapse: collapse" bordercolor="#111111">
<TBODY>


<TR>
<TD bgColor=#ffffff vAlign=top width=407>

      <TABLE border=0 cellPadding=0 cellSpacing=0 
width=400 style="border-collapse: collapse" bordercolor="#111111">
        <TBODY> 
        <TR>
          <TD align=center height=25 style="FONT-SIZE: 14px" width="404" colspan="3"><b><%=rs("qymc")%></b></TD>
        </TR>


<TR>
          <TD width="364" height=30 colspan="3" bgcolor="#F7F7F7" 
style="font-family: 宋体; font-size: 9pt; line-height: 14pt; letter-spacing: 0pt"><font color="#FF0000"><b> 
           <font color="#000000"> 招聘的职位：</font><%=rs("showname")%></b> </font>  </TD>
        </TR>
<TR>
              
          <TD 
style="font-family: 宋体; font-size: 9pt; line-height: 14pt; letter-spacing: 0pt" colspan="3"> 
            <table border="0" style="font-family: 宋体; font-size: 9pt; line-height: 14pt; letter-spacing: 0pt" bordercolor="#111111" width="100%" id="AutoNumber1">
<tr>
                <td width="50%">发布日期：<%=rs("dateandtime")%> </td>
                <td width="50%">浏览人数：<%=rs("click")%></td>
</tr>
<tr>
                <td width="50%">截止日期：<%=rs("enddate")%> </td>
                <td width="50%">招聘类型：<%=rs("type")%></td>
</tr>
<tr>
                <td colspan="2">工作地点：<%=rs("country")%> -- <%=rs("province")%>--<%=rs("city")%></td>
</tr>
<tr>
                <td height="30" colspan="2" style="word-break:break-all"> 招聘人数：
                  <%if rs("zrs")="0" then response.write"不限"else response.write""&rs("zrs")&"名" end if%><BR><br>
招聘的描述(说明)：<br>
&nbsp;&nbsp;<%=Replace(rs("content"),chr(13),"<br>&nbsp;&nbsp;&nbsp;")%><BR></td>
</tr>
</table>
 


　<table border="0" cellspacing="1" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2" cellpadding="0">
 <tr>
<td width="412" height="12" style="font-family: 宋体; font-size: 9pt; line-height: 14pt; letter-spacing: 0pt"><hr size="1" color="#CCCCCC" align="center"></td>
</tr>
<tr>
<td width="412" height="17" style="font-family: 宋体; font-size: 9pt; line-height: 14pt; letter-spacing: 0pt"><font color="#804000"><b>公司名称：</b></font><%=rs("qymc")%></td>
</tr>
<tr>
<td width="412" height="17" style="font-family: 宋体; font-size: 9pt; line-height: 14pt; letter-spacing: 0pt"><font color="#804000"><b>公司地址：</b></font><%=rs("address")%></td>
</tr>
<tr>
                    <td width="412" height="17" style="font-family: 宋体; font-size: 9pt; line-height: 14pt; letter-spacing: 0pt"><font color="#804000"><b>联系 人：</b></font><a href="mailto:<%=rs("email")%>" style="text-decoration: none"><%=rs("name")%></a>　<%=rs("zw")%> 
                      <font color="#804000"><b>电话：</b></font><%=rs("phone")%><font color="#804000"> 
                      <b>&nbsp;</b></font></td>
</tr>
<tr>
<td width="412" height="17" style="font-family: 宋体; font-size: 9pt; line-height: 14pt; letter-spacing: 0pt"><font color="#804000"><b><font face="Arial">公司网址</font>：</b></font><font face="Arial"><b><%if rs("web")="空" or rs("web")="http://" then%><a href="<%=weburl%>vipcom/<%=rs("User")%>" target="_blank" style="text-decoration: none"><%=weburl%>vipcom/<%=rs("User")%></a><%else%><a href="<%=rs("web")%>" target="_blank" style="text-decoration: none"><%=rs("web")%><%end if%></a></b></font></td>
</tr>
<tr>
<td width="412" align="right" height="18" style="font-family: 宋体; font-size: 9pt; line-height: 14pt; letter-spacing: 0pt"><hr size="1" color="#CCCCCC" align="center"></td>
</tr><tr><td align="center"  style="font-family: 宋体; font-size: 9pt; line-height: 14pt; letter-spacing: 0pt">
<%
  if isSession=0 then
 	  jobid=Replace_Text(Request.Cookies("jobuserid"))
  else
 	  jobid=session("jobid")
  end if

if jobid<>"" then
%>
<a href="<%=HOPE_InstallDir%>job/work_info.asp?action=injob&jobid=<%=jobid%>&infoid=<%=info_id%>" onClick="return isok();">我要对该招聘投放简历</a>
<%
else
%>
<a href="#" onClick="javascript:alert('本商务网温馨提示：请您先注册个人求职会员后----完善自己的简历后-----再来求职！祝你成功！');">我要求职</a>
<%
end if
%>

 <a href="#" onClick="window.close();">关闭</a></td></tr>

</table>
</TD></TR>
</TBODY></TABLE>

</TD>
</TR>
</TBODY></TABLE>
</BODY></HTML>
<% 
rs.close 
set rs=nothing
conn.close
set conn=nothing 
end if
%>