gusucode.com > ASP+ACCESS在线人才招聘网(源代码+论文) > ASP+ACCESS在线人才招聘网(源代码+论文)\source_\admin\ep_list.asp
<!--#include file="../inc/conn.asp"--> <!--#include file="session.asp"--> <html><!-- #BeginTemplate "/Templates/admin.dwt" --> <head> <!-- #TemplateBeginEditable name="doctitle" --> <!-- #BeginEditable "doctitle" --> <title>在线人才网</title> <!-- #EndEditable --> <!-- #TemplateEndEditable --> <meta content="text/html; charset=gb2312" http-equiv=content-type> <link href="../inc/default.css" rel=stylesheet type=text/css> <!-- #TemplateBeginEditable name="head" --> <!-- #TemplateEndEditable --> </head> <body bgcolor=#FFFFFF topmargin=0 marginheight="5" leftmargin="0"> <center><!--#include file="../inc/head.asp"--><table width=770 border=0 align=center cellpadding=0 cellspacing=0> <tbody> <tr> <td valign=top width=160 align="center" background="../images/11.gif"> <script language=JavaScript> <!-- var enabled = 0; today = new Date(); var day; var date; if(today.getDay()==0) day = "星期日" if(today.getDay()==1) day = "星期一" if(today.getDay()==2) day = "星期二" if(today.getDay()==3) day = "星期三" if(today.getDay()==4) day = "星期四" if(today.getDay()==5) day = "星期五" if(today.getDay()==6) day = "星期六" date = "<font color='##FF0000' > " + (today.getYear()) + "年" + (today.getMonth() + 1 ) + "月" + today.getDate() + "日 " + " " + day + "</font>"; document.write(date); //-----> </script> <script language=javascript src="../Templates/inc/common.js"></script> <script language=javascript> function showpersondetail(id) { window.open("person_detail.asp?per_id="+id,"_blank","height=350,width=790,top=0,left=0,menubar=yes,location=yes,scrollbars=yes,resizeble=yes,toolbar=yes") } </script> <font color="#FF0000"><br> 管理专区<br> </font> <%if session("admin")<>"" then%> <table class=a10px height=114 cellspacing=2 cellpadding=0 width="88%" background=../images/11.gif border=0> <tbody> <tr bgcolor=#ffffff background="../images/11.gif"> <td colspan=2 height=21><img height=16 src="../images/gongneng.gif" width=169></td> </tr> <tr> <td valign=bottom align=right width=160 background=../images/11.gif height=5></td> <td height=5></td> </tr> <tr> <td valign=top align=center width=160 background=../images/11.gif height=120> <table width="87%" border="0" cellspacing="1" cellpadding="0"> <tr> <td height="21"><b><font color="#FF0000"><img src="../images/dot6.gif" width="10" height="10"> </font></b><a href="info_manage.asp">招聘单位管理</a></td> </tr> <tr> <td height="21"><img src="../images/dot6.gif" width="10" height="10"> <a href="person_manage.asp">人才信息管理</a></td> </tr> <tr> <td height="21"><img src="../images/dot6.gif" width="10" height="10"> <a href="news_manage.asp">职场资讯管理</a></td> </tr> <tr> <td height="21"><img src="../images/dot6.gif" width="10" height="10"> <a href="news_add.asp">添加职场资讯</a></td> </tr> <tr> <td height="21"><img src="../images/dot6.gif" width="10" height="10"> <a href="zhaopinhui_manage.asp">招聘会信息管理 </a></td> </tr> <tr> <td height="21"><img src="../images/dot6.gif" width="10" height="10"> <a href="zhaopinhui_add.asp">添加招聘会信息</a></td> </tr> <tr> <td height="21"><img src="../images/dot6.gif" width="10" height="10"> <a href="mail_all.asp">群发邮件管理</a></td> </tr> <tr> <td height="21"><img src="../images/dot6.gif" width="10" height="10"> <a href="system_user_manage.asp">管理员帐号管理</a> </td> </tr> </table> </td> <td height=120></td> </tr> </tbody> </table> <%end if%> </td> <td valign=top align="center" width=1 bgcolor="#99CCFF"></td> <td align=center valign=top height="369" width="602"><!-- #BeginEditable "a1" --><img src="../images/system_manage.gif" width="320" height="50"><SCRIPT language=javascript src="../inc/common.js"></SCRIPT> <br> <form name="form1" method="post" action="ep_list_update.asp"> <%CurrentLocate="http://"&request.servervariables("server_name")&request.servervariables("path_info")&"?"&request.servervariables("query_string")%> <input type="hidden" name="urlpath" value="<%=CurrentLocate%>"> <%stype=Request("stype") sql="select ep_id,ep_name,ep_acount,ep_inde from enterprise " if stype="all" then str="" else if stype="acount" then str="where ep_acount=1 " else if stype="notacount" then str="where ep_acount=0 " else if stype="noemail" then str="where len(ep_email)=0" else if stype="pcnotac" then str="where ep_acount=1 and pc_num>apc_num" end if end if end if end if end if sql=sql&str&" order by ep_id desc" Set Rs=Server.CreateObject("Adodb.RecordSet") Rs.Open sql,conn,1,1 If Not rs.Eof Then Rs.PageSize=50 If Request("page")<>"" and IsNumeric(Request("page")) Then page=cint(Request("page")) End If if page<=0 then page=1 end if if page>Rs.PageCount then page=Rs.PageCount end if Rs.AbsolutePage=page currentpage=page RowCount =rs.pagesize %> <table width="90%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="right"><b>共<%=Rs.RecordCount%>条符合条件的记录 </b></td> <td align="right">第<%=currentpage%>页/共<%=Rs.pageCount%>页 <%if currentpage>1 then%> <a href="ep_list.asp?stype=<%=stype%>&page=<%=currentpage-1%>">上一页</a> <%else Response.Write"上一页" end if%> <%if currentpage<Rs.PageCount then%> <a href="ep_list.asp?stype=<%=stype%>&page=<%=currentpage+1%>">下一页</a> <%else Response.Write"下一页" end if%> <a href="ep_list.asp?stype=<%=stype%>&page=1"> 首页</a> <a href="ep_list.asp?stype=<%=stype%>&page=<%=Rs.PageCount%>"> 尾页</a></td> </tr> </table> <table border="0" cellspacing="1" cellpadding="0" width="548"> <tr align="center"> <td width="327"> </td> <td width="57"><b>会员</b></td> <td width="50"><b>推荐</b></td> <td width="48"><b>删除</b></td> <td width="60"><b>操作</b></td> </tr> <%i=1 while not rs.eof and rowcount>0%> <tr bgcolor="#ECF8FF"> <td width="327"> <a href=javascript:showadvertisement('../job_detail_company.asp?ep_id=<%=Rs("ep_id")%>')><%=Rs("ep_name")%></a> <input type="hidden" name="ep_id<%=i%>" value="<%=Rs("ep_id")%>"> </td> <td width="57" align="center"> <input type="hidden" name="old_ep_acount<%=i%>" value="<%=Rs("ep_acount")*Rs("ep_id")%>"> <input type="checkbox" onClick="javascript:updateform(<%=i%>)" name="checkbox_acount<%=i%>" value="<%=Rs("ep_id")%>" <%if Rs("ep_acount")=1 then%>checked<%end if%>> </td> <td width="50" align="center"> <input type="hidden" name="old_ep_inde<%=i%>" value="<%=Rs("ep_inde")*Rs("ep_id")%>"> <input type="checkbox" name="checkbox_inde<%=i%>" value="<%=Rs("ep_id")%>" <%if Rs("ep_inde")=1 then%>checked<%end if%>> </td> <td width="48" align="center"> <input type="checkbox" name="checkbox_del<%=i%>" value="<%=Rs("ep_id")%>"> </td> <td width="60" align="center"><a href=javascript:showadvertisement('../job_detail_company.asp?ep_id=<%=Rs("ep_id")%>')>查看</a></td> </tr> <%Rs.MoveNext i=i+1 Rowcount=rowcount-1 Wend%> </table> <input type="hidden" name="rowcount" value="<%=i-1%>"> <br> <br> <a href="info_manage.asp"><img src="../images/back.gif" width="96" height="30" border="0"></a> <input type="image" border="0" name="imageField" src="../images/update.gif" width="96" height="30"> <%else %> 没有符合条件的单位记录<br> <a href="info_manage.asp"><img src="../images/back.gif" width="96" height="30" border="0"></a> <%End if%> </form> <!-- #EndEditable --> </td> </tr> </table> <!--#include file="../inc/bottom.asp"--> </center> </body> <!-- #EndTemplate --></html> <html> </html>