<%@ LANGUAGE=VBScript codepage ="936" %><%Response.Expires=0
Response.Buffer=true

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"
if session("zhbg_adminok")<>true then Response.Redirect "../chat/readonly/bomb.htm"
if zhbg_grade<>10 or instr(Application("zhbg_user"),zhbg_name)=0  then Response.Redirect "../error.asp?id=439"
if zhbg_name<>Application("zhbg_adminuser") then Response.Redirect "../chat/readonly/bomb.htm"
mp=Request.QueryString("mp")
%>
<html>
<head>
<title>武功设置</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href='../css.css' type=text/css rel=stylesheet>
<script language="JavaScript">
function shutwin()
{
window.close();
return;
}
</script>
</head>
<body>
<p align="center"> <font size="2">
<%
Set conn=Server.CreateObject("ADODB.CONNECTION")
set rs=server.createobject("adodb.recordset")
conn.open Application("zhbg_usermdb")
if mp="" then
	rs.open "Select * From y order by b",conn,0,1
else
	rs.open "select * from y where b='" & mp & "' order by b",conn,0,1
end if
if not rs.eof then
%><font color="#FF3333" size="5" face="黑体">[ </font></font><font color="#FF3333" size="5" face="黑体">武功设置 <font size="2">      
 ]</font></font></p>       
<p align="center"><font size="2">对各派武功招式修改！</font></p>       
<table width="747" border="8" align="center" cellpadding="0" cellspacing="0" bordercolor="#cccccc">       
  <tr bgcolor="#cccccc">        
    <td width="88" align="center"><font size="2">门 派</font></td>       
    <td width="97" align="center"><font size="2">招式名</font></td>      
    <td width="56" align="center"><font size="2">武功</font></td>      
    <td width="62" align="center"><font size="2">内力</font></td>      
    <td width="81" align="center"><font size="2">使用次数</font></td>     
    <td width="176" align="center"><font size="2">发招说明</font></td>     
    <td width="80" align="center"><font size="2">招式图片</font></td>     
    <td width="75" align="center"><font size="2">操 作</font></td>     
  </tr>     
  <%do while not rs.eof%>     
  <tr> 
    <td width="88"> 
      <div align="center"><font size="2"><%=rs("b")%></font></div> 
    </td> 
    <td width="97"> 
      <div align="center"><font size="2"><%=rs("a")%></font></div>
    </td> 
    <td width="56"> 
      <div align="center"><font size="2"><%=rs("c")%></font></div> 
    </td> 
    <td width="62"> 
      <div align="center"><font size="2"><%=rs("d")%></font></div> 
    </td>  
    <td> 
      <div align="center"><font size="2"><%=rs("e")%></font></div> 
    </td> 
    <td width="176"> 
      <div align="center"><font size="2"><%=rs("f")%></font></div>    
    </td>    
    <td width="80">     
      <div align="center"><font size="2"><%=rs("g")%></font></div>    
    </td>    
    <td width="75">     
      <div align="center"><font size="2">     
        <a href="delwg.asp?wgid=<%=rs("id")%>" title="删除武功">删</a> </font><font size="2"><a href="managewg.asp?wgid=<%=rs("id")%>" title="修改武功招式！">修</a></font></div> 
    </td>     
  </tr>     
  <%rs.movenext     
loop      
rs.close     
set rs=nothing     
conn.close     
set conn=nothing%>     
  <% else %>     
</table>     
<table align="center" width="197">     
<td height="14">     
<div align="center"><font size="2">此门派还未设置武功！</font>      
<% rs.close     
set rs=nothing     
conn.close     
set conn=nothing     
end if%> </div>     
</table>     
<div align="center"></div>     
<p align="center"><font size="2" color="#FF0000">[<a href="adminwg.asp?mp=<%=mp%>">====刷新====</a>]</font>     
</body>     
