ASP write Alexa ranking Query system tutorial Three

Source: Internet
Author: User
Tags reserved trim



<html>


<head>


<title> Arisisi 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, <%=SiteTitle%>,<%=domain%> Alexa rankings Query </title>


<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 ">


<meta http-equiv= "Content-language" content= "gb2312" >


<meta http-equiv= "Keywords" content= "Arisisi Alexa rankings query, Alexa cheat, Alexa rankings, alexa query, Alexa information, rankings, traffic, traffic, page views, search engines, <% =sitetitle%> Alexa ranking information,<%=domain%> ">


<meta name= "description" content= "www.alixixi.com, Arisisi Alexa search, 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 "/>


<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 () ' > recent query Records </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 () ' > Your focus on the site </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= "body1" style= "padding-top:10px;text-align:right;" ><span style= "Float:left;" ><a href= "http://www.alixixi.com" > Arisisi </a> <a href= "http://www.alixixi.com/dev/" > Article </a> <a href= "http://www.alixixi.com/down/" > Download </a> <a href= "http://js.alixixi.com/" > Web effects </a> <a href= "http://cool.alixixi.com/" > Cool station </a> <a href= "http://tool.alixixi.com/" > Webmaster Tools </a> | <a href= "#" onclick= "Window.external.AddFavorite (document.location.href,document.title)" > Collection this page </a> <a href= "Javascript:clipboardData.setData (' Text ', ' http://<%=host%>/?url=<%=domain%> '); alert (' Has http://<%=host%>/?url=<%=domain%> Copy to clipboard ' title= copy this address ' > copy address </a> | <a href= "http://www.alixixi.com/account/reg.asp" > Registered Member </a><span style= "FLOAT:LEFT;MARGIN-TOP:12PX;" ><b><a style= "Color:green" href= "http://<%=host%>/?url=<%=domain%>" >http://<%= host%>/?url=<%=domain%></a></b></span></span><a href= "http://www.alixixi.com" ><img src= " Skin/alistudio.gif "width=" "height=" border= "0" alt= "Arisisi Web Development" ></a></div>


<div class= "Body" style= "Padding:5px;margin-top:8px;background-color: #E8F5FE;" >


<form action= "" method= "Get" style= "padding:0;margin:0;" >


Alexa rankings Query URL: http://


<input name= "url" type= "text" style= "width:300px" value= "<%=domain%>" >


<input type= "Submit" value= "Query" >  <a href= "http://www.alixixi.com/down/Code/ASP/2007/" 2007111024439.html "style=" color:red "target=" _blank "> This program download address </a>


</form>


</div>


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


<!--site Img-->


<a href= "http://www.alixixi.com" target= "_blank" ><img src= "skin/face.gif" border= "0" ></a>


<div style= "MARGIN-TOP:8PX;" >


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


<!--site Img-->


</div>


<div style= "Float:right;width:520;text-align:left;" >


<div id= "Siteinfo" >


<table width= "100%" cellpadding= "1" cellspacing= "1" >


<TR>


<TD width= "align=" "right" noWrap bgcolor= "#f3f8fc" > site name:</td>


<TD width= "178" title= "<%=SiteTitle%>" ><a href= "http://<%=domain%>" target=_blank><%= Sitetitle%></a></td>


<TD width= "align=" "right" nowrap bgcolor= "#f3f8fc" > website domain name:</td>


<TD width= "163" title= "<%=domain%>" ><strong><%=domain%></strong></TD>


</TR>


<TR>


<TD align= "right" nowrap bgcolor= "#f3f8fc" title= "Alexa comprehensive ranking" > Comprehensive ranking:</td>


<TD title= "<%=xPopularity%>" ><a title= "view Alexa official information" 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= "three-month ranking change trend" > Rankings change:</td>


<TD id= "Nextrank" title= "three-month ranking trend" ><%=dimg&fget (Xrank)%></td>


</TR>


<TR>


<TD align= "right" nowrap bgcolor= "#f3f8fc" > National:</td>


<TD title= "<%=COUNTRY%>" ><%=fget (COUNTRY)%></td>


<TD align= "right" nowrap bgcolor= "#f3f8fc" > Encoding mode:</td>


<TD title= "<%=xCode%>" ><%=fget (xCode)%></td>


</TR>


<TR>


<TD align= "right" nowrap bgcolor= "#f3f8fc" > Webmaster:</td>


<TD title= "<%=xOwner%>" ><%=fget (Xowner)%></td>


<TD align= "right" nowrap bgcolor= "#f3f8fc" > Email:</td>


<TD title= "<%=xEmail%>" ><%=fget (xemail)%></td>


</TR>


<TR>


<TD align= "right" nowrap bgcolor= "#f3f8fc" > Access speed:</td>


<TD nowrap title= "<%=xSpeed%>Ms/<%=xPct%>" ><%=fget (xspeed)%>ms/<%=fget (xpct)%> </TD>


<TD align= "right" nowrap bgcolor= "#f3f8fc" > Reverse link:</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" > included date:</td>


<TD nowrap title= "<%=xDate%>" ><%=fget (xdate)%></td>


<TD align= "right" nowrap bgcolor= "#f3f8fc" > Tel:</td>


<TD title= "<%=xPhone%>" Nowrap><%=fget (xphone)%></td>


</TR>


<TR>


<TD align= "right" nowrap bgcolor= "#f3f8fc" > Detailed address:</td>


<TD title= "<%=STREET%> <%=CITY%>" colspan= "3" ><%=fget (Lens (street&city,65))%></td >


</TR>


<TR>


<TD align= "right" nowrap bgcolor= "#f3f8fc" > website profile:</td>


<TD title= "<%=SiteDesc%>" colspan= "3" ><%=fget (Lens (sitedesc,69))%></td>


</TR>


<TR>


<TD align= "right" nowrap bgcolor= "#f3f8fc" > owning directory:</td>


<TD title= "<%=Cat%>" colspan= "3" ><%=fget (Cat)%></td>


</TR>


</table><font color=red> official website: <a href= "http://www.alixixi.com/" target= "_blank" >http:// Www.alixixi.com/</a></font></a>


</div>


</div>


</div>


<div class= "th" > site <%=SiteTitle%> Alexa rankings query Results </div>


<div class= "Body1" >


<div class= "x bg2" > Flow ranking Data information: Traffic Rank for <%=domain%></div>


<div class= "Mainbar" >


<div class= "title" style= "width:150px" > Yesterday ranking </div>


<div class= "title" style= "width:152px" > Weekly average </div>


<div class= "title" style= "width:152px" > March average </div>


<div class= "title" style= "width:152px" > Trend of Change in March </div>


<div class= "Title2" style= "width:152px" > Comprehensive ranking Change </div>


</div>


<div class= "Mainbar2" >


<div id= "Ranktoday" class= "title" style= "width:150px" ><img src= "skin/loading.gif" width= "" height= "16" Border= "0" ></div>


<div id= "Rankwkavg" class= "title" style= "width:152px" ><img src= "skin/loading.gif" width= "" height= "16" Border= "0" ></div>


<div id= "Rankmosavg" class= "title" style= "width:152px" ><img src= "skin/loading.gif" width= "" height= "16" Border= "0" ></div>


<div id= "Allrank" class= "title" style= "width:152px" ><img src= "skin/loading.gif" width= "" height= "16" Border= "0" ></div>


<div id= "Rankmoschange" class= "Title2" style= "width:150px" ><%=dimg&fget (Xrank)%></div>


</div>





<div class= "x bg2" > per million: Reach for <%=domain%></div>


<div class= "Mainbar" >


<div class= "title" style= "width:150px" > Yesterday Data </div>


<div class= "title" style= "width:152px" > Weekly average </div>


<div class= "title" style= "width:152px" > March average </div>


<div class= "title" style= "width:152px" > Trend of Change in March </div>


<div class= "Title2" style= "width:152px" > Comprehensive ranking Change </div>


</div>


<div class= "Mainbar2" >


<div id= "Reachtoday" class= "title" style= "width:150px" ><img src= "skin/loading.gif" width= "" height= "16" Border= "0" ></div>


<div id= "Reachwkavg" class= "title" style= "width:152px" ><img src= "skin/loading.gif" width= "" height= "16" Border= "0" ></div>


<div id= "Reachmosavg" class= "title" style= "width:152px" ><img src= "skin/loading.gif" width= "" height= "16" Border= "0" ></div>


<div id= "Reachmoschange" class= "title" style= "width:152px" ><img src= "Skin/loading.gif" width= "height=" "border=" 0 "></div>


<div id= "Reachallchange" class= "Title2" style= "width:150px" ><img src= "skin/loading.gif" width= "" height= " "border=" 0 "></div>


</div>


<div class= "x bg2" > per visitor Browse Pages: page views/user for <%=domain%></div>


<div class= "Mainbar" >


<div class= "title" style= "width:150px" > Yesterday Data </div>


<div class= "title" style= "width:152px" > Weekly average </div>


<div class= "title" style= "width:152px" > March average </div>


<div class= "title" style= "width:152px" > Trend of Change in March </div>


<div class= "Title2" style= "width:152px" > Comprehensive ranking Change </div>


</div>


<div class= "Mainbar2" >


<div id= "Viewstoday" class= "title" style= "width:150px" ><img src= "skin/loading.gif" width= "" height= "16" Border= "0" ></div>


<div id= "Viewswkavg" class= "title" style= "width:152px" ><img src= "skin/loading.gif" width= "" height= "16" Border= "0" ></div>


<div id= "Viewsmosavg" class= "title" style= "width:152px" ><img src= "skin/loading.gif" width= "" height= "16" Border= "0" ></div>


<div id= "Viewsmoschange" class= "title" style= "width:152px" ><img src= "Skin/loading.gif" width= "height=" "border=" 0 "></div>


<div id= "Viewsallchange" class= "Title2" style= "width:150px" ><img src= "skin/loading.gif" width= "" height= " "border=" 0 "></div>


</div>


</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" ><img src= "skin/loading.gif" width= "" height= "" border= "0" ></span>


</div>


<div class= "th" > website daily average Trend chart [Click Time period to view the corresponding period curve]</div>


<div class= "Mainbar" >


<div class= "title" style= "width:150px" ><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 '; > Six month data </a></div>


<div class= "title" style= "width:152px" ><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 '; > Three month data </a></div>


<div class= "title" style= "width:152px" ><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 '; > One month data </a></div>


<div class= "title" style= "width:152px" ><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 '; > Half a month data </a></div>


<div class= "Title2" style= "width:150px" ><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= '; > One-week data </a></div>


</div>


<div class= "mainbar2" style= "Padding:10 0 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" > Day average number of Visitors trend chart [Click Time period to view the corresponding period curve]</div>


<div class= "Mainbar" >


<div class= "title" style= "width:150px" ><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 '; > Six month data </a></div>


<div class= "title" style= "width:152px" ><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 '; > Three month data </a></div>


<div class= "title" style= "width:152px" ><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 '; > One month data </a></div>


<div class= "title" style= "width:152px" ><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 '; > Half a month data </a></div>


<div class= "Title2" style= "width:150px" ><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= '; ' > One-week data </a></div>


</div>


<div class= "mainbar2" style= "Padding:10 0 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" > Day page Browse Volume Trend chart [Click Time period to view the corresponding period curve]</div>


<div class= "Mainbar" >


<div class= "title" style= "width:150px ><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 '; > Six month data </a></div>


<div class= "title" style= "width:152px ><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 '; > Three month data </a></div>


<div class= "title" style= "width:152px ><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 '; > One month data </a></div>


<div class= "title" style= "width:152px ><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 '; > Half a month data </a></div>


<div class= "Title2" style= "width:150px" ><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= '; ' > One-week data </a></div>


</div>


<div class= "mainbar2" style= "Padding:10 0 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 "This page performs a shared" &thetime& "MS"


%>


<br>


copyright©2006 <a href= "http://alexa.alixixi.com" target= "_blank" >Alixixi.Com</a> all Rights Reserved All rights reserved • Arisisi


<!--copyright-->


</div>


<script language= "javascript" type= "Text/javascript" src= "ajaxloading.asp?url=<%=domain%>&dayrank=" <%=xRank%> "></script>


</body>


</html>
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.