<!--#include file="../conn.asp"-->
<!--#include file="../admin/check_master.asp" -->
<%
id=request("id")
userid=request.cookies("clubuser_id")
if request("act")="y" then
   netname=request("netname")
   plnl=request("remenu")
   str="update ftblog_pl set netname='"&netname&"',plcontent='"&plnl&"' where id="&id
   conn.execute(str)
   response.redirect request("url")
end if
%>
<html><head><meta http-equiv=content-type content="text/html; charset=gb2312">
<link href="../css/xmwuye.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="98%"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr valign="middle"> 
                  <td height="50" colspan="2" bgcolor="#FFFFFF" class=new14> 
                    <div align="center">修改评论</div></td>
                </tr>
                <tr> 
                  <td height="1" colspan="2" bgcolor="#336699" class=new14><spacer height="1" type="block"></td>
                </tr>
                <tr bgcolor="#FFFFFF"> 
                  <td height="15" colspan="2" class=new14></td>
                </tr>
                <%
sql="select * from ftblog_pl where id="&id&""
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
%>
                <form action="" method="post" name="form1" onsubmit="return CheckForm(this)">
                  <tr bgcolor="#FFFFFF"> 
                    <td width="11%" height="28"> 
                      <div align="center">网名:</div></td>
                    <td width="89%"> 
                      <input name="netname" type="text" id="netname" value="<%=rs("netname")%>" maxlength="29"></td>
                  </tr>
                  <tr bgcolor="#FFFFFF"> 
                    <td height="28"> 
                      <div align="center">内容:</div></td>
                    <td height="300"> 
                      <TEXTAREA type="hidden" rows=1 cols=1 name="remenu" style="position:absolute;left:0;visibility:hidden;"><%=rs("plcontent")%></textarea> 
                      <SCRIPT src="htmledit/plhtml.js"></SCRIPT> </td>
                  </tr>
                  <tr bgcolor="#FFFFFF"> 
                    <td height="28">&nbsp;</td>
                    <td height="28"> 
                      <input type="submit" name="Submit" value=" 修 改 " class="button"> 
                      <input name="act" type="hidden" id="act" value="y"> <input name="id" type="hidden" id="id" value="<%=id%>">
                      <input name="url" type="hidden" id="url" value="<%=request.serverVariables("Http_REFERER")%>"></td>
                  </tr>
                </form>
                <%
rs.movenext
rs.close
%>
</table>
</body>
</html>
<%closedb%>