📄 seekerguan.asp
字号:
<!--#include file=DataBase/conn.asp-->
<!--#include file=yan.asp-->
<!--#include file=purview.asp-->
<%
call guanliyingpin
if request("del")<>"" then
sqld="delete from tb_Seeker 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_Seeker 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_Seeker 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;
}
.style2 {color: #FF0000}
-->
</style></head>
<body topmargin="0">
<table width="550" border="0" align="center">
<tr>
<td width="55%" height="30"> - <span class="style2">招聘管理</span>→<span class="style3">招聘信息管理</span>→<font color="#FF0000">管理应聘信息</font></td>
</tr>
<tr>
<td height="30">
<table width="550" border="0" align="center" cellspacing="0">
<form name="form1" method="post" action="">
<tr>
<td width="114">搜索关键字:
<input name="post" type="hidden" id="post" value="true"></td>
<td width="174"><input name="title" type="text" class="wenben" id="title" value="<%=request("title")%>">
</td>
<td width="70">搜索对象:</td>
<td width="84"><select name="ty" id="ty">
<option value="zhiwei">应聘职位</option>
<option value="work">工作经验</option>
<option value="name">姓名</option>
</select> </td>
<td width="98"><input name="Submit" type="submit" class="botton" value="搜索">
<%if request("post")<>"" then%><input name="Submit2" type="button" class="botton" value="返回" onClick="location='seekerguan.asp'"> <%end if%> </td>
</tr>
</form>
</table> </td>
</tr>
</table>
<table width="550" border="0" align="center" cellspacing="0" >
<tr align="center">
<td width="50" height="31" background="images/index_24.gif" class="leftdian">姓名</td>
<td width="56" background="images/index_24.gif" class="leftdian">性别</td>
<td width="37" background="images/index_24.gif" class="leftdian">年龄</td>
<td width="97" background="images/index_24.gif" class="leftdian">应聘职位</td>
<td width="62" background="images/index_24.gif" class="leftdian">所学专业</td>
<td width="96" background="images/index_24.gif" class="leftdian">工作经验</td>
<td width="62" background="images/index_24.gif" class="leftdian">详细资料</td>
<td width="56" 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('seekeropen.asp?id=<%=rs("id")%>','','width=550,height=600')">详细信息</a></td>
<td class="dian">
<%if request("post")<>"" then%>
<a href=seekerguan.asp?del=<%=rs("id")%>&p=<%=requestpage%>&ty=<%=request("ty")%>&title=<%=request("title")%> onClick="return confirm('你确定删除吗?')">删除</a>
<%else%>
<a href=seekerguan.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" height="25">
<td colspan="8">共<%=maxpage%>页 当前页:<%=requestpage%>
<%if request("post")<>"" then %>
<%if requestpage="" or requestpage=1 then%>
上一页
<%else%>
<a href="seekerguan.asp?p=<%=requestpage-1%>&ty=<%=request("ty")%>&title=<%=request("title")%>">上一页</a>
<%end if%>
<%if requestpage=maxpage then%>
下一页
<%else%>
<a href="seekerguan.asp?p=<%=requestpage+1%>&ty=<%=request("ty")%>&title=<%=request("title")%>">下一页</a>
<%end if%>
<%else%>
<%if requestpage="" or requestpage=1 then%>
上一页
<%else%>
<a href="seekerguan.asp?p=<%=requestpage-1%>&ty=<%=request("ty")%>&title=<%=request("title")%>">上一页</a>
<%end if%>
<%if requestpage=maxpage then%>
下一页
<%else%>
<a href="seekerguan.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 + -