<!--#include file="conn.asp"-->
<%
action=request.QueryString("action")
logocn=request("logocn")
logoBcn=request("logoBcn")
logoen=request("logoen")
citytitlecn=request("citytitlecn")
citydescriptioncn=request("citydescriptioncn")
citytitleen=request("citytitleen")
citydescriptionen=request("citydescriptionen")
citytitleutf=request("citytitleutf")
citydescriptionutf=request("citydescriptionutf")

citycompanycn=request("citycompanycn")
citycompanyen=request("citycompanyen")
citycompanyutf=request("citycompanyutf")
citycopycn=request("citycopycn")
citycopyen=request("citycopyen")
citycopybig=request("citycopybig")
citycontactcn=request("citycontactcn")
citycontacten=request("citycontacten")
citycontactbig=request("citycontactbig")

com_leftcontact=request("com_leftcontact")
com_leftcontacten=request("com_leftcontacten")
com_leftabout=request("com_leftabout")
com_leftabouten=request("com_leftabouten")
cityICPcn=request("cityICPcn")
cityICPen=request("cityICPen")

hot_word=request("hot_word")
hot_link=request("hot_link")
wb_word=request("wb_word")
wb_link=request("wb_link")

OKArpic=request("OKArpic")
OKsizepic=request("OKsizepic")

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

conn.execute("update com_config set com_citytitlecn='"&citytitlecn&"'")
conn.execute("update com_config set com_citydescriptioncn='"&citydescriptioncn&"'")
conn.execute("update com_config set com_citytitleen='"&citytitleen&"'")
conn.execute("update com_config set com_citydescriptionen='"&citydescriptionen&"'")
conn.execute("update com_config set com_citytitleutf='"&citytitleutf&"'")
conn.execute("update com_config set com_citydescriptionutf='"&citydescriptionutf&"'")
conn.execute("update com_config set com_leftcontacten='"&com_leftcontacten&"'")
conn.execute("update com_config set com_citycompanycn='"&citycompanycn&"'")
conn.execute("update com_config set com_citycompanyen='"&citycompanyen&"'")
conn.execute("update com_config set com_citycompanyutf='"&citycompanyutf&"'")
conn.execute("update com_config set com_citycopycn='"&citycopycn&"'")
conn.execute("update com_config set com_citycopyen='"&citycopyen&"'")
conn.execute("update com_config set com_citycopyutf='"&citycopybig&"'")
conn.execute("update com_config set com_citycontactcn='"&citycontactcn&"'")
conn.execute("update com_config set com_citycontacten='"&citycontacten&"'")
conn.execute("update com_config set com_citycontactutf='"&citycontactbig&"'")
conn.execute("update com_config set com_logocn='"&logocn&"'")
conn.execute("update com_config set com_logoBcn='"&logoBcn&"'")
conn.execute("update com_config set com_logoen='"&logoen&"'")
conn.execute("update com_config set com_ICPcn='"&cityICPcn&"'")
conn.execute("update com_config set com_ICPen='"&cityICPen&"'")

conn.execute("update com_config set hot_word='"&hot_word&"'")
conn.execute("update com_config set hot_link='"&hot_link&"'")
conn.execute("update com_config set wb_word='"&wb_word&"'")
conn.execute("update com_config set wb_link='"&wb_link&"'")
Response.Redirect "info_config.asp"

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

conn.execute("update com_config set com_OKArpic='"&OKArpic&"'")
conn.execute("update com_config set com_OKsizepic='"&OKsizepic&"'")
Response.Redirect "info_config.asp?action=update"
end select
%>