⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 admin_announcemodify.asp

📁 3000首FLASH源程序
💻 ASP
字号:

<%CheckAdmins%>
<!--#include file="top.asp"-->
<!--#include file="char.asp"-->
<%
founderr=false
typeid=request("typeid")
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")
images=rs("images")
Content=rs("Content")
Author=rs("Author")
DateAndTime=rs("DateAndTime")
end if
rs.close

if founderr=true then
	call error()
else
%>
<table border="0" width="770" cellspacing="1" cellpadding="1" bgcolor="<%=Tablebackcolor%>" align="center">
  <tr> 
    <td valign=top width="20%" bgcolor="<%=Tabletitlecolor%>"> 
      <!--#include file="admin_left.asp"-->
    </td>
    <td align=center valign=top bgcolor="<%=Tablebodycolor%>"> 
      <table border="0" width="98%" cellspacing="1" cellpadding="1" class="TableLine" bordercolorlight="<%=MainBColor%>" bgcolor="<%=Tablebackcolor%>">
        <form method="POST" action="admin_AnnounceSave.asp?id=<%=id%>&typeid=<%=typeid%>">
          <tr bgcolor="<%=Tabletitlecolor%>"> 
            <td width="100%" height="20" colspan=2 align=center><b>修 改 公 告</b></td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td width="15%" align="right">主题:</td>
            <td width="85%"> 
              <input type="text" name="Title" value="<%=Title%>" size="60">
            </td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td align="right">发布人/转载:</td>
            <td> 
              <input type="text" name="Author" value="<%=Author%>" size="30">
            </td>
          </tr>
		  <tr bgcolor="#FFFFFF"> 
            <td align="right">图片地址:</td>
            <td> 
              <input type="text" name="images" value="<%=images%>" size="60">
            </td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td align="right">发布时间:</td>
            <td> 
              <input type="text" name="DateAndTime" value="<%=DateAndTime%>" size="20">
            </td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td align="right">内容:</td>
            <td> 
              <TEXTAREA name="Content" rows=5 cols="75"><%if Content<>"" and not isnull(Content) then%><%=htmlencode1(Content)%><%end if%></TEXTAREA>
            </td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td colspan=2 align=center> 
              <input type="hidden" value="edit" name="act">
              <input type="submit" value=" 修 改 " name="cmdok">
              &nbsp; 
              <input type="reset" value=" 清 除 "  name="cmdcancel">
            </td>
          </tr>
        </form>
      </table>
    </td>
  </tr>
</table>
<!--#include file="copyright.asp"-->
<br>
<%
end if
set rs=nothing
conn.close
set conn=nothing%>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -