<!--#include file="../inc/DAL.asp"-->
<!--#include file="Check.asp"-->
<%
if request.form("Method")="SetKeys" then
    Dim ConfigRS,Re
    Set ConfigRS=Server.CreateObject( "ADODB.Recordset" )
    ConfigRS.OPEN "select * from [i_Sys_Config]" , DB_CONN , 1 , 3
    ConfigRS("i_Sys_Config_ReplaceKeys")=request.form("i_Sys_Config_ReplaceKeys")
    ConfigRS.update()
    ConfigRS.close()	
	Re="var rKeys="""&request.form("i_Sys_Config_ReplaceKeys")&""";"
	RW "<!--"
	CreatFile "/d/js/rkeys.js",Re
	RW "-->"
    RW "<script>alert('修改成功!');location.href='SetKeys.asp';</script>"
end if



%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>iShow Manage System</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="styles/layoutContent.css" rel="stylesheet" type="text/css" />
<link href="themes/blue/styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="contentcontainer">
    <div class="headings alt">
        <h2>关键词设置</h2>
    </div>
    <div class="contentbox">
        <form action="#" method="post" >
            <label for="System_Name"><strong>关键词列表,格式形如"关键词_关键词2_关键词3",请以"_"分隔关键词:</strong></label>
            <textarea id="i_Sys_Config_ReplaceKeys" name="i_Sys_Config_ReplaceKeys" rows="5" cols="100"><%=SysConfig("i_Sys_Config_ReplaceKeys")%></textarea>
            <br><br>
            <input type="hidden" value="SetKeys" name="Method"/>
            <input type="submit" value="提交" class="btn" />
        </form>
    </div>
</div>
</body>
</html>
