当前位置: 移动技术网 > IT编程>开发语言>Asp > [asp]阿里西西的alexa采集效果代码

[asp]阿里西西的alexa采集效果代码

2017年12月12日  | 移动技术网IT编程  | 我要评论
我想这个系统现在在网上或源码站几乎是没有可用的程序。 提供下载的都是以前的老版本,alexa官方在他们的页面做了混淆代码防采集后,那些以前的alexa排名查询系统都已经无法再使用了。 网上除了一些知名(有钱的主)能提供(通过收费接口)的排名查询和我看到的webmasterhome.cn免费接口的查询功能系统外,个人站长基本没几个再能提供alexa排名查询服务。

       开源发布的这个版本经过我一段时间的使用和完善,已经做到无错,速度相对也比较快。为了这个系统,也曾有黑客威胁过自己,并招来两天猛烈的ddos攻击。

<%

dim domain,url,url1,strpage,strpage1
dim xmldom,sd,site,dimg
domain = request.querystring("url")
if domain = "" then domain = "jb51.net"
if not iswww(domain) then
response.write "<script>alert('您输入的网址无效,请重新输入!')</script>"
domain = "jb51.net"
end if
host = "jb51.net"
if left(domain,7)="http://" then
    domain=right(domain,len(domain)-7)
end if
if instr(domain,"/")<>0 then
    domain=left(domain,instr(domain,"/")-1)
end if
on error resume next
function iswww(strng)
    iswww = false
    dim regex, match
    set regex = new regexp
    regex.pattern = "^\w+((-\w+)|(\.\w+))*[a-za-z0-9]+((\.|-)[a-za-z0-9]+)*\.[a-za-z]+$" 
    regex.ignorecase = true
    set match = regex.execute(strng)
    if match.count then iswww= true
end function

function getpage(path)
        t = getbody(path)
        getpage=bytestobstr(t,"utf-8")
end function

function getpage2(path)
        t = getbody(path)
        getpage2=bytestobstr(t,"gb2312")
end function

function getbody(url) 
        on error resume next
        set retrieval = createobject("microsoft.xmlhttp") 
        with retrieval 
        .open "get", url, false, "", "" 
        .send 
        getbody = .responsebody
        end with 
        set retrieval = nothing 
end function

function fget(str)
select case trim(str)
    case ""
    fget = "--"
    case else
    fget = str
end select
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

function fixstr(byval str, byval start, byval last, byval n)
dim strtemp
on error resume next
if instr(str, start) > 0 then
select case n
case 0
strtemp = right(str, len(str) - instr(str, start) - len(start) + 1)
strtemp = left(strtemp, instr(strtemp, last) - 1)
case else
strtemp = right(str, len(str) - instr(str, start) + 1)
strtemp = left(strtemp, instr(strtemp, last) + len(last) - 1)
end select
else
strtemp = ""
end if
fixstr = strtemp
end function
function comma(str) 
if not(isnumeric(str)) or str = 0 then 
result = 0 
elseif len(fix(str)) < 4 then 
result = str 
else 
pos = instr(1,str,".") 
if pos > 0 then 
dec = mid(str,pos) 
end if 
res = strreverse(fix(str)) 
loopcount = 1 
while loopcount <= len(res) 



tempresult = tempresult + mid(res,loopcount,3) 
loopcount = loopcount + 3 
if loopcount <= len(res) then 
tempresult = tempresult + "," 
end if 
wend 
result = strreverse(tempresult) + dec 
end if 
comma = result 
end function 

function lens(txt, length)
        dim x, y, ii
        txt = trim(txt)
        x = len(txt)
        y = 0
        if x >= 1 then
            for ii = 1 to x
                if asc(mid(txt, ii, 1)) < 0 or asc(mid(txt, ii, 1)) > 255 then
                    y = y + 2
                else
                    y = y + 1
                end if
                if y >= length then
                    txt = left(trim(txt), ii-3) & "..."
                    exit for
                end if
            next
            lens = txt
        else
            lens = ""
        end if
end function


url = "http://data.alexa.com/data/?cli=10&dat=snba&ver=7.0&url="&domain
strpage = getpage(url)
set xmldom=server.createobject("msxml2.domdocument")   
xmldom.loadxml(strpage)
set sd = xmldom.documentelement.selectsinglenode("sd")
set site = xmldom.documentelement.selectsinglenode("dmoz")
dim addr
dim created
dim phone
dim owner
dim email
dim lang
dim linksin
dim speed
dim popularity
dim rank
dim child
dim reach
set addr = sd.selectsinglenode("addr")
set created = sd.selectsinglenode("created")
set phone = sd.selectsinglenode("phone")
set owner = sd.selectsinglenode("owner")
set email = sd.selectsinglenode("email")
set lang = sd.selectsinglenode("lang")
set linksin = sd.selectsinglenode("linksin")
set speed = sd.selectsinglenode("speed")
set popularity = sd.selectsinglenode("popularity")
set rank = sd.selectsinglenode("rank")
set child = sd.selectsinglenode("child")
set reach = sd.selectsinglenode("reach")

dim siteinfo
dim cats
dim sitetitle
dim    sitedesc
dim cat
set siteinfo = site.selectsinglenode("site")
set cats = siteinfo.selectsinglenode("cats").selectsinglenode("cat")
sitetitle = siteinfo.attributes(1).value
sitedesc = siteinfo.attributes(2).value
cat = cats.attributes(1).value

dim country
dim zip
dim state
dim city
dim street
street = addr.attributes(0).value
city = addr.attributes(1).value
zip = addr.attributes(2).value
state = addr.attributes(3).value
country = addr.attributes(4).value

dim    xdate
dim    xphone
dim    xowner
dim    xemail
dim    xlex
dim    xcode
dim    xlinksin
dim    xspeed
dim    xpct
dim    xpopularity
dim    xrank
dim    xchild
dim    xreach        
xdate = created.attributes(0).value
xphone = phone.attributes(0).value
xowner = owner.attributes(0).value
xemail     = email.attributes(0).value
xlex     = lang.attributes(0).value
xcode = lang.attributes(1).value
xlinksin = linksin.attributes(0).value
xspeed     = speed.attributes(0).value
xpct     = speed.attributes(1).value
xpopularity = popularity.attributes(1).value
xpopularity = comma(xpopularity)
xrank = rank.attributes(0).value
if instr(xrank,"-")>0 then
dimg = "<img src=""skin/up_arrow.gif"" align=absmiddle width=18 height=16 />"
else
dimg = "<img src=""skin/down_arrow.gif"" align=absmiddle width=18 height=16 />"
end if
xrank = replace(xrank,"+","")
xrank = replace(xrank,"-","")
xrank = comma(xrank)

xchild = child.attributes(0).value
xreach = reach.attributes(0).value        

public function removehtml(byval strcontent)
    dim objreg ,strtmp
    if strcontent="" or isnull(strcontent) then exit function

    set objreg=new regexp
    objreg.ignorecase =true
    objreg.global=true
    objreg.pattern="<(.[^>]*)>"
    strtmp=objreg.replace(strcontent, "")
    set objreg=nothing
    removehtml=strtmp
    strtmp=""
end function

dim sitepic
dim pm6,pm3,pm1,pday15,pday7
dim tmp1
dim t_arr
dim t_day,t_wk1,t_m3,t_m3_change

pm6 = "http://traffic.alexa.com/graph?w=700&h=280&r=6m&y=t&u="&domain
pm3 = "http://traffic.alexa.com/graph?w=700&h=280&r=3m&y=t&u="&domain
pm1 = "http://traffic.alexa.com/graph?w=700&h=280&r=1m&y=t&u="&domain
pday15 = "http://traffic.alexa.com/graph?w=700&h=280&r=15.0m&y=t&u="&domain
pday7 = "http://traffic.alexa.com/graph?w=700&h=280&r=7.0m&y=t&u="&domain

set tnames = request.cookies("dnames")
if isnull(tnames) or len(trim(tnames))=0 then
    tnames = domain&"|"
else
    if instr(tnames,domain)>0 then
        names = replace(tnames,domain&"|","")
    else
        tnames = domain&"|"&tnames
    end if
end if

ttnames = split(tnames,"|")
tmpncontent = ""

if ubound(ttnames)>5 then
    for tat=0 to 4
        tmpncontent = tmpncontent&ttnames(tat)&"|"
    next
else
    tmpncontent=tnames
end if

response.cookies("dnames") = trim(tmpncontent)
response.cookies("dnames").expires = now()+1

%>

<html>
<head>
<title>移动技术网alexa查询系统,alexa排名查询,alexa网站排名查询,全球alexa排名查询,alexa世界排名查询,alexa排名,alexa工具条,alexa traffic rank,<%=sitetitle%>,<%=domain%>的alexa排名查询</title>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<meta http-equiv="content-language" content="gb2312">
<meta http-equiv="keywords" content="移动技术网alexa排名查询,alexa作弊,alexa排名,alexa查询,alexa信息,排名,流量,访问量,页面浏览量,搜索引擎,<%=sitetitle%>的alexa排名信息,<%=domain%>">
<meta name="description" content="www.alixixi.com,移动技术网alexa查询,alexa排名,alexa排名查询,alexa世界排名查询,alexa 网站排名查询,alexa网站排名,全球alexa排名查询,alexa排名查询,网站alexa排名查询,alexa工具条,alexa中文排名查询,alexa traffic rank,alexa查询,alexa排名" />
<link href="skin/style.css" rel="stylesheet" type="text/css" />
<script language=javascript src="js/scroll.js"></script>
</head>
<body>

<div id=lovexin1 class="body" style='z-index: 10; left: 6px; position: absolute; top: 117px; width: 108;'><div style="background:#e8f5fe;height:18px;font-size:12px;font-weight:bold;" onclick='javascript:window.hide()'>最近查询记录</div>
<div><ul>    <%
        set fso = createobject("scripting.filesystemobject")
      set f = fso.opentextfile( server.mappath("cache.asp"), 1, true)
      if f.atendofstream=false then
          content = f.readline()
      end if
      f.close
      if fso.fileexists(server.mappath("cache.asp"))=true then
          fso.deletefile(server.mappath("cache.asp"))
      end if
      set f = fso.opentextfile( server.mappath("cache.asp"), 8, true)
      if isnull(content) or len(trim(content))=0 then
          content = domain&"|"
      else
          if instr(content,domain)>0 then
              set content = replace(content,domain&"|","")
          else
              content = domain&"|"&content
          end if
      end if
      names = split(content,"|")
      tmpcontent = ""
      for tt=0 to ubound(names)-1
      if tt<15 then
          tmpcontent = tmpcontent&names(tt)&"|"
      end if
      %>
      <li><a href="index.asp?url=<%=names(tt)%>" title="www.<%=names(tt)%>"><%=names(tt)%></a></li>
      <%
        next
        f.write(trim(tmpcontent))
        f.close
        set f = nothing
    %>    
</ul></div>
</div>
<div id=lovexin2 class="body" style='z-index: 10; left: 888px; position: absolute; top: 117px; width: 108;'><div style="background:#e8f5fe;height:18px;font-size:12px;font-weight:bold;" onclick='javascript:window.hide()'>您关注的站点</div>
<div>
<ul>
<%
        for ttt=0 to ubound(ttnames)-1
        %>
        <li><a href="index.asp?url=<%=ttnames(ttt)%>" title="www.<%=ttnames(ttt)%>"><%=ttnames(ttt)%></a></li>
        <%
        next
%>

</ul>
</div>
</div>
<div class="body" style="padding:5px;margin-top:8px;background-color:#e8f5fe;">
  <form action="" method="get" style="padding:0;margin:0;">
    alexa排名查询的网址:http://
    <input name="url" type="text" style="width:300px" value="<%=domain%>">
    <input type="submit" value="查 询"> 
  </form>
</div>

<div class="th">网站 <%=domain%> 的alexa排名综合信息</div>
<div class="body" style="padding-top:10px;height:190px;">
  <div style="float:left;width:230;text-align:center;">
    <!--google ads-->

    <div style="margin-top:8px;">
    <a href="http://thumbnails.alexa.com/update_thumbnail?url=<%=domain%>" target="_blank">更新缩略图</a> | <a href="http://www.alexa.com/data/details/contact_info?url=<%=domain%>" target="_blank">修改信息</a> | <a href="http://www.alexa.com/data/details/editor?type=rl&url=<%=domain%>" target="_blank">提交链接</a></div>
    <!--google ads-->
  </div>
  <div style="float:right;width:520;text-align:left;">
    <div id="siteinfo">
      <table width="100%" cellpadding="1" cellspacing="1">
        <tr>
          <td width="85" align="right" nowrap bgcolor="#f3f8fc">站点名称:</td>
          <td width="178" title="<%=sitetitle%>"><a href="http://<%=domain%>" target=_blank><%=sitetitle%></a></td>
          <td width="79" align="right" nowrap bgcolor="#f3f8fc">网站域名:</td>
          <td width="163" title="<%=domain%>"><strong><%=domain%></strong></td>
        </tr>
        <tr>
          <td align="right" nowrap bgcolor="#f3f8fc" title="alexa综合排名">综合排名:</td>
          <td title="<%=xpopularity%>"><a title="查看alexa官方信息" href="http://www.alexa.com/data/details/traffic_details?q=&url=<%=domain%>" target="_blank"><%=fget(xpopularity)%></a></td>
          <td align="right" nowrap bgcolor="#f3f8fc" title="三个月的排名变化趋势">排名变化:</td>
          <td id="nextrank" title="三个月的排名变化趋势"><%=dimg&fget(xrank)%></td>
        </tr>
        <tr>
          <td align="right" nowrap bgcolor="#f3f8fc">所属国家:</td>
          <td title="<%=country%>"><%=fget(country)%></td>
          <td align="right" nowrap bgcolor="#f3f8fc">编码方式:</td>
          <td title="<%=xcode%>"><%=fget(xcode)%></td>
        </tr>
        <tr>
          <td align="right" nowrap bgcolor="#f3f8fc">网站站长:</td>
          <td title="<%=xowner%>"><%=fget(xowner)%></td>
          <td align="right" nowrap bgcolor="#f3f8fc">电子信箱:</td>
          <td title="<%=xemail%>"><%=fget(xemail)%></td>
        </tr>
        <tr>
          <td align="right" nowrap bgcolor="#f3f8fc">访问速度:</td>
          <td nowrap title="<%=xspeed%>ms/<%=xpct%>分"><%=fget(xspeed)%>ms/<%=fget(xpct)%>分</td>
          <td align="right" nowrap bgcolor="#f3f8fc">反向链接:</td>
          <td nowrap title="<%=xlinksin%>"><a href="http://www.alexa.com/data/ds/linksin?q=link:<%=domain%>/&url=<%=domain%>" target="_blank"><%=fget(xlinksin)%></a> 个</td>
        </tr>
        <tr>
          <td align="right" nowrap bgcolor="#f3f8fc">收录日期:</td>
          <td nowrap title="<%=xdate%>"><%=fget(xdate)%></td>
          <td align="right" nowrap bgcolor="#f3f8fc">联系电话:</td>
          <td title="<%=xphone%>" nowrap><%=fget(xphone)%></td>
        </tr>
        <tr>
          <td align="right" nowrap bgcolor="#f3f8fc">详细地址:</td>
          <td title="<%=street%> <%=city%>" colspan="3"><%=fget(lens(street&city,65))%></td>
        </tr>
        <tr>
          <td align="right" nowrap bgcolor="#f3f8fc">网站简介:</td>
          <td title="<%=sitedesc%>" colspan="3"><%=fget(lens(sitedesc,69))%></td>
        </tr>
        <tr>
          <td align="right" nowrap bgcolor="#f3f8fc">所属目录:</td>
          <td title="<%=cat%>" colspan="3"><%=fget(cat)%></td>
        </tr>
      </table><font color=red>站长推荐:<script type="text/javascript"><!--
google_ad_client = "pub-6261914751398528";
google_ad_output = "textlink";
google_ad_format = "ref_text";
google_cpa_choice = "caaqyam1_weacdco8pxfldjwkj2r4ycbmaa";
google_ad_channel = "4401526228";
//-->
</script>
<script type="text/javascript" src="http:///pagead/show_ads.js">
</script></font></a>
    </div>
  </div>
</div>
<div class="th">站点 <%=sitetitle%> 的 alexa 排名查询结果</div>
<div class="body1">
  <div class="x bg2">流量排名数据信息:traffic rank for <%=domain%></div>
  <div class="mainbar">
    <div class="title" style="width:150px">昨日排名</div>
    <div class="title" style="width:152px">一周平均</div>
    <div class="title" style="width:152px">三月平均</div>
    <div class="title" style="width:152px">三月变化趋势</div>
    <div class="title2" style="width:152px">综合排名变化</div>
  </div>
  <div class="mainbar2">
    <div id="ranktoday" class="title" style="width:150px"><img src="skin/loading.gif" width="16" height="16" border="0"></div>
    <div id="rankwkavg" class="title" style="width:152px"><img src="skin/loading.gif" width="16" height="16" border="0"></div>
    <div id="rankmosavg" class="title" style="width:152px"><img src="skin/loading.gif" width="16" height="16" border="0"></div>
    <div id="allrank" class="title" style="width:152px"><img src="skin/loading.gif" width="16" height="16" border="0"></div>
    <div id="rankmoschange" class="title2" style="width:150px"><%=dimg&fget(xrank)%></div>
  </div>


  <div class="x bg2">每百万人中访问数:reach for <%=domain%></div>
  <div class="mainbar">
    <div class="title" style="width:150px">昨日数据</div>
    <div class="title" style="width:152px">一周平均</div>
    <div class="title" style="width:152px">三月平均</div>
    <div class="title" style="width:152px">三月变化趋势</div>
    <div class="title2" style="width:152px">综合排名变化</div>
  </div>
  <div class="mainbar2">
    <div id="reachtoday" class="title" style="width:150px"><img src="skin/loading.gif" width="16" height="16" border="0"></div>
    <div id="reachwkavg" class="title" style="width:152px"><img src="skin/loading.gif" width="16" height="16" border="0"></div>
    <div id="reachmosavg" class="title" style="width:152px"><img src="skin/loading.gif" width="16" height="16" border="0"></div>
    <div id="reachmoschange" class="title" style="width:152px"><img src="skin/loading.gif" width="16" height="16" border="0"></div>
    <div id="reachallchange" class="title2" style="width:150px"><img src="skin/loading.gif" width="16" height="16" border="0"></div>
  </div>

  <div class="x bg2">每访问者浏览页数:page views per user for <%=domain%></div>
  <div class="mainbar">
    <div class="title" style="width:150px">昨日数据</div>
    <div class="title" style="width:152px">一周平均</div>
    <div class="title" style="width:152px">三月平均</div>
    <div class="title" style="width:152px">三月变化趋势</div>
    <div class="title2" style="width:152px">综合排名变化</div>
  </div>
  <div class="mainbar2">
    <div id="viewstoday" class="title" style="width:150px"><img src="skin/loading.gif" width="16" height="16" border="0"></div>
    <div id="viewswkavg" class="title" style="width:152px"><img src="skin/loading.gif" width="16" height="16" border="0"></div>
    <div id="viewsmosavg" class="title" style="width:152px"><img src="skin/loading.gif" width="16" height="16" border="0"></div>
    <div id="viewsmoschange" class="title" style="width:152px"><img src="skin/loading.gif" width="16" height="16" border="0"></div>
    <div id="viewsallchange" class="title2" style="width:150px"><img src="skin/loading.gif" width="16" height="16" border="0"></div>
  </div>

</div>

<div class="th"> <%=sitetitle%> 其它相关alexa排名的信息统计</div>
<div class="body1">
  <div class="x bg2"> <%=sitetitle%> 下属站点被访问比例</div>
  <div class="mainbar">
    <div class="title" style="width:374px">子域名</div>
    <div class="title2" style="width:374px">访问比例</div>
  </div>
  <span id="more"><img src="skin/loading.gif" width="16" height="16" border="0"></span>
</div>

<div class="th">网站日平均排名走势图 [点击时间段查看相应时段曲线]</div>
<div class="mainbar">
  <div class="title" style="width:150px"><a style="cursor: hand" onclick="document.all.rank1.style.display='';document.all.rank2.style.display='none';document.all.rank3.style.display='none';document.all.rank4.style.display='none';document.all.rank5.style.display='none';">六个月数据</a></div>
  <div class="title" style="width:152px"><a style="cursor: hand" onclick="document.all.rank1.style.display='none';document.all.rank2.style.display='';document.all.rank3.style.display='none';document.all.rank4.style.display='none';document.all.rank5.style.display='none';">三个月数据</a></div>
  <div class="title" style="width:152px"><a style="cursor: hand" onclick="document.all.rank1.style.display='none';document.all.rank2.style.display='none';document.all.rank3.style.display='';document.all.rank4.style.display='none';document.all.rank5.style.display='none';">一个月数据</a></div>
  <div class="title" style="width:152px"><a style="cursor: hand" onclick="document.all.rank1.style.display='none';document.all.rank2.style.display='none';document.all.rank3.style.display='none';document.all.rank4.style.display='';document.all.rank5.style.display='none';">半个月数据</a></div>
  <div class="title2" style="width:150px"><a style="cursor: hand" onclick="document.all.rank1.style.display='none';document.all.rank2.style.display='none';document.all.rank3.style.display='none';document.all.rank4.style.display='none';document.all.rank5.style.display='';">一星期数据</a></div>
</div>
<div class="mainbar2" style="padding:10 0 10 0;height:300px">
  <div id=rank1><img src="http://traffic.alexa.com/graph?w=750&h=280&r=6m&y=t&u=<%=domain%>"></div>
  <div id=rank2 style="display: none"><img src="http://traffic.alexa.com/graph?w=750&h=280&r=3m&y=t&u=<%=domain%>"></div>
  <div id=rank3 style="display: none"><img src="http://traffic.alexa.com/graph?w=750&h=280&r=1m&y=t&u=<%=domain%>"></div>
  <div id=rank4 style="display: none"><img src="http://traffic.alexa.com/graph?w=750&h=280&r=15.0m&y=t&u=<%=domain%>"></div>
  <div id=rank5 style="display: none"><img src="http://traffic.alexa.com/graph?w=750&h=280&r=7.0&y=t&u=<%=domain%>"></div>
</div>
<div class="th">日平均访问人数走势图 [点击时间段查看相应时段曲线]</div>
<div class="mainbar">
  <div class="title" style="width:150px"><a style="cursor: hand" onclick="document.all.reachs1.style.display='';document.all.reachs2.style.display='none';document.all.reachs3.style.display='none';document.all.reachs4.style.display='none';document.all.reachs5.style.display='none';">六个月数据</a></div>
  <div class="title" style="width:152px"><a style="cursor: hand" onclick="document.all.reachs1.style.display='none';document.all.reachs2.style.display='';document.all.reachs3.style.display='none';document.all.reachs4.style.display='none';document.all.reachs5.style.display='none';">三个月数据</a></div>
  <div class="title" style="width:152px"><a style="cursor: hand" onclick="document.all.reachs1.style.display='none';document.all.reachs2.style.display='none';document.all.reachs3.style.display='';document.all.reachs4.style.display='none';document.all.reachs5.style.display='none';">一个月数据</a></div>
  <div class="title" style="width:152px"><a style="cursor: hand" onclick="document.all.reachs1.style.display='none';document.all.reachs2.style.display='none';document.all.reachs3.style.display='none';document.all.reachs4.style.display='';document.all.reachs5.style.display='none';">半个月数据</a></div>
  <div class="title2" style="width:150px"><a style="cursor: hand" onclick="document.all.reachs1.style.display='none';document.all.reachs2.style.display='none';document.all.reachs3.style.display='none';document.all.reachs4.style.display='none';document.all.reachs5.style.display='';">一星期数据</a></div>
</div>
<div class="mainbar2" style="padding:10 0 10 0;height:300px">
  <div id=reachs1><img src="http://traffic.alexa.com/graph?w=750&h=280&r=6m&y=r&u=<%=domain%>"></div>
  <div id=reachs2 style="display: none"><img src="http://traffic.alexa.com/graph?w=750&h=280&r=3m&y=r&u=<%=domain%>"></div>
  <div id=reachs3 style="display: none"><img src="http://traffic.alexa.com/graph?w=750&h=280&r=1m&y=r&u=<%=domain%>"></div>
  <div id=reachs4 style="display: none"><img src="http://traffic.alexa.com/graph?w=750&h=280&r=15.0m&y=r&u=<%=domain%>"></div>
  <div id=reachs5 style="display: none"><img src="http://traffic.alexa.com/graph?w=750&h=280&r=7.0m&y=r&u=<%=domain%>"></div>
</div>
<div class="th">日页面浏览量走势图 [点击时间段查看相应时段曲线]</div>
<div class="mainbar">
  <div class="title" style="width:150px"><a style="cursor: hand" onclick="document.all.pageviews1.style.display='';document.all.pageviews2.style.display='none';document.all.pageviews3.style.display='none';document.all.pageviews4.style.display='none';document.all.pageviews5.style.display='none';">六个月数据</a></div>
  <div class="title" style="width:152px"><a style="cursor: hand" onclick="document.all.pageviews1.style.display='none';document.all.pageviews2.style.display='';document.all.pageviews3.style.display='none';document.all.pageviews4.style.display='none';document.all.pageviews5.style.display='none';">三个月数据</a></div>
  <div class="title" style="width:152px"><a style="cursor: hand" onclick="document.all.pageviews1.style.display='none';document.all.pageviews2.style.display='none';document.all.pageviews3.style.display='';document.all.pageviews4.style.display='none';document.all.pageviews5.style.display='none';">一个月数据</a></div>
  <div class="title" style="width:152px"><a style="cursor: hand" onclick="document.all.pageviews1.style.display='none';document.all.pageviews2.style.display='none';document.all.pageviews3.style.display='none';document.all.pageviews4.style.display='';document.all.pageviews5.style.display='none';">半个月数据</a></div>
  <div class="title2" style="width:150px"><a style="cursor: hand" onclick="document.all.pageviews1.style.display='none';document.all.pageviews2.style.display='none';document.all.pageviews3.style.display='none';document.all.pageviews4.style.display='none';document.all.pageviews5.style.display='';">一星期数据</a></div>
</div>
<div class="mainbar2" style="padding:10 0 10 0;height:300px">
  <div id=pageviews1><img src="http://traffic.alexa.com/graph?w=750&h=280&r=6m&y=p&u=<%=domain%>"></div>
  <div id=pageviews2 style="display: none"><img src="http://traffic.alexa.com/graph?w=750&h=280&r=3m&y=p&u=<%=domain%>"></div>
  <div id=pageviews3 style="display: none"><img src="http://traffic.alexa.com/graph?w=750&h=280&r=1m&y=p&u=<%=domain%>"></div>
  <div id=pageviews4 style="display: none"><img src="http://traffic.alexa.com/graph?w=750&h=280&r=15.0m&y=p&u=<%=domain%>"></div>
  <div id=pageviews5 style="display: none"><img src="http://traffic.alexa.com/graph?w=750&h=280&r=7.0m&y=p&u=<%=domain%>"></div>
</div>
<div style="margin-top:12px">
  <!--copyright-->
  <%timer2 = timer
thetime=cstr(int(((timer2-timer1)*10000 )+0.5)/10)
response.write "本页执行共用了"&thetime&"毫秒"
%>
  <br>
  copyright©2006 <a href="http://www.jb51net" target="_blank">jb51.net</a> all rights reserved 版权所有·移动技术网
  <!--copyright-->
</div>
<script language="javascript" type="text/javascript" src="ajaxloading.asp?url=<%=domain%>&dayrank=<%=xrank%>"></script>
</body>
</html>

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网