<!--#include file="conn.asp"-->
<!--#include file="chk_logs.asp"-->
<%
if session("AdminName")="" then
	response.Write "<script language='javascript'>alert('网络超时或您还没有登陆！');window.location.href='index.asp';</script>"
	response.End
else
	if session("flag")>1 then
	response.Write "<script LANGUAGE='javascript'>alert('您没有此项目管理权限！请于管理员联系!!!');window.location.href='admin.asp';</script>"
response.End
end if
end if 
%>
<%
if request.QueryString("action")="del" then
 id=request("id")
 page=request("page")
if id<>"" then
conn.execute "delete from huiyuan where id in ("&request("id")&")"
response.Redirect "huiyuan.asp"&"?page="&page
end if
end if
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<link href="../css.css" rel="stylesheet" type="text/css">
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" cellspacing="1" cellpadding="4" bgcolor="#CCCCCC">
  
    <tr>
      <td bgcolor="#E8F1FF" class="GrayText"><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#999999">
        <tr>
          <td width="112" height="25" align="center" bgcolor="#E8F1FF" class="wz">用户名</td>
          <td width="138" height="25" align="center" bgcolor="#E8F1FF" class="wz">昵称</td>
          <td width="104" height="25" align="center" bgcolor="#E8F1FF" class="wz">职位</td>
          <td width="146" align="center" bgcolor="#E8F1FF" class="wz">审核</td>
          <td width="142" align="center" bgcolor="#E8F1FF" class="wz">入库时间</td>
          <td width="110" align="center" bgcolor="#E8F1FF" class="wz">操 作</td>
        </tr>
        <%
		 set rs=server.createobject("adodb.recordset")
		 rs.open "select * from huiyuan order by id desc",conn,1,1
	      if not rs.eof then
	      rs.pagesize=18
	      page=request("page")
		  if isempty(page) or not isnumeric(page) then page=1
		  if cint(page)<1 then page=1
		  if cint(page)>rs.pagecount then page=rs.pagecount
		  rs.absolutepage=cint(page)
	      for i=1 to rs.pagesize
           %>
   <form action="hysh.asp" method="post" name="form2" id="form2">
        <tr>
          <td width="112" height="25" align="center" bgcolor="#E8F1FF" class="hei12"><a href="hyxxxqedit.asp?id=<%=rs("id")%>" class="wz"><%=rs("f01")%></a></td>
          <td width="138" height="25" align="center" bgcolor="#E8F1FF" class="wz"><%=rs("f03")%></td>
          <td width="104" height="25" align="center" bgcolor="#E8F1FF" class="wz"><%=rs("f05")%></td>
          <td width="146" align="center" bgcolor="#E8F1FF" class="wz">
		  <select name="f31" id="f31">
            <option value="<%=rs("f31")%>">
            <% if rs("f31")=1 then response.Write("当前:已审")%>
            <% if rs("f31")=0 then response.Write("当前:未审")%>
            </option>
            <option value="1">已审</option>
            <option value="0">未审</option>
          </select>
            <input type="submit" name="Submit32" value="修改">
			<input name="id" type="hidden"  value="<%=rs("id")%>">			</td>
          <td width="142" align="center" bgcolor="#E8F1FF" class="wz"><%=rs("sj")%></td>
           <td width="110" align="center" bgcolor="#E8F1FF" class="wz">&nbsp;&nbsp;<a href="hyxxxqedit.asp?id=<%=rs("id")%>"><font color="#FF0000">查看</font></a>&nbsp;&nbsp;<a href="javascript:if(confirm('确定要删除该文件吗？\n\n注意：删除后无法恢复！')){location.href='huiyuan.asp?id=<%=rs("id")%>&page=<%=page%>&action=del'}" title="删除文件"><font color="#FF0000">删除</font></a></td>
       </tr>
	   </form>
        <%
		    rs.movenext
			if rs.eof then exit for
		 next	
       %>
      </table></td>
    </tr>

  <tr>
    <form action="huiyuan.asp" method="post" name="form1" id="form1">
      <td bgcolor="#E8F1FF" align="right" class="GrayText"><a href="huiyuan.asp?page=1" class="a2">第一页</a> <a href="huiyuan.asp?page=<%=page-1%>" class="a2">上一页</a> <a href="huiyuan.asp?page=<%=page+1%>" class="a2">下一页</a> <a href="huiyuan.asp?page=<%=rs.pagecount%>" class="a2">最后一页</a> <span class="wz">共<font color="#0000FF"><%=rs.pagecount%></font>页 当前第<font color="#0000FF"><%=page%></font>页 
        跳至
          <input type="text" name="page" size="4" />
        页
        <input type="submit" name="Submit" value="转至" />
      </span>        <span class="hei12">
        <input type="hidden" name="id" value="<%=id%>" />
        </span></td>
    </form>
  </tr>
  <tr>
    <td bgcolor="#E8F1FF" class="GrayText" align="center"><table width="98%" height="99" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="99" valign="top" bgcolor="#1A70D2"><table width="100%" height="99" border="0" cellpadding="0" cellspacing="1">
            <tr>
              <td height="97" align="left" valign="top" bgcolor="#E4F4FC"><table class="tableBorder" width="100%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF">
                  <tr>
                    <td align="center" bgcolor="#254b8f" class="bsz"><strong class="black-wz">快速查讯</strong></td>
                  </tr>
                  <tr bgcolor="#E8F1FF">
                    <form name="form1" method="post" action="sousuo1.asp">
                      <td height="50"><table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
                          <tr>
                            <td align="center"><input name="key" type="text" size="50" id="key"></td>
                            <td width="20%" height="30" align="center"><input type="submit" name="Submit2" value="查 询"></td>
                          </tr>
                          <tr>
                            <td colspan=2 height=13>&nbsp;</td>
                          </tr>
                      </table></td>
                    </form>
                  </tr>
              </table></td>
            </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  <%else%>
  <tr>
    <td height="500" colspan="9" bgcolor="#FFFFFF">&nbsp;<span class="hei12">目前您还没有增加<font color="#FF0000">会员</font>信息.</span></td>
  </tr>
  <%
		end if
		rs.close
		set rs=nothing
		%>
</table>
</body>
</html>
