<%@ 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")
if zhbg_name="" then Response.Redirect "../../error.asp?id=440"
%>
<%
id=request("id")
if instr(id,"官")<>0 then
		Response.Write "<script language=JavaScript>{alert('严重警告，不要搞乱');window.close();}</script>"
		Response.End
end if
my=request("my")
%>
<html>
<head>
<link href="../../../css.css" rel="stylesheet" type="text/css"><title>门派聚议厅</title>
</head>
<body  >
  <%
Set conn=Server.CreateObject("ADODB.CONNECTION")
Set rs=Server.CreateObject("ADODB.RecordSet")
conn.open Application("zhbg_usermdb")
rs.open "SELECT 门派 FROM 用户 where 姓名='"&zhbg_name&"'",conn

gongsi=rs("门派")

rs.close
set rs=nothing
conn.close
set conn=nothing
%>
  <%
Set conn=Server.CreateObject("ADODB.CONNECTION")
Set rs=Server.CreateObject("ADODB.RecordSet")
conn.open Application("zhbg_usermdb")
rs.open "SELECT * FROM 用户 where 门派='"&gongsi&"' and 身份='堂主' order by 门派基金 DESC",conn
%>
<table width="80%" height="0" border="1" align="center" cellpadding="3" cellspacing="0" bordercolor="#cccccc" bordercolorlight="#000000" bordercolordark="#FFFFFF" bgcolor="#FFFFFF">
  <!--DWLayoutTable-->
  <tr align="center" bgcolor="#cccccc"> 
    <td height="21" colspan="6" valign="top"><a href="javascript:this.location.reload()">【刷新】</a> <a href="javascript:history.go(-1)">【返回】</a> <p><b><font size="+3">门派聚议厅</font></b></p>
</td>
  </tr>
  <tr align="center"> 
    <td height="20" colspan="6"> 
      <table border="1" width="100%" bordercolorlight="#000000" bordercolordark="#FFFFFF" bgcolor="#FFCC66" align="center">
        <tr> 
          <td width="25%" valign="middle" align="center"><a href="Bentop4.asp"><font color="#0000ff">本门弟子排行</font></a></td>
          <td width="25%" valign="middle" align="center"><a href="BENTOP1.ASP"><font color="#ff0000">本门堂主排行</font></a></td>
          <td width="25%" valign="middle" align="center"><a href="BENTOP2.ASP"><font color="#0000FF">本门护法排行</font></a></td>
          <td width="25%" valign="middle" align="center"><a href="BENTOP3.ASP"><font color="#0000FF">本门长老排行</font></a></td>
        </tr>
      
	 </table>
  <tr align="center" bgcolor="#cccccc"> 
    <td height="16" width="18%"><font color="#FFFFFF">姓名</font></td>
    <td height="16" width="16%"><font color="#FFFFFF">内力</font></td>
    <td height="16" width="16%"><font color="#FFFFFF">体力</font></td>
    <td height="16" width="16%"><font color="#FFFFFF">积分</font></td>
    <td height="16" width="16%"><font color="#FFFFFF">战斗等级</font></td>
    <td height="16" width="18%"><font color="#FFFFFF">门派基金</font></td>

<%do while not rs.bof and not rs.eof%>
  <tr align="center" > 
    <td height="19"><font size="2"><%=rs("姓名")%></font></td>
    <td height="19"><font size="2"><%=rs("内力")%></font></td>
    <td height="19"><font size="2"><%=rs("体力")%></font></td>
    <td height="19"><font size="2"><%=rs("mvalue")%></font></td>
    <td height="19"><font size="2"><%=rs("等级")%></font></td>
    <td height="19"><font size="2"><%=rs("门派基金")%></font></td>
<tr>

	<%
rs.movenext
loop
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
</table>

<table width="80%" border="1" cellpadding="3" bordercolor="#cccccc" align="center" class="text">
  <!--DWLayoutTable-->
  <tr > 
    <td colspan="3"><b>门派身份申请</b></td>
  </tr>
  <tr > 
    <td width="93" rowspan="2" class="text">长老(8个)</td>
    <td colspan="2" class="text">『申请条件』： 战斗等级80级以上，门派基金8000万点以上</td>
  </tr>
  <tr> 
    <td width="563" class="text">『拥有权利』： 本派刑法，本派罚款，掌门令，奖励弟子，教训弟子，招收弟子</td>
    <td width="99" class="text">¤<a href="ZONGCAI.ASP" >我要申请</a>¤</td>
  </tr>
  <tr > 
    <td rowspan="2" class="text">护法(10个)</td>
    <td colspan="2" class="text">『申请条件』： 战斗等级50以上，门派基金5000万点以上</td>
  </tr>
  <tr> 
    <td class="text"> <p>『拥有权利』： 本派刑法，本派罚款，奖励弟子</p></td>
    <td class="text">¤<a href="MISHU.ASP" >我要申请</a>¤</td>
  </tr>
  <tr > 
    <td rowspan="2" class="text">堂主(16个)</td>
    <td colspan="2" class="text">『申请条件』： 战斗等级30级以上，门派基金3000万点以上</td>
  </tr>
  <tr> 
    <td class="text">『拥有权利』： 本派刑法，本派罚款</td>
    <td class="text"> <div align="left">¤<a href="JINGLI.ASP" >我要申请</a>¤</div></td>
  </tr>
  <tr> 
    <td height="20" colspan="3" valign="top" class="text"><div align="center"><b><font color="#FFFFFF">[非凡国度]</font></b> 
      </div></td>
  </tr>
</table>