<!--#include file="ubb.asp"-->
<%
if conttstr="SQL" then
dlxf_citytime="getdate()"
dlxf_citydate="date()"
else
dlxf_citytime="now()"
dlxf_citydate="date()"
end if

if Application("citycss")="" then

If IsObject(contt) = false Then
set contt = Server.CreateObject("ADODB.Connection")
contt.Open conndata
	If Err.Number <> 0 Then
  	 Response.write "系统日常维护中!"
  	 Response.End()
	end if
end if

set rs=server.createobject("adodb.recordset")
rs.open "select * from dlxf_config",contt,1,1
if not rs.eof then
	Application("citybottom")=rs("dlxf_citybottom")
	Application("citycss")=rs("dlxf_citycss")
	Application("cityurl")=rs("dlxf_cityurl")
	Application("cityname")=rs("dlxf_cityname")
	Application("citytitle")=rs("dlxf_citytitle")
	Application("description")=rs("dlxf_description")
	Application("keywords")=rs("dlxf_keywords")
	Application("citysypkey")=rs("dlxf_citysypkey")                          
	Application("cityypkey")=rs("dlxf_cityypkey")                            '注册不要后台开通？
	Application("cityvipypkey")=rs("dlxf_cityvipypkey")                      
	Application("cityscakey")=rs("dlxf_cityscakey")                          '发商机后台开通？
	Application("cityscafree")=rs("dlxf_cityscafree")                        '免费商机后台开通？
	Application("citynewskey")=rs("dlxf_citynewskey")                        '动态新闻后台开通？
	Application("cityscayx")=rs("dlxf_cityscayx")                            '免费商机有效期
	Application("cityping")=replace(replace(rs("dlxf_cityping"),"‘","'"),"’","'")  '要屏蔽的字符
	application("citysql")=replace(replace(rs("dlxf_citysql"),"‘","'"),"’","'")
	Application("citypingname")=rs("dlxf_citypingname")                      '禁止注册的用户名
	Application("citydns")=rs("dlxf_citydns")                                '二级域名后缀
	application("cityxxkey")=rs("dlxf_cityxxkey")                            '行业新闻是否确认
	application("cityjobzpkey")=rs("dlxf_cityjobzpkey")                      '企业招聘是否开通
	application("cityjobqzkey")=rs("dlxf_cityjobqzkey")                      '人才添加是否开通
	application("cityfreejob")=rs("dlxf_cityfreejob")                        '免费人才库有效时间
	application("citycpkey")=rs("dlxf_citycpkey")                            '产品是否要后台开通
	application("dnskey")=rs("dlxf_dnskey")                                  '二级域名开关
	application("dnswww")=rs("dlxf_dnswww")                                  'www
	application("flag")=rs("dlxf_flag")
	application("webkey")=rs("dlxf_webkey")                                  '网站开关
	application("dlxf_citysendmail")=rs("dlxf_citysendmail")
	application("dlxf_cityregmail")=rs("dlxf_cityregmail")
	application("dlxf_citypassmail")=rs("dlxf_citypassmail")
	application("citysy")=rs("dlxf_citysy") 
	application("citysydate")=rs("dlxf_citysydate") 
	application("citysyvipdate")=rs("dlxf_citysyvipdate") 
	application("cityuserp")=rs("dlxf_cityuserp")
	application("cityuserpm")=rs("dlxf_cityuserpm")
	application("cityvipp")=rs("dlxf_cityvipp")
	application("cityvippm")=rs("dlxf_cityvippm")
	application("cityjysj")=rs("dlxf_cityjysj")
	application("cityusertk")=rs("dlxf_cityusertk")
	application("cityviptk")=rs("dlxf_cityviptk")
	application("cityeurl")=rs("dlxf_cityeurl")
	application("citymail")=rs("dlxf_citymail")
	application("citysearch")=rs("dlxf_citysearch")
	application("Powered")="<a href=""http://www.asp100.cn/index.html""><font color=""#ff0000"">Powered By ：PowPer 2006</font></a>"
	Application("OKAr")=rs("dlxf_OKAr")
	Application("OKSize")=rs("dlxf_OKSize")          '文件上传
	Application("OKArpic")=rs("dlxf_OKArpic")
	Application("OKSizepic")=rs("dlxf_OKSizepic")    '图片上传
	Application("cityabout")=rs("dlxf_cityabout")
	Application("citycontact")=rs("dlxf_citycontact")
	Application("citybuy")=rs("dlxf_citybuy")
	application("cityadmin")=rs("dlxf_cityadmin")
	application("cityHTML")=rs("dlxf_cityHTML")

end if
rs.close
set rs=nothing
contt.close
set contt=nothing

end if
    citycss=Application("citycss")
    cityurl=Application("cityurl")
    cityname=Application("cityname")
    citytitle=Application("citytitle")
	keywords=Application("keywords")
	description=Application("description")
    citysypkey=Application("citysypkey")
    cityypkey=Application("cityypkey")
    cityvipypkey=Application("cityvipypkey")
    cityscakey=Application("cityscakey")
    cityscafree=Application("cityscafree")
	citynewskey=Application("citynewskey")	
	cityscayx=Application("cityscayx")
	cityxxkey=application("cityxxkey")
	cityping=Application("cityping")
	citypingname=Application("citypingname")
	citydns=Application("citydns")
	cityjobzpkey=application("cityjobzpkey")
	cityjobqzkey=application("cityjobqzkey")
	cityfreejob=application("cityfreejob")
	citycpkey=application("citycpkey")
	dnskey=application("dnskey")
	dnswww=application("dnswww")
	Powered=application("Powered")
	flag=application("flag")
	webkey=application("webkey")
	dlxf_citysendmail=application("dlxf_citysendmail")
	dlxf_cityregmail=application("dlxf_cityregmail")
	dlxf_citypassmail=application("dlxf_citypassmail")
	citysy=application("citysy")
	citysydate=application("citysydate")
	citysyvipdate=application("citysyvipdate")
	cityuserp=application("cityuserp")
	cityuserpm=application("cityuserpm")
	cityvipp=application("cityvipp")
	cityvippm=application("cityvippm")
    cityjysj=application("cityjysj")
	cityeurl=application("cityeurl")
	citymail=application("citymail")
	cityusertk=code_bl(application("cityusertk"))
	cityviptk=code_bl(application("cityviptk"))
    citybottom=code_bl(Application("citybottom"))&"<br>"&Powered
	citysearch=code_bl(application("citysearch"))
	citysql=application("citysql")
	OKAr=split(Application("OKAr"),",")
	OKsize=int(Application("OKSize"))
	OKArpic=split(Application("OKArpic"),",")
	OKsizepic=int(Application("OKsizepic"))
	cityabout=code_bl(Application("cityabout"))
	citycontact=code_bl(Application("citycontact"))
	citybuy=code_bl(Application("citybuy"))
	cityadmin=Application("cityadmin")
	cityHTML=application("cityHTML")
'====================================================
dlxf_citysendmail=split(dlxf_citysendmail,"$")

webkey=split(webkey,"|")
webkey0=webkey(0)
webkey1=webkey(1)
webkey2=webkey(2)  
webkey3=webkey(3)
webkey4=webkey(4)
webkey5=webkey(5)
webkey6=webkey(6)
webkey7=webkey(7)
webkey8=webkey(8)

flag=split(flag,"|")
flag0=flag(0)
flag1=flag(1)
flag2=flag(2)
flag3=flag(3)
flag4=flag(4)
flag5=flag(5)
flag6=flag(6)
flag7=flag(7)
flag8=flag(8)
flag9=flag(9)
flag10=flag(10)
flag11=flag(11)
flag12=flag(12)
flag13=flag(13)
flag14=flag(14)
flag15=flag(15)
flag16=flag(16)
flag17=flag(17)
flag18=flag(18)
flag19=flag(19)
flag20=flag(20)
flag21=flag(21)
flag22=flag(22)
flag23=flag(23)
flag24=flag(24)
flag25=flag(25)
flag26=flag(26)
flag27=flag(27)
flag28=flag(28)
flag29=flag(29)
flag30=flag(30)
flag31=flag(31)
flag32=flag(32)
flag33=flag(33)
flag34=flag(34)
flag35=flag(35)
flag36=flag(36)
flag37=flag(37)
flag38=flag(38)
flag39=flag(39)
flag40=flag(40)
flag41=flag(41)
flag42=flag(42)
flag43=flag(43)
flag44=flag(44)
flag45=flag(45)
flag46=flag(46)
%>