<!--#include file="mdb.asp"-->
<!--#Include File="Check_hx.asp"-->
<!--#include file="inc/config.asp"-->
<!--#include file="inc/inc.asp"-->
<!--#include file="inc/format.asp"-->
<%
if request.QueryString("action")="indepot_add" then
server_v1=Cstr(Request.ServerVariables("HTTP_REFERER"))
server_v2=Cstr(Request.ServerVariables("SERVER_NAME"))
if mid(server_v1,8,len(server_v2))<>server_v2 then
Response.Write("<script language=javascript>alert('你提交的路径有误，禁止从站点外部提交数据请不要乱改参数！');this.location.href='http://www.vip138.com/index.asp';</script>") 
response.end
end if
set rs=server.createobject("adodb.recordset")
sql="select id from indepot where inid="&HX66_uid&""
rs.open sql,conn,1,1
if HX66_Grade=0 then
if rs.recordcount>=in_max then
rs.close
set rs=nothing
set conn=nothing
response.write "<script language=JavaScript>" & chr(13) & "alert('普通用户职位库上限为"&en_max1&"个，若您需要更多的库存，请与管理员联系！');" & "history.back()" & "</script>" 
Response.End
end if
else
if rs.recordcount>=in_vip_max then
rs.close
set rs=nothing
set conn=nothing
response.write "<script language=JavaScript>" & chr(13) & "alert('抱歉，您的职位库已满！');" & "history.back()" & "</script>" 
Response.End
end if
end if
rs.close
sql="select id from job where id="&clng(request("jobid"))
rs.open sql,conn,1,1
if rs.recordcount=0 then
rs.close
response.write "<script language=JavaScript>" & chr(13) & "alert('无此招聘信息！');" & "history.back()" & "</script>" 
Response.End
end if
rs.close
sql="select id from indepot where inid="&HX66_uid& "and jobid="&clng(request("jobid"))
rs.open sql,conn,1,1
if rs.recordcount<>0 then
rs.close
response.write "<script language=JavaScript>" & chr(13) & "alert('您已经添加过此招聘信息！');" & "history.back()" & "</script>" 
Response.End
end if
rs.close
set rs01=server.createobject("adodb.recordset")
sql01="insert into indepot(inid,jobid) values("&HX66_uid&","&request("jobid")&")"
rs01.open sql01,conn,1,1
set rs01=nothing
set conn01=nothing

response.write "<script language=JavaScript>" & chr(13) & "alert('添加成功！');" & "history.back()" & "</script>" 

end if





start="人才招聘 - 招聘信息"
call head()
call menu()
%>
<!--导航栏-->
<TABLE cellSpacing=0 cellPadding=0 width=958 border=0 align="center">
    <TR>
      <TD width=4></TD>
      <TD width=950 class="a3" height=24>&nbsp;&nbsp;&nbsp;&nbsp;稍后推出</TD>
      <TD width=4></TD>
    </TR>
    <TR>
      <TD width=4></TD>
      <TD width=950 class="a4" height=9></TD>
      <TD width=4></TD>
    </TR>
</TABLE>
<!--导航栏-->

<!--广告位A-->
<TABLE width=958 border=0 align="center" cellPadding=0 cellSpacing=0>
    <TR>
      <TD width=4></TD>
      <TD align=middle width=950 bgColor=#ffffff height=24><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
          <TR>
            <TD width="100%" bgColor=#da251d height=2></TD>
          </TR>
          <TR>
            <TD width="100%"><%Call hx66_AD(1)%></TD>
          </TR>
          <TR>
            <TD width="100%" bgColor=#da251d height=2></TD>
          </TR>
      </TABLE></TD>
      <TD width=4></TD>
    </TR>
</TABLE>
<!--广告位A-->

<!--倒计时-->
<TABLE cellSpacing=0 cellPadding=0 width=958 border=0 align="center">
    <TR>
      <TD width=4></TD>
      <TD align=middle width=950 bgColor=#ffffff height=24><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
          <TR>
            <TD width="100%" class="a5" height=9></TD>
          </TR>
          <TR>
            <TD align=middle width="100%" class="a6" height=31>
<table width="100%" border=0 cellpadding=0 cellspacing=0>
 <TR>
   <TD width="65" align="center"><img src="skin/1/login_title.gif" width="37" height="31"><TD>您的位置：<A href="index.asp"><%=webname%></A> -&gt;&gt; <A href="jobperson.asp">人才招聘</A> <FONT color=#ff6600>→</FONT> 招聘信息<td height="25" align="right"><%call djs()%>&nbsp;&nbsp;&nbsp;&nbsp;</td>
</TD>
 </TR>
</TABLE>
            </TD>
          </TR>
      </TABLE></TD>
      <TD width=4></TD>
    </TR>
</TABLE>
<!--倒计时-->

<TABLE width=958 border=0 align="center" cellPadding=0 cellSpacing=0>
    <TR>
      <TD width=4></TD>
      <TD align=middle width=950 bgColor=#ffffff height=24><TABLE cellSpacing=0 cellPadding=0 width=950 border=0>
          <TR>
            <TD align=middle vAlign=top width=198><TABLE height=51 cellSpacing=0 cellPadding=0 
width="100%" border=0>
                <TR>
                  <TD align=middle width=30 class="a1" height=34><IMG height=20 src="skin/1/gu1.gif" width=24 border=0></TD>
                    <TD class="a1" height=34 width=170><a href="#" class="STYLE1">会员登录</a></TD>
                </TR>
                <TR>
                  <TD width="100%" colSpan=2 height=1></TD>
                </TR>
                <TR>
                  <TD width="100%" colSpan=2 height=150><%call userlogin()%></TD>
                </TR>
                <TR>
                  <TD width="100%" colSpan=2 height=1></TD>
                </TR>
            </TABLE><TABLE height=51 cellSpacing=0 cellPadding=0 
width="100%" border=0>
                <TR>
                  <TD align=middle width=30 class="a1" height=34><IMG height=20 src="skin/1/gu1.gif" width=24 border=0></TD>
                    <TD class="a1" height=34 width=170><a href="#" class="STYLE1">招聘职位列表</a></TD>
                </TR>
                <TR>
                  <TD width="100%" colSpan=2 height=1></TD>
                </TR>
                <TR>
                  <TD width="100%" colSpan=2 height=150><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
              <TBODY>
         <%
set rs=server.createobject("adodb.recordset")
sql="select top 10 * from job where enid in (select userid from user where userlock=0 )  order by id desc"
rs.open sql,conn,1,1
do while not rs.eof
%>             <TR>
                <TD height=20>&nbsp;·<a target="_blank" href="job.asp?id=<%=rs("id")%>"><%=rs("jtzw")%></a></TD></TR>
	<%rs.movenext
loop
if rs.eof and rs.bof then%>	
<tr>
  <td height="25" align='center'>暂时没有招聘信息</td>
</tr>
<%end if%></TBODY></TABLE></TD>
                </TR>
                <TR>
                  <TD width="100%" colSpan=2 height=1></TD>
                </TR>
            </TABLE></TD>
            <TD vAlign=top align=middle width=1 bgColor=#cecccc></TD>
            <TD vAlign=top align=middle><TABLE height=51 cellSpacing=0 cellPadding=0 width="100%" border=0>
              <TR>
                <TD align=middle width=30 class="a1" height=34><IMG height=20 src="skin/1/gu1.gif" width=24 border=0></TD>
                <TD class="a1" height=34 width=720><a href="#" class="STYLE1">招聘信息</a></TD></TR>
              <TR>
                <TD width="100%" colSpan=2 align="center"><TABLE style="BORDER-COLLAPSE: collapse" borderColor=#f0f0f0 
            cellSpacing=0 cellPadding=5 width="100%" align=center 
            bgColor=#ffffff border=1>
              <TBODY>
              <TR>
                          <%if request.querystring("id")="" then
  founderr=true
  Response.Write("<script language=javascript>alert('你必须指定操作的对象！');history.back(1);</script>")
  end if
                if request.querystring("id")<>"" then
    if not isInteger(request.querystring("id")) then
    Response.Redirect "show_error.asp?eid=传值参数非法!"
    Response.End
    end if
	id=CLng(request("id"))
else
	id=0
end if

set rs2=server.createobject("adodb.recordset")
sql2="select * from job where id="&id&""
rs2.open sql2,conn,1,1
  set rs1=server.createobject("adodb.recordset")                
                sql="select * from user where userid="&rs2("enid")&""
rs1.open sql,conn,1,1
if rs1("userlock")=1 then
response.write "<script language=JavaScript>" & chr(13) & "alert('此用户已被管理员锁定！');"&"window.location.href = 'index.asp'"&" </script>"
response.end
end if
                set rs=server.createobject("adodb.recordset")                
                sql="select * from hy where tjuser='"&rs1("username")&"'"
rs.open sql,conn,1,1
sql01="update job set clicks="&rs2("clicks")+1&" where enid="&rs2("enid")&""
set rs01=server.createobject("adodb.recordset")
rs01.open sql01,conn,1,1
set rs01=nothing 
%>     <TD colSpan=2 height=10></TD></TR>

              <TR>
                <TD align=middle colSpan=2>
                  <DIV 
                  style="FILTER: dropshadow(color=#000000, offx=1, offy=1, positive=2); WIDTH: 550px; COLOR: #64B8E7; FONT-FAMILY: Arial; POSITION: relative; HEIGHT: 15px"><STRONG><FONT 
                  style="FONT-SIZE: 20px" face=隶书 
                  color=#64B8E7>《<%=rs("hy_title")%>》的招聘信息</FONT></STRONG></DIV></TD></TR>
              <TR>
                <TD colSpan=2 height=50>
                  <P align=center><B><FONT style="FONT-SIZE: 14px">招聘 → 
                  <%=rs2("jtzw")%></FONT></B>&nbsp;&nbsp; 发布时间：<%
								a=instr(rs2("addtime"),chr(32))-1
								response.write Mid(rs2("addtime"),1,a)
								%>&nbsp; 
点击：<%=rs2("clicks")%></P></TD></TR>
              <TR>
                <TD colSpan=2 height=25>&nbsp;·<FONT 
                color=#ff0000>职位描述</FONT></TD></TR>
              <TR>
                <TD colSpan=2>
                  <DIV align=center>
                  <TABLE cellSpacing=0 cellPadding=0 width="96%" border=0>
                    <TBODY>
                    <TR>
                      <TD><%=Ubb2Html(formatStr(autourl(rs2("zptext"))),true,true)%></TD></TR></TBODY></TABLE></DIV></TD></TR>
              <TR>
                <TD colSpan=2 height=25>&nbsp;·<FONT 
                color=#ff0000>具体信息</FONT></TD></TR>
              <TR>
                <TD width="50%" height=25>&nbsp;招聘单位：<A title=点击查看该单位信息 target=_blank
                  href="showcompany.asp?hy_id=<%=rs("hy_id")%>"><%=rs("hy_title")%></A></TD>
                <TD width="50%" height=25>&nbsp;有效期限：<%=rs2("youxiaos")%></TD></TR>
              <TR>
                <TD height=25>&nbsp;招聘人数：<%=rs2("zpnum")%></TD>
                <TD height=25>&nbsp;招聘类型：<%=rs2("job")%></TD></TR>
              <TR>
                <TD height=25>&nbsp;专业要求：<%=rs2("zyes")%></TD>
                <TD height=25>&nbsp;学历要求：<%=rs2("edus")%></TD></TR>
              <TR>
                <TD height=25>&nbsp;工作地点：<%=rs2("hka")&"&nbsp;"&rs2("city")%></TD>
                <TD height=25>&nbsp;性别要求：<%=rs2("sexs")%></TD></TR>
              <TR>
                <TD height=25>&nbsp;外语要求：<%=rs2("languages")%></TD>
                <TD height=25>&nbsp;计算机能力：<%=rs2("computers")%></TD></TR>
              <TR>
                <TD height=25>&nbsp;户籍要求：<%=rs2("hkas")%></TD>
                <TD height=25>&nbsp;年龄要求：<%if rs2("nianlings")="" then
								response.write "不限"
								else
								response.write rs2("nianlings")
								end if
								%></TD></TR>
              <TR>
                <TD height=25>&nbsp;婚姻要求：<%=rs2("marrys")%></TD>
                <TD height=25>&nbsp;薪金水平：<%
if rs2("moneys")="" then
response.write "面议"
else
response.write rs2("moneys")
end if
%></TD></TR>
              <TR>
                <TD height=25>&nbsp;国语程度：<%=rs2("pthuas")%></TD>
                <TD height=25>&nbsp;提供食宿：<%=rs2("shisus")%></TD></TR>
              <TR>
                <TD colSpan=2 height=25>　</TD></TR>
              <TR>
                <TD colSpan=2 height=25>&nbsp;·<FONT 
                color=#ff0000>联系方式</FONT></TD></TR>
               <%if Request.Cookies("HX_USER")("User_Name")="" or isnull(Request.Cookies("HX_USER")("User_Name")) or Request.Cookies("HX_USER")("User_Pwd")="" or isnull(Request.Cookies("HX_USER")("User_Pwd")) then
                %> <TR>
                <TD colSpan=2 
                height=25>
              招聘联系信息，必须是加入人才库的会员才能查看，如欲求职请登陆后在会员中心加入</TD></TR><%else%>
                <tr>
     <td height="25" colspan="2">&nbsp;联 系 人：<%=rs("hy_author")%></td>
   </tr>
   <tr>
     <td height="25" colspan="2">&nbsp;电    话：<%=rs("tel")%></td>
   </tr>
   <tr>
     <td height="25" colspan="2">&nbsp;传    真：<%=rs("fax")%></td>
   </tr>
   <tr>
     <td height="25" colspan="2">&nbsp;邮政编码：<%=rs("code")%></td>
   </tr>
   <tr>
     <td height="25" colspan="2">&nbsp;电子信箱：<%=rs("email")%></td>
   </tr>
   <tr>
     <td height="25" colspan="2">&nbsp;公司网站：<a href=<%=rs("hy_ahome")%> target=_blank><%=rs("hy_ahome")%></a></td>
   </tr>
   <tr>
     <td height="25" colspan="2">&nbsp;联系地址：<%=rs("dizhi")%></td>
   </tr>
   <tr>
     <td height="25" colspan="2">　</td>
   </tr>
   <tr>
     <td height="25" colspan="2" align="center"><a href="?action=indepot_add&jobid=<%=rs2("id")%>"><img border="0" src="img/hypic/company_m4.gif"></a> <a href="Messager.asp?action=new&touser=<%=rs("tjuser")%>&title=关于贵公司招聘<%=rs2("jtzw")%>的咨询" title="点击给心窗发短信咨询" target='_blank'><img border="0" src="img/hypic/company_m1.gif"></a> <A HREF="JavaScript:window.print();"><img border="0" src="img/hypic/company_m2.gif"></a> <A HREF="JavaScript:window.close();"><img border="0" src="img/hypic/company_m3.gif"></a></td>
   </tr>
                <%end if
                rs2.close
set rs2=nothing
rs.close
set rs=nothing
%></TBODY></TABLE></TD>
              </TR>
            </TABLE></TD>
          </TR>
      </TABLE></TD>
      <TD width=4></TD>
    </TR>
</TABLE>
<%
call footer()
%>