<%
'首页基本信息内容读取替换
set rs=server.createobject("adodb.recordset")
sql="select * from web_settings"
rs.open(sql),cn,1,1
if not rs.eof and not rs.bof then
web_name=rs("web_name")
web_url=rs("web_url")
web_image=rs("web_image")
web_title=rs("web_title")
web_keywords=rs("web_keywords")
web_description=rs("web_description")
web_theme=rs("web_theme")
web_consult=rs("web_contact")
web_TopHTML=rs("web_TopHTML")
web_BottomHTML=rs("web_copyright")
web_tel=rs("web_tel")
end if
rs.close
set rs=nothing
%>
<%
'取当前跳转路径
set rs_1=server.createobject("adodb.recordset")
sql="select [folder] from [category] where [id]="&ClassID&""
rs_1.open(sql),cn,1,1
if not rs_1.eof and rs_1("folder")<>"" then
current_FolderName=rs_1("folder")
current_ClassId = rs_1("pid")
end if
rs_1.close
set rs_1=nothing
%>