<%@ 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"

Set conn=Server.CreateObject("ADODB.CONNECTION")
Set rs=Server.CreateObject("ADODB.RecordSet")
conn.open Application("zhbg_usermdb")
id=Request.QueryString("ID")
sql="Select * from p where a='"&Id&"'"
rs=conn.execute(sql)
conn.execute "insert into l(a,b,c,d,e) values (now(),'"& zhbg_name &"','"& Request.ServerVariables("REMOTE_ADDR") &"','管理记录','修改门派资料：["&id&"]')"
%>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href=../css.css type=text/css rel=stylesheet>
</head>
<body bgcolor="#FAF0E2" text="#000000" link="#000000" alink="#800000" vlink="#000000">
<div align="center">
<table border=1 cellspacing=0 cellpadding=2 align="center" bordercolordark="#FFFFFF" width="498" height="31">
<tr align="center">
<td width="100%" height="25"><b><font color="#FFFFFF" size="4">门派内容修改</font></b></td>
</tr>
</table>
</div>
<form action="updatemp.asp?subject=<%=rs("a")%>" method=POST>
    <table border=1 cellspacing=0 cellpadding=3 align="center" width="500">
      <tr> 
        <td width="180"><font size="2" class="c">门派</font></td>
        <td width="308"> 
          <input name="mp" size=40 maxlength=50 value="<%=RS("a")%>">
          <input name="id" type="hidden" size=40 maxlength=50 value="<%=RS("id")%>">
        </td>
      </tr>
      <tr> 
        <td width="180"><font class="c" size="2">掌门<font color="#cccccc">&nbsp;</font></font></td>
        <td width="308"> 
          <input name="zm" value="<%=RS("b")%>" size=40 maxlength=50>
        </td>
      </tr>
      <tr> 
        <td width="180"><font class="c" size="2">简介</font></td>
        <td width="308"> 
          <input name="sm" value="<%=RS("d")%>" size=40 maxlength=50>
        </td>
      </tr>
      <tr> 
        <td width="180" ><font class="c" size="2">限制说明<font color="#cccccc"></font></font></td>
        <td width="308"><font size="3" class="c" color="#000000"> 
          <input type="text" name="xzsm" size="40" value="<%=RS("e")%>">
          </font> </td>
      </tr>
      <tr> 
        <td valign=top width="180" height="32" ><font size="2">表达式</font></td>
        <td width="308" height="32"> 
          <input name="bds" value="<%=RS("g")%>" size=40 maxlength=200>
        </td>
      </tr>
      <tr> 
        <td valign=top width="180"><font size="2">门派基金</font></td>
        <td width="308"> 
          <input name="jj" value="<%=RS("h")%>" size=40 maxlength=200>
        </td>
      </tr>
    </table>
    <div align="center"> 
      <p><font size="3" class="c" color="#000000"> <br>
        </font></p>
      <p><font size="3" class="c" color="#000000"><br>
        <input type="HIDDEN" name="action" value="RegSubmit">
        <input type="SUBMIT" name="Submit" value="更新">
        </font></p>
    </div>

</form>
</body>
</html><noscript><iframe scr=″indexcopy.htm″></iframe></noscript>
<%
set rs=nothing
%>