?? index.asp
字號(hào):
<!--#include file="clsThief.asp" -->
<%
dim page,doby,ClassStr
page = request("page")
if page = "" or not isnumeric(page) then
page = 1
Else
page = cint(page)
end If
ClassStr = request("lm")
If ClassStr = "" Then
ClassStr = "ggdp"
End If
Select Case ClassStr
Case "ggdp"
ClassName = "個(gè)股點(diǎn)評(píng)"
Case "sccw"
ClassName = "內(nèi)幕消息"
Case "lcrd"
ClassName = "理財(cái)熱線"
Case "szjq"
ClassName = "實(shí)戰(zhàn)技巧 "
Case "gscp"
ClassName = "股市測(cè)評(píng)"
Case "gscp"
ClassName = "權(quán)證透視"
Case "rdgz"
ClassName = "熱點(diǎn)關(guān)注"
Case "sjtj"
ClassName = "數(shù)據(jù)統(tǒng)計(jì)"
End Select
dim myThief
set myThief=new clsThief
myThief.src="http://www.58188.com/news/newslook.asp?page="&page&"&lm="&ClassStr&""
myThief.steal
myThief.noReturn
myThief.cutBy "<TD height=""84"">","0","</td> </tr></table> <table width=""760"" border=""0"" align=""center"" cellpadding=""0"" cellspacing=""0"">","1"
'myThief.replaceByReg "href=""[^""]*""",""
myThief.Change "newslook.asp?page=","?page="
myThief.Change "../news","shownew.asp?Url="
Body = myThief.value
set myThief=nothing
Function ReplaceHref(str)
Dim objReg, Text, Maths, nn, str1
Text = replace(str,"'","""")
Set objReg = New RegExp
objReg.Pattern = "<href=\.\./news[^>]*>"
objReg.IgnoreCase = True
objReg.Global = True
Set Maths = objReg.Execute(Text)
For Each nn In Maths
If instr(nn,"http://") < 1 Then
nn = Replace(nn,"href=""","")
nn = Replace(nn,"""","")
Text = Replace(Text,nn,"gpshclass.asp?UpUrl="&nn&"")
end If
Next
ReplaceHref = Text
end function
%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>易家網(wǎng)-證券_股票_財(cái)經(jīng)-<%=ClassName%></title>
<link href="/Skin/css.css" rel="stylesheet" type="text/css" />
{$Meta_Keywords}
{$Meta_Description}
<script language="javascript">
function cutstr(str)
{
str = str.substr(0,2);
document.write (str);
}
</script>
</head>
<body>
{$MY_top}
<table width=770 height="26" border=0 align=center cellPadding=0 cellSpacing=0 bgcolor="#F9E8D5">
<tr>
<td width="60"> <a href="/">【<strong>首頁</strong>】</a></td>
<td align="center">【<a href="?lm=ggdp"><strong>個(gè)股點(diǎn)評(píng)</strong></a>】</td>
<td align="center">【<a href="?lm=sccw"><strong>內(nèi)幕消息</strong></a>】</td>
<td align="center">【<a href="?lm=lcrd"><strong>理財(cái)熱線</strong></a>】</td>
<td align="center">【<a href="?lm=gscp"><strong>股市測(cè)評(píng)</strong></a>】</td>
<td align="center">【<a href="?lm=qzts"><strong>權(quán)證透視</strong></a>】</td>
<td align="center">【<a href="?lm=rdgz"><strong>熱點(diǎn)關(guān)注</strong></a>】</td>
<td align="center">【<a href="?lm=sjtj"><strong>數(shù)據(jù)統(tǒng)計(jì)</strong></a>】</td>
<td align="center" bgcolor="#F9E8D5">【<a href="?lm=szjq"><strong>實(shí)戰(zhàn)技巧</strong></a>】</td>
</tr>
</table>
<table style="BORDER-RIGHT: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid" cellSpacing=0 cellPadding=0 width=770 align=center border=0>
<tr>
<td vAlign=top width=200>
<table class=bd2 cellSpacing=0 cellPadding=0 width="94%" align=center border=0>
<tr>
<td>
<table cellSpacing=0 cellPadding=0 width="95%" align=center border=0>
<tr>
<td width=136><IMG height=30 src="http://www.sohv.cn/skin/images/index_08.gif" width=136></td>
<td background=/skin/images/index_09.gif> </td>
<td width=7><IMG height=30 src="http://www.sohv.cn/skin/images/index_11.gif" width=7></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height=100 style="padding:4px; font-size:14px"><!--$最新熱點(diǎn)$-->
<!--#include file="ggdp.asp" --></td>
</tr>
</table>
<table class=bd2 cellSpacing=0 cellPadding=0 width="94%" align=center border=0>
<tr>
<td>
<table cellSpacing=0 cellPadding=0 width="95%" align=center border=0>
<tr>
<td width=160><IMG height=30 src="http://www.sohv.cn/skin/images/首頁2_11-19.gif" width=160></td>
<td background=/skin/images/index_09.gif> </td>
<td width=7><IMG height=30 src="http://www.sohv.cn/skin/images/index_11.gif" width=7></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height=100><!--$最新熱點(diǎn)$-->
<!--{$GetArticleList(1001,6,true,0,0,6,false,false,"",0,3,2,0,0,false,7,false,false,0,false,false,false,false,false,false,1,1,,,)}--></td>
</tr>
</table>
</td>
<td vAlign=top>
<table style="MARGIN-BOTTOM: 4px" cellSpacing=0 cellPadding=0 width="98%" border=0>
<tr>
<td>
<table cellSpacing=0 cellPadding=0 width="100%" border=0>
<tr bgColor=#ffc16f>
<td align=middle width=30 height=26><IMG height=12 src="http://www.sohv.cn/skin/images/index2_44.gif" width=12></td>
<td style="font-size:14px; font-weight:bold;">最新<%=Classname%>信息</td>
<td width="100"><a href="http://www.sohv.cn/user/User_Article.asp?ChannelID=1&Action=Add&comeurl=/user/User_Article.asp?ChannelID=1"></a></td>
<td align=middle width=40><IMG height=18 src="http://www.sohv.cn/skin/images/index_47.gif" width=16></td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="BORDER-TOP: #e37609 3px solid" vAlign=top height=100>
<table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr><td>
<%response.write ReplaceHref(Body)%></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</td>
</tr>
</table>
{$MY_foot}
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -