<!--#include file="conn.asp" -->
<!--#include file="ftbbs_nav.asp" -->
<!--#include file="pagefun.asp" -->
<!--#include file="bbsuser.asp" -->
<%
str_sort=request("order_key")
if str_sort="" then
str_sort="clubuser_id"
end if
root=""
tyname1="order_key"
tyvalue1=str_sort
pagestr= "&"&tyname1&"="&tyvalue1
call FTBBS_HTML_MB
getcodeoff=Application("FTBBSMB")(30,0)
onlineoff=Application("FTBBSMB")(33,0)
linkoff=Application("FTBBSMB")(34,0)
defaulthome=Application("FTBBSMB")(31,0)
wzrep = Application("FTBBSMB")(5,0)
homepage=ft_home(defaulthome)
sql="select clubuser_id,clubuser_name,clubuser_sex,clubuser_enter_count,clubuser_reg_date,clubuser_lasttime,postnum,jingyuan from clubuser order by "&str_sort&" desc"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
if not rs.eof then
   dim i,bgcolor
   wzpage = clng(request("page"))
   
   if len(wzpage) = 0 or wzpage = 0 then wzpage = 1
   rs.PageSize=wzrep
   rs.AbsolutePage=wzpage
   wzpagecount=rs.PageCount
   wzcount=rs.RecordCount
%>
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=gb2312>
<title>会员列表</title>
<script language=javascript src="inc/cookies.js"></script>
<script>
var stylecook = getCookie("STYLESHOW");
var style;
var strstyle;
if(stylecook=="")
{
 stylecook=1;
}
else
{
 stylecook++;
}
style="main0"+stylecook+".css";
strstyle="<link href=\"css/"+style+"\"  rel=\"stylesheet\" type=\"text/css\"> ";
document.write(strstyle);
</script>
</HEAD>
<body>
<script>
var stylecook = getCookie("STYLESHOW");
var style;
var tmpstylecook;
function setcookies()
{
 tmpstylecook = stylecook;
}

function  reloadcook()
{
   var scooks = getCookie("STYLESHOW");
   if(scooks != tmpstylecook)
   {
 	window.location.reload();
   }
}
setcookies();
setInterval('reloadcook()',1000);
</script>
<%if request.cookies("ftbbstype")=1 then%>
<table cellspacing=0 cellpadding=0 width="99%" align=center border=0>
  <tbody>
    <tr> 
      <td width="13%" height=60> <div align="left"><img src="images/tmlogo.gif" width="112" height="50"></div></td>
      <td width="87%"><div align="right"> 
      <script language="JavaScript" src="sitead.js"></script>
        </div></td>
    </tr>
  </tbody>
</table>
<table cellspacing=0 cellpadding=0 width="99%" align=center border=0>
  <tbody>
    <tr> 
      <td height=1></td>
    </tr>
  </tbody>
</table>
<table cellspacing=0 cellpadding=0 width="99%" align=center border=0>
  <tbody>
    <tr> 
      <td class="maintbtr1" height=2></td>
    </tr>
    <tr> 
      <td height=1></td>
    </tr>
  </tbody>
</table>
<%end if%>
<table width="99%" border=0 align="center" cellpadding=2 cellspacing=1 class="maintbbg">
  <tbody>
          <tr> 
            <td height="25" class="f12bg">&nbsp;<%=userinfo%></td>
          </tr>
          <tr>
            <td height="26" class="maintbtr3"><table width="100%" border=0 cellpadding=0 cellspacing=0>
                <tbody>
                  <tr> 
                    <td class=f12><img src="images/bbs_t1.gif" align="absmiddle"> 
                      <a href="<%=homepage%>">论坛首页</a>>>会员列表 
                    </td>
                  </tr>
                </tbody>
              </table></td>
          </tr>
        </tbody>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="1">
  <tr> 
    <td height=5><spacer height="5" type="block"></td>
  </tr>
</table>
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td> 
      <table width="100%" border=0 cellpadding=2 cellspacing=1 class="maintbbg" align="center">
        <tbody>
          <tr valign="top"> 
            <td colspan="8" class="maintbtr1"> <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
                <tr> 
                  <td align="left" height="25"><%= pageclass(wzpagecount,wzcount,wzrep,pagestr,root)%></td>
                </tr>
              </table></td>
          </tr>
          <tr align="left" class=f12> 
            <td width="16%" height="26" class="f12bg">&nbsp;<a class=map href="memberlist.asp?order_key=clubuser_name">用户名</a></td>
            <td width="15%" class="f12bg" >&nbsp;<a class=map href="memberlist.asp?order_key=clubuser_id">UID</a></td>
            <td width="15%" class="f12bg" >&nbsp;<a class=map href="memberlist.asp?order_key=clubuser_sex">性别</a></td>
            <td width="17%" class="f12bg" >&nbsp;<a class=map href="memberlist.asp?order_key=clubuser_reg_date">注册时间</a></td>
            <td width="17%" class="f12bg" >&nbsp;<a class=map href="memberlist.asp?order_key=clubuser_lasttime">上次访问时间</a></td>
            <td width="10%" class="f12bg" >&nbsp;<a class=map href="memberlist.asp?order_key=postnum">贴子</a></td>
            <td width="10%" class="f12bg" >&nbsp;<a class=map href="memberlist.asp?order_key=jingyuan">经验值</a></td>
          </tr>
<%
   for i = 0 to wzrep-1
   if rs.eof then exit for 
%>
          <tr align="left"> 
            <td width="16%" height="25" class="maintbtr3" align="left">&nbsp;<a class=map href="home.asp?userid=<%=rs("clubuser_id")%>" target="_blank"><%=rs("clubuser_name")%></a></td>
            <td width="15%"  align="left" class="maintbtr3">&nbsp;<%=rs("clubuser_id")%></td>
            <td width="15%" class="maintbtr3">&nbsp;<%=rs("clubuser_sex")%></td>
            <td width="17%" class="maintbtr3">&nbsp;<%=rs("clubuser_reg_date")%></td>
            <td width="17%" class="maintbtr3">&nbsp;<%=rs("clubuser_lasttime")%></td>
            <td width="10%" class="maintbtr3">&nbsp;<%=rs("postnum")%></td>
            <td width="10%" class="maintbtr3">&nbsp;<%=rs("jingyuan")%></td>
          </tr>
<%
  rs.movenext
  next
%>
          <tr valign="top"> 
            <td colspan="8" class="maintbtr1"> <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
                <tr> 
                  <td align="left" height="25"><%= pageclass(wzpagecount,wzcount,wzrep,pagestr,root)%></td>
                </tr>
              </table></td>
          </tr>
<%else%>
          <tr class="maintbtr3"> 
            <td colspan=8 align=center height=25 class="f12"> 记录为空！ </td>
          </tr>
<%end if%>
        </tbody>
      </table>
    </td>
  </tr>
</table>
<!--#include file="inc/bbstail.htm"-->
<%CloseDb%>