<%
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"))
%>
忍者必须死34399账号登录版 最新版v1.0.138v2.0.72
下载勇者秘境oppo版 安卓版v1.0.5
下载忍者必须死3一加版 最新版v1.0.138v2.0.72
下载绝世仙王官方正版 最新安卓版v1.0.49
下载Goat Simulator 3手机版 安卓版v1.0.8.2
Goat Simulator 3手机版是一个非常有趣的模拟游
Goat Simulator 3国际服 安卓版v1.0.8.2
Goat Simulator 3国际版是一个非常有趣的山羊模
烟花燃放模拟器中文版 2025最新版v1.0
烟花燃放模拟器是款仿真的烟花绽放模拟器类型单机小游戏,全方位
我的世界动漫世界 手机版v友y整合
我的世界动漫世界模组整合包是一款加入了动漫元素的素材整合包,
我的世界贝爷生存整合包 最新版v隔壁老王
我的世界MITE贝爷生存整合包是一款根据原版MC制作的魔改整