PHP+Ajax 网站SEO查询工具 提供代码第3/3页
更新时间:2007年03月26日 00:00:00 作者:
index.html
复制代码 代码如下:
<!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" />
<title>PHP+Ajax 网站SEO查询工具 Powered By Master8.NET</title>
<meta name="author" content="站长吧 Master8.NET" />
<meta name="description" content="PHP+Ajax 网站SEO查询工具" />
<meta name="keywords" content="PHP,Ajax,网站SEO,查询,工具" />
<style>
body {
margin-top:10px;
background-color:#FFFFFF;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
}
img {
border:none;
}
a:link,a:visited,a:active {
color:#333333;
text-decoration:none;
}
a:hover {
color:#FF0000;
text-decoration:underline;
}
.div {
margin:auto;
padding:5px;
width:610px;
}
.line {
border-bottom:#E4E4E4 1px solid;
}
</style>
<script type="text/javascript" src="./ajax.js"></script>
<script type="text/javascript">
function doseo() {
if(!$('domain').value.match(/^([a-z0-9\-]{1,}\.)?[a-z0-9\-]{2,}\.([a-z0-9\-]{1,}\.)?[a-z0-9]{2,}$/i)){
alert('哈罗~~~首先,请输入正确的域名 :P ');
$('domain').value = '';
$('domain').focus();
return;
}
$('seo_result').innerHTML = ' <img src="./images/loading.gif" width="94" height="15" align="absmiddle" alt="正在加载,请稍候... 如果长时间未响应,请尝试重新查询"/> Loading...';
$('seo_result').style.display = '';
var jobs = new Array();
jobs[0] = "alexa";
jobs[1] = "pagerank";
jobs[2] = "google";
jobs[3] = "baidu";
jobs[4] = "chinarank";
jobs[5] = "sogourank";
jobs[6] = "yahoo";
jobs[7] = "msn";
jobs[8] = "sogou";
jobs[9] = "iask";
jobs[10] = "so163";
jobs[11] = "zhongsou";
jobs[12] = "vnet";
for (var i = 0; i < jobs.length; i++) {
if($(jobs[i]+'_check').checked == false) continue;
makeRequest('job='+jobs[i]+'&domain='+$('domain').value); break;
}
}
function $(ID) {
return document.getElementById(ID);
}
</script>
</head>
<body>
<div class="div line">
<input type="input" size="18" name="domain" id="domain" value="www.master8.net" style="height:12px;" onmouseover="this.select()" ondblclick="this.value='';" title="请输入您的网站域名 双击鼠标清空输入框"/>
<input type="radio" name="type" value="alexa" id="alexa_check" />Alexa排名
<input type="radio" name="type" value="pagerank" id="pagerank_check" checked />PageRank
<input type="radio" name="type" value="google" id="google_check"/>Google收录
<input type="radio" name="type" value="baidu" id="baidu_check"/>Baidu收录
<img src="./images/doseo.gif" width="52" height="18" align="absmiddle" onclick="doseo();" style="cursor:pointer" alt="网站SEO查询"/>
<img src="./images/moreseo.gif" width="52" height="18" align="absmiddle" onclick="$('seo_more').style.display=$('seo_more').style.display=='none'?'':'none';" style="cursor:pointer" alt="更多SEO查询"/>
</div>
<div class="div line" style="display:none" id="seo_more">
<input type="radio" name="type" value="chinarank" id="chinarank_check" />ChinaRank排名
<input type="radio" name="type" value="sogourank" id="sogourank_check" />搜狗Rank
<input type="radio" name="type" value="yahoo" id="yahoo_check"/>Yahoo
<input type="radio" name="type" value="msn" id="msn_check"/>MSN
<input type="radio" name="type" value="sogou" id="sogou_check"/>搜狗
<input type="radio" name="type" value="iask" id="iask_check"/>新浪
<input type="radio" name="type" value="so163" id="so163_check"/>网易
<input type="radio" name="type" value="zhongsou" id="zhongsou_check"/>中搜
<input type="radio" name="type" value="vnet" id="vnet_check"/>电信114
</div>
<div class="div line" style="display:none" id="seo_result">
</div>
<div class="div" style="font-size:9px;text-align:right;">
<a href="http://www.master8.net" target="_blank">Powered By Master8.NET</a> </div>
</body>
</html>
本地下载
相关文章
PHP 中 Orientation 属性判断上传图片是否需要旋转
本文给大家介绍使用php技术实现根据上传图片orientation属性判断是否需要旋转,感兴趣的朋友一起看看吧2015-10-10
php 升级到 5.3+ 后出现的一些错误,如 ereg(); ereg_replace(); 函数报错
这篇文章主要介绍了php 升级到 5.3+ 后出现的一些错误,如 ereg(); ereg_replace(); 函数报错 的相关资料,需要的朋友可以参考下2015-12-12
在Ubuntu 14.04上部署 PHP 环境及 WordPress
Ubuntu确实很好玩。有喜欢的命令行,简洁的界面,不同于Window要的感觉。偶尔换换环境工作,学习Linux的思维方式,是一种不错的做法。之前也折腾过Ubuntu,想在Linux下学习某些开发(主要还是和代码打交道),Ubuntu当然是最好不过的选择,并且刚发布了14.04版本2014-09-09


最新评论