⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 listalljob.asp

📁 人才招聘系统,用asp做的
💻 ASP
字号:
<!--#include file="../conn.asp"-->
<!--#include file=Neeao_SqlIn.Asp-->
<link rel="stylesheet" type="text/css" href="../img/1.css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<SCRIPT language=JavaScript>
function showoperatealert(id)
{
		if (id==1)
        {

		{
		  	thisForm.target='_self';
			thisForm.action="../person/ijob.asp?oo=2";
			thisForm.submit();
		}
		}
		if (id==2)
        {

		{
		  	thisForm.target='_self';
			thisForm.action="../person/ijob.asp?oo=1";
			thisForm.submit();
		}
		}
}

function CheckAll(form)
  {
  for (var i=0;i<form.elements.length;i++)
    {
    var e = form.elements[i];
    if (e.name != 'chkall' )
       e.checked = form.chkall.checked;
    }
  }
//-->
    </SCRIPT>
<!--#include file="top.asp"-->
<FORM name=thisForm action="" method=POST>
  <%

  	function HTMLEncode(fString)
    fString = replace(fString, ">", "&gt;")
    fString = replace(fString, "<", "&lt;")
    fString = Replace(fString, CHR(13), "")
    fString = Replace(fString, CHR(10) & CHR(10), "</P><P>")
    fString = Replace(fString, CHR(10), "<BR>")
    HTMLEncode = fString
    end function
dim selectedid,str2,i,rs,sql,rs2,sql2,username,id,v,comid,rs3,sql3,ub,Flase
       v=0
       if request("selectedid")="" then 
       response.write "<script language=JavaScript>" & chr(13) & "alert('对不起!你没有选择记录!');" & "history.back()" & "</script>"
       response.end
       else
       selectedid=request("selectedid")
       end if
	    
        str2=split(selectedid,",")
        if ubound(str2)>20 then
        ub=20
        else
        ub=ubound(str2)
        end if
        'response.write ""&ub&""
		for i=0 to ub
		set rs2=server.createobject("adodb.recordset")
		sql2="select * from [jobs] where id="&cstr(str2(i))
		rs2.open sql2,conn,1,3
		if rs2.eof or rs2.bof then
		response.write "<br>"+"<li>职位编号<font color=""#ff0000"">"&cstr(str2(i))&"</font>不存在!"
		On Error Resume Next
		else
		set rs=server.createobject("adodb.recordset")
		sql="select comid,companyName,webSite,logozt,logoname from [company] where comid='"&rs2("comid")&"'"
		rs.open sql,conn,1,1
		if rs.eof or rs.bof then
		response.write "<br>"+"<li>对不起,帐号不存在或职位已经被该公司屏蔽!"
		On Error Resume Next
		end if
		comid=rs("comid")
%>
   <div align="center">
  <center>
   <table border="0" borderColor="#111111" cellPadding="0" cellSpacing="0" id="AutoNumber34" style="border-collapse: collapse" width="700">
    <tr>
      <td height="-13" vAlign="top" width="664">
      <div align="center">
        <center>
        <table border="0" borderColor="#B08E6C" cellPadding="0" cellSpacing="0" id="AutoNumber41" style="border-collapse: collapse" width="778">
          <tr>
            <td width="100%" style="border-top-style: none; border-top-width: medium; border-left-style:none; border-left-width:medium; border-right-style:none; border-right-width:medium">
            <div align="center">
              <center>
              <table border="0" borderColor="#111111" cellPadding="0" cellSpacing="0" id="AutoNumber49" style="border-collapse: collapse" width="97%">
                <tr>
                  <td bgColor="#66CCFF" height="22" width="89%" style="border-bottom-style: solid; border-bottom-width: 1">
                  <li><b><a target="_blank" href="listCompany.asp?comid=<%=rs("comid")%>"><%=rs("companyname")%></a></b></td>
                  <td bgColor="#66CCFF" height="22" width="11%" style="border-bottom-style: solid; border-bottom-width: 1">编号:<b><%=v+1%></b></td>
                </tr>
              </table>
              </center>
            </div>
            <div align="center">
              <center>
              <table border="0" borderColor="#111111" cellPadding="0" cellSpacing="0" id="AutoNumber48" style="border-collapse: collapse" width="97%">
                <tr>
                  <td width="62%"><b>招聘职位:</b><font color="#FF0000"><%=rs2("jobs")%></font>(<b><font color="#FF0000"><%=rs2("renshu")%></font></b>人)</td>
                  <td width="21%"></td>
                  <td width="29%">
                  <p align="right" style="margin-right: 6px">
                  <font color="#3333cc">
<INPUT type=checkbox value="<%=rs2("id")%>" name=selectedid> </font>
                  <font color="#F06000">
                  选择该职位</font></td>
                </tr>
                <tr>
                  <td width="56%">
                  <p style="line-height: 17px; word-spacing: 1px; margin-left: 15px; margin-top: 4px">
                  职位编号:<%=rs2("id")%><br>
                  发布日期:<%=rs2("tjsj")%><br>
                  工作地区:<%=rs2("s_WorkLocation")%> <%=rs2("c_WorkLocation")%> <br>
                  待遇水平:<%if rs2("dysp")=0 then%>面议<%else%><%=rs2("dysp")%>元/月<%end if%> <br>
<%
if (request.cookies("ijob")("jobid")="" and request.cookies("ijob")("username")="") or (request.cookies("ijob")("comid")="" and request.cookies("ijob")("username")="") then 
call login()
else
call list()
end if
%>

                  </p>
                  <table border="1" borderColor="#111111" borderColorDark="#BCBCBC" borderColorLight="#E1E1E1"  width="250" cellspacing="0" cellpadding="0" style="border-collapse: collapse">
                    <tr>
                      <td bgColor="#fafafa" width="100%">
                      <p style="line-height: 18px">学历要求:
<%dim degree
degree=rs2("degree")
if degree=0 then
  response.write "高中"
elseif degree=1 then
  response.write "中专"
elseif degree=2 then
  response.write "大专"
elseif degree=3 then
  response.write "本科"
elseif degree=4 then
  response.write "硕士"
elseif degree=5 then
  response.write "博士"
end if
%>
                      
                      <font face="Verdana, Arial">以上</font><br>
                      工作经验要求:<%=rs2("workYear")%><span lang="zh-cn">年</span><font face="Verdana, Arial">以上</font><br>
                      性别要求:<%if rs2("Sex")=1 then%>男<%else%>女<%end if%>
                      </td>
                    </tr>
                  </table>
                  </td>
                  <td width="15%">
                  <p align="center">公司形象图片<br>
<%if rs("logozt")=false then%>该公司没有上传标识图片<%else%><img src="comid_logo/<%=rs("logoname")%>" width="150" height="45"><%end if%></td>
                  <td width="29%">
                  <p align="center"> </td>
                </tr>
              </table>
              </center>
            </div>
            <div align="center">
              <center>
              <table border="0" borderColor="#111111" cellPadding="0" cellSpacing="0" id="AutoNumber45" style="border-collapse: collapse" width="97%">
                <tr>
                  <td width="100%" height="20" bgcolor="#E3E3E3" style="border-bottom-style: solid; border-bottom-width: 1">
                  <p align="center" style="line-height: 18px"><b>具体要求</b></td>
                </tr>
                <tr>
                  <td width="100%" height="20" bgcolor="#FFFFFF" style="border-bottom-style: none; border-bottom-width: medium">
                  <div align="center">
                    <center>
                    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="80%">
                      <tr>
                        <td width="100%"><%=HTMLEncode(rs2("Adcontent"))%></td>
                      </tr>
                    </table>
                    </center>
                  </div>
                  </td>
                </tr>
                <tr>
                  <td width="100%" height="20" style="border-top-style: none; border-top-width: medium" bgcolor="#E3E3E3">
                  <p align="center"><b>面试须知</b></td>
                </tr>
                <tr>
                  <td width="100%" height="20" style="border-top-style: solid; border-top-width: 1">
                  <div align="center">
                    <center>
                    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="80%">
                      <tr>
                        <td width="100%"><%=HTMLEncode(rs2("notice"))%></td>
                      </tr>
                    </table>
                    </center>
                  </div>
                  </td>
                </tr>
              </table>
              </center>
            </div>
            <div align="center">
              <center>
              <table border="0" borderColor="#111111" cellPadding="0" cellSpacing="0" id="AutoNumber51" style="border-collapse: collapse" width="97%">
                <tr>
                  <td height="40" width="100%">
                  <span style="letter-spacing: 1px; line-height: 18px; margin-left: 21px; margin-top: 2px">
                  有关公司更为详细信息,请浏览本公司网站 
                  <font face="Verdana, Arial" style="font-size: 12px">
                  <a class="email" href="<%=rs("webSite")%>" target="_blank">
                  <u><%=rs("webSite")%></u></a></font></span></td>
                </tr>
              </table>
              </center>
            </div>
            </td>
          </tr>
        </table>
        </center>
      </div>
      </td>
    </tr>
  </table>
  </center>
</div>

<%
rs2("llcs")=rs2("llcs")+1
rs2.update
v=v+1
rs.close
rs2.close
set rs=nothing
set rs2=nothing
end if
next
%>
<div align="center">
  <center>
              <table border="0" borderColor="#111111" cellPadding="0" cellSpacing="0" id="AutoNumber38" style="border-collapse: collapse" width="76%" height="28">
                <tr>
                  <td style="font-family: 宋体; font-size: 12px" width="76%" height="5" colspan="3">
                  <hr color="#384249" size="1"></td>
                </tr>
                <tr>
                  <td style="font-family: 宋体; font-size: 12px" width="27%" height="5">
                  </td>
                  <td align="middle" style="font-family: 宋体; font-size: 12px" width="24%" height="5"> 
                  </td>
                  <td align="middle" style="font-family: 宋体; font-size: 12px" width="25%" height="5">
                  <p style="margin-right: 4px">
            <INPUT onclick=CheckAll(this.form) type=checkbox value=on name=chkall><b><font color="#F06000"><span lang="zh-cn">选择全部职位</span></font></b></td>
                </tr>
                <tr>
                  <td style="font-family: 宋体; font-size: 12px" width="76%" height="10" colspan="3">
                  </td>
                </tr>
                <tr>
                  <td style="font-family: 宋体; font-size: 12px" width="27%" height="14">
          <p align="center">
          <img style="CURSOR: hand" onclick=javascript:showoperatealert(2) border="0" src="../img/send.gif"></td>
                  <td align="middle" style="font-family: 宋体; font-size: 12px" width="24%" height="14"> 
          <img style="CURSOR: hand" onclick=javascript:showoperatealert(1) border="0" src="../img/putfavorite_But.gif"></td>
                  <td align="middle" style="font-family: 宋体; font-size: 12px" width="25%" height="14">
          <img style="CURSOR: hand" onclick=javascript:showoperatealert(3) border="0" src="../img/tuijian.gif"></td>
                </tr>
              </table>
              </center>
</div>
</form>
<%
conn.close
set conn=nothing
%>
<div align="center">
  <center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="778">
  <tr>
    <td width="100%">
    <p align="center"><!--#include file="copyright.asp"--></td>
  </tr>
</table></center>
</div>
        <%sub list()
        set rs3=server.createobject("adodb.recordset")
		sql3="select * from [bumen] where comid='"&comid&"'"
		rs3.open sql3,conn,1,1
		On Error Resume Next
        response.write "联 系 人:"&rs3("fzr")&"<br>"
        response.write "电子邮件:"&rs3("fzrmail")&"<br>"
        response.write "电&nbsp;&nbsp;&nbsp;&nbsp;话:"&rs3("dianhua")&"<br>"
        response.write "招聘部门:"&rs3("bmmc")&""
        rs3.close
        set rs3=nothing
        end sub%>
                  
       <%sub login()%>
       <br><b><font color="#FF0000">◇</font></b><font color="#808080">只有</font><b><a target="_blank" href="../person/login.asp"><font color="#CC5200"><u>登陆会员</font></u></a></b><font color="#808080">才可以查看联系方式!&nbsp;如果你没有注册,请点击</font><b><a target="_blank" href="../person/reg.asp"><font color="#CC5200"><u>免费注册</u></font></a></b><font color="#808080">会员!</font>
       <%end sub%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -