📄 admin_announcemodify.asp
字号:
<%PageName="admin_AnnounceModify"%>
<!--#include file="session.asp"-->
<%checkAdmin2%>
<!--#include file="conn.asp"-->
<!--#include file="const.asp"-->
<!--#include file="top.asp"-->
<!--#include file="INC/CHAR.INC"-->
<%
founderr=false
id=request("id")
sql="select * from Announce where id="&id
rs.open sql,conn,1,1
if rs.eof then
errmsg="<li>操作错误!该管理员不存在"
founderr=true
else
Title=rs("Title")
Content=rs("Content")
Author=rs("Author")
win_width=rs("win_width")
win_height=rs("win_height")
DateAndTime=rs("DateAndTime")
end if
rs.close
if founderr=true then
call error()
set rs=nothing
conn.close
set conn=nothing
else
%>
<br>
<table border="1" width="80%" cellspacing="0" cellpadding="1" bgcolor="<%=MainBgColor%>">
<tr>
<td align=center valign=top>
<table border="1" width="100%" cellspacing="0" cellpadding="0" Class="TableLine" bordercolorlight="<%=MainBColor%>" bgcolor="<%=MainCColor%>">
<form method="POST" action="admin_AnnounceSave.asp?id=<%=id%>">
<tr>
<td height="20" colspan=2 bgcolor="<%=MainTColor%>" align=center background="images/admin/b3.gif"><b>修
改 广 播 公 告</b></td>
</tr>
<tr>
<td width="25%" align="right">主题:</td>
<td width="75%">
<input type="text" name="Title" value="<%=Title%>" size="20">
</td>
</tr>
<tr>
<td align="right" width="25%">发布人:</td>
<td width="75%">
<input type="text" name="Author" value="<%=Author%>" size="20">
</td>
</tr>
<tr>
<td align="right" width="25%">发布时间:</td>
<td width="75%">
<input type="text" name="DateAndTime" value="<%=DateAndTime%>" size="20">
</td>
</tr>
<tr>
<td align="right" width="25%">弹出窗口大小:</td>
<td width="75%"> 宽:
<input type="text" name="win_width" value="<%=win_width%>" size="3" maxlength="3">
高:
<input type="text" name="win_height" value="<%=win_height%>" size="3" maxlength="3">
</td>
</tr>
<tr>
<td align="right" width="25%">内容:</td>
<td width="75%">
<TEXTAREA name="Content" rows=5 cols="60"><%if Content<>"" and not isnull(Content) then%><%=Content%><%end if%></TEXTAREA>
</td>
</tr>
<tr>
<td colspan=2 align=center>
<input type="hidden" value="edit" name="act">
<input type="submit" value=" 修 改 " name="cmdok">
<input type="reset" value=" 清 除 " name="cmdcancel">
</td>
</tr>
</form>
</table>
<p>提示:内容支持HTML,你可以使用简单的链接和颜色代码。</p>
</td>
</tr>
</table>
<%set rs=nothing%>
<%end if%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -