www.gusucode.com > ASP+ACCESS在线人才招聘网(源代码+论文) > ASP+ACCESS在线人才招聘网(源代码+论文)\source_\admin\person_search_list.asp

    <!--#include file="session.asp"-->
<!--#include file="../inc/conn.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">招聘会信息管理&nbsp;</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>
 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><br>
        <form name="form1" method="post" action="person_list_update.asp">
          <%CurrentLocate="http://"&request.servervariables("server_name")&request.servervariables("path_info")&"?"&request.servervariables("query_string")%>
          <input type="hidden" name="urlpath" value="<%=CurrentLocate%>">
      <%  keyword=trim(Request("keyword"))
		  filetoto="person_search_list.asp?keyword="&keyword
	    sql="select * from job_person "	    
		if keyword<>"" then
		 strkeyword=" name like '%"&keyword&"%'"
          sql=sql&"where "&strkeyword &" order by per_id desc"
		end if
		'response.write sql
		'response.end
		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="<%=filetoto%>&page=<%=currentpage-1%>">上一页</a> 
            <%else Response.Write"上一页" end if%>
            <%if currentpage<Rs.PageCount then%>
            <a href="<%=filetoto%>&page=<%=currentpage+1%>">下一页</a> 
            <%else Response.Write"下一页" end if%>
            <a href="<%=filetoto%>&page=1"> 首页</a> <a href="<%=filetoto%>&page=<%=Rs.PageCount%>"> 
            尾页</a></td>
        </tr>
      </table>
          <table border="0" cellspacing="1" cellpadding="0" width="545">
            <tr align="center"> 
              <td width="269">&nbsp;</td>
              <td width="52"><b>会员</b></td>
              <td width="84"><b>会员时长</b></td>
              <td width="42"><b>推荐</b></td>
              <td width="43"><b>删除</b></td>
              <td width="48"><b>操作</b></td>
            </tr>
            <%i=1
		    while not rs.eof and rowcount>0%>
            <tr bgcolor="#ECF8FF"> 
              <td width="269">&nbsp;<a href=javascript:showpersondetail('<%=Rs("per_id")%>')><%=Rs("name")%></a> 
                <input type="hidden" name="per_id<%=i%>" value="<%=Rs("per_id")%>">
              </td>
              <td width="52" align="center"> 
                <input type="checkbox"  name="checkbox_acount<%=i%>" value="<%=Rs("per_id")%>" <%if Rs("acount")=1 then%>checked<%end if%>>
              </td>
              <td width="84" align="center">
                <input type="text" name="acountlong<%=i%>" size="5" value=<%=Rs("acountlong")%>>
                个月 </td>
              <td width="42" align="center">
                <input type="checkbox" name="checkbox_inde<%=i%>" value="<%=Rs("per_id")%>" <%if Rs("inde")=1 then%>checked<%end if%>>
              </td>
              <td width="43" align="center"> 
                <input type="checkbox" name="checkbox_del<%=i%>" value="<%=Rs("per_id")%>">
              </td>
              <td width="48" align="center"><a href=javascript:showpersondetail('<%=Rs("per_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="person_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="person_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>