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

📄 jobdao.asp

📁 目前人力资源管理系统的发展已经相对成熟
💻 ASP
字号:
<!--#include file=DataBase/conn.asp-->
<!--#include file=yan.asp-->
<!--#include file=purview.asp-->
<%
call guanliqiye
if request("del")<>"" then
sqld="delete from tb_Jobbase where id="&request("del")
conn.execute(sqld)
end if
if request("post")<>"" then
if request("title")="" then
response.Write("<script language=javascript>alert('请输入条件');location='javascript:history.go(-1)'</script>")
response.End()
else

set rs=server.CreateObject("adodb.recordset")
sql="select * from tb_Jobbase where "&request("ty")&" like '%"&request("title")&"%' order by id desc"
rs.open sql,conn,1,1
end if
else
set rs=server.CreateObject("adodb.recordset")
sql="select * from tb_Jobbase order by id desc"
rs.open sql,conn,1,1
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<style type="text/css">
<!--
body,td,th {
	font-size: 12px;
}
.style3 {color: #0000FF}
-->
</style>
<link href="CSS/css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
a:link {
	color: #0000FF;
}
a:visited {
	color: #0000FF;
}
.style4 {color: #FF0000}
-->
</style></head>

<body topmargin="0">
<table width="550" border="0" align="center">
  <tr>
    <td width="55%" height="30"> - <span class="style2 style4">招聘管理</span>→<span class="style3">企业人才库</span>→<span class="style4">管理企业人才库</span></td>
  </tr>
  <tr>
    <td height="30">
      <table width="100%" border="0" align="center" cellspacing="0">
	  <form name="form1" method="post" action="">
        <tr>
          <td width="91">搜索关键字:
            <input name="post" type="hidden" id="post" value="true"></td>
          <td width="179"><input name="title" type="text" class="wenben" id="title" value="<%=request("title")%>">
            </td>
          <td width="63">搜索对象:</td>
          <td width="97"><select name="ty" id="ty">
            <option value="zhiwei">应聘职位</option>
            <option value="work">工作经验</option>
            <option value="name">姓名</option>
          </select>            </td>
          <td width="104"><input name="Submit" type="submit" class="botton" value="搜索">
            <%if request("post")<>"" then%><input name="Submit2" type="button" class="botton" value="返回" onClick="location='jobdao.asp'">  <%end if%>         </td>
        </tr>
		</form>
	</table>    </td>
  </tr>
</table>
<table width="550" border="0" align="center" cellspacing="0" >
  <tr align="center">
    <td width="64" height="31" background="images/index_24.gif" class="leftdian" >姓名</td>
    <td width="73" background="images/index_24.gif" class="leftdian" >性别</td>
    <td width="45" background="images/index_24.gif" class="leftdian" >年龄</td>
    <td width="107" background="images/index_24.gif" class="leftdian" >应聘职位</td>
    <td width="162" background="images/index_24.gif" class="leftdian" >所学专业</td>
    <td width="95" background="images/index_24.gif" class="leftdian" >工作经验</td>
    <td width="89" background="images/index_24.gif" class="leftdian" >详细资料</td>
 
    <td width="78" background="images/index_24.gif" class="dian" >删除</td>
  </tr>
  <%
  maxpage=0
  if not rs.eof then
  show=15
  tol=rs.recordcount
  rs.pagesize=show
  maxpage=rs.pagecount
  requestpage=clng(request("p"))
  if requestpage="" or requestpage=0 then
  requestpage=1
  end if
if requestpage>maxpage then
requestpage=maxpage
end if
 if not requestpage=1 then 
	rs.move (requestpage-1)*rs.pagesize
 end if
  for i=1 to rs.pagesize and not rs.eof 
  %>
  <tr align="center">
    <td height="28" class="leftdian" ><%=rs("name")%></td>
    <td class="leftdian" ><%=rs("sex")%></td>
    <td class="leftdian" ><%=rs("age")%></td>
    <td class="leftdian" ><%=rs("zhiwei")%></td>
    <td class="leftdian" ><%=rs("zhuanye")%></td>
    <td class="leftdian" ><%=rs("work")%></td>
    <td class="leftdian" ><a href="javascript:" onClick="window.open('jobdaoopen.asp?id=<%=rs("id")%>','','width=550,height=600')">详细信息</a></td>

    <td class="dian" ><%if request("post")<>"" then%>
      <a href=jobdao.asp?del=<%=rs("id")%>&p=<%=requestpage%>&ty=<%=request("ty")%>&title=<%=request("title")%> onClick="return confirm('你确定删除吗?')">删除</a>
      <%else%>
      <a href=jobdao.asp?del=<%=rs("id")%>&p=<%=requestpage%> onClick="return confirm('你确定删除吗?')">删除</a>
    <%end if%></td>
  </tr>
  <%
  rs.movenext
  if rs.eof then exit for 
  next
  else
  response.Write("没有应聘信息")
  end if
  %>
  <tr align="right" bgcolor="#efefef">
    <td height="30" colspan="9">共<%=maxpage%>页 当前页:<%=requestpage%>
        <%if request("post")<>"" then %>
        <%if requestpage="" or requestpage=1 then%>
      上一页
      <%else%>
      <a href="jobdao.asp?p=<%=requestpage-1%>&ty=<%=request("ty")%>&title=<%=request("title")%>">上一页</a>
      <%end if%>
      <%if requestpage=maxpage then%>
      下一页
      <%else%>
      <a href="jobdao.asp?p=<%=requestpage+1%>&ty=<%=request("ty")%>&title=<%=request("title")%>">下一页</a>
      <%end if%>
      <%else%>
      <%if requestpage="" or requestpage=1 then%>
      上一页
      <%else%>
      <a href="jobdao.asp?p=<%=requestpage-1%>&ty=<%=request("ty")%>&title=<%=request("title")%>">上一页</a>
      <%end if%>
      <%if requestpage=maxpage then%>
      下一页
      <%else%>
      <a href="jobdao.asp?p=<%=requestpage+1%>&ty=<%=request("ty")%>&title=<%=request("title")%>">下一页</a>
      <%end if%>
    </td>
    <%end if%>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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