ASP Alexa Query Program code

Source: Internet
Author: User
Tags trim zip


<%
'******************************

'******************************


Dim Domain,url,url1,strpage,strpage1


Dim xmldom,sd,site,dimg


Domain = Request. QueryString ("url")


If domain = "" Then domain = "111cn.net"


If not iswww (domain) Then


Response.Write "&lt;script&gt;alert (' the URL you entered is invalid, please re-enter!") ') &lt;/script&gt; "


Domain = "111cn.net"


End If


Host = "Http://www.111cn.net"


If left (domain,7) = "http://" then


Domain=right (Domain,len (domain)-7)


End If


If InStr (Domain, "/") &lt;&gt;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 &gt;= 1 Then


For II = 1 to X


If ASC (Mid (TXT, II, 1)) &lt; 0 Or Asc (Mid (TXT, II, 1)) &gt; 255 Then


y = y + 2


Else


y = y + 1


End If


If y &gt;= Length Then


txt = left (Trim (TXT), ii-3) &amp; "..."


Exit for


End If


Next


LENS = txt


Else


LENS = ""


End If


End Function




URL = "Http://data.alexa.com/data/?cli=10&amp;dat=snba&amp;ver=7.0&amp;url=" &amp;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, "-") &gt;0 Then


dimg = "&lt;img src=" "Skin/up_arrow.gif" "Align=absmiddle width=18 height=16/&gt;"


Else


dimg = "&lt;img src=" "Skin/down_arrow.gif" "Align=absmiddle width=18 height=16/&gt;"


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

%>

&lt;html&gt;


&lt;head&gt;


&lt;title&gt; China's first Web site Alexa query system, Alexa ranking query, Alexa site rankings query, the global Alexa ranking query, Alexa world rankings query, Alexa rankings, Alexa toolbar, Alexa Traffic Rank ,&lt;%=sitetitle%&gt;,&lt;%=domain%&gt; Alexa rankings Query &lt;/title&gt;


&lt;meta http-equiv= "Content-type" content= "text/html; charset=gb2312 "&gt;


&lt;meta http-equiv= "Content-language" content= "gb2312" &gt;


&lt;meta http-equiv= "Keywords" content= "China's first Web site Alexa ranking query, Alexa cheating, Alexa rankings, alexa query, Alexa information, ranking, traffic, traffic, page views, search engines, &lt;%=SiteTitle%&gt; Alexa rankings information,&lt;%=domain%&gt; "&gt;


&lt;meta name= "description" content= "www.111cn.net, the first Chinese web site Alexa query, Alexa rankings, Alexa rankings query, Alexa world rankings query, Alexa site ranking query, Alexa site rankings, the global Alexa rankings query, Alexa ranking query, the site Alexa rankings query, Alexa toolbar, alexa Chinese ranking query, Alexa Traffic rank,alexa query, Alexa ranked "/&gt;


&lt;link href= "Skin/style.css" rel= "stylesheet" type= "Text/css"/&gt;


&lt;script language=javascript src= "Js/scroll.js" &gt;&lt;/script&gt;


&lt;/head&gt;


&lt;body&gt;


&lt;div id=lovexin1 class= "Body" style= ' z-index:10; left:6px; Position:absolute; top:117px; Width:108;overflow:hidden ' &gt;&lt;div style= ' background: #E8F5FE; height:18px;font-size:12px;font-weight:bold; " Onclick= ' javascript:window.hide () ' &gt; recent query Records &lt;/div&gt;


&lt;div&gt;&lt;ul&gt; &lt;%


On Error Resume Next


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&amp; "|"


Else


If InStr (Content,domain) &gt;0 Then


Set content = replace (content,domain&amp; "|", "")


Else


Content = domain&amp; "|" &amp;content


End If


End If


names = Split (content, "|")


Tmpcontent = ""


For tt=0 to UBound (names)-1


If Tt&lt;15 Then


Tmpcontent = Tmpcontent&amp;names (TT) &amp; "|"


End If


%&gt;


&lt;li&gt;&lt;a href= "Index.asp?url=&lt;%=names (TT)%&gt;" title= "Www.&lt;%=names (TT)%&gt; Alexa rankings query Results" &gt;&lt;%= Left (Replace (names (TT), "www.", "")%&gt;&lt;/a&gt;&lt;/li&gt;


&lt;%


Next


F.write (Trim (tmpcontent))


F.close


Set FSO = Nothing


Set F = Nothing


%&gt;


&lt;/ul&gt;&lt;/DIV&gt;


&lt;/DIV&gt;


&lt;div id=lovexin2 class= "Body" style= ' z-index:10; right:2px; Position:absolute; top:117px; Width:108;;o Verflow:hidden ' &gt;&lt;div style= ' background: #E8F5FE; height:18px;font-size:12px;font-weight:bold; "Onclick=" Javascript:window.hide () ' &gt; Your focus on the site &lt;/div&gt;


&lt;div&gt;


&lt;ul&gt;


&lt;%


For ttt=0 to UBound (ttnames)-1


%&gt;


&lt;li&gt;&lt;a href= "Index.asp?url=&lt;%=ttnames (TTT)%&gt;" title= "Www.&lt;%=ttnames (TTT)%&gt; 's Alexa world rankings query Results" &gt;&lt;%=left (Replace (Ttnames (TTT), "www.", ""),%&gt;&lt;/a&gt;&lt;/li&gt;


&lt;%


Next


%&gt;

</ul>
</div>
</div>

&lt;div class= "body1" style= "padding-top:10px;text-align:right;" &gt;&lt;span style= "Float:left;" &gt;&lt;a href= "http://www.111cn.net" &gt; China Web First station &lt;/a&gt; &lt;a href= "http://www.111cn.net/web/" &gt; Article &lt;/a&gt; &lt;a href= "http://down.111cn.net/" &gt; Download &lt;/a&gt; &lt;a href= "http://js.111cn.net/" &gt; Special effects &lt;/a&gt; &lt;a href= "http://mb.111cn.net/" &gt; Template &lt;/a&gt; &lt;a href= "http://cool.111cn.net/" &gt; Cool station &lt;/a&gt; &lt;a href= "http://tool.111cn.net/" &gt; Tools &lt;/a&gt; | &lt;a href= "#" onclick= "Window.external.AddFavorite (document.location.href,document.title)" &gt; Collection &lt;/a&gt; &lt;a href= "Javascript:clipboardData.setData (' Text ', ' http://&lt;%=host%&gt;/?url=&lt;%=domain%&gt; '); alert (' Has http://&lt;%=host%&gt;/?url=&lt;%=domain%&gt; Copy to clipboard ' title= copy this address ' &gt; copy address &lt;/a&gt; | &lt;a href= "http://www.111cn.net/my/reg.asp" &gt; Registered &lt;/a&gt;&lt;span style= "FLOAT:LEFT;MARGIN-TOP:12PX;" &gt;&lt;b&gt;&lt;a style= "Color:green" href= "http://&lt;%=host%&gt;/?url=&lt;%=domain%&gt;" &gt;http://&Lt;%=host%&gt;/?url=&lt;%=domain%&gt;&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href= "http:// Www.111cn.net "&gt;&lt;/a&gt;&lt;/div&gt;


&lt;div class= "Body" style= "Padding:5px;margin-top:8px;background-color: #E8F5FE;" &gt;


&lt;form action= "" method= "Get" style= "padding:0;margin:0;" &gt;


Alexa rankings Query URL: http://


&lt;input name= "url" type= "text" style= "width:300px" value= "&lt;%=domain%&gt;" &gt;


&lt;input type= "Submit" value= "Query" &gt; &amp;nbsp;&lt;a href= "http://down.111cn.net/a/2008121992307.shtml" Color:red "target=" _blank "&gt; This program download address &lt;/a&gt;


&lt;/form&gt;


&lt;/div&gt;

<div class= "th" > website <%=domain%> alexa ranking comprehensive information </div>
<div class= "Body" style= "padding-top:10px;height:190px;" >
<div style= "Float:left;width:230;text-align:center;" >
<!--GOOGLE ads-->

&lt;div style= "MARGIN-TOP:8PX;" &gt;


&lt;a href= "http://thumbnails.alexa.com/update_thumbnail?url=&lt;%=domain%&gt;" target= "_blank" &gt; Update thumbnail &lt;/a &gt; | &lt;a href= "http://www.alexa.com/data/details/contact_info?url=&lt;%=domain%&gt;" target= "_blank" &gt; Modify information &lt;/a &gt; | &lt;a href= "http://www.alexa.com/data/details/editor?type=rl&amp;url=&lt;%=domain%&gt;" target= "_blank" &gt; Submit links &lt;/a&gt;&lt;/div&gt;


&lt;!--GOOGLE ads--&gt;


&lt;/div&gt;


&lt;div style= "Float:right;width:520;text-align:left;" &gt;


&lt;div id= "Siteinfo" &gt;


&lt;table width= "100%" cellpadding= "1" cellspacing= "1" &gt;


&lt;TR&gt;


&LT;TD width= "align=" "right" noWrap bgcolor= "#f3f8fc" &gt; site name:&lt;/td&gt;


&LT;TD width= "178" title= "&lt;%=SiteTitle%&gt;" &gt;&lt;a href= "http://&lt;%=domain%&gt;" target=_blank&gt;&lt;%= Sitetitle%&gt;&lt;/a&gt;&lt;/td&gt;


&LT;TD width= "align=" "right" nowrap bgcolor= "#f3f8fc" &gt; website domain name:&lt;/td&gt;


&LT;TD width= "163" title= "&lt;%=domain%&gt;" &gt;&lt;strong&gt;&lt;%=domain%&gt;&lt;/strong&gt;&lt;/TD&gt;


&lt;/TR&gt;


&lt;TR&gt;


&LT;TD align= "right" nowrap bgcolor= "#f3f8fc" title= "Alexa comprehensive ranking" &gt; Comprehensive ranking:&lt;/td&gt;


&LT;TD title= "&lt;%=xPopularity%&gt;" &gt;&lt;a title= "view Alexa official information" href= "http://www.alexa.com/data/details/ Traffic_details?q=&amp;url=&lt;%=domain%&gt; "target=" _blank "&gt;&lt;%=fget (xpopularity)%&gt;&lt;/A&gt;&lt;/TD &gt;


&LT;TD align= "right" nowrap bgcolor= "#f3f8fc" title= "three-month ranking change trend" &gt; Rankings change:&lt;/td&gt;


&LT;TD id= "Nextrank" title= "three-month ranking trend" &gt;&lt;%=dimg&amp;fget (Xrank)%&gt;&lt;/td&gt;


&lt;/TR&gt;


&lt;TR&gt;


&LT;TD align= "right" nowrap bgcolor= "#f3f8fc" &gt; National:&lt;/td&gt;


&LT;TD title= "&lt;%=COUNTRY%&gt;" &gt;&lt;%=fget (COUNTRY)%&gt;&lt;/td&gt;


&LT;TD align= "right" nowrap bgcolor= "#f3f8fc" &gt; Encoding mode:&lt;/td&gt;


&LT;TD title= "&lt;%=xCode%&gt;" &gt;&lt;%=fget (xCode)%&gt;&lt;/td&gt;


&lt;/TR&gt;


&lt;TR&gt;


&LT;TD align= "right" nowrap bgcolor= "#f3f8fc" &gt; Webmaster:&lt;/td&gt;


&LT;TD title= "&lt;%=xOwner%&gt;" &gt;&lt;%=fget (Xowner)%&gt;&lt;/td&gt;


&LT;TD align= "right" nowrap bgcolor= "#f3f8fc" &gt; Email:&lt;/td&gt;


&LT;TD title= "&lt;%=xEmail%&gt;" &gt;&lt;%=fget (xemail)%&gt;&lt;/td&gt;


&lt;/TR&gt;


&lt;TR&gt;


&LT;TD align= "right" nowrap bgcolor= "#f3f8fc" &gt; Access speed:&lt;/td&gt;


&LT;TD nowrap title= "&lt;%=xSpeed%&gt;Ms/&lt;%=xPct%&gt;" &gt;&lt;%=fget (xspeed)%&gt;ms/&lt;%=fget (xpct)%&gt; &lt;/TD&gt;


&LT;TD align= "right" nowrap bgcolor= "#f3f8fc" &gt; Reverse link:&lt;/td&gt;


&LT;TD nowrap title= "&lt;%=xLinksin%&gt;" &gt;&lt;a href= "Http://www.alexa.com/data/ds/linksin?q=link:&lt;%=domain" %&gt;/&amp;url=&lt;%=domain%&gt; "target=" _blank "&gt;&lt;%=fget (xlinksin)%&gt;&lt;/a&gt; &lt;/TD&gt;


&lt;/TR&gt;


&lt;TR&gt;


&LT;TD align= "right" nowrap bgcolor= "#f3f8fc" &gt; included date:&lt;/td&gt;


&LT;TD nowrap title= "&lt;%=xDate%&gt;" &gt;&lt;%=fget (xdate)%&gt;&lt;/td&gt;


&LT;TD align= "right" nowrap bgcolor= "#f3f8fc" &gt; Tel:&lt;/td&gt;


&LT;TD title= "&lt;%=xPhone%&gt;" Nowrap&gt;&lt;%=fget (xphone)%&gt;&lt;/td&gt;


&lt;/TR&gt;


&lt;TR&gt;


&LT;TD align= "right" nowrap bgcolor= "#f3f8fc" &gt; Detailed address:&lt;/td&gt;


&LT;TD title= "&lt;%=STREET%&gt; &lt;%=CITY%&gt;" colspan= "3" &gt;&lt;%=fget (Lens (street&amp;city,65))%&gt;&lt;/td &gt;


&lt;/TR&gt;


&lt;TR&gt;


&LT;TD align= "right" nowrap bgcolor= "#f3f8fc" &gt; website profile:&lt;/td&gt;


&LT;TD title= "&lt;%=SiteDesc%&gt;" colspan= "3" &gt;&lt;%=fget (Lens (sitedesc,69))%&gt;&lt;/td&gt;


&lt;/TR&gt;


&lt;TR&gt;


&LT;TD align= "right" nowrap bgcolor= "#f3f8fc" &gt; owning directory:&lt;/td&gt;


&LT;TD title= "&lt;%=Cat%&gt;" colspan= "3" &gt;&lt;%=fget (Cat)%&gt;&lt;/td&gt;


&lt;/TR&gt;


&lt;/table&gt;&lt;font color=red&gt; Webmaster recommended: &amp;nbsp;&amp;nbsp;&lt;a href= "Http://spcode.baidu.com/spcode/spClick?" Tn=alixixi_sp&amp;ctn=0&amp;styleid=1638&amp;tourl=http://baidu.down.duba.net/index_db2008.php?prodid=15 "&gt; Jinshan poison pa Download &lt;/a&gt; | &lt;a href= "Http://down5.flashget.com/flashget_1678_1.exe" &gt; Internet Express Download &lt;/a&gt; | &lt;a href= "Http://zcomcdl.zcominc.com/union/ZcomMagSubscribe-200-1678.exe" &gt; ebook free Subscription &lt;/a&gt; | &lt;a href= "Http://neirong.funshion.com/software/download.php?id=4148&amp;f=FunshionInstall1.5.3.25Beta.exe" &gt; Popular online Movie downloads &lt;/a&gt;&lt;/font&gt;&lt;/a&gt;


&lt;/div&gt;


&lt;/div&gt;


&lt;/div&gt;


&lt;div class= "th" &gt; site &lt;%=SiteTitle%&gt; Alexa rankings query Results &lt;/div&gt;


&lt;div class= "Body1" &gt;


&lt;div class= "x bg2" &gt; Flow ranking Data information: Traffic Rank for &lt;%=domain%&gt;&lt;/div&gt;


&lt;div class= "Mainbar" &gt;


&lt;div class= "title" style= "width:150px" &gt; Yesterday ranking &lt;/div&gt;


&lt;div class= "title" style= "width:152px" &gt; Weekly average &lt;/div&gt;


&lt;div class= "title" style= "width:152px" &gt; March average &lt;/div&gt;


&lt;div class= "title" style= "width:152px" &gt; Trend of Change in March &lt;/div&gt;


&lt;div class= "Title2" style= "width:152px" &gt; Comprehensive ranking Change &lt;/div&gt;


&lt;/div&gt;


&lt;div class= "Mainbar2" &gt;


&lt;div id= "Ranktoday" class= "title" style= "width:150px" &gt;&lt;img src= "skin/loading.gif" width= "" height= "16" Border= "0" &gt;&lt;/div&gt;


&lt;div id= "Rankwkavg" class= "title" style= "width:152px" &gt;&lt;img src= "skin/loading.gif" width= "" height= "16" Border= "0" &gt;&lt;/div&gt;


&lt;div id= "Rankmosavg" class= "title" style= "width:152px" &gt;&lt;img src= "skin/loading.gif" width= "" height= "16" Border= "0" &gt;&lt;/div&gt;


&lt;div id= "Allrank" class= "title" style= "width:152px" &gt;&lt;img src= "skin/loading.gif" width= "" height= "16" Border= "0" &gt;&lt;/div&gt;


&lt;div id= "Rankmoschange" class= "Title2" style= "width:150px" &gt;&lt;%=dimg&amp;fget (Xrank)%&gt;&lt;/div&gt;


&lt;/div&gt;




&lt;div class= "x bg2" &gt; per million: Reach for &lt;%=domain%&gt;&lt;/div&gt;


&lt;div class= "Mainbar" &gt;


&lt;div class= "title" style= "width:150px" &gt; Yesterday Data &lt;/div&gt;


&lt;div class= "title" style= "width:152px" &gt; Weekly average &lt;/div&gt;


&lt;div class= "title" style= "width:152px" &gt; March average &lt;/div&gt;


&lt;div class= "title" style= "width:152px" &gt; Trend of Change in March &lt;/div&gt;


&lt;div class= "Title2" style= "width:152px" &gt; Comprehensive ranking Change &lt;/div&gt;


&lt;/div&gt;


&lt;div class= "Mainbar2" &gt;


&lt;div id= "Reachtoday" class= "title" style= "width:150px" &gt;&lt;img src= "skin/loading.gif" width= "" height= "16" Border= "0" &gt;&lt;/div&gt;


&lt;div id= "Reachwkavg" class= "title" style= "width:152px" &gt;&lt;img src= "skin/loading.gif" width= "" height= "16" Border= "0" &gt;&lt;/div&gt;


&lt;div id= "Reachmosavg" class= "title" style= "width:152px" &gt;&lt;img src= "skin/loading.gif" width= "" height= "16" Border= "0" &gt;&lt;/div&gt;


&lt;div id= "Reachmoschange" class= "title" style= "width:152px" &gt;&lt;img src= "Skin/loading.gif" width= "height=" "border=" 0 "&gt;&lt;/div&gt;


&lt;div id= "Reachallchange" class= "Title2" style= "width:150px" &gt;&lt;img src= "skin/loading.gif" width= "" height= " "border=" 0 "&gt;&lt;/div&gt;


&lt;/div&gt;

&lt;div class= "x bg2" &gt; per visitor Browse Pages: page views/user for &lt;%=domain%&gt;&lt;/div&gt;


&lt;div class= "Mainbar" &gt;


&lt;div class= "title" style= "width:150px" &gt; Yesterday Data &lt;/div&gt;


&lt;div class= "title" style= "width:152px" &gt; Weekly average &lt;/div&gt;


&lt;div class= "title" style= "width:152px" &gt; March average &lt;/div&gt;


&lt;div class= "title" style= "width:152px" &gt; Trend of Change in March &lt;/div&gt;


&lt;div class= "Title2" style= "width:152px" &gt; Comprehensive ranking Change &lt;/div&gt;


&lt;/div&gt;


&lt;div class= "Mainbar2" &gt;


&lt;div id= "Viewstoday" class= "title" style= "width:150px" &gt;&lt;img src= "skin/loading.gif" width= "" height= "16" Border= "0" &gt;&lt;/div&gt;


&lt;div id= "Viewswkavg" class= "title" style= "width:152px" &gt;&lt;img src= "skin/loading.gif" width= "" height= "16" Border= "0" &gt;&lt;/div&gt;


&lt;div id= "Viewsmosavg" class= "title" style= "width:152px" &gt;&lt;img src= "skin/loading.gif" width= "" height= "16" Border= "0" &gt;&lt;/div&gt;


&lt;div id= "Viewsmoschange" class= "title" style= "width:152px" &gt;&lt;img src= "Skin/loading.gif" width= "height=" "border=" 0 "&gt;&lt;/div&gt;


&lt;div id= "Viewsallchange" class= "Title2" style= "width:150px" &gt;&lt;img src= "skin/loading.gif" width= "" height= " "border=" 0 "&gt;&lt;/div&gt;


&lt;/div&gt;

</div>

<div class= "th" > <%=SiteTitle%> Other related Alexa rankings information statistics </div>
<div class= "Body1" >
<div class= "x bg2" > <%=SiteTitle%> subordinate sites visited ratio </div>
<div class= "Mainbar" >
<div class= "title" style= "width:374px" > sub-domain </div>
<div class= "Title2" style= "width:374px" > Access ratio </div>
</div>
<span id= "More" ></span>
</div>

&lt;div class= "th" &gt; website daily average Trend chart [Click Time period to view the corresponding period curve]&lt;/div&gt;


&lt;div class= "Mainbar" &gt;


&lt;div class= "title" style= "width:150px" &gt;&lt;a style= "Cursor:hand" onclick= "document.all.rank1.style.display=" ';d ocument.all.rank2.style.display= ' none ';d ocument.all.rank3.style.display= ' none '; Document.all.rank4.style.display= ' None ';d ocument.all.rank5.style.display= ' none '; &gt; Six month data &lt;/a&gt;&lt;/div&gt;


&lt;div class= "title" style= "width:152px" &gt;&lt;a style= "Cursor:hand" onclick= "document.all.rank1.style.display=" None ';d ocument.all.rank2.style.display= ';d ocument.all.rank3.style.display= ' none '; Document.all.rank4.style.display= ' None ';d ocument.all.rank5.style.display= ' none '; &gt; Three month data &lt;/a&gt;&lt;/div&gt;


&lt;div class= "title" style= "width:152px" &gt;&lt;a style= "Cursor:hand" onclick= "document.all.rank1.style.display=" None ';d ocument.all.rank2.style.display= ' none ';d ocument.all.rank3.style.display= '; Document.all.rank4.style.display= ' None ';d ocument.all.rank5.style.display= ' none '; &gt; One month data &lt;/a&gt;&lt;/div&gt;


&lt;div class= "title" style= "width:152px" &gt;&lt;a style= "Cursor:hand" onclick= "document.all.rank1.style.display=" None ';d ocument.all.rank2.style.display= ' none ';d ocument.all.rank3.style.display= ' none '; document.all.rank4.style.display= ';d ocument.all.rank5.style.display= ' none '; &gt; Half a month data &lt;/a&gt;&lt;/div&gt;


&lt;div class= "Title2" style= "width:150px" &gt;&lt;a style= "Cursor:hand" onclick= "document.all.rank1.style.display=" ' None ';d ocument.all.rank2.style.display= ' none ';d ocument.all.rank3.style.display= ' none '; Document.all.rank4.style.display= ' None ';d ocument.all.rank5.style.display= '; &gt; One-week data &lt;/a&gt;&lt;/div&gt;


&lt;/div&gt;


&lt;div class= "mainbar2" style= "Padding:10 0 0;height:300px" &gt;


&lt;div id=rank1&gt;&lt;img src= "http://traffic.alexa.com/graph?w=750&amp;h=280&amp;r=6m&amp;y=t&amp;u=&lt;%= Domain%&gt; "&gt;&lt;/div&gt;


&lt;div id=rank2 style= "Display:none &gt;&lt;img src=" http://traffic.alexa.com/graph?w=750&amp;h=280&amp;r=3m &amp;y=t&amp;u=&lt;%=domain%&gt; "&gt;&lt;/div&gt;


&lt;div id=rank3 style= "Display:none &gt;&lt;img src=" http://traffic.alexa.com/graph?w=750&amp;h=280&amp;r=1m &amp;y=t&amp;u=&lt;%=domain%&gt; "&gt;&lt;/div&gt;


&lt;div id=rank4 style= "Display:none &gt;&lt;img src=" http://traffic.alexa.com/graph?w=750&amp;h=280&amp;r=15.0m &amp;y=t&amp;u=&lt;%=domain%&gt; "&gt;&lt;/div&gt;


&lt;div id=rank5 style= "Display:none &gt;&lt;img src=" http://traffic.alexa.com/graph?w=750&amp;h=280&amp;r=7.0 &amp;y=t&amp;u=&lt;%=domain%&gt; "&gt;&lt;/div&gt;


&lt;/div&gt;


&lt;div class= "th" &gt; Day average number of Visitors trend chart [Click Time period to view the corresponding period curve]&lt;/div&gt;


&lt;div class= "Mainbar" &gt;


&lt;div class= "title" style= "width:150px" &gt;&lt;a style= "Cursor:hand" onclick= "Document.all.reachs1.style.display" = ';d ocument.all.reachs2.style.display= ' none ';d ocument.all.reachs3.style.display= ' none '; Document.all.reachs4.style.display= ' None ';d ocument.all.reachs5.style.display= ' none '; &gt; Six month data &lt;/a&gt;&lt;/div&gt;


&lt;div class= "title" style= "width:152px" &gt;&lt;a style= "Cursor:hand" onclick= "Document.all.reachs1.style.display" = ' None ';d ocument.all.reachs2.style.display= ';d ocument.all.reachs3.style.display= ' none '; Document.all.reachs4.style.display= ' None ';d ocument.all.reachs5.style.display= ' none '; &gt; Three month data &lt;/a&gt;&lt;/div&gt;


&lt;div class= "title" style= "width:152px" &gt;&lt;a style= "Cursor:hand" onclick= "Document.all.reachs1.style.display" = ' None ';d ocument.all.reachs2.style.display= ' none ';d ocument.all.reachs3.style.display= '; Document.all.reachs4.style.display= ' None ';d ocument.all.reachs5.style.display= ' none '; &gt; One month data &lt;/a&gt;&lt;/div&gt;


&lt;div class= "title" style= "width:152px" &gt;&lt;a style= "Cursor:hand" onclick= "Document.all.reachs1.style.display" = ' None ';d ocument.all.reachs2.style.display= ' none ';d ocument.all.reachs3.style.display= ' none '; document.all.reachs4.style.display= ';d ocument.all.reachs5.style.display= ' none '; &gt; Half a month data &lt;/a&gt;&lt;/div&gt;


&lt;div class= "Title2" style= "width:150px" &gt;&lt;a style= "Cursor:hand" Document.all.reachs1.style.display= ' None ';d ocument.all.reachs2.style.display= ' none '; Document.all.reachs3.style.display= ' None ';d ocument.all.reachs4.style.display= ' none '; Document.all.reachs5.style.display= '; ' &gt; One-week data &lt;/a&gt;&lt;/div&gt;


&lt;/div&gt;


&lt;div class= "mainbar2" style= "Padding:10 0 0;height:300px" &gt;


&lt;div id=reachs1&gt;&lt;img src= "http://traffic.alexa.com/graph?w=750&amp;h=280&amp;r=6m&amp;y=r&amp;u=&lt;%= Domain%&gt; "&gt;&lt;/div&gt;


&lt;div id=reachs2 style= "Display:none &gt;&lt;img src=" http://traffic.alexa.com/graph?w=750&amp;h=280&amp;r=3m &amp;y=r&amp;u=&lt;%=domain%&gt; "&gt;&lt;/div&gt;


&lt;div id=reachs3 style= "Display:none &gt;&lt;img src=" http://traffic.alexa.com/graph?w=750&amp;h=280&amp;r=1m &amp;y=r&amp;u=&lt;%=domain%&gt; "&gt;&lt;/div&gt;


&lt;div id=reachs4 style= "Display:none &gt;&lt;img src=" http://traffic.alexa.com/graph?w=750&amp;h=280&amp;r= 15.0m&amp;y=r&amp;u=&lt;%=domain%&gt; "&gt;&lt;/div&gt;


&lt;div id=reachs5 style= "Display:none &gt;&lt;img src=" http://traffic.alexa.com/graph?w=750&amp;h=280&amp;r=7.0m &amp;y=r&amp;u=&lt;%=domain%&gt; "&gt;&lt;/div&gt;


&lt;/div&gt;


&lt;div class= "th" &gt; Day page Browse Volume Trend chart [Click Time period to view the corresponding period curve]&lt;/div&gt;


&lt;div class= "Mainbar" &gt;


&lt;div class= "title" style= "width:150px &gt;&lt;a style=" Cursor:hand "onclick=" document.all.pageviews1.style.display= ';d ocument.all.pageviews2.style.display= ' none '; Document.all.pageviews3.style.display= ' None ';d ocument.all.pageviews4.style.display= ' none '; Document.all.pageviews5.style.display= ' None '; &gt; Six month data &lt;/a&gt;&lt;/div&gt;


&lt;div class= "title" style= "width:152px &gt;&lt;a style=" Cursor:hand "onclick=" Document.all.pageviews1.style.display= ' None ';d ocument.all.pageviews2.style.display= '; Document.all.pageviews3.style.display= ' None ';d ocument.all.pageviews4.style.display= ' none '; Document.all.pageviews5.style.display= ' None '; &gt; Three month data &lt;/a&gt;&lt;/div&gt;


&lt;div class= "title" style= "width:152px &gt;&lt;a style=" Cursor:hand "onclick=" Document.all.pageviews1.style.display= ' None ';d ocument.all.pageviews2.style.display= ' none '; document.all.pageviews3.style.display= ';d ocument.all.pageviews4.style.display= ' none '; Document.all.pageviews5.style.display= ' None '; &gt; One month data &lt;/a&gt;&lt;/div&gt;


&lt;div class= "title" style= "width:152px &gt;&lt;a style=" Cursor:hand "onclick=" Document.all.pageviews1.style.display= ' None ';d ocument.all.pageviews2.style.display= ' none '; Document.all.pageviews3.style.display= ' None ';d ocument.all.pageviews4.style.display= '; Document.all.pageviews5.style.display= ' None '; &gt; Half a month data &lt;/a&gt;&lt;/div&gt;


&lt;div class= "Title2" style= "width:150px" &gt;&lt;a style= "Cursor:hand" Document.all.pageviews1.style.display= ' None ';d ocument.all.pageviews2.style.display= ' none '; Document.all.pageviews3.style.display= ' None ';d ocument.all.pageviews4.style.display= ' none '; Document.all.pageviews5.style.display= '; ' &gt; One-week data &lt;/a&gt;&lt;/div&gt;


&lt;/div&gt;


&lt;div class= "mainbar2" style= "Padding:10 0 0;height:300px" &gt;


&lt;div id=pageviews1&gt;&lt;img src= "http://traffic.alexa.com/graph?w=750&amp;h=280&amp;r=6m&amp;y=p&amp;u=&lt; %=domain%&gt; "&gt;&lt;/div&gt;


&lt;div id=pageviews2 style= "Display:none &gt;&lt;img src=" http://traffic.alexa.com/graph?w=750&amp;h=280&amp;r= 3m&amp;y=p&amp;u=&lt;%=domain%&gt; "&gt;&lt;/div&gt;


&lt;div id=pageviews3 style= "Display:none &gt;&lt;img src=" http://traffic.alexa.com/graph?w=750&amp;h=280&amp;r= 1m&amp;y=p&amp;u=&lt;%=domain%&gt; "&gt;&lt;/div&gt;


&lt;div id=pageviews4 style= "Display:none &gt;&lt;img src=" http://traffic.alexa.com/graph?w=750&amp;h=280&amp;r= 15.0m&amp;y=p&amp;u=&lt;%=domain%&gt; "&gt;&lt;/div&gt;


&lt;div id=pageviews5 style= "Display:none &gt;&lt;img src=" http://traffic.alexa.com/graph?w=750&amp;h=280&amp;r= 7.0m&amp;y=p&amp;u=&lt;%=domain%&gt; "&gt;&lt;/div&gt;


&lt;/div&gt;


&lt;div style= "margin-top:12px" &gt;


&lt;!--copyright--&gt;


&lt;%timer2 = Timer


THETIME=CSTR (int ((timer2-timer1) *10000) +0.5)/10)


Response.Write "This page performs a shared" &amp;thetime&amp; "MS"


%&gt;


&lt;br&gt;


&lt;!--copyright--&gt;


&lt;/div&gt;


&lt;script language= "javascript" type= "Text/javascript" src= "ajaxloading.asp?url=&lt;%=domain%&gt;&amp;dayrank=" &lt;%=xRank%&gt; "&gt;&lt;/script&gt;


&lt;/body&gt;


&lt;/html&gt;

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.