<!--#include file="conn.asp"-->
<%
action=request.QueryString("action")
kf_con=replace(request("kf_con")," ","")
kf_rwm=request("kf_rwm")

select case action
case "infosave"
if kf_con="" or kf_rwm="" then
	response.write "<script>alert('请将系统信息填写完整！');history.go(-1);</Script>"
	Response.End 
end if

conn.execute("update com_config set kf_rwm='"&kf_rwm&"'")
conn.execute("update com_config set kf_con='"&kf_con&"'")
Response.Redirect "qq_config.asp"

case "updatesave"
if kf_con="" or kf_rwm="" then
	response.write "<script>alert('请将系统信息填写完整！');history.go(-1);</Script>"
	Response.End 
end if

conn.execute("update com_config set kf_rwm='"&kf_rwm&"'")
conn.execute("update com_config set kf_con='"&kf_con&"'")
Response.Redirect "qq_config.asp?action=update"
end select
%>