⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 search_knowledge_engine.php

📁 最强的爬虫工程
💻 PHP
📖 第 1 页 / 共 2 页
字号:

<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>爱问知识人 - 搜索结果</title>
<link href="http://iask.sina.com.cn/css/zhishi_style_search.css" rel="stylesheet" type="text/css">
<script src="/js/zhishi_js.js" language="JavaScript" type="text/javascript"></script>
<style type="text/css">
body{margin:0px; background:#fff; color:#000; font-family:Arial; word-break:break-all;}
.z2tw{width:64px; height:20px; border:0; cursor:pointer; background:url(http://i2.sinaimg.cn/pfp/iask/zsr/z2_tw.gif) no-repeat;}
.d9_bb1{border-bottom:1px solid #d9d9d9;}
.z2bq_on{padding-top:4px; border:1px solid #cce3b1; border-bottom:0; background:url(http://i0.sinaimg.cn/pfp/iask/zsr/z2_ssbq_on.gif) right no-repeat;}
.z2bq_of{padding-top:4px; border-bottom:1px solid #d9d9d9; color:33c; text-decoration:underline; cursor:pointer;}
.b1d{border:1px solid #ddd; width:77px; height:93px;}
.fy{font-size:14px; color:#333; font-family:"宋体"; margin:10px 0; padding:0 0 20px 20px;}
.m td,.m a:link,.m a:visited,.m a:hover,.m active{font-size:12px; color:#9c9c9c;}
.r1{width:38em;}
a.c92:link, a.c92:visited{color:#999999; text-decoration:underline; font-size:12px;}
a.c92:hover, a.c92:active{color:#cc0033; text-decoration:underline; font-size:12px;}
.jia1{position:relative; top:1px; left:1px;}
</style>

<script language="JavaScript" type="text/javascript">
function bqqh (type){
	document.getElementById ("z2bq1").className = document.getElementById ("z2bq2").className = "z2bq_of";
	document.getElementById ("z2bq1").className = "z2bq_on";
	if (type != 0) {
		var fn = document.getElementById ('zsForm');
		fn.type.value = type;
		return iask_submit (fn, "know");
	}
	return false;
}
function setClassifySearch (classid) {
	if (classid != '0') {
		document.writeln ('<tr><td></td><td height="55">·<a href="search_knowledge_engine.php?key=&type=1&jzrxss=3">在全部分类中搜索</a><br>·<a href="javascript:fShow();void(0);">修改分类继续搜索</a></td></tr>');
	}
}
function getAlertLang (className, type) {
	var noun = (type == "1") ? "答案" : "问题";
	if (className != "") {
		document.writeln ("在<font color=\"#cc0033\">" + className + "</font>分类没有找到相匹配的" + noun + ",建议您:");
	}else {
		document.writeln ("没有和<font color=\"#cc0033\"></font>相匹配的" + noun + "</td>");
	}
}
function setQType (type) {
	if (type == "1") {
		document.writeln ("<tr><td></td><td height=\"55\">在此直接提问&nbsp;<input type=\"text\" name=\"title\" size=\"20\" class=\"f14\" value=\"\" maxlength=\"100\" align=\"absmiddle\">&nbsp;<span id=\"sst4\"><input type=\"image\" src=\"http://i3.sinaimg.cn/pfp/iask/zsr/z2_tw.gif\" value=\"\" onMouseDown=\"sst4.className='jia1';\" onMouseUp=\"sst4.className='';\" align=\"absmiddle\"></span></td></tr>");
		document.writeln ("<tr><td></td><td>您还可以:<br>·试试在全部网页中搜索“<a href=\"http://iask.com/s?k=\"></a>”;<br>·尝试使用语义相近的自然语言,扩大搜索范围。</td></tr>");
	}else {
		document.writeln ('<tr><td></td><td height="55"><img src="http://i2.sinaimg.cn/pfp/iask/zsr/z2_lyq.gif" border="0" width="8" height="8" hspace="4"><a href="http://iask.sina.com.cn/rank/browse_question_by_rank.php?type=3">高分问题</a>  <img src="http://i2.sinaimg.cn/pfp/iask/zsr/z2_lyq.gif" border="0" width="8" height="8" hspace="4"><a href="http://iask.sina.com.cn/rank/browse_question_by_rank.php?type=5">零回答问题</a></td></tr>');
	}
}
function setIframe (type) {
	// TODO : 写两个搜索无结果页的Flash
	return;
	
	var src = (type = 1) ? "":"";
	document.writeln ("<div style=\"margin-top:10px; width:698px !important; width:714px;\">");
	document.writeln ("	<iframe src=\"" + src + "\" width=\"100%\" height=\"440\" frameborder=\"0\" marginheight=\"0\" marginwidth=\"0\" hspace=\"0\" vspace=\"0\" scrolling=\"no\"></iframe>");
	document.writeln ("</div>");
}
</script>

<script src="http://iask.sina.com.cn/js/classify_flash.js" language="JavaScript" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">
function do_submit (args) {
	var fn = document.getElementById ('zsForm');
	try {
		fn.classid.value = getClassify ().GetVariable ("id");
		fn.gjss.value = 1;
	}catch (ex) {
		fn.classid.value = '0';
	}
	return iask_submit (fn, args);
}
function fShow (){
	document.getElementById ('d1').style.visibility = "visible";
}
function fHide (){ 
	document.getElementById ('d1').style.visibility = "hidden";
	document.getElementById ('z2ss_r').src="http://i3.sinaimg.cn/pfp/iask/zsr/z2_ss_r1.gif";
}
function ss_on (n){
	var z2 = document.getElementById ('z2ss_r');
	if(z2.src.indexOf("z2_ss_r4")!=-1) { return false; }
	z2.src="http://i2.sinaimg.cn/pfp/iask/zsr/z2_ss_r"+n+".gif";
}
function ss_of (n){
	var z2 = document.getElementById ('z2ss_r');
	if(z2.src.indexOf("z2_ss_r4")!=-1) { return false; }
	z2.src="http://i2.sinaimg.cn/pfp/iask/zsr/z2_ss_r"+n+".gif";
}
</script>
<body>
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<form id="zsForm" name="zsForm" method="get" onSubmit="return iask_submit (this, 'know');">
  <tr>
    <td nowrap="nowrap" width="170" height="65" align="center"><a href="/"><img src="http://i0.sinaimg.cn/pfp/ask/images/zhishi/logo_zhishi.gif" border="0" width="145" height="45" alt="爱问知识人"></a></td>
		<td nowrap="nowrap" width="25"></td>
    <td valign="top">
			<div style="position:relative; z-index:2; background:#fff; padding-top:20px;">
			<table border="0" cellpadding="0" cellspacing="0">
				<style type="text/css">
				.z2tw{width:64px; height:20px; border:0; cursor:pointer; background:url(http://i2.sinaimg.cn/pfp/iask/zsr/z2_tw.gif) no-repeat;}
				.jia1{position:relative; top:1px; left:1px;}
				</style>
				<tr>
					<td><input type=text name=key id=key size=40 class="f14 ar1" value="" onClick="ckwords(this);"></td>
					<td nowrap="nowrap" width="10"></td>
					<td><div id="sst1"><input type="image" src="http://i1.sinaimg.cn/pfp/iask/zsr/z2_ss_l.gif" value="" onMouseOver="ss_on(2);" onMouseOut="ss_of(1);" onMouseDown="sst1.className=sst2.className='jia1';" onMouseUp="sst1.className=sst2.className='';"></div></td>
					<td width="17"><div id="sst2"><img id="z2ss_r" style="cursor:pointer;" src="http://i0.sinaimg.cn/pfp/iask/zsr/z2_ss_r1.gif" border="0" width="17" height="20" onMouseOver="ss_on(3);" onMouseOut="ss_of(1);" onMouseDown="sst1.className=sst2.className='jia1';" onMouseUp="sst1.className=sst2.className='';" onClick="this.src='http://i0.sinaimg.cn/pfp/iask/zsr/z2_ss_r4.gif';fShow();"></div></td>
					<td nowrap="nowrap" width="10"></td>
					<td><div id="sst3">
					<input type="button" class="z2tw" value="" onMouseDown="sst3.className='jia1';" onMouseUp="sst3.className='';" onClick="return iask_submit(this.form,'ask');"></div></td>
					<td nowrap="nowrap" width="10"></td>
				</tr>
			</table>
			</div>
		</td>
  </tr>
<input type=hidden name="title">
<input type=hidden name="classid" value="0">
<input type=hidden name="type" value="1">
<input type=hidden name="gjss" value="0">
<input type=hidden name="page" value="0">
</form>
</table>
<div id="d1" style="position:absolute; z-index:1; top:41px; left:482px; visibility:hidden; border:1px solid #dde1ea; border-bottom:1px solid #b2b8d0; border-right:1px solid #b2b8d0;">
	<div align="center" style="width:440px; height:214px; border:1px solid #fff; background:#e8ecf2;">
		<table width="425" border="0" cellpadding="0" cellspacing="0" class="f12 c3"><tr><td height="25">&nbsp;&nbsp;高级搜索</td><td align="right"><a href="javascript:fHide();void(0);" title="关闭"><b style="color:#ccc; text-decoration:none;">×</b></a></td></tr></table>
		<table border="0" cellpadding="10" cellspacing="0" class="f12 c3" bgcolor="#ffffff">
			<tr align="center">
				<td>
				<table border="0" cellpadding="0" cellspacing="0" class="c3">
					<tr><td valign="top">选择分类范围:</td></tr>
					<tr><td><script language="javascript" type="text/javascript">setClassifyObj (0, "#FFFFFF", 0, "18|406|105");</script></td></tr>
				</table>
				</td>
			</tr>
			<tr align="center"><td><input type="image" src="http://i2.sinaimg.cn/pfp/iask/zsr/z2_ss.gif" value="" onClick="return do_submit ('know');"></td></tr>
		</table>
	</div>
</div>
	
<table border="0" width="100%" cellpadding="0" cellspacing="0" class="nav2">
	<style type="text/css">
	.nav_n{background:url(http://iask.com/img/v2_nav_c.gif) center; font-weight:bold; color:#fff; padding-top:5px !important; padding-top:6px;}
	.nav2{margin-bottom:11px; font-size:13px; color:#ccc; background:url(http://iask.com/img/v2_nav_bg.gif); font-family:"宋体";}
	.nav2 p{padding-top:5px;}
	.nav2 a:link, .nav2 a:visited, .nav2 a:hover, .nav2 a:active{display:block; width:55px; border-top:1px solid #fff; border-bottom:1px solid #fff; margin-top:1px; padding-top:3px !important; padding:4px 0 1px 0; color:#000; text-decoration:none; background:#f7f7f7;}
	.nav2 a:hover, .nav2 a:active{background:#e2e2e2; font-weight:bold;}
	.m2 a:link, .m2 a:visited, .m2 a:hover, .m2 a:active{display:block; width:55px; border-top:1px solid #fff; border-bottom:1px solid #fff; margin-top:1px; padding:3px 0 1px 0; color:#000; text-decoration:none; background:#f7f7f7;}
	.m2 a:hover, .m2 a:active{background:#e2e2e2; font-weight:bold;}
	.rn2{padding-top:5px; color:#000;}
	</style>
	<tr align="center" valign="top">
		<td nowrap width="20" height="29"></td>
		<td width="7"><p>|</p></td>
		<td nowrap width="55"><a href="http://www.google.cn/search?lr=&client=aff-sina&ie=gb&oe=utf8&hl=zh-CN&channel=search&q=" target="_blank" >网页</a></td>
		<td width="7"><p>|</p></td>
		<td nowrap width="55"><a href="http://iask.com/n?k=">新闻</a></td>
		<td width="7"><p>|</p></td>
		<td nowrap width="55"><a href="http://v.iask.sina.com.cn/v?k=">视频</a></td>
		<td width="7"><p>|</p></td>
		<td nowrap width="55"><a href="http://m.iask.com/g.php?k=">音乐</a></td>
		<td width="7"><p>|</p></td>
		<td nowrap width="55"><a href="http://p.iask.com/p?k=">图片</a></td>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -