复制代码 代码如下:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%
'------------------------------
'程序名称:蓝色空间 天气小偷
'程序设计:小马
'QQ:55100100
'网站:http://www.bluespace.cn(蓝色空间)
'日期:2005-11-15
'------------------------------
Dim strArray(9,2),AreaID
strArray(1,0) = "index.htm"
strArray(1,1) = "华北地区"
strArray(2,0) = "hd.htm"
strArray(2,1) = "华东地区"
strArray(3,0) = "hn.htm"
strArray(3,1) = "华南地区"
strArray(4,0) = "hz.htm"
strArray(4,1) = "华中地区"
strArray(5,0) = "db.htm"
strArray(5,1) = "东北地区"
strArray(6,0) = "xb.htm"
strArray(6,1) = "西北地区"
strArray(7,0) = "xn.htm"
strArray(7,1) = "西南地区"
strArray(8,0) = "ga.htm"
strArray(8,1) = "港澳台地区"
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 = "<!--生成时间:"&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
If Err.number<>0 then
Response.Write "<p align=center>服务器获取文件内容出错,请稍后再试!!!</p>"
Err.Clear
End If
End function
Function BytesToBstr(body,Cset)
dim objstream
set objstream = Server.CreateObject("adodb.stream")
objstream.Type = 1
objstream.Mode =3
objstream.Open
objstream.Write body
objstream.Position = 0
objstream.Type = 2
objstream.Charset = Cset
BytesToBstr = objstream.ReadText
objstream.Close
set objstream = nothing
End Function
'截取字符串,1.包括起始和终止字符,2.不包括
Function strCut(strContent,StartStr,EndStr,CutType)
Dim strHtml,S1,S2
strHtml = strContent
On Error Resume Next
Select Case CutType
Case 1
S1 = InStr(strHtml,StartStr)
S2 = InStr(S1,strHtml,EndStr)+Len(EndStr)
Case 2
S1 = InStr(strHtml,StartStr)+Len(StartStr)
S2 = InStr(S1,strHtml,EndStr)
End Select
If Err Then
strCute = "<p align='center'>没有找到需要的内容。</p>"
Err.Clear
Exit Function
Else
strCut = Mid(strHtml,S1,S2-S1)
End If
End Function
'----------------------------
'取得当前脚本名称
'----------------------------
Function GetScript()
Dim ScriptAddress
ScriptAddress = CStr(Request.ServerVariables("SCRIPT_NAME"))
GetScript = ScriptAddress
End Function
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> 天气预报 </TITLE>
<meta http-equiv=Content-Type content=text/html; charset=gb2312>
<style>
A:LINK {COLOR: #000000; TEXT-DECORATION: NONE}
A:VISITED {COLOR: #000000; TEXT-DECORATION: NONE}
A:HOVER {COLOR: blue; TEXT-DECORATION: NONE}
body {
margin: 2px;
font-size: 12px;
font-family:宋体, Arial;
}
td {font-size:12px;}
.tb0 {
BORDER-RIGHT: #f1f1f1 1px solid;
PADDING-RIGHT: 6px;
BORDER-TOP: #f1f1f1 1px solid;
PADDING-LEFT: 6px;
BACKGROUND: #f1f1f1;
PADDING-BOTTOM: 2px;
BORDER-LEFT: #f1f1f1 1px solid;
CURSOR: hand;
PADDING-TOP: 2px;
BORDER-BOTTOM: #f1f1f1 1px solid;
}
.tb1 {
BORDER-RIGHT: #999 1px solid;
PADDING-RIGHT: 6px;
BORDER-TOP: #999 1px solid;
PADDING-LEFT: 6px;
BACKGROUND: #ccc;
PADDING-BOTTOM: 2px;
BORDER-LEFT: #999 1px solid;
CURSOR: hand;
PADDING-TOP: 2px;
BORDER-BOTTOM: #999 1px solid;
}
</style>
</HEAD>
<BODY>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td height=3></td></tr>
</table>
<table bgcolor="#f1f1f1" align='center' width="760" cellspacing='1' cellpadding='3' style="border:1 solid #cccccc">
<tr align='center'>
<TD class="tb0" noWrap onmouseleave="mhHover('tb0')" onmouseenter="mhHover('tb1')"><A href="<%=GetScript()%>?1">华北地区</a></td>
<TD class="tbsep">|</TD>
<TD class="tb0" noWrap onmouseleave="mhHover('tb0')" onmouseenter="mhHover('tb1')"><A href="<%=GetScript()%>?2">华东地区</a></td>
<TD class="tbsep">|</TD>
<TD class="tb0" noWrap onmouseleave="mhHover('tb0')" onmouseenter="mhHover('tb1')"><A href="<%=GetScript()%>?3">华南地区</a></td>
<TD class="tbsep">|</TD>
<TD class="tb0" noWrap onmouseleave="mhHover('tb0')" onmouseenter="mhHover('tb1')"><A href="<%=GetScript()%>?4">华中地区</a></td>
<TD class="tbsep">|</TD>
<TD class="tb0" noWrap onmouseleave="mhHover('tb0')" onmouseenter="mhHover('tb1')"><A href="<%=GetScript()%>?5">东北地区</a></td>
<TD class="tbsep">|</TD>
<TD class="tb0" noWrap onmouseleave="mhHover('tb0')" onmouseenter="mhHover('tb1')"><A href="<%=GetScript()%>?6">西北地区</a></td>
<TD class="tbsep">|</TD>
<TD class="tb0" noWrap onmouseleave="mhHover('tb0')" onmouseenter="mhHover('tb1')"><A href="<%=GetScript()%>?7">西南地区</a></td>
<TD class="tbsep">|</TD>
<TD class="tb0" noWrap onmouseleave="mhHover('tb0')" onmouseenter="mhHover('tb1')"><A href="<%=GetScript()%>?8">港澳台地区</a></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td height=3></td></tr>
</table>
<SCRIPT type=text/javascript>
<!--//
function sbar(st) {
st.style.backgroundColor = "#F5F5F5";
}
function cbar(st) {
st.style.backgroundColor = "#ffffff";
}
function mhHover(cls)
{
event.srcElement.className = cls;
}
function mhClick(tbObj, cls)
{
event.srcElement.className = cls;
}
//-->
</SCRIPT>
<%
Call GetPage()
%>
<hr size='1' color='#cccccc' width='770' align='center'>
<div align='center'>Copyright ©2005 <a href='http://www.bluespace.cn' target='_blank'>BlueSpace.CN</a></div>
</BODY>
</HTML>
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%
'------------------------------
'程序名称:蓝色空间 天气小偷
'程序设计:小马
'QQ:55100100
'网站:http://www.bluespace.cn(蓝色空间)
'日期:2005-11-15
'------------------------------
Dim strArray(9,2),AreaID
strArray(1,0) = "index.htm"
strArray(1,1) = "华北地区"
strArray(2,0) = "hd.htm"
strArray(2,1) = "华东地区"
strArray(3,0) = "hn.htm"
strArray(3,1) = "华南地区"
strArray(4,0) = "hz.htm"
strArray(4,1) = "华中地区"
strArray(5,0) = "db.htm"
strArray(5,1) = "东北地区"
strArray(6,0) = "xb.htm"
strArray(6,1) = "西北地区"
strArray(7,0) = "xn.htm"
strArray(7,1) = "西南地区"
strArray(8,0) = "ga.htm"
strArray(8,1) = "港澳台地区"
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 = "<!--生成时间:"&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
If Err.number<>0 then
Response.Write "<p align=center>服务器获取文件内容出错,请稍后再试!!!</p>"
Err.Clear
End If
End function
Function BytesToBstr(body,Cset)
dim objstream
set objstream = Server.CreateObject("adodb.stream")
objstream.Type = 1
objstream.Mode =3
objstream.Open
objstream.Write body
objstream.Position = 0
objstream.Type = 2
objstream.Charset = Cset
BytesToBstr = objstream.ReadText
objstream.Close
set objstream = nothing
End Function
'截取字符串,1.包括起始和终止字符,2.不包括
Function strCut(strContent,StartStr,EndStr,CutType)
Dim strHtml,S1,S2
strHtml = strContent
On Error Resume Next
Select Case CutType
Case 1
S1 = InStr(strHtml,StartStr)
S2 = InStr(S1,strHtml,EndStr)+Len(EndStr)
Case 2
S1 = InStr(strHtml,StartStr)+Len(StartStr)
S2 = InStr(S1,strHtml,EndStr)
End Select
If Err Then
strCute = "<p align='center'>没有找到需要的内容。</p>"
Err.Clear
Exit Function
Else
strCut = Mid(strHtml,S1,S2-S1)
End If
End Function
'----------------------------
'取得当前脚本名称
'----------------------------
Function GetScript()
Dim ScriptAddress
ScriptAddress = CStr(Request.ServerVariables("SCRIPT_NAME"))
GetScript = ScriptAddress
End Function
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> 天气预报 </TITLE>
<meta http-equiv=Content-Type content=text/html; charset=gb2312>
<style>
A:LINK {COLOR: #000000; TEXT-DECORATION: NONE}
A:VISITED {COLOR: #000000; TEXT-DECORATION: NONE}
A:HOVER {COLOR: blue; TEXT-DECORATION: NONE}
body {
margin: 2px;
font-size: 12px;
font-family:宋体, Arial;
}
td {font-size:12px;}
.tb0 {
BORDER-RIGHT: #f1f1f1 1px solid;
PADDING-RIGHT: 6px;
BORDER-TOP: #f1f1f1 1px solid;
PADDING-LEFT: 6px;
BACKGROUND: #f1f1f1;
PADDING-BOTTOM: 2px;
BORDER-LEFT: #f1f1f1 1px solid;
CURSOR: hand;
PADDING-TOP: 2px;
BORDER-BOTTOM: #f1f1f1 1px solid;
}
.tb1 {
BORDER-RIGHT: #999 1px solid;
PADDING-RIGHT: 6px;
BORDER-TOP: #999 1px solid;
PADDING-LEFT: 6px;
BACKGROUND: #ccc;
PADDING-BOTTOM: 2px;
BORDER-LEFT: #999 1px solid;
CURSOR: hand;
PADDING-TOP: 2px;
BORDER-BOTTOM: #999 1px solid;
}
</style>
</HEAD>
<BODY>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td height=3></td></tr>
</table>
<table bgcolor="#f1f1f1" align='center' width="760" cellspacing='1' cellpadding='3' style="border:1 solid #cccccc">
<tr align='center'>
<TD class="tb0" noWrap onmouseleave="mhHover('tb0')" onmouseenter="mhHover('tb1')"><A href="<%=GetScript()%>?1">华北地区</a></td>
<TD class="tbsep">|</TD>
<TD class="tb0" noWrap onmouseleave="mhHover('tb0')" onmouseenter="mhHover('tb1')"><A href="<%=GetScript()%>?2">华东地区</a></td>
<TD class="tbsep">|</TD>
<TD class="tb0" noWrap onmouseleave="mhHover('tb0')" onmouseenter="mhHover('tb1')"><A href="<%=GetScript()%>?3">华南地区</a></td>
<TD class="tbsep">|</TD>
<TD class="tb0" noWrap onmouseleave="mhHover('tb0')" onmouseenter="mhHover('tb1')"><A href="<%=GetScript()%>?4">华中地区</a></td>
<TD class="tbsep">|</TD>
<TD class="tb0" noWrap onmouseleave="mhHover('tb0')" onmouseenter="mhHover('tb1')"><A href="<%=GetScript()%>?5">东北地区</a></td>
<TD class="tbsep">|</TD>
<TD class="tb0" noWrap onmouseleave="mhHover('tb0')" onmouseenter="mhHover('tb1')"><A href="<%=GetScript()%>?6">西北地区</a></td>
<TD class="tbsep">|</TD>
<TD class="tb0" noWrap onmouseleave="mhHover('tb0')" onmouseenter="mhHover('tb1')"><A href="<%=GetScript()%>?7">西南地区</a></td>
<TD class="tbsep">|</TD>
<TD class="tb0" noWrap onmouseleave="mhHover('tb0')" onmouseenter="mhHover('tb1')"><A href="<%=GetScript()%>?8">港澳台地区</a></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td height=3></td></tr>
</table>
<SCRIPT type=text/javascript>
<!--//
function sbar(st) {
st.style.backgroundColor = "#F5F5F5";
}
function cbar(st) {
st.style.backgroundColor = "#ffffff";
}
function mhHover(cls)
{
event.srcElement.className = cls;
}
function mhClick(tbObj, cls)
{
event.srcElement.className = cls;
}
//-->
</SCRIPT>
<%
Call GetPage()
%>
<hr size='1' color='#cccccc' width='770' align='center'>
<div align='center'>Copyright ©2005 <a href='http://www.bluespace.cn' target='_blank'>BlueSpace.CN</a></div>
</BODY>
</HTML>
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
暂无评论...
RTX 5090要首发 性能要翻倍!三星展示GDDR7显存
三星在GTC上展示了专为下一代游戏GPU设计的GDDR7内存。
首次推出的GDDR7内存模块密度为16GB,每个模块容量为2GB。其速度预设为32 Gbps(PAM3),但也可以降至28 Gbps,以提高产量和初始阶段的整体性能和成本效益。
据三星表示,GDDR7内存的能效将提高20%,同时工作电压仅为1.1V,低于标准的1.2V。通过采用更新的封装材料和优化的电路设计,使得在高速运行时的发热量降低,GDDR7的热阻比GDDR6降低了70%。
更新日志
2024年11月23日
2024年11月23日
- 凤飞飞《我们的主题曲》飞跃制作[正版原抓WAV+CUE]
- 刘嘉亮《亮情歌2》[WAV+CUE][1G]
- 红馆40·谭咏麟《歌者恋歌浓情30年演唱会》3CD[低速原抓WAV+CUE][1.8G]
- 刘纬武《睡眠宝宝竖琴童谣 吉卜力工作室 白噪音安抚》[320K/MP3][193.25MB]
- 【轻音乐】曼托凡尼乐团《精选辑》2CD.1998[FLAC+CUE整轨]
- 邝美云《心中有爱》1989年香港DMIJP版1MTO东芝首版[WAV+CUE]
- 群星《情叹-发烧女声DSD》天籁女声发烧碟[WAV+CUE]
- 刘纬武《睡眠宝宝竖琴童谣 吉卜力工作室 白噪音安抚》[FLAC/分轨][748.03MB]
- 理想混蛋《Origin Sessions》[320K/MP3][37.47MB]
- 公馆青少年《我其实一点都不酷》[320K/MP3][78.78MB]
- 群星《情叹-发烧男声DSD》最值得珍藏的完美男声[WAV+CUE]
- 群星《国韵飘香·贵妃醉酒HQCD黑胶王》2CD[WAV]
- 卫兰《DAUGHTER》【低速原抓WAV+CUE】
- 公馆青少年《我其实一点都不酷》[FLAC/分轨][398.22MB]
- ZWEI《迟暮的花 (Explicit)》[320K/MP3][57.16MB]