谢谢指点,加了<!--#include file="data.asp"-->没有效果出现的提示和以前一样.
CONST.ASP全码如下:
<!--#include file="ubb.asp"-->
<%If IsObject(contt) = false Then
if Application("citycss")="" or Application("citycss")<>"" then
On Error Resume Next
set contt = Server.CreateObject("ADODB.Connection")
contt.Open conndata
If Err.Number <> 0 Then
Response.write "系统日常维护中!~~"
Response.End()
end if
end if
SMT_citytime="getdate()"
SMT_citydate="date()"
set rs=server.createobject("adodb.recordset")
sql="select * from SMT_config"
rs.open sql,contt,1,1
if not rs.eof then
Application("citybottom")=rs("SMT_citybottom")
Application("citycss")=rs("SMT_citycss")
Application("cityurl")=rs("SMT_cityurl")
Application("cityname")=rs("SMT_cityname")
Application("citytitle")=rs("SMT_citytitle")
Application("citysypkey")=rs("SMT_citysypkey")
Application("cityypkey")=rs("SMT_cityypkey")
'注册不要后台开通?
Application("cityvipypkey")=rs("SMT_cityvipypkey")
Application("cityscakey")=rs("SMT_cityscakey")
'发商机后台开通?
Application("cityscafree")=rs("SMT_cityscafree")
'免费商机后台开通?
Application("citynewskey")=rs("SMT_citynewskey")
'动态新闻后台开通?
Application("cityscayx")=rs("SMT_cityscayx")
'免费商机有效期
Application("cityping")=replace(replace(rs("SMT_cityping"),"‘","'"),"’","'")
'要屏蔽的字符
application("citysql")=replace(replace(rs("SMT_citysql"),"‘","'"),"’","'")
Application("citypingname")=rs("SMT_citypingname")
'禁止注册的用户名
Application("citydns")=rs("SMT_citydns")
'二级域名后缀
application("cityxxkey")=rs("SMT_cityxxkey")
'行业新闻是否确认
application("cityjobzpkey")=rs("SMT_cityjobzpkey")
'企业招聘是否开通
application("cityjobqzkey")=rs("SMT_cityjobqzkey")
'人才添加是否开通
application("cityfreejob")=rs("SMT_cityfreejob")
'免费人才库有效时间
application("citycpkey")=rs("SMT_citycpkey")
'产品是否要后台开通
application("dnskey")=rs("SMT_dnskey")
'二级域名开关
application("dnswww")=rs("SMT_dnswww")
'www
application("flag")=rs("SMT_flag")
application("webkey")=rs("SMT_webkey")
'网站开关
application("citymailsmtp")=rs("SMT_citymailsmtp")
application("citymaillog")=rs("SMT_citymaillog")
application("citymailpass")=rs("SMT_citymailpass")
application("citymaildns")=rs("SMT_citymaildns")
application("citymailkey")=rs("SMT_citymailkey")
application("citysy")=rs("SMT_citysy")
application("citysydate")=rs("SMT_citysydate")
application("citysyvipdate")=rs("SMT_citysyvipdate")
application("cityuserp")=rs("SMT_cityuserp")
application("cityuserpm")=rs("SMT_cityuserpm")
application("cityvipp")=rs("SMT_cityvipp")
application("cityvippm")=rs("SMT_cityvippm")
application("cityjysj")=rs("SMT_cityjysj")
application("cityusertk")=rs("SMT_cityusertk")
application("cityviptk")=rs("SMT_cityviptk")
application("cityeurl")=rs("SMT_cityeurl")
application("citymail")=rs("SMT_citymail")
application("citysearch")=rs("SMT_citysearch")
application("Powered")=rs("SMT_Powered")
Application("OKAr")=rs("SMT_OKAr")
Application("OKSize")=rs("SMT_OKSize")
'文件上传
Application("OKArpic")=rs("SMT_OKArpic")
Application("OKSizepic")=rs("SMT_OKSizepic")
'图片上传
Application("cityabout")=rs("SMT_cityabout")
Application("citycontact")=rs("SMT_citycontact")
Application("citybuy")=rs("SMT_citybuy")
application("cityadmin")=rs("SMT_cityadmin")
application("cityHTML")=rs("SMT_cityHTML")
end if
rs.close
contt.close
set contt=nothing
end if
citycss=Application("citycss")
cityurl=Application("cityurl")
cityname=Application("cityname")
citytitle=Application("citytitle")
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")
citymailsmtp=application("citymailsmtp")
citymaillog=application("citymaillog")
citymailpass=application("citymailpass")
citymaildns=application("citymaildns")
citymailkey=application("citymailkey")
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")
'====================================================
citymailkey=split(citymailkey,",")
citymailkey0=citymailkey(0)
citymailkey1=citymailkey(1)
citymailkey2=citymailkey(2)
citymailkey3=citymailkey(3)
citymailkey4=citymailkey(4)
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)
%>
怎么搞的呢?