Intra-site search engine code similar to Baidu compiled in 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 "Search _". $ keyword. "-- Powered By WEBJX. COM ";
?> </Title>
<? Php
}
Else
{?>
</Title>
</Head>
<Body>
<Br/> </br/>
<Center> <a href = "/index.html" target = "_ blank"> </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 = "intra-Site Search"/>
<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 "> help </a> <br/>
</Td>
</Tr>
</Table>
<Br/>
<P style = "height: 30px;"> <a target = _ top href = javascript: window. external. addFavorite (http://www.webjx.com, web teaching network) style = "font-size: 12px"> Add the web teaching network to favorites </a> </p>
<P style = "height: 14px; font-size: 12px; "> <a href ="/others/about_cn.html "target =" _ blank "> webpage tutorial Network </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 href = "http://www.miibeian.gov.cn" target = "_ blank"> Ji ICP standby No. 05002422 </ a> <a href = "http://www.hd315.gov.cn/beian/view.asp? Bianhao = 010202001092500412 "> </a> </p>
</Center> </body>
</Html>
<? PHP
Exit (0 );
}
?>
</Head>
<Body>
<Table width = "100%" height = "54" align = "center" cellpadding = "0" cellspacing = "0">