📄 adminjobs.asp
字号:
<!--#include file=../conn.asp-->
<!--#include file=cookies.asp-->
<!--#include file=top.asp-->
<%
dim sql
dim rs
dim comid,i,bmmc,zong,cmdexample
comid=request.cookies("ijob")("comid")
'set rs=server.createobject("adodb.recordset")
set cmdexample=server.createobject("adodb.command")
cmdexample.activeconnection=conn
cmdexample.commandtext="comid1"
cmdexample.commandtype=4
cmdexample.parameters.append cmdexample.createparameter("@RETURN_VALUE",3,4,0)
cmdexample.parameters.append cmdexample.createparameter("@comid",200,1,20)
cmdexample.parameters("@comid").value=comid
set rs=cmdexample.execute
%>
<link rel="stylesheet" type="text/css" href="../1.css">
<title>企业招聘职位管理器</title>
<body topmargin="0" leftmargin="0" style="text-align: center">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="770" height="236">
<tr>
<td width="147" height="236" valign="top">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<tr>
<td width="100%"><!--#include file=left.asp--></td>
</tr>
</table>
</td>
<td width="27" height="236" valign="top"></td>
<td width="580" height="236" valign="top">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<tr>
<td width="100%">
<table border="0" borderColor="#111111" cellPadding="4" cellSpacing="0" height="1" id="AutoNumber39" style="BORDER-COLLAPSE: collapse" width="590">
<%
if rs.eof or rs.bof then
response.write "<tr><td>还没有发布职位!</td></tr><br> "
'response.end
else
zong=rs.Recordcount
%>
<tr>
<td height="1" style="BORDER-BOTTOM: 1px solid" width="582" colspan="8" bordercolor="#CCCCCC">
<b>职位管理</b></td>
</tr>
<tr>
<td height="25" style="border-bottom: medium none" width="33" background="../img/bj.gif">
<p align="center">编号</td>
<td height="25" style="border-bottom: medium none" width="115" background="../img/bj.gif">
招聘职位</td>
<td height="25" style="border-bottom: medium none" width="56" background="../img/bj.gif">
<p align="center">状态</td>
<td height="25" style="border-bottom: medium none" width="57" background="../img/bj.gif">
<p align="center">浏览次数</td>
<td height="25" style="border-bottom: medium none" width="58" background="../img/bj.gif">
<p align="center">应聘次数</td>
<td height="25" style="border-bottom: medium none" background="../img/bj.gif" colspan="3" width="114">
<p align="center">操作</td>
</tr>
<%
i=1
do while not rs.eof%>
<tr>
<td height="13" width="33" background="../img/bj.gif">
<p align="center"><b><%=i%></b></td>
<td height="13" width="115" background="../img/bj.gif">
<a target="_blank" href="listalljob.asp?selectedid=<%=rs("id")%>"><%=rs("jobs")%></a></td>
<td height="13" width="56" align="center" background="../img/bj.gif"><%if rs("zt")<>0 then%><p align="center">
<b><font color="#FF0000">屏蔽</font></b><%else%><b><font color="#FF0000">公开</font></b><%end if%></td>
<td height="13" width="57" align="center" background="../img/bj.gif"><%=rs("llcs")%></td>
<td height="13" width="58" align="center" background="../img/bj.gif"><%=rs("ypcs")%></td>
<td height="13" width="27" align="center" background="../img/bj.gif">
<a href="Adminjobsedit.asp?id=<%=rs("id")%>">
<img border="0" src="../img/jobsedit.gif"></a></td>
<td height="13" width="30" align="center" background="../img/bj.gif">
<a onclick='{if(confirm("此操作将删除招聘职位是【<%=rs("jobs")%>】的资料!你确认吗?")){return true;}return false;}' href="Adminjobsdel.asp?id=<%=rs("id")%>">
<img border="0" src="../img/jobsdel.gif"></a></td>
<td height="13" width="41" align="center" background="../img/bj.gif">
<%if rs("zt")<>0 then%><a href="Adminjobspb.asp?id=<%=rs("id")%>&oo=0"><img border="0" src="../img/jobsgong.gif"></a><%else%><a onclick='{if(confirm("是否屏蔽【<%=rs("jobs")%>】职位!你确认吗?")){return true;}return false;}' href="Adminjobspb.asp?id=<%=rs("id")%>&oo=1"><img border="0" src="../img/jobsyin.gif"></a><%end if%></td>
</tr>
<%
i=i+1
if Request.cookies("ijob")("ijobvip")<>1 then
if i>5 then
exit do
end if
else
if i>50 then
exit do
end if
end if
rs.movenext
loop
rs.close
set rs=nothing
call closedb
%>
<tr>
<td height="12" background="../img/bj.gif" colspan="8">
<p align="center">职位总数:<b><font color="#FF0000"><%=i-1%></font></b>条</td>
</tr>
<%end if%>
</table>
</td>
</tr>
</table>
</td>
<td width="16" height="236" valign="top"> </td>
</tr>
</table>
<!--#include file=copyright.asp-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -