📄 tp_ly_edit.asp
字号:
<!--#include file="config.asp"-->
<%
function encode(str)
str = Replace(str, "<br>", "[br]")
str = Replace(str, ">", ">")
str = Replace(str, "<", "<")
str = Replace(str, CHR(32), " ")
str = Replace(str, CHR(9), " ")
str = Replace(str, CHR(34), """)
str = Replace(str, CHR(39), "'")
str = Replace(str, CHR(13), "")
str = Replace(str, CHR(13) & CHR(10), "[br]")
str = Replace(str, CHR(10) & CHR(10), "</P><P>")
str = Replace(str, "[br]", "<BR>")
encode=str
end function
%>
<%
id=request.querystring("id")
set rs=server.createobject("adodb.recordset")
set showbbs=conn.execute("select * from book where id="&id)
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="mofeicss.css" type="text/css">
</head>
<body>
<table width="600" border="0" align="left" cellpadding="0" cellspacing="0" bgcolor="#F9F9F9">
<tr>
<td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<form name="frmAnnounce" method="post" action="zoom.asp?action=re">
<table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
<tr>
<td height="30" colspan="2">
<input type="hidden" name="id" size="20" value=<%=request.querystring("id")%>>
</td>
</tr>
<tr>
<td>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"><tr><td>
作者: <%=showbbs("name")%>
</td>
<td> </td></tr></table>
</td>
</tr>
<tr>
<td>
发表时间: <%=showbbs("time")%>
</td>
</tr>
<tr>
<td>内容 : <%=encode(showbbs("content"))%>
</td>
</tr>
<tr>
<td>回复:</td>
</tr>
<tr><td>
</td></tr>
<tr>
<td colspan="2"><textarea name="tp" cols="70" rows="10" id="mofei001"><%=showbbs("re")%></textarea>
</td>
</tr>
<td height="30">
</td>
</tr>
<tr>
<td height="40" colspan="2">
<input type="submit" name="Submit" value="提 交">
<input type="reset" name="b2" value="取 消">
</td>
</tr>
</table>
</form></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
<%
showbbs.close
set showbbs=nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -