<!-------------------用户排行 开始------------------->
<table border=0 cellspacing=0 cellpadding=0 width='98%'>
  <tr>
    <td width="50%" align=center height=18>&nbsp;&nbsp;&nbsp;用户名称</td>
    <td width="25%" align=right>积分</td>
    <td width="25%" align=right>贴子</td>
  </tr>
 <%
    sql="select top 4 * from user_data where hidden=1 order by bbs_counter desc,id desc"
    set rs=joekoe_cms.exec(sql,1)
   do while not rs.eof
  %>
  <tr>
    <td width="50%" align=center><img src='images/index/top.gif'>&nbsp;<a href='user_view.asp?username=<%response.write joekoe_cms.code_html(rs("username"),1,10)%>' alt='查看 "<%response.write joekoe_cms.code_html(rs("username"),1,50)%>" 的详细资料' target=_blank><%=rs("username")%></td>
    <td width="25%" align=right><font color=green><%=rs("integral")%></font></td>
    <td width="25%" align=right><font color=red><%=rs("bbs_counter")%></font></td>
  </tr>
<%
 rs.movenext
loop
rs.close
%>
</table>
<!-------------------用户排行 结束------------------->