📄 myfavouriate.asp
字号:
<!--#include file="../conn.asp"-->
<!--#include file="cookies.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>管理收藏夹</title>
<link rel="stylesheet" type="text/css" href="../1.css">
</head>
<body topmargin="0" leftmargin="0">
<div align="center">
<!--#include file="top.asp"-->
</div>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="778" height="146">
<tr>
<td width="171" height="146" valign="top">
<!--#include file="left.asp"--></td>
<td width="82" height="146"> </td>
<td width="496" height="146" valign="top">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" height="143">
<tr>
<td width="100%" height="30">
<%
dim key,rs,sql,Pagesize,Allrecord,Allpage,ThisPage,id,rs1,sql1,username,xueli
if request("page")="" then
ThisPage=1
else
ThisPage=request("page")
end if
set rs=server.createobject("adodb.recordset")
%>
<title>Ijob程序演示</title>
<SCRIPT language=JavaScript>
function showoperatealert(id)
{
if (id==1)
{
{
thisForm.target='_self';
thisForm.action="ijob.asp?oo=3";
thisForm.submit();
}
}
if (id==2)
{
{
thisForm.target='_self';
thisForm.action="../company/listalljob.asp";
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><link rel="stylesheet" type="text/css" href="../index.files/jobcn.css">
<link rel="stylesheet" type="text/css" href="../company/IMG/jobcn.css">
<body topmargin="0" leftmargin="0">
<div align="center">
<center>
<table width="90%" border="0" cellspacing="0" cellpadding="0" class="font_9_c_black" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width="76%">
</td>
<!-----------------------------数据库查询开始----------------------------------------------------------->
<% username=request.cookies("ijob")("jobid")
sql="select * from [MyFavouriate] where jobid='"&UserName&"'"
rs.open sql,conn,1,1
if rs.eof and rs.bof then
response.write "<table border=0 width=100% height=100 cellpadding=0><tr><td width='100%'><p align=center>对不起!没有找到任何资料</td></tr></table>"
else
'########################################################################################
rs.Pagesize=20
Pagesize=rs.Pagesize
Allrecord=rs.Recordcount
Allpage=rs.Pagecount
if ThisPage<1 then
ThisPage=1
end if
rs.move (ThisPage-1)*Pagesize
dim k
k=0
%>
<td width="24%">收藏夹数目:<b><font size="2" color="#FF6600"><%=AllRecord%></font></b></td>
</tr>
</table>
</center>
</div>
<div align="center">
<FORM name=thisForm action="" method=POST>
<center>
<table width="592" border="0" cellspacing="0" cellpadding="0" class="font_9_c_black" style="border-collapse: collapse" bordercolor="#111111" height="46">
<tr>
<td bgcolor="#66CCFF" height="20" align="center" style="border-bottom-style: solid; border-bottom-width: 1; border-left-style:solid; border-left-width:1" width="54">
<p style="LETTER-SPACING: 2px; LINE-HEIGHT: 17px">
<font style="FONT-SIZE: 9pt; ">编号</font></td>
<td width="141" bgcolor="#66CCFF" height="20" align="left" style="border-bottom-style: solid; border-bottom-width: 1">
<p style="LINE-HEIGHT: 17px">招聘职位</td>
<td width="99" bgcolor="#66CCFF" height="20" align="left" style="border-bottom-style: solid; border-bottom-width: 1">
<font style="FONT-SIZE: 12px">
<span style="font-family: 宋体; ">
工作地区</span></font></td>
<td width="53" bgcolor="#66CCFF" height="20" align="left" style="border-bottom-style: solid; border-bottom-width: 1">
<p style="LINE-HEIGHT: 17px" align="center">
<span lang="zh-cn">招聘</span>人数</td>
<td width="65" bgcolor="#66CCFF" height="20" align="left" style="border-bottom-style: solid; border-bottom-width: 1">
<p style="LINE-HEIGHT: 17px" align="center">
要求学历</td>
<td width="141" bgcolor="#66CCFF" height="20" align="left" style="border-bottom-style: solid; border-bottom-width: 1">
<p align="center">
<span style="font-size: 12px; ">发</span><font style="FONT-SIZE: 12px"><span style="font-family: 宋体; ">布时间</span></font></td>
<td width="37" bgcolor="#66CCFF" height="20" align="center" style="border-bottom-style: solid; border-bottom-width: 1; border-right-style:solid; border-right-width:1">
选择</td>
</tr>
<%do while not rs.eof
set rs1=server.createobject("adodb.recordset")
sql1="select id,comid,jobs,renshu,s_WorkLocation,c_WorkLocation,degree,tjsj,zt from [jobs] where id="&cstr(rs("jobsid"))
rs1.open sql1,conn,1,1
if rs1.eof then
rs.movenext
else
%>
<tr>
<td width="54" bgcolor="#F9F9F9" height="25" align="center" style="border-bottom-style: solid; border-bottom-width: 1; border-left-style:solid; border-left-width:1; border-top-style:solid; border-top-width:1" bordercolor="#E0E0E0"><font color="#384249"><b><%=k+1%></b></font></td>
<td width="141" bgcolor="#F9F9F9" height="25" align="left" style="border-bottom-style: solid; border-bottom-width: 1; border-top-style:solid; border-top-width:1" bordercolor="#E0E0E0"><a target="_blank" href="../company/listalljob.asp?selectedid=<%=rs1("id")%>"><%=rs1("jobs")%></a></td>
<td width="99" bgcolor="#F9F9F9" height="25" align="left" style="border-bottom-style: solid; border-bottom-width: 1; border-top-style:solid; border-top-width:1" bordercolor="#E0E0E0"><%=rs1("s_WorkLocation")%><%=rs1("c_WorkLocation")%></td>
<td width="53" bgcolor="#F9F9F9" height="25" align="center" style="border-bottom-style: solid; border-bottom-width: 1; border-top-style:solid; border-top-width:1" bordercolor="#E0E0E0">
<p><%=rs1("renshu")%>人</td>
<td width="65" bgcolor="#F9F9F9" height="25" align="center" style="border-bottom-style: solid; border-bottom-width: 1; border-top-style:solid; border-top-width:1" bordercolor="#E0E0E0">
<p>
<%
xueli=rs1("degree")
if xueli=0 then
response.write "高中"
elseif xueli=1 then
response.write "中专"
elseif xueli=2 then
response.write "大专"
elseif xueli=3 then
response.write "本科"
elseif xueli=4 then
response.write "硕士"
elseif xueli=5 then
response.write "博士"
end if
%>
</td>
<td width="141" bgcolor="#F9F9F9" height="25" align="center" style="border-bottom-style: solid; border-bottom-width: 1; border-top-style:solid; border-top-width:1" bordercolor="#E0E0E0">
<p align="left"><%=rs1("tjsj")%></td>
<td width="37" bgcolor="#F9F9F9" height="25" align="center" style="border-bottom-style: solid; border-bottom-width: 1; border-right-style:solid; border-right-width:1; border-top-style:solid; border-top-width:1" bordercolor="#E0E0E0">
<%if rs1("zt")=1 then%><li style="color: #FF0000; text-transform: uppercase; font-weight: bold" type="square"><%else%><INPUT type=checkbox value="<%=rs1("id")%>" name=selectedid><%end if%></td>
</tr>
<%
rs1.close
set rs1=nothing
end if
k=k+1
if k>=Pagesize then exit do
rs.movenext
loop %>
<tr>
<td width="554" bgcolor="#FFFFFF" height="29" align="center" style="border-top-style: none; border-top-width: medium; border-bottom-style:none; border-bottom-width:medium" colspan="6" valign="bottom">
<p align="right">
<INPUT onclick=CheckAll(this.form) type=checkbox value=on name=chkall>选中所有招聘信息</td>
</tr>
<tr>
<td width="554" bgcolor="#FFFFFF" height="26" align="center" style="border-top-style: none; border-top-width: medium; border-bottom-style:none; border-bottom-width:medium" colspan="6">
<img style="CURSOR: hand" onclick=javascript:showoperatealert(2) border="0" src="../img/list.gif"><img style="CURSOR: hand" onclick=javascript:showoperatealert(1) border="0" src="img/delete.gif"></td>
</tr>
</table>
</center></form>
</div>
<div align="center">
<center>
<table width="90%" border="0" cellspacing="0" cellpadding="0" class="font_9_c_black" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width="10">
</td>
<td width="200">共
<b><font color="#FF0000"><%=Allpage%></font></b>
页</td>
<td>
<table border="0" cellspacing="0" cellpadding="0" align="right" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<%
if ThisPage<2 then
response.write "<td width='10'><img name='link_r2_c1' src='../img/_1prev_.gif' width='22' height='18' border='0'></td><td width='10'><img name='link_r2_c1' src='../img/_prev_.gif' width='22' height='18' border='0'></td>"
else
response.write "<td width='10'><a href=MyFavouriate.asp?page=1><img name='_1prev' src='../img/_1prev.gif' width='22' height='18' border='0'></a></td>"
response.write "<td width='10'><a href=MyFavouriate.asp?page="&ThisPage-1&"><img name='_prev' src='../img/_prev.gif' width='22' height='18' border='0'></a></td>"
end if
%>
<td width="4">
<p align="right"> </td>
<td>
<div align="center">
<span style="font-size: 9pt">第<b><font color="#FF0000"> <%=ThisPage%> </font></b>页</span></div>
</td>
<td width="4"> </td>
<%
if Allpage-ThisPage<1 then
response.write "<td width='10'><img name='_next_' src='../img/_next_.gif' width='22' height='18' border='0'></td><td width='10'><img name='_next1_' src='../img/_next1_.gif' width='22' height='18' border='0'></td>"
else
response.write "<td width='10'><a href=MyFavouriate.asp?page="&(ThisPage+1)&"><img name='_prev' src='../img/_next.gif' width='22' height='18' border='0'></a></td>"
response.write "<td width='10'><a href=MyFavouriate.asp?page="&Allpage&"><img name='_next1' src='../img/_next1.gif' width='22' height='18' border='0'></a></td>"
end if
conn.close
set conn=nothing
end if
%>
</tr>
</table>
</td>
</tr>
</table></center>
</div>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="90%" height="5">
<tr>
<td width="100%" height="5">
<p align="center"></td>
</tr>
</table>
</center>
</div></td>
</tr>
<tr>
<td width="100%" height="30"> </td>
</tr>
</table>
</td>
<td width="29" height="146"> </td>
</tr>
</table>
</center>
</div>
<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>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -