程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> 網頁編程 >> PHP編程 >> 關於PHP編程 >> PHP制作的仿百度的站內搜索引擎代碼

PHP制作的仿百度的站內搜索引擎代碼

編輯:關於PHP編程

用PHP編寫的仿百度的站內搜索引擎代碼

<!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=utf-8" />
<style>
body,td,.p1,.p2,.i{font-family:arial}
body{margin:6px 0 0 0;background-color:#fff;color:#000;}
table{border:0}
a.t:hover{TEXT-DECORATION:underline}
.f{line-height:100%;font-size:100%;width:43em;padding-left:15px;word-break:break-all;word-wrap:break-word;}
.Tit {height:21px; font-size:14px;}
.fB {font-weight:bold;}
.i1 {font-size:16px}
.bi {background-color:#D9E1F7;height:20px;margin-bottom:12px}
.p{padding-left:18px;font-size:14px;word-spacing:4px;}
.m,a.m:link{COLOR:#666666;font-size:100%;}
#ft{clear:both;line-height:20px;background:#E6E6E6;text-align:center}
#ft,#ft *{color:#77C;font-size:12px;font-family:Arial}
#ft span{color:#666}
#usrbar{padding-right:10px;line-height:19px;font-size:12px;font-family:Arial;text-align:right;white-space:nowrap;margin-bottom:3px !important;margin-bottom:10px;}
.kw {font-family:Verdana;font-size:18px;}
.sb {height:2em;width:5.6em;font-size:14px;}
#b {width:600px;height:30px;padding-top:4px;color:#77c;font-size:12px;font-family:Arial}
#km {font-size:14px;height:50px;}
#l {font-size:14px;font-family:arial;width:600px;text-align:left;margin-bottom:5px}
img{border:0}
</style>
<title>
<?php
$keyword=htmlspecialchars($_GET[keyword]);
if($keyword!="")
{
echo "網頁教學網站內搜索_".$keyword."——Powered By WEBJX.COM";
?> </title>
<?php
}
else
{?>
</title>
</head>
<body>
<br /></br />
<center><a href="/index.html" target="_blank"><img src="images/php_logo_search_da.gif" alt="網頁教學網站內搜索" width="189" height="75" border="0" /></a><br />
<br />
<br />
<br />
<table width="600" border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="92"></td>
<td height="62"><form action="/search.php" method="get" name="search_form" target="_self" id="f">
<input type="text" name="keyword" class="kw" size="32" maxlength="100"/>
<input type="hidden" name="page" value="1" />
<input name="submit" type="submit" class="sb" value="站內搜索" />
<input type="hidden" name="writekeywords" value="yes" />
<br />
<br />
</form></td>
<td width="100" align="left"><a href="/others/search_help.html" target="_self" style="font-size:12px">幫助</a><br />
</td>
</tr>
</table>
<br />
<p style="height:30px;"><a target=_top href=javascript:window.external.AddFavorite(http://www.webjx.com,網頁教學網) style="font-size:12px">把網頁教學網加入收藏</a></p>
<p style="height:14px;font-size:12px;"><a href="/others/about_cn.html" target="_blank">關於網頁教學網</a> | <a href="/others/about_en.html" target="_blank" style="font-size:12px">About Webjx.com</a></p>
<p id="b" style="font-size:12px">&copy;2007 webjx.com <a href="http://www.baidu.com/duty"/></a></a> <a href="http://www.miibeian.gov.cn" target="_blank">冀ICP備05002422號</a> <a href="http://www.hd315.gov.cn/beian/view.asp?bianhao=010202001092500412"><img src="http://gimg.baidu.com/img/gs.gif" /></a></p>
</center></body>
</html>
<?PHP
exit(0);
}
?>
</head>
<body>
<table width="100%" height="54" align="center" cellpadding="0" cellspacing="0">

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved