<%
dim childType,Curl,childName,childUrl,localPath
childType = request.QueryString("childType")
select case childType
case "0"
Curl="http://www.111com.net /default.asp"
childName = "网站首页"
childUrl = "/index.html"
localPath = ""
case "1"
Curl="http://www.111cn.ne t/news/index.asp"
childName = "新闻中心首页"
childUrl = "/news/index.html"
localPath = "/news"
case "2"
Curl="http://www.111com.net /newhouse/index.asp"
childName = "新房网首页"
childUrl = "/newhouse/index.html"
localPath = "/newhouse"
case "3"
Curl="http://www.111com.net /home/index.asp"
childName = "家居网首页"
childUrl = "/home/index.html"
localPath = "/home"
case "4"
Curl="http://www.111com.net /hirehouses/index.asp"
childName = "租售网首页"
childUrl = "/oldhouse/index.html"
localPath = "/oldhouse"
case else
end select
Function FSOchange(filename,Target)
Dim objFSO,objCountFile,FiletempData,HtmlOut
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
Set objCountFile = objFSO.OpenTextFile(Server.MapPath(filename),1,True)
FiletempData = objCountFile.ReadAll
objCountFile.Close
Set HtmlOut = objFSO.CreateTextFile (server.MapPath(Target))
HtmlOut.WriteLine FiletempData
HtmlOut.close
Set objFSO = Nothing
End Function
Dim fn,DoUrl,ObjXmlHttp,BinFileData,ObjAdoStream,filepath
filepath = localPath & "/index_.html"
fn = server.MapPath(filepath)
DoUrl = Curl
'Dourl = Request("Url")
set ObjXmlHttp = Server.CreateObject("MSXML2.serverXMLHTTP")
ObjXmlHttp.open "GET",DoUrl,false
ObjXmlHttp.send()
BinFileData = objXmlHttp.responseBody
set ObjAdoStream = Server.CreateObject("ADODB.Stream")
ObjAdoStream.Type = 1
ObjAdoStream.Open()
ObjAdoStream.Write(BinFileData)
ObjAdoStream.SaveToFile fn,2
ObjAdoStream.Close()
set ObjAdoStream = nothing
set objxmlhttp = nothing
call FSOchange(localPath & "/index_.html",localPath & "/index.html")
'使用FSO读取文件内容的函数
Function FSOFileRead(filename)
Dim objFSO,objCountFile,FiletempData
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
Set objCountFile = objFSO.OpenTextFile(Server.MapPath(filename),1,True)
FSOFileRead = objCountFile.ReadAll
objCountFile.Close
Set objCountFile=Nothing
Set objFSO = Nothing
End Function
call Lib.tipText(0,"静态页面 " & childName & " 生成完毕 " & Now() & "")
response.Redirect(request.ServerVariables("HTTP_REFERER"))
%>
敢达决战官方正版 安卓版v6.7.9
下载敢达决战 安卓版v6.7.9
下载像素火影骨架佐助 (Perseverance Fire Shadow)手机版v1.16
下载要塞英雄 安卓版v33.20.0-39082670-Android
下载梦想城镇vivo最新版本 安卓版v12.0.1
梦想城镇vivo版是这款卡通风模拟经营类手游的渠道服版本,玩
怦然心动的瞬间 安卓版v1.0
怦然心动的瞬间是一款真人向的恋爱互动游戏,在游戏中玩家将扮演
曼尼汉堡店游戏 安卓版v1.0.3
曼尼汉堡店是一款非常好玩的精品恐怖类型冒险游戏,在这款游戏中
现代总统模拟器去广告版 安卓版v1.0.46
现代总统模拟器是一款休闲养成类游戏,可能对于不少的玩家来说都
现代总统模拟器付费完整版 安卓版v1.0.46
现代总统模拟器高级版在商店是需要付费的,相对于普通版本,高级