国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁(yè) > 編程 > ASP > 正文

藍(lán)色空間 天氣小偷

2024-05-04 11:02:59
字體:
來(lái)源:轉(zhuǎn)載
供稿:網(wǎng)友
復(fù)制代碼 代碼如下:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%
'------------------------------
'程序名稱:藍(lán)色空間 天氣小偷
'程序設(shè)計(jì):小馬
'QQ:55100100
'網(wǎng)站:http://www.bluespace.cn(藍(lán)色空間)
'日期:2005-11-15
'------------------------------
Dim strArray(9,2),AreaID
strArray(1,0) = "index.htm"
strArray(1,1) = "華北地區(qū)"
strArray(2,0) = "hd.htm"
strArray(2,1) = "華東地區(qū)"
strArray(3,0) = "hn.htm"
strArray(3,1) = "華南地區(qū)"
strArray(4,0) = "hz.htm"
strArray(4,1) = "華中地區(qū)"
strArray(5,0) = "db.htm"
strArray(5,1) = "東北地區(qū)"
strArray(6,0) = "xb.htm"
strArray(6,1) = "西北地區(qū)"
strArray(7,0) = "xn.htm"
strArray(7,1) = "西南地區(qū)"
strArray(8,0) = "ga.htm"
strArray(8,1) = "港澳臺(tái)地區(qū)"
AreaID = Request.QueryString
If AreaID = "" Then AreaID = 1

Sub GetPage()
    Dim strUrl,strTmp,strTmp1


    strUrl = "http://weather.265.com/"&strArray(AreaID,0)

    strTmp = GetHttpPage(strUrl)

    strTmp1 = strCut(strTmp,"<table width=""750"" border=""0"" cellpadding=""2"" cellspacing=""1"" bgcolor=""4952BC"">","<script language=""javascript"">",2)
    strTmp1 = "<table width=""750"" border=""0"" cellpadding=""2"" cellspacing=""1"" bgcolor=""4952BC"">"&strTmp1
    strTmp1 = Replace(strTmp1,"width=""750""","width='760' align='center'")
    strTmp1 = Replace(strTmp1,"bgcolor=""4952BC""","bgcolor='#cccccc'")
    strTmp1 = Replace(strTmp1,"bgcolor=""#e4f0f8""","bgcolor='#ffffff' onmouseover=""sbar(this)"" onmouseout=""cbar(this)""")
    strTmp1 = "<!--生成時(shí)間:"&Now()&"-->"&vbCrLf&strTmp1

    Response.Write strTmp1
End Sub

Function getHTTPPage(url) 
    On Error Resume Next
    dim http 
    set http=Server.createobject("Microsoft.XMLHTTP") 
    Http.open "GET",url,false 
    Http.send() 
    if Http.readystate<>4 then
        exit function 
    end if 
    getHTTPPage=bytesToBSTR(Http.responseBody,"GB2312")
    set http=nothing
發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 德州市| 金华市| 宿迁市| 思茅市| 友谊县| 福安市| 昌平区| 岐山县| 龙山县| 新津县| 东乡族自治县| 徐汇区| 洪湖市| 平湖市| 通榆县| 西藏| 习水县| 彭泽县| 陇南市| 隆回县| 扬州市| 安康市| 获嘉县| 沈丘县| 江津市| 东乡| 韩城市| 习水县| 师宗县| 神农架林区| 广丰县| 怀远县| 西藏| 许昌市| 伊宁市| 溆浦县| 雷州市| 鄂州市| 高唐县| 义乌市| 霍林郭勒市|