<!--#include file="conn.asp"-->
<!--#include file="inc/publicfun.asp"-->
<!--#include file="inc/md5.asp"-->
<!--#include file="bbsuser.asp"-->
<!-- #include file="inc/htmlencode2.asp"-->
<!--#include file="inc/ubbcode.asp"-->
<%
id=request("id")
userid=request.cookies("clubuser_id")
if request("act")="y" then
   netname=Checkstr(request("netname"))
   plnl=Checkstr(request("remenu"))
   plnl = RegExReplace(plnl,"\b(script)\b"," $1 ")
   plnl = RegExReplace(plnl,"\b(iframe)\b"," $1 ")
   str="update ftblog_pl set netname='"&netname&"',plcontent='"&plnl&"' where id="&id
   conn.execute(str)
   response.redirect request("url") '"blogcenter_pl.asp"
end if
%>
<!--#include file="memberinfo.asp"-->
<html><head><meta http-equiv=content-type content="text/html; charset=gb2312">
</head>
<body>
<center>
<title><%=username%>的评论管理中心</title>
<link rel="stylesheet" type="text/css" href="<%=cssfile%>">
<!--#include file="usernav.asp" -->
<div id="main" align="left">
<script language=javascript src="js/windowsize.js"></script>
	<div id="header">
	<div class="lc"><div class="rc"></div></div>
	<div class="tit"><a href="home.asp?userid=<%=userid%>" class="titlink" title="<%=username%>的空间"><%=username%></a></div>
	<div class="desc"><%=homepagetitle%></div>
	<div id="tabline">&nbsp;</div>
	<div id="tab"><a href="home.asp?userid=<%=userid%>" class="on">主页</a><a href="boker.asp?userid=<%=userid%>">博客</a><span>|</span><a href="myphoto.asp?userid=<%=userid%>">相册</a><span>|</span><a href="myinfo.asp?userid=<%=userid%>">个人档案</a>
	</div>
</div>
<div class="stage">
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="layout">
<tr>
<td valign="top" class="c2t3">
<div id="mod_profile" class="mod" rel="drag">
<!--#include file="usercalog.asp" -->
</div>
</td>
<td valign="top" class="c2t1">
<div id="mod_bloglist" class="mod" rel="drag"> 
              <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                <tr valign="middle"> 
                  <td height="50" colspan="2" 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 > 
                  <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 > 
                    <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 > 
                    <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/bloghtml.js"></SCRIPT> </td>
                  </tr>
                  <tr > 
                    <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>
              <br>
            </div>
</td>
</tr></table>
</div>
</div>
<br><center>
    <!--#include file="tail.asp" -->
  </center>
</center>
</body>
</html>
<%closedb%>