<?php
define('IN_SEO','IN_SEO');
$url = trim($_POST["domain"]?$_POST["domain"]:$_GET["domain"]);
$url = $url?$url:'zzcn5.com';
$string = file_get_contents("http://data.alexa.com/data/+wQ411en8000lA?cli=10&dat=s&ver=7.0&url=$url");
header("content-Type: text/html; charset=GB2312");
$pat4 = "/POPULARITY URL=\"(.+)\" TEXT=\"(.+)\"\/>/Ui";
preg_match_all($pat4, $string, $array);
$wordpm2 = $array[2][0]?$array[2][0]:'none';
$string = iconv("UTF-8","GB2312",$string);
$pat1 = "/ HOST=\"(.+)\"/i";
preg_match_all($pat1, $string, $array);
$selurl = $array[1][0]?$array[1][0]:'没有记录';
$pat5 = "/LINKSIN NUM=\"(.+)\"/i";
preg_match($pat5, $string, $array);
$weblink = $array[1]?$array[1]:'0';
$pat6 = "/DATE=\"(.+)\" DAY=\"(.+)\" MONTH=\"(.+)\" YEAR=\"(.+)\"/i";
preg_match_all($pat6, $string, $array);
$sldate = $array[1][0]?$array[1][0]:'没有记录';
$pat7 = "/CAT ID=\"(.+)\" TITLE=\"(.+)\" CID=\"(.+)\"/i";
preg_match_all($pat7, $string, $array);
if($array[1][0]){
$a = array_reverse(explode('/',$array[1][0]));
$aa = $a[1].'/'.$a[0];
}
$ml = $aa?$aa:'该站未被亚马逊分类目录收录';
$pat8 = "/SPEED TEXT=\"(.+)\" PCT=\"(.+)\"/i";
preg_match_all($pat8, $string, $array);
$speedtext = $array[1][0]?$array[1][0]:'没有记录';
$speedpct = $array[2][0]?$array[2][0]:'没有记录';
$pat9 = "/LANG LEX=\"(.+)\"/i";
preg_match_all($pat9, $string, $array);
$country = $array[1][0]?$array[1][0]:'不详';
$pat10 = "/OWNER NAME=\"(.+)\"/i";
preg_match_all($pat10, $string, $array);
$owner = $array[1][0]?$array[1][0]:'不详';
$pat11= "/EMAIL ADDR=\"(.+)\"/i";
preg_match_all($pat11, $string, $array);
$email = $array[1][0]?$array[1][0]:'不详';
$pat12 = "/NUMBER=\"(.+)\"/i";
preg_match_all($pat12, $string, $array);
$phone = $array[1][0]?$array[1][0]:'不详';
$pat13 = "/ADDR STREET=\"(.+)\" CITY/i";
preg_match_all($pat13, $string, $array);
$addr = $array[1][0]?$array[1][0]:'不详';
$pat14 = "/DESC=\"(.+)\"/i";
preg_match_all($pat14, $string, $array);
$site = $array[1][0]?$array[1][0]:"该站点还没有向ALEXA提交任何介绍信息。<a href=http://www.alexa.com/data/details/contact_info?url=".$selurl." target=_blank><font color=#ff0000> >>>现在提交信息<<< </font></a>";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="Robots" content="All" />
<meta name="Keywords" content="alexa,排名,查询" />
<meta name="Description" content="专业提供中文ALEXA世界排名查询服务。" />
<base onmouseover="window.status='中文ALEXA世界排名查询服务由站长中国免费提供';return true">
<title><?php echo $selurl?>的Alexa网站排名、流量、访问量、页面浏览量查询|中文ALEXA排名查询服务由站长中国免费提供</title>
<link rel="stylesheet" href="images/Style.css" type="text/css" media="all" />
<script src="ajax.js" type="text/javascript"></script>
<SCRIPT LANGUAGE="JavaScript">
function killErrors() {
return true;
}
window.onerror = killErrors;
var Sys_LoadStart=new Date();
window.onload=function ajaxs(){
var domain = document.getElementById('domain').value;
talktoServer('ajaxs.php?action=rangs&domain='+domain,'changestext',"html");
talktoServer('ajaxs.php?action=sonvisits&domain='+domain,'changestext2',"html");
talktoServer('ajaxs.php?action=visits&domain='+domain,'changestext3',"html");
}
</SCRIPT>
</head>
<body>
<!--头部代码开始-->
<div class="colspan">
<div class="title"><a href="">中文 Alexa 网站排名、流量、访问量、页面浏览量查询系统 PoweredBy ZZCN5.COM</a> | 推荐:<a href="http://www.zzcn5.com">站长中国</a> <a href="http://tool.zzcn5.com">站长工具</a> <a title="把查询地址加到收藏夹,以方便以后查询!" onClick="window.external.addFavorite('','网站ALEXA排名查询')">加入收藏夹</a></div>
<div class="data">
<form name="form1" action="" method="POST">
<table width="780" cellspacing="0">
<tr>
<td>
请输入要查询的网址: HTTP://WWW. <input type="text" style="border:1px solid #999900;padding:3px;font-weight:bold;font-size:15px" id="domain" name="domain" size="28" id="url" value="<?php echo $selurl?>" onKeyDown="if(event.keyCode==13)document.form1.submit();" class="input_form"><script>document.alexasearch.domain.focus()</script> <input type="submit" value="查 询" name="submit" class="submit_button" id="sub" style="margin-top:9px;padding-top:2px;width:100px;height:27px">
</td>
</tr>
</table>
</form>
</div>
</div>
<!--False-->
<div id="text_ad"></div>
<!--头部代码结束-->
<div class="colspan">
<div class="title">网站 <b><font color="#FFFF00">www.<?php echo $selurl?></font></b> 在 Alexa 上全球综合排名第 <b><font color="#FFFF00"><?php echo $wordpm2?></font></b> 位</div>
<div class="data">
<table width="780" cellspacing="0" class="DoubleColorTable">
<tr>
<td colspan="7">只提供ALEXA排名查询服务,请勿咨询如何提高ALEXA排名和ALEXA排名作弊,不赞同和鼓励任何作弊行为。</td>
</tr>
<tr>
<td width="210" height="155" rowspan="7"><div id="view_pic"><a href="http://www.<?php echo $selurl?>" target="_blank"><Img Src="http://open.thumbshots.org/image.pxf?url=http://www.<?php echo $selurl?>" border="0" width="202" height="147"></a></div></td>
<td width="66">站点名称:</td>
<td width="100" align="left" title="<?php echo $selurl?>"><?php echo $selurl?></td>
<td width="66">网站站长:</td>
<td width="100" align="left" title="<?php echo $owner?>"><?php echo $owner?></td>
<td width="66">电子信箱:</td>
<td width="174" align="left" title="<?php echo $email?>"><?php echo $email?></td>
</tr>
<tr>
<td width="66">综合排名:</td>
<td width="100" align="left"><span id="Rank"><?php echo $wordpm2?></span></td>
<td width="66">下期排名:</td>
<td width="100" align="left"><span id="NextRank"><?php echo $wordpm2?></span></td>
<td width="66">收录日期:</td>
<td width="174" align="left"><?php echo $sldate?></td>
</tr>
<tr>
<td width="66">所属国家:</td>
<td width="100" align="left"><?php echo $country?></td>
<td width="66">编码方式:</td>
<td width="100" align="left">不详</td>
<td width="66">访问速度:</td>
<td width="174" align="left" title="页面平均载入时间<?php echo $speedtext?>Ms,比62%的网站访问速度快。结论:速度正常。"><?php echo $speedtext?> Ms / <?php echo $speedpct?>分</td>
</tr>
<tr>
<td width="66">成人内容:</td>
<td width="100" align="left">NO</td>
<td width="66">反向链接:</td>
<td width="100" align="left" title="点击数字查看详细反向链接站点"><a href="http://www.alexa.com/data/ds/linksin?q=link:<?php echo $selurl?>" target="_blank"><?php echo $weblink?></a> 个</td>
<td width="66">联系电话:</td>
<td width="174" align="left" title="<?php echo $phone?>"><?php echo $phone?></td>
</tr>
<tr>
<td width="66">详细地址:</td>
<td width="500" colspan="5" align="left" title="<?php echo $addr?>"><?php echo $addr?></td>
</tr>
<tr>
<td width="66">网站简介:</td>
<td width="500" colspan="5" align="left" title="<?php echo $site?>。"><?php echo $site?></td>
</tr>
<tr>
<td width="66" style="color:#ff0000;">站长推荐:</td>
<td width="260" colspan="3" align="left"><a href="http://www.zzcn5.com" target="_blank"><font style="color:#ff0000;font-weight:bold;">站长中国</font></a> <a href="http://tool.zzcn5.com/" target="_blank"><font style="color:#ff0000;font-weight:bold;">站长工具</font></a></td>
<td width="66">所属目录:</td>
<td width="174" align="left" title="<?php echo $ml?>"><?php echo $ml?></td>
</tr>
<tr>
<td><a href="http://alexa.chinaz.com/Update_Pic.asp?Domain=<?php echo $selurl?>" target="_blank">更新缩略图</a> | <a href="http://www.alexa.com/edit/index/<?php echo $selurl?>" target="_blank">修改信息</a> | <a href="http://www.alexa.com/data/details/editor?type=rl&url=<?php echo $selurl?>" target="_blank">提交链接</a></td>
<td colspan="6"><div><a href="http://tool.zzcn5.com/pr/pr
没有合适的资源?快使用搜索试试~ 我知道了~
基于PHP的仿chinaz的php版Alexa排名查询工具 v1.0.zip
共23个文件
gif:9个
htm:5个
js:4个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 114 浏览量
2023-07-25
08:14:02
上传
评论
收藏 36KB ZIP 举报
温馨提示
基于PHP的仿chinaz的php版Alexa排名查询工具 v1.0.zip
资源推荐
资源详情
资源评论
收起资源包目录
基于PHP的仿chinaz的php版Alexa排名查询工具 v1.0.zip (23个子文件)
132699466010484980
Alexa1.0
alexa
ads
pic2.htm 443B
pic.js 294B
xunway.com.gif 13KB
word.htm 2KB
pic.htm 468B
word2.htm 1KB
wz.js 300B
ajaxs.php 6KB
ajax.js 2KB
cache
404.htm 330B
function.php 844B
index.php 15KB
images
DoubleColorTable_bg.gif 66B
Title_Bg.gif 179B
Data_Bg.gif 329B
Load.gif 763B
Down_arrow.gif 379B
Up_arrow.gif 386B
Progect_Bg.gif 238B
Floater.js 912B
No_Pic.gif 4KB
Style.css 8KB
cache.asp 10B
共 23 条
- 1
资源评论
助力毕业
- 粉丝: 2173
- 资源: 5117
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功