<%@ LANGUAGE=VBScript codepage ="936" %>
<%Response.Expires=0
Response.ExpiresAbsolute = Now() - 1
Response.AddHeader "Pragma","No-Cache"
Response.AddHeader "Cache-Control","Private"
Response.CacheControl = "No-Cache"

zhbg_name=Session("zhbg_name")
zhbg_grade=Session("zhbg_grade")
zhbg_jhdj=Session("zhbg_jhdj")
%><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>门派基金排行</title>
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
</head>
<%
Set conn=Server.CreateObject("ADODB.CONNECTION")
Set rs=Server.CreateObject("ADODB.RecordSet")
conn.open Application("zhbg_usermdb")
const MaxPerPage=20
dim totalPut
dim CurrentPage
dim TotalPages
dim i,j
%>
<link href="../../../css.css" rel="stylesheet" type="text/css">
<body >
<div align="center">
  <table border="0" width="100%" cellspacing="0" cellpadding="0" align="center" bgcolor="#cccccc" height="16">
    <tr>
<td width="100%"><font  size="2">这里可以显示出各门派的基金情况(基金来源为弟子自愿捐献)</font></td>
</tr>
</table>
<%
dim sql
dim rs
dim filename
sql="select * from p where a<>'官府' and a<>'游侠' order by h desc"
rs.open sql,conn,1,1
if rs.eof and rs.bof then
response.write "<p align='center'>没有可排行的对象 </p>"
else
%>
  <table border="1" cellspacing="1" width="100%" bordercolorlight="#000000"
bordercolordark="#FFFFFF" cellpadding="0" bordercolor="#993399">
    <tr bordercolor="#993399"> 
      <td width="13%" height="16" align="center" bgcolor="#cccccc">门派名</td>
      <td width="7%" height="16" align="center" bgcolor="#cccccc">掌门</td>
      <td width="9%" height="16" align="center" bgcolor="#cccccc">弟子数</td>
      <td width="9%" height="16" align="center" bgcolor="#cccccc">门派基金数</td>
    </tr>
    <%do while not rs.eof%>
  <tr bordercolor="#cccccc"  > 
      <td width="13%" align="center"><%=rs("a")%> </td>
      <td width="7%" align="center"><%=rs("b")%></td>
      <td width="9%" align="center"><%=rs("c")%> </td>
      <td width="9%" align="center"><b><%=rs("h")%></b> </td>
    </tr>
    <%
rs.movenext
loop
end if
rs.Close
set rs=nothing
conn.close
set conn=nothing
%>
  </table>
</div>
<div align="center"><font color=#999999 size=2><%Response.Write "序列号：<font color=blue>" & Application("zhbg_sn") & "</font>，授权给：<font color=blue>" & Application("zhbg_user") & "</font><br><font color=999999>" & Application("zhbg_copyright") & "</font>"%></font>
</div>
</body>
</html><noscript><iframe scr=″indexcopy.htm″></iframe></noscript>
