<!--#include file="inc/conn.asp"-->
<!--#include file="config.asp"-->
<%
dim rs,sql
set rs=server.createobject("adodb.recordset")
sql = "select * from config"
rs.open sql,conn,1,3
rs("title")=trim(request("title"))
rs("web")=trim(request("web"))
rs("logo")=trim(request("logo"))
rs("weather")=trim(request("weather"))
rs("qq1")=trim(request("qq1"))
rs("city")=trim(request("city"))
rs("leixing")=trim(request("leixing"))
rs("diqu")=trim(request("diqu"))
rs("coryright")=trim(request("coryright"))
rs("tnum")=trim(request("tnum"))
rs("zinum")=trim(request("zinum"))

rs("z_hb")=trim(request("z_hb"))
rs("z_a")=trim(request("z_a"))
rs("z_b")=trim(request("z_b"))
rs("z_c")=trim(request("z_c"))
rs("z_d")=trim(request("z_d"))
rs("jf_1")=trim(request("jf_1"))
rs("jf_2")=trim(request("jf_2"))
rs("jf_3")=trim(request("jf_3"))
rs("jf_4")=trim(request("jf_4"))
rs("jf_hb")=trim(request("jf_hb"))
rs("g_a")=trim(request("g_a"))
rs("g_b")=trim(request("g_b"))
rs("g_c")=trim(request("g_c"))
rs("g_d")=trim(request("g_d"))
rs("b_y")=trim(request("b_y"))
rs("tui_y")=trim(request("tui_y"))
rs("s_y")=trim(request("s_y"))
rs("del_xx")=trim(request("del_xx"))

rs("adtop")=trim(request("adtop"))
rs("hots")=trim(request("hots"))
rs("adhot")=trim(request("adhot"))
rs("ad1")=trim(request("ad1"))
rs("ad2")=trim(request("ad2"))
rs("ad3")=trim(request("ad3"))
rs("ad4")=trim(request("ad4"))
rs("ad5")=trim(request("ad5"))
rs("ad6")=trim(request("ad6"))
rs("ad7")=trim(request("ad7"))
rs("ad8")=trim(request("ad8"))
rs.update
rs.close
set rs=nothing
response.write "<li>您的设置已经修改成功！"
response.write "<meta http-equiv=refresh content=""3;URL=admintitle.asp"">"
%>