?? b_xiugai.asp
字號(hào):
<!--#include file="d_tou.asp" -->
<script language=javascript>
function rejian(eventobject){if(event.ctrlKey && window.event.keyCode==13){this.document.fa.submit();}}
</script>
<%
tiezi=clng(Request("tiezi"))
set querenfatie=lj.execute("select mingzi from tiezi where xuhao="& tiezi &"")
if mingzi="" or mima="" then
response.Redirect("b_bankuai.asp")
elseif touyz.eof then
response.Redirect("b_bankuai.asp")
elseif touyz("mima")<>mima then
response.Redirect("b_bankuai.asp")
elseif touyz("mima")<>mima then
response.Redirect("b_bankuai.asp")
elseif querenfatie("mingzi")<>mingzi then
response.Redirect("b_bankuai.asp")
end if
set zhutie=lj.execute("select bankuai from tiezi where xuhao="& tiezi &"")
xuhao=zhutie("bankuai")
if request("dongzuo")="xiugai" then
set zhutie=lj.execute("select biaoti,neirong,bankuai from tiezi where xuhao="& tiezi &"")
xuhao=zhutie("bankuai")
set bankuai=lj.execute("select mingzi from bankuai where xuhao="& xuhao &"")
%>
<table width="778"" border="1" align="center" cellpadding="5" cellspacing="0" bordercolor="#FFFFFF">
<tr>
<td bordercolor="#F6F6F6" bgcolor="#FBFBFB"><img src="tupian/weizhi.gif" width="9" height="9"> <a href="b_bankuai.asp">論壇版塊</a> →
<a href="b_luntan.asp?bankuai=<%=xuhao%>"><%=server.HTMLEncode(bankuai("mingzi"))%></a> → <a href="b_kantie.asp?tiezi=<%=tiezi%>">您的帖子</a> → 修改帖子</td>
</tr>
</table>
<table width="778"" border="1" align="center" cellpadding="5" cellspacing="0" bordercolor="#FFFFFF">
<tr><td bordercolor="#EBEBEB" bgcolor="#EFEFEF"><div align="center">
<%
if request("fanhui")="" then
response.Write("修改帖子")
elseif request("fanhui")="kong" then
response.Write("您剛才的表單沒填完,請(qǐng)?zhí)詈靡院笤偬峤弧?quot;)
elseif request("fanhui")="duo" then
response.Write("帖子內(nèi)容不能超過(guò)65535個(gè)文字。")
end if
%>
</div></td></tr></table><table width="778"" border="0" align="center" cellpadding="0" cellspacing="0">
<tr><td><form method="post" action="c_xiugai.asp?tiezi=<%=tiezi%>" name="fa">
<table width="100%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="#FFFFFF" bgcolor="#EBEBEB">
<tr><td width="20%" bordercolor="#F0F0F0" bgcolor="#F5F5F5"><div align="center">心情</div></td>
<td bordercolor="#F5F5F5" bgcolor="#FAFAFA"> <input type="radio" name="xinqing" value="1">
<img src="xinqing/1.gif" width="19" height="19"> <input type="radio" name="xinqing" value="2">
<img src="xinqing/2.gif" width="19" height="19"> <input type="radio" name="xinqing" value="3">
<img src="xinqing/3.gif" width="19" height="19"> <input type="radio" name="xinqing" value="4">
<img src="xinqing/4.gif" width="19" height="19"> <input type="radio" name="xinqing" value="5">
<img src="xinqing/5.gif" width="19" height="19"> <input type="radio" name="xinqing" value="6">
<img src="xinqing/6.gif" width="19" height="19"> <input type="radio" name="xinqing" value="7">
<img src="xinqing/7.gif" width="19" height="19"> <input name="xinqing" type="radio" value="8" checked>
<img src="xinqing/8.gif" width="19" height="19"> </td></tr><tr>
<td bordercolor="#F0F0F0" bgcolor="#F5F5F5"><div align="center">標(biāo)題</div></td>
<td bordercolor="#F5F5F5" bgcolor="#FAFAFA"><input name="biaoti" type="text" id="biaoti" value="<%=zhutie("biaoti")%>" size="70" maxlength="50"></td>
</tr><tr><td bordercolor="#F0F0F0" bgcolor="#F5F5F5"><div align="center">插入</div></td>
<td bordercolor="#F5F5F5" bgcolor="#FAFAFA"><input name="button" type="button" onClick="neirong.value=neirong.value+'[url][/url]'" value="鏈接">
<input name="Input" type="button" onClick="neirong.value=neirong.value+'[mail][/mail]'" value="郵件">
<input name="Input" type="button" onClick="neirong.value=neirong.value+'[img][/img]'" value="圖片">
</td></tr><tr><td bordercolor="#F0F0F0" bgcolor="#F5F5F5"><div align="center">上傳</div></td>
<td bordercolor="#F5F5F5" bgcolor="#FAFAFA"><iframe border=0 frameborder=0 framespacing=0 height=25 marginheight=0 marginwidth=0 name=iframe noResize scrolling=no src="b_boaisc.asp" width="100%"></iframe>
</td></tr><tr><td bordercolor="#F0F0F0" bgcolor="#F5F5F5"><div align="center">內(nèi)容</div></td><td bordercolor="#F5F5F5" bgcolor="#FAFAFA">
<textarea name="neirong" cols="70" rows="15" wrap="VIRTUAL" id="neirong" onKeyDown="rejian()"><%=zhutie("neirong")%></textarea></td>
</tr><tr><td bordercolor="#F0F0F0" bgcolor="#F5F5F5"> </td>
<td bordercolor="#F5F5F5" bgcolor="#FAFAFA"><input type="submit" value="修改"></td>
</tr></table></table>
<%
elseif request("dongzuo")="shanchu" then
e3="b-o-a-i"
lj.execute("delete from tiezi where xuhao="& tiezi &"")
lj.execute("delete from tiezi where tiezi='"& tiezi &"'")
response.Redirect("b_luntan.asp?bankuai="& xuhao &"")
end if
%>
<!--#include file="d_wei.asp" -->
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -