www.gusucode.com > 绿色环保工作企业网站源码程序 > HrDemand.asp
<!--#include file="Inc/SysProduct.asp" --> <% set rs=server.createobject("adodb.recordset") sql="select * from HrDemand order by id desc" rs.open sql,conn,1,1 dim MaPerPage MaPerPage=4 dim text,checkpage text="0123456789" Rs.PageSize=MaPerPage for i=1 to len(request("page")) checkpage=instr(1,text,mid(request("page"),i,1)) if checkpage=0 then exit for end if next If checkpage<>0 then If NOT IsEmpty(request("page")) Then CurrentPage=Cint(request("page")) If CurrentPage < 1 Then CurrentPage = 1 If CurrentPage > Rs.PageCount Then CurrentPage = Rs.PageCount Else CurrentPage= 1 End If If not Rs.eof Then Rs.AbsolutePage = CurrentPage end if Else CurrentPage=1 End if %> <!-- #include file="Head.asp"--> <DIV id=index_container> <div id="index_left"> <div id="left"> <div id="left_title">人才中心</div> <div id="left_content"> <DIV id=elem-FrontProductCategory_slideTree-001 name="商品分类"><LINK href="imgbyy/css2.css" type=text/css rel=stylesheet> <div class="FrontProductCategory_slideTree-default" id="FrontProductCategory_slideTree-001"> <div class="left_bottom"> <div class="right_bottom"> <div class="left_top"> <div class="right_top"> <table width="95%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="3"></td> </tr> </table> <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td> <% call ShowSmallClass_Tree() %> </td> </tr> </table> <table width="100" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="10"></td> </tr> </table> </div> </div> </div> </div> </div> </DIV> </div> <div id="left_btm"></div> </div> <table width="100" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="6"></td> </tr> </table> <!--#include file="searchinc.asp"--> <div id="index_contact"> <div id="index_contact1"></div> <div id="index_contact2"> <div id="elem-FrontSpecify_show-001" name="联系我们说明页"> <link href="about_files/css3.css" type="text/css" rel="stylesheet" /> <div class="FrontSpecify_show-default" id="FrontSpecify_show-001"> <div class="content"> <div class="style1"><!--#include file="qq.asp"--></div> </div> </div> </div> </div> </div> </div> <DIV id=index_right><!--<div id="right_title">人才中心</div> --> <DIV id=right_content> <DIV ><LINK href="about_files/FrontCommonContent_showDetailByList.css" type=text/css rel=stylesheet> <DIV class=FrontCommonContent_showDetailByList-default id=> <DIV class=content> <DIV id=right_title>招聘信息</DIV> <DIV class=text> <table width="100%" height="1%" border="0" cellpadding="0" cellspacing="0"> <tr> <td height="206" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <% if not rs.eof then i=0 do while not rs.eof %> <tr> <td height="1"><br /> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC" > <tr bgcolor="#DFDFDF"> <td width="174" height="30" align="center" bgcolor="#FFFFFF" >职位名称:</td> <td colspan="2" bgcolor="#FFFFFF" > <%=rs("HrName")%> </td> <td width="238" bgcolor="#FFFFFF" > <a href="HrDemandAccept.asp?Quarters=<%=rs("HrName")%>"><font color="#FF0000">应聘此岗位</font></a> </td> </tr> <tr bgcolor="#DFDFDF"> <td width="174" height="30" align="center" bgcolor="#FFFFFF" >工作地点:</td> <td colspan="3" valign="top" bgcolor="#FFFFFF" > <%=rs("HrAddress")%> </td> </tr> <tr bgcolor="#DFDFDF"> <td width="174" height="30" align="center" bgcolor="#FFFFFF" >工资待遇:</td> <td width="198" bgcolor="#FFFFFF"> <%=rs("HrSalary")%></td> <td width="101" align="center" bgcolor="#FFFFFF" >发布日期:</td> <td bgcolor="#FFFFFF" > <%=rs("HrDate")%> </td> </tr> <tr bgcolor="#DFDFDF"> <td height="30" align="center" bgcolor="#FFFFFF" >需求人数:</td> <td align="center" bgcolor="#FFFFFF"><div align="left"> <%=rs("HrRequireNum")%> 人</div></td> <td align="center" bgcolor="#FFFFFF">有效期限:</td> <td align="center" bgcolor="#FFFFFF"><div align="left"> <%=rs("HrValidDate")%></div></td> </tr> <tr bgcolor="#DFDFDF"> <td width="174" height="30" align="center" bgcolor="#FFFFFF" ><font color="#000066">具体要求:</font></td> <td colspan="3" align="center" bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="5" cellspacing="0" > <tr> <td class="News-05"><%=rs("HrDetail")%></td> </tr> </table></td> </tr> </table></td> </tr> <% i=i+1 if i >= MaPerpage then exit do rs.movenext loop end if %> </table></td> </tr> <tr> <td height="40" align="center"> <% Response.write "全部" Response.write "共" & Cstr(Rs.RecordCount) & "条招聘信息 " Response.write "第" & Cstr(CurrentPage) & "/" & Cstr(rs.pagecount) & " " If currentpage > 1 Then response.write "<a href='HrDemand.asp?&page="+cstr(1)+"'> 首页 </a>" Response.write "<a href='HrDemand.asp?page="+Cstr(currentpage-1)+"'> 上一页 </a>" Else Response.write " 上一页 " End if If currentpage < Rs.PageCount Then Response.write "<a href='HrDemand.asp?page="+Cstr(currentPage+1)+"'> 下一页 </a>" Response.write "<a href='HrDemand.asp?page="+Cstr(Rs.PageCount)+"'> 尾页 </a>" Else Response.write "" Response.write " 下一页 " End if Response.write "转到第" response.write"<select name='sel_page' onChange='javascript:location=this.options[this.selectedIndex].value;'>" for i = 1 to Rs.PageCount if i = currentpage then response.write"<option value='HrDemand.asp?page="&i&"&id="&id&"' selected>"&i&"</option>" else response.write"<option value='HrDemand.asp?page="&i&"&id="&id&"'>"&i&"</option>" end if next response.write"</select>页" rs.close %> </td> </tr> </table> </DIV> </DIV></DIV></DIV></DIV> <DIV class=clear></DIV></DIV> <DIV class=clear></DIV> </DIV></DIV> <DIV class=clear></DIV> <% rs.close set rs=nothing %> <!--#include file="foot.asp" -->