?? endepot.asp
字號:
<!--#include file="info.asp"-->
<!--#include file="conn.asp"-->
<html>
<%
if session("id")="" or session("ac")="" or session("user")<>"2" then
response.write "<script language=JavaScript>" & chr(13) & "alert('您還未登陸!');"&"window.location.href = 'index.asp'"&" </script>"
Response.End
end if
%>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="css.css" type="text/css">
<title><%=webname%> - 會員中心 - 企業(yè)人才庫</title>
</head>
<body>
<!--#include file="top.asp"-->
<div align="center">
<table border="0" width="760" cellspacing="0" cellpadding="0" id="table1" height="421">
<tr>
<td style="border-left: 1px solid #0086DF; border-right: 1px solid #0086DF" width="760" valign="top" bgcolor="#FEFBF4">
<div align="center">
<table border="0" width="705" cellspacing="0" cellpadding="0" id="table2" height="379">
<tr>
<td height="86" width="214">
<img border="0" src="images/control.gif" width="282" height="90"></td>
<td height="86" width="237"> </td>
<td height="86" width="128">
<img border="0" src="images/controltop1.gif" width="128" height="90"></td>
<td height="86" width="58"> </td>
</tr>
<tr>
<td width="705" colspan="4" valign="top">
<%'表格%>
<div align="center">
<table border="0" width="100%" cellspacing="0" cellpadding="0" id="table3" height="272">
<tr>
<td height="27" colspan="2">
<p align="left">
會員中心 → 企業(yè)人才庫</td>
</tr>
<tr>
<td width="25%" valign="top">
<!--#include file="en_menu.asp"-->
</td>
<td width="75%" valign="top" align="center" style="border: 1px solid #000000">
<table border="0" width="93%" cellspacing="0" cellpadding="0" id="table5">
<tr>
<td height="40">
<p align="center"><b>企業(yè)人才庫</b></td>
</tr>
<tr>
<td height="322" valign="top">
<div align="center">
<table border="0" width="482" cellspacing="0" cellpadding="0" id="table6">
<%
sql="select id,inid from endepot where enid="&session("id")&" order by id desc"
rs.open sql,conn,1,1
if rs.recordcount=0 then
response.write "您暫時沒有人才信息!"
else
rs.pagesize=10
if request("action")="n" then
session("page")=session("page")+1
else
if request("action")="p" then
session("page")=session("page")-1
else
if request("action")="f" then
session("page")=1
else
if request("action")="l" then
session("page")=rs.pagecount
else
if isnumeric(request("page1"))=true then
session("page")=clng(request("page1"))
else
session("page")=1
end if
end if
end if
end if
end if
if session("page")>rs.pagecount then session("page")=rs.pagecount
if session("page")<1 then session("page")=1
rs.absolutepage=session("page")
%>
<tr>
<td height="30" width="41" align="center" bordercolor="#C0C0C0" style="border-left:1px solid #C0C0C0; border-top:1px solid #C0C0C0; border-bottom:1px solid #C0C0C0; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px" bgcolor="#D9D9D9">
<p align="center">
<font color="#0A5DF6">
<b>編號</b></font></td>
<td height="30" width="55" align="center" bordercolor="#C0C0C0" style="border-left:1px solid #C0C0C0; border-top:1px solid #C0C0C0; border-bottom:1px solid #C0C0C0; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px" bgcolor="#D9D9D9">
<font color="#0A5DF6">
<b>姓名</b></font></td>
<td height="30" width="122" align="center" bordercolor="#C0C0C0" style="border-left:1px solid #C0C0C0; border-top:1px solid #C0C0C0; border-bottom:1px solid #C0C0C0; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px" bgcolor="#D9D9D9">
<font color="#0A5DF6">
<b>應 聘 崗 位</b></font></td>
<td height="30" width="44" align="center" bordercolor="#C0C0C0" style="border-left:1px solid #C0C0C0; border-top:1px solid #C0C0C0; border-bottom:1px solid #C0C0C0; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px" bgcolor="#D9D9D9">
<font color="#0A5DF6">
<b>性別</b></font></td>
<td height="30" width="47" align="center" bordercolor="#C0C0C0" style="border-left:1px solid #C0C0C0; border-top:1px solid #C0C0C0; border-bottom:1px solid #C0C0C0; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px" bgcolor="#D9D9D9">
<font color="#0A5DF6">
<b>學歷</b></font></td>
<td height="30" width="114" bordercolor="#C0C0C0" style="border: 1px solid #C0C0C0; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px" bgcolor="#D9D9D9">
<p align="center">
<font color="#0A5DF6">
<b>操作</b></font></td>
</tr>
<%
set rs1=server.createobject("adodb.recordset")
for ii=1 to rs.pagesize
sql1="select id,name,edu,sex,job1 from in_user where id="&rs("inid")
rs1.open sql1,conn,1,1
%>
<tr>
<td height="30" width="41" align="center" bordercolor="#C0C0C0" style="border-left: 1px solid #C0C0C0; border-bottom: 1px solid #C0C0C0; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px"><%=rs("id")%></td>
<td height="30" width="55" align="center" bordercolor="#C0C0C0" style="border-left: 1px solid #C0C0C0; border-bottom: 1px solid #C0C0C0; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px">
<a target =_blank href="person.asp?id=<%=rs1("id")%>">
<%=rs1("name")%></a></td>
<td height="30" width="122" align="center" bordercolor="#C0C0C0" style="border-left: 1px solid #C0C0C0; border-bottom: 1px solid #C0C0C0; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px"><%=rs1("job1")%></td>
<td height="30" width="44" align="center" bordercolor="#C0C0C0" style="border-left: 1px solid #C0C0C0; border-bottom: 1px solid #C0C0C0; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px">
[<%=rs1("sex")%>]</td>
<td height="30" width="47" align="center" bordercolor="#C0C0C0" style="border-left: 1px solid #C0C0C0; border-bottom: 1px solid #C0C0C0; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px">
[<%=rs1("edu")%>]</td>
<td height="30" width="114" align="center" bordercolor="#C0C0C0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-bottom: 1px solid #C0C0C0; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px">
<p align="center">
<a target="_blank" href="person.asp?id=<%=rs1("id")%>">
<img border="0" src="images/cha_depot.gif" width="53" height="17"></a>
<a onclick="{if(confirm('此操作將刪除<<%=rs1("name")%>>的人才收錄,繼續(xù)嗎?')){return true;}return false;}" href="del_endepot.asp?id=<%=rs("id")%>">
<img border="0" src="images/del_depot.gif" width="53" height="17"></a></td>
</tr>
<%
rs.movenext
if rs.eof then exit for
rs1.close
next
%>
</table>
</div>
</td>
</tr>
<tr>
<td height="38" align="center">
<table border="0" width="524" cellspacing="0" cellpadding="0" height="29">
<tr>
<td width="524" height="29">
<form method="POST" action="endepot.asp">
<p align="center">當前頁碼:<font color="#FF0000"><%=session("page")%></font>/<%=rs.pagecount%>
< <a href="endepot.asp?action=f">首頁</a>
<a href="endepot.asp?action=p">上一頁</a>
<a href="endepot.asp?action=n">下一頁</a>
<a href="endepot.asp?action=l">尾頁</a> > 跳轉到
<input type="text" name="page1" size="5" style="border: 1px solid #000000"> 頁
<input type="submit" value="提交" name="B1"></form></td>
</tr>
</table>
</td>
</tr>
<%end if%>
</table>
</td>
</tr>
</table>
</div>
<%'表格%>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
<%
rs.close
set rs1=nothing
set rs=nothing
set conn=nothing
%>
<!--#include file="base.asp"-->
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -