<!--#include file="admin_start.asp"-->
<%
rs.open "select * from jins_site_config ",conn,1,3
if rs.eof then rs.addnew
rs("config_sitename")=request.form("config_sitename")
rs("config_email")=request.form("config_email")
rs("config_mailnum")=request.form("config_mailnum")
rs("config_tel")=request.form("config_tel")
rs("config_address")=request.form("config_address")
rs("config_qqnum")=request.form("config_qqnum")
rs("config_property")=request.form("config_property")
rs("config_bg")=request.form("config_bg")
rs("config_logo")=request.form("config_logo")
rs("config_icp")=request.form("config_icp")
rs("config_unit_money")=request.form("config_unit_money_0")&"|"&request.form("config_unit_money_1")&"|"&request.form("config_unit_money_2")
rs("config_title")=request.form("config_title")
rs("config_keyword")=request.form("config_keyword")
rs("config_copyright")=request.form("config_copyright")
rs("config_url")=request.form("config_url")
rs.update
rs.close

'/////////////////////创建文件
ffile=Server.MapPath("../post_phone.xml")
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")

set fff=objFSO.CreateTextFile(ffile, true)

c_w="<REPLY phone="""
if request.form("config_tel")<>"" then c_w=c_w+request.form("config_tel")
c_w=c_w+""" qq="""
if request.form("config_qqnum")<>"" then c_w=c_w+split(request.form("config_qqnum"),",",-1,1)(0)
c_w=c_w+""" u=""http://"&Mysys.info.GetUrlInfo(2)&"/"" />"
fff.write(c_w)
fff.close
set fff=nothing
Set objFSO = Nothing 
'/////////////////////创建文件

session("FB_EM_1_SQL_uppath")=""

MySys.error.info="网站基本信息设置成功！"
MySys.error.location="back"
MySys.error.suc()
%>
<!--#include file="admin_end.asp"-->