<!--#include file="include/con_job.asp"-->
<%
dim id:id=trim(request.querystring("id"))
if not(isnumeric(id)) then
  call format_redirect("job.asp")
end if
%>
<!-- #include file="include/jk_ubb.asp" -->
<%
dim username,counter,cname,job
dim zpnum,gzdd,nianlings,zyes,hkas,edus,hkbs,languages,pthuas,sexs,jobtypes,marrys,computers,shisus,moneys,tim,youxiaos,zptext

sql="select top 1 * from job where hidden=1 and id="&id
set rs=joekoe_cms.exec(sql,1)
if rs.eof and rs.bof then
  rs.close
  call format_redirect("job.asp")
end if
username=rs("username")
counter=rs("counter")
cname=rs("cname")
job=rs("job")
zpnum=rs("zpnum")
gzdd=rs("gzdd")
nianlings=rs("nianlings")
zyes=rs("zyes")
hkas=rs("hkas")
edus=rs("edus")
hkbs=rs("hkbs")
languages=rs("languages")
pthuas=rs("pthuas")
sexs=rs("sexs")
jobtypes=rs("jobtypes")
marrys=rs("marrys")
computers=rs("computers")
shisus=rs("shisus")
moneys=rs("moneys")
tim=rs("tim")
youxiaos=rs("youxiaos")
zptext=rs("zptext")
rs.close
zptext=code_jk(zptext)

tit="查看招聘信息"

iframe=true
call web_head(0,0,2,0,0)
if var_null(login_username)="" then
	call web_js_msg(1,"对不起！企业招聘信息只有登陆本站后方可查看！\n\n点击返回！","job_company.asp")
	end if
%>
<script language=javascript>
<!--
function load_forum(cname){
  var targetimg =eval("document.all.company_online_img");
  var targetDivtr =eval("document.all.company_online_tr");
  var targetDiv =eval("document.all.company_online");
  //if (targetimg.src.indexOf("nofollow")!=-1){return false;}
  if (targetDivtr.style.display!='block')
  {
    document.all.company_online_1.style.display=document.all.company_online_1.style.display=='none'?'':'none';
    document.all.company_online_2.style.display=document.all.company_online_2.style.display=='none'?'':'none';
    targetDivtr.style.display="block";
    if (targetimg.loaded=="no")
    {
      targetimg.loaded="";
      document.frames["hiddenframe"].location.replace("job_company_load.asp?cname="+cname);
    }
  }
  else
  {
    document.all.company_online_1.style.display=document.all.company_online_1.style.display=='none'?'':'none';
    document.all.company_online_2.style.display=document.all.company_online_2.style.display=='none'?'':'none';
    targetDivtr.style.display="none";
  }
}
-->
</script>
<%
response.write table1&vbcrlf&"<tr><td align=center>"&table1 & _
			vbcrlf&"<tr></table>" & _
			vbcrlf&"<tr class=bg_tds><td align=center height=25>此招聘信息已被浏览【<font class=red>"&counter&"</font>】次&nbsp;|&nbsp;<a href='job_company.asp?action=list&uid="&username&"'>该公司所有的招聘信息</a>&nbsp;|&nbsp;<a href='user_friend.asp?action=add&add_username="&username&"'>添加到好友</a>&nbsp;|&nbsp;<a href='job_fav.asp?action=add&fav="&username&"'>添加到个人职位库</a>&nbsp;|&nbsp;" & _
            vbcrlf&"<a href='user_mail.asp?action=msg_write&accept="&username&"'>发送求职意向</a>&nbsp;|&nbsp;" & _ 
            vbcrlf&"<a href='JavaScript:window.print();'><font class=gray>打  印</font></a>&nbsp;|&nbsp;" & _ 
            vbcrlf&"<a href='JavaScript:window.close();'><font class=gray>关  闭</font></a></td></td></tr>" & _
            vbcrlf&"<tr><td height=150 align=center>"
response.write vbcrlf&table1&vbcrlf&"<tr><td colspan=4 align=left class=td0>【"&cname&"】&nbsp;的招聘信息：</td></tr>" & _
                    vbcrlf&"<tr>"&tdtemp1&"招聘职位："&tdtemp2&job&"</td>" & _
                    vbcrlf&tdtemp1&"招聘人数："&tdtemp2&zpnum&"　人</td></tr>" & _
                    vbcrlf&"<tr>"&tdtemp1&"工作地点："&tdtemp2&gzdd&"</td>" & _
                    vbcrlf&tdtemp1&"年龄要求："&tdtemp2&nianlings&"　岁</td></tr>" & _
                    vbcrlf&"<tr>"&tdtemp1&"专业要求："&tdtemp2&zyes&"</td>" & _
                    vbcrlf&tdtemp1&"户籍要求："&tdtemp2&hkas&"</td></tr>" & _
                    vbcrlf&"<tr>"&tdtemp1&"学历要求："&tdtemp2&edus&"</td>" & _
                    vbcrlf&tdtemp1&"目前住地："&tdtemp2&hkbs&"</td></tr>" & _
                    vbcrlf&"<tr>"&tdtemp1&"外语要求："&tdtemp2&languages&"</td>" & _
                    vbcrlf&tdtemp1&"国语程度："&tdtemp2&pthuas&"</td></tr>" & _
                    vbcrlf&"<tr>"&tdtemp1&"性别要求："&tdtemp2&sexs&"</td>" & _
                    vbcrlf&tdtemp1&"工作性质："&tdtemp2&jobtypes&"</td></tr>" & _
                    vbcrlf&"<tr>"&tdtemp1&"婚姻要求："&tdtemp2&marrys&"</td>" & _
                    vbcrlf&tdtemp1&"计算机能力："&tdtemp2&computers&"</td></tr>" & _
                    vbcrlf&"<tr>"&tdtemp1&"提供食宿："&tdtemp2&shisus&"</td>" & _
                    vbcrlf&tdtemp1&"薪金水平："&tdtemp2&moneys&"</td></tr>" & _
                    vbcrlf&"<tr>"&tdtemp1&"发布时间："&tdtemp2&tim&"</td>" & _
                    vbcrlf&tdtemp1&"有效日期："&tdtemp2&youxiaos&"</td></tr></table>"
response.write table1&vbcrlf&"<tr><td align=left class=td0>岗位职责描述及其它要求</td></tr>" & _
                   vbcrlf& "<tr><td width='90%' class=bg_td height=40>"&zptext&"</td></tr></table>"
response.write vbcrlf&"</td></tr></table>"
call joekoe_cms.exec("update job set counter=counter+1 where id="&id,0)
call web_end(0,0)
%>