<%
'##########################################################
'common\include\web.asp 文件,包含页面的公共处理方法
'##########################################################
'common\include\VOPS\FunctionSkin.asp 文件,,包含页面的皮肤方法
set skin=new FunctionSkin
'##########################################################
'common\include\config.asp 文件
sub doClear()
set ops=new VOPS
'ops 控制着客户端请求和服务器的返回信息;
'该类中定义了下面的几个对象;并为public类型
set db=new VOPSDB
set client=new VOPSClient
set request=new VOPSRequest
set server=new VOPSServer
set time=new VOPSTime
'##########################################################
'common\include\VOPS\libConfig.asp 文件,
set cfg=new libConfig '作用是 读取系统的参数;
set app=new libConfigApp '应用程序对象
'##########################################################
'common\include\VOPS\PublicUser.asp 文件,
set user=new PublicUser
'##########################################################
'common\include\VOPS\FunctionChannel.asp 文件,
set chn=new FunctionChannel
'##########################################################
'common\include\VOPS\FunctionWeb.asp 文件,
set web=new FunctionWeb
'##########################################################
'common\include\VOPS\VOPS.Test.asp 文件,调试程序时使用,可以在页面中输出
set opsTest=new VOPSTest
call doSkinParse("index","")
sub doSkinParse(byval strPage,byval strModule)
dim tmpFormat:tmpFormat=skin.getFormat()
if len(tmpFormat)>0 then
web.setPage(false)
if len(strModule)>0 then
strModule=strModule&("."&tmpFormat)
else
strModule=tmpFormat
end if
end if
call skin.doParseLoad("",strPage,strModule)
call doSkinPage()
call doSkinPages()
call skin.doParseDispose()
call skin.doParseExecute()
end sub
call doWebEnd()
sub doWebEnd()
doPageDestroy() '页面对像消毁
doPageClear() '页面清理
if web.isPage then
'if ops.server.isLocalHost("") then debug opsTest.toTreeString(ops.db.getQuerySQLTree(),"getQuerySQLTree")
end if
call doClear()
end sub