📄 admin_editly.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="chkmanage.asp"-->
<!--#include file="inc/const2.asp"-->
<%
dim guestcontent
dim guestdate
guestdate=request("time")
guestcontent=request("guestcontent")
set rs=server.createobject("adodb.recordset")
sql="select guestcontent,guestdate from [guest] where guestdate='"&GuestDate&"'"
rs.open sql,conn,1,3
if guestcontent<>"" then
rs("guestcontent")=guestcontent
rs.update
rs.close
set rs=nothing
conn.close
set conn=nothing
response.redirect "manage.asp"
end if
%><!--#include file="css.asp"-->
<body topmargin="1" bgcolor="<%=bodybgcolor%>">
<br><br><!--#include file="menu.asp"--><br><br>
<form name="form1" method="post" action="admin_editly.asp?time=<%=request("time")%>">
<table width="650" border="0" cellspacing="0" height="111" style="border-collapse: collapse; border: 1px solid <%=bordercolor%>; " bordercolor="#111111" cellpadding="0" align="center">
<tr>
<td>
<table cellpadding=3 cellspacing=1 border=0 width=100%>
<tr bgcolor=#F0AA06>
<td bgcolor="<%=add_leftbg%>" align=center height=22 colspan="2"><font color="<%=add_fontcolor%>"><b>编辑留言</b></font></td>
</tr>
<tr bgcolor=#F0AA06>
<td width="30%" align="center" height="22" valign="middle" bgcolor="<%=tablebgcolor%>" >
<div align="left"> 留言内容:</div>
</td>
<td width="70%" height="22" bgcolor="<%=tablebgcolor%>" >
<textarea name="guestcontent" cols="45" rows="8" wrap="VIRTUAL"><%=rs("guestcontent")%></textarea></td>
</tr>
<tr bgcolor=#EEEEEE>
<td bgcolor="<%=tablebgcolor%>" align=center height=22 colspan="2">
<input type="submit" name="reply" value="提交">
<input type="reset" name="reset" value="重置"></td>
</tr>
</table>
</td>
</tr>
</table>
</form></body>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -