91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

php查詢多個門戶網站頁面搜索結果簡單代碼

發布時間:2020-06-13 15:34:07 來源:網絡 閱讀:1577 作者:longmaoheyezhu 欄目:web開發

在門戶網站搜索信息的功能.

site.php

main.php

left.php

search.php

common/function.php

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

site.php

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=GBK">

<link href="./css/style.css" rel="stylesheet">

<title>全國最全最大的搜索引擎</title>

</head>

<script language="javascript">

function check(){

if(myform.keyword.value==""){

alert("請輸入查詢關鍵字!");myform.keyword.focus();return false;

}

}

</script>

<body>

<br><br><br><br>

<br>

<br>

<br><br><br>

<a href="./" target="_self"><img src="p_w_picpaths/kuaikuaisou.gif" border="0" width="216" height="137"></a><br>

<br>

<table width="592" border="0" cellspacing="0" cellpadding="0" height="16">

<tr align="center">

<td width="592" height="9">

<table width="600" border="0" cellspacing="0" cellpadding="0" height="23">

<tr align="center">

<td width="49" class="su1" id="su99s1" onClick="so99su(2)"><a href="./index.php" target="_self">站內</a></td>

<td width="1"></td><td width="49" class="su0" id="su99s2" onClick="so99su(1)"><a href="./site.php" target="_self">網頁</a></td>

<td width="1"></td><td width="49" class="su1" id="su99s3" onClick="so99su(3)">音樂</td>

<td width="1"></td><td width="49" class="su1" id="su99s4" onClick="so99su(4)">鈴聲</td>

<td width="1"></td><td width="49" class="su1" id="su99s5" onClick="so99su(5)">圖片</td>

<td width="1"></td><td width="49" class="su1" id="su99s6" onClick="so99su(6)">電影</td>

<td width="1"></td><td width="52" class="su1" id="su99s7" onClick="so99su(7)">新聞</td>

<td width="1"></td><td width="52" class="su1" id="su99s8" onClick="so99su(8)">B T</td>          

<td width="1"></td><td width="52" class="su1" id="su99s9" onClick="so99su(9)">論壇</td>

<td width="1"></td><td width="49" class="su1"id="su99s10" onClick="so99su(10)">圖書</td>

<td width="1"></td><td width="49" class="su1"id="su99s11" onClick="so99su(11)">更多</td>

<td width="1"></td></tr></table>

</td>           

</tr>

<form name="s" method="get" action="main.php" target="_self">

<tr align="center">

<td height="96" background="p_w_picpaths/bg2.gif" >

  <p align="center">

<input type="hidden"  name="shq" value="84">

    <input name="keyword" type="text"  id="keyword" size="60" maxlength="100"  onMouseOver="this.focus()" onFocus="this.select()" class="txt"/>&nbsp;

    <input name="submit" type="submit"  value="codego.net 互聯網搜索" class="btn" onClick="return check();">

  </p>

 <p align="center"><font color="#008000">

   <input type="radio"  value="baidu" name="xm" class="tb1" checked><a target="_blank">百度</a>&nbsp;

   <input type="radio" value="google" name="xm" class="tb1"> <a target="_blank">Google</a>&nbsp;

   <input type="radio" value="msn" name="xm" class="tb1"> <a target="_blank">MSN中國</a>&nbsp;

   <input type="radio" value="zhongsou" name="xm" class="tb1"><a target="_blank">中搜</a>&nbsp;

   <input type="radio" value="sogou" name="xm" class="tb1"><a target="_blank">搜狗</a>&nbsp;

   <input type="radio" value="tianw" name="xm" class="tb1"><a target="_blank">天網</a>&nbsp;

   <input type="radio" value="iask" name="xm" class="tb1"> <a target="_blank">愛問</a>&nbsp;

   <input type="radio" value="yahoo" name="xm" class="tb1"><a target="_blank">雅虎</a>&nbsp;

   <input type="radio" value="17sou" name="xm" class="tb1"><a target="_blank"> 一起搜</a>&nbsp;

   </font></p>                       

 </td>                                                         

</tr>

</form> 

</table>

<p><a href="./manage/admin/login.php">&nbsp;</a><a >編程詞典</a>&nbsp;|&nbsp;<a onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.mrbccd.com')" >把快快搜設為首頁</a>&nbsp;|&nbsp;<a >關于快快搜</a></p>

<p><span class="STYLE1">Copyright&nbsp;&copy;&nbsp;快快搜主站 www.mrbccd.com All Rights Reserved!</span><span class="STYLE1">&nbsp;吉ICP備 122345678</span></p>

<p>

<script>function so99su(n){

var KeyNo=Math.floor(6*Math.random());

for(i=1;i<12;i++){

eval("document.getElementById('su99s"+i+"').className='su1'");

}

eval("document.getElementById('su99s"+n+"').className='su0'");

if(n==1){s.shq.value="zn";}

else if(n==2){s.shq.value="wy";}

else if(n==3){s.shq.value="yy";}

else if(n==4){s.shq.value="ls";}

else if(n==5){s.shq.value="tp";}

else if(n==6){s.shq.value="dy";}

else if(n==7){s.shq.value="new";}

else if(n==8){s.shq.value="bt";}

else if(n==9){s.shq.value="bbs";}

else if(n==10){s.shq.value="book";}

else if(n==11){s.shq.value="more";}

}

</script> 

</p>

</body>

</html>

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

left.php

<?php 

$keyword =$_GET['keyword']; 

$xm=$_GET['xm'];

$keyword2=urlEncode($keyword); 

$keyword3=strtolower($keyword2); 

if($keyword =="") 

{echo "你沒有輸入條件啊!!"; 

exit;} 

?>

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=GBK">

<link  href="./css/style.css" rel="stylesheet" type="text/css">

<style>

body  {text-align: left;}

.t1{ color: #FFFF00;font-family: Webdings;} 

.t2{ color: #9999FF;font-family: Webdings;} 

.parent{width:100%; height: 20; letter-spacing: 2; vertical-align: 0; font-weight: bold; background-color: #66CCFF; border-bottom-style: solid; border-bottom-width: 1}

</style>

<base target="cjss">

</head>

<BODY>

<?php print <<<EOT

<script>if(top==self)top.location="main.php?keyword=$keyword";</script>

<form action="main.php" method="get" target="_top">

        <table border="0" cellpadding="2" cellspacing="0" bgcolor="#47AFF" width="100%">

      <tr>

        <td width="100%" align="center"><a href="./" target="_top"><img  src="p_w_picpaths/kuaikuaisou.gif" border="0" width="120" height="68"></a><br>

          <br>&nbsp;<input name="keyword" value="$keyword" size="15" >

  </td>

      </tr>

      <tr>

        <td width="100%"  height="35" align="center">

           &nbsp;<input type="submit" value="極速搜索" class="btn">

        </td>

      </tr> </FORM>

  

  </table>&nbsp;

<!--網頁標題-->

<div class='parent' ><font class="t1">8</font>&nbsp;網頁</div>

<!--下面是常用的大型搜索引擎-->

<div >&nbsp;<font class="t2">4</font>&nbsp;

<a >百度</a>

<br>&nbsp;<font class="t2">4</font>&nbsp;

<a >GOOGLE</a>

<br>&nbsp;<font class="t2">4</font>&nbsp;

<a  >MSN中國</a>

<br>&nbsp;<font class="t2">4</font>&nbsp;

<a >中搜</a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a  >搜狗</a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a  >天網</a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a >愛問</a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a >雅虎</a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a >一起搜</a>

</div>

<!--音樂歌詞-->

<div class='parent'><font  class="t1">8</font>&nbsp;音樂歌詞</div>

<!--下面是常用的歌詞網站-->

<div >&nbsp;<font class="t2">4</font>&nbsp;

<a  >QQ音樂</a><br> &nbsp;<font class="t2">4</font>&nbsp;

<a >百度MP3</a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a  >雅虎MP3</a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a  >中搜 MP3</a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a >搜狗MP3</a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a >愛問MP3</a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a >百度歌詞 </a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a  href="http://music.yahoo.com.cn/lyric.html?pid=82676_1006&p=$keyword2&button=$keyword2&button=%B8%E8%B4%CA%CB%D1%CB% F7&mimetype=all&source=ysearch_music_result_topsearch">雅虎歌詞</a>

</div>

<!--電影網站-->codego.net/tags/4/1/

<div class='parent'><font  class="t1">8</font>&nbsp;電影</div>

<!--下面是常用的電影網站-->

<div class='child'  >&nbsp;<font class="t2">4</font>&nbsp;

<a  >百度影視</a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a  >雅虎 Video</a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a >愛問視頻</a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a  >天網影視</a>

</div>

<!--軟件源碼-->

<div class='parent'><font  class="t1">8</font>&nbsp;軟件源碼&nbsp;</div>

<!--下面是常用的軟件源碼網站-->

<div class='child' >&nbsp;<font class="t2">4</font>&nbsp;

<a  >華軍軟件園</a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a  >天空軟件</a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a  >中國站長站</a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a  >太平洋軟件</a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a  >搜狗下載</a></div>

<!--論壇網站-->

<div  class='parent'><a name="bbs"></a><font  class="t1">8</font>&nbsp;論壇</div>

<!--下面是一些大型的論壇-->

<div  class='child'  >&nbsp;<font class="t2">4</font>&nbsp;

<a >百度貼吧</a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a >新浪說吧</a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a  >Chinabbs</a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a >中搜論壇</a></div>

<!--新聞網站-->

<div class='parent'><font  class="t1">8</font>&nbsp;新聞</div>

<!--下面是一些知名的新聞網站-->

<div class='child'  >&nbsp;<font class="t2">4</font>&nbsp;

<a >百度新聞</a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a  >雅虎新聞</a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a >新浪新聞</a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a >搜狗新聞</a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a  >新華網新聞</a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a  >中搜新聞</a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a >GOOGLE新聞</a></div>

<!--圖片資源網站-->

<div class='parent'><font class="t1">8</font>&nbsp;圖片</div>

<div id='KB8Child' class='child' >&nbsp;<font class="t2">4</font>&nbsp;

<a href="http://p_w_picpath.baidu.com/i?tn=baidup_w_picpath&ct=201326592&lm=- 1&z=0&rn=&_sv=6&word=$keyword2&_si.x=15&_si.y=11">百度圖片</a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a  href="http://p_w_picpath.yahoo.com.cn/search?p=$keyword2&pid=82676_1006&needbid=&ei=GBK&source=3721_union">雅虎圖片</a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a  href="http://p_w_picpaths.google.com/p_w_picpaths?q=$keyword2&amp;hl=zh-CN">Google圖片</a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a >中搜圖片</a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a  href="http://p_w_picpath.sogou.com/imgsearch.jsp?keyword=$keyword2&amp;sogouhome="> 搜狗圖片</a><br>&nbsp;<font class="t2">4</font>&nbsp;

<a >愛問圖片</a>  </div>  

</BODY>  

</HTML> 

<!--

EOT;

?>-->


/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

search.php

<html>

<link rel="stylesheet" href="./css/style.css" />

<style type="text/css">

<!--

.STYLE13 {color: #FF3399}

.STYLE16 {color: #FF0000}

.STYLE20 {color: #0066FF}

.STYLE21 {color: #006600}

-->

</style>

<table width="100%" border="0" cellpadding="0" cellspacing="0">

  <tr>

    <td width="96%" align="left">

<?php require_once("top.php");?>

</td>

  </tr>

</table>

<?

require("splitword.php");

require("common/function.php");

if($_GET){

$keyword=$_GET[keyword];

}

if($submit2!=""){ //???é???á?????é??

$h_keyword=$hide_keyword; //????????????

$keynew=$keyword;

$h_keyword.=$keyword; //????????+????

  $keyword=$h_keyword; //??×???????????keyword

}

$yuan=trim($keyword);

$tt= $yuan;

$str=gl($tt);

$sp = new SplitWord();

//·????è?????????±????·???????????·??????·

$time_start = getmicrotime();

$sp->SplitRMM($str);

$tt=$sp->SplitRMM($str);

?>

<?php

require_once("./common/db_mysql.class.php");

$DB = new DB_MySQL; //???¨???ó

$str=array(" ",""); //?¨????????×é

$cc=str_replace($str,"",$tt); //????×?·???????????

if(substr($cc,0,2)=="??"){

$cc= substr($cc,2); //?????°?????°???±·???

}

if(substr($cc,-2,2)=="??"){

$cc= substr($cc,0,-2); //?????ó?????°???±·???

}

if(substr($cc,0,2)=="??" && substr($cc,-2,2)=="??"){

$a= substr($cc,2); //?????°?????°???±·???

$cc= substr($a,0,-2); //?????ó?????°???±·???

}

$newstr = explode("??",$cc); //????explode()??????×?·???×???????×é

if(count($newstr)==1){ //??????×é????????????1?????ò°??????????????é??

 $sql = "select * from tb_info where title like '%".$newstr[0]."%' or content like '%".$newstr[0]."%'order by id desc ";

}else{

if($submit2!=""){ //???é???á?????é??

//?????é??·???

$keynew=gl($keynew); //????±ê??·???

$sp1 = new SplitWord();

$sp1->SplitRMM($keynew);

$tc=$sp1->SplitRMM($keynew);

$cc1=dunhao($tc);

$newstr1 = explode("??",$cc1); //????explode()??????×?·???×???????×é

/***************************************************************************************/

//?????é??????·¨

$k_sql="select k_id from tb_temp";

$info = $DB->fetch_one_array($k_sql);

$kid=substr($info['k_id'],0,-1); //????×??ó?????°@?±

$k_id=explode('@',$kid); //??ID??×???????×é

$sql = "select * from tb_info "; //?é??????±í????????

while(list($name,$value)=each($k_id)){ //±é?ú??×é

   $a.="$value".",";

}

$a= substr($a,0,-1); //????×??ó?????°,?±·???

//????in???ü×??é???ù??ID????????????

$sql .= " where id in(".$a.") "; //???¨?à????????

$sql2=" and (";

for($i=0;$i<count($newstr1);$i++){

$sql0.=" title like '%".trim($newstr1[$i])."%'"." or";

}

for($j=0;$j<count($newstr1);$j++){

$sql1.=" content like '%".trim($newstr1[$j])."%'"." and";

}

$sql1=substr($sql1,0,-3); //????×??ó?????°and?±

$sql3=")";

$sql.=$sql2.$sql0.$sql1.$sql3. " order by id desc";

}

else{

//?????é???á????

for($i=0;$i<count($newstr);$i++){

$sql0.=" title like '%".trim($newstr[$i])."%'"." or";

}

for($j=0;$j<count($newstr);$j++){

$sql1.=" content like '%".trim($newstr[$j])."%'"." or";

}

$sql1=substr($sql1,0,-3); //????×??ó?????°or?±

$sql="select * from tb_info where".$sql0.$sql1." order by id desc";

}

}

if($_GET){

//???????á????????

$page_num = $_GET['page_num']? $_GET['page_num']: 1;

}

else{

//?×???????±,??????1

$page_num = 1;

}

//????×???????

$DB->query($sql);

$row_count_sum = $DB->get_rows();

$row_count_sum;

//??????????,???????????????ò???±?????¨??

$row_per_page = 6;

//×?????

$page_count = ceil($row_count_sum/$row_per_page);

//??????·??????????ò??×??ó????

$is_first = (1 == $page_num) ? 1 : 0;

$is_last = ($page_num == $page_count) ? 1 : 0;

//?é????????????

$start_row = ($page_num-1) * $row_per_page;

//??SQL?????í??limit×???

$sql .= " limit $start_row,$row_per_page";

//?????é??

$DB->query($sql);

$res = $DB->get_rows_array();

//?á????????

$rows_count=count($res);

$time_end = getmicrotime(); //?á?????±

$t0 = $time_end - $time_start; //???÷???±

?>

<TABLE cellSpacing=1 cellPadding=0 width="100%" bgColor=#e5ecf9  >

  <tr>

    <td width="62%" border=1 >&nbsp;?ú?é???????ü×?????<?php echo $keyword;?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo "·???:  "; foreach( $newstr as $link) { ?> <a href="so.php?keyword=<?php echo urlencode($link); ?>"><?php echo $link." ";} ?></a></td>

    <td width="22%" border=1 >?ì?ì?????????à??????????&nbsp;<font  color="#AA0066"><?php echo $row_count_sum;?></font>&nbsp;????</td>

    <td width="16%" border=1 ><?php echo "???±?? $t0 ??";?></td>

  </tr>

</table>

<table width=100% height="600" border=0 cellspacing=0 cellpadding=0>

  <tr>

    <td valign="top"><br /><p>

        <?php

for($i=0;$i<$rows_count;$i++){

$id=$res[$i]['id']; //ID??

$title=$res[$i]['title']; //±ê??

$content = $res[$i]['content']; //????

?>

      </p>

      <table width="831" border="0" cellpadding="0" cellspacing="0" >

        <tr>

          <td width="831" height="23" class="alink">&nbsp;&nbsp;&nbsp;&nbsp;

  <a href="lookinfo.php?id=<?php echo $id; ?>" target="_blank">

  <?php

  for($n=0;$n<count($newstr);$n++){

 $title= str_ireplace($newstr[$n],"<font color='#FF0000'>".$newstr[$n]."</font>",$title);

}

   echo chinesesubstr($title,0,80);

   if(strlen($title)>80){ echo "...";}

  ?>

  </a></td>

        </tr>

        <tr >

          <td >&nbsp;&nbsp;&nbsp;&nbsp;

            <?php

for($k=0;$k<count($newstr);$k++){

 $content= str_ireplace($newstr[$k],"<font color='#FF0000'>".$newstr[$k]."</font>",$content);

}

echo chinesesubstr($content,0,600);   

  if(strlen($content)>600){echo "...";} ?>

          </td>

        </tr>

      </table>

      <p>

        <?php

$key0.=$id.'@';

}

$key00=$key0;

 if($row_count_sum>0){

/* ???é???????ü×??????????±±í??*/

$ins="update tb_temp set k_id='".$key00."'";

$DB->query($ins);

}

/* *************************  */

  ?></p>

      <table width="100%" border="0">

        <tr>

          <td height="30">&nbsp;</td>

        </tr>

      </table>

  <?php 

  if($row_count_sum>0){

  ?>

      <table width="850" border="0" cellpadding="2" cellspacing="1" bgcolor="#99CCCC" >

        <tr height='26px' align="right">

          <th align="center" bgcolor="#E5ECF9">

            &nbsp;&nbsp; [·???????]</th>

        </tr>

        <tr height='26px'>

          <td align="center" bgcolor="#E5ECF9">

  <?php

if(!$is_first){

?>

            <a href="./search.php?page_num=1&keyword=<?php echo $keyword;?>">??????</a> <a href="./search.php?page_num=<?php echo ($page_num-1);?>&keyword=<?php echo $keyword;?>">??????</a>

            <?php

}

else{

?>

            ??????&nbsp;&nbsp;??????

            <?php

}

if(!$is_last){

?>

            <a href="./search.php?page_num=<?php echo ($page_num+1);?>&keyword=<?php echo $keyword;?>">??????</a> <a href="./search.php?page_num=<?php echo $page_count;?>&keyword=<?php echo $keyword;?>">×??ó????</a>

            <?php

}

else

{

?>

            ??????&nbsp;&nbsp;×??ó????

            <?php

}

?>

  </td>

        </tr>

      </table>

<?php

}else{

 $z_null="&nbsp;&nbsp;&nbsp;&nbsp;";

 if($row_count_sum==0){echo  $z_null."±§?????????ì?÷????&nbsp;<font color='FF0000'>".$yuan."</font>&nbsp;?à????????????";

 echo "<br><br><br>";

 echo  $z_null."?ì?ì?? ?¨?é?ú??<br>";

 echo  $z_null."?¤ ?é??????????×???·????ó<br>";

 echo  $z_null."?¤ ??????????±?????×????????? '??'??'??'??'??' ??<br>";

}

}

?>

      </td>

  </tr>

</table>

<table width=100% border=0 cellspacing=0 cellpadding=0>

  <tr>

    <td height=30 align=center><font color="#7777CC">?ì?ì???÷</font> <a href=http://www.mrbccd.com><font color=#7777CC>&copy; 2008&nbsp;&nbsp;?????????ì?ì???ù???ú??????×??????÷???á???????ú±í?ì?ì??????±????÷???????????ò????</font></a>&nbsp;</td>

  </tr>

</table>

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

main.php

<?php 

$keyword =$_GET['keyword']; 

$keyword2=urlEncode($keyword); 

$xm=$_GET['xm'];

if($keyword==""){

echo "對不起,您沒有輸入關鍵字!!<p><a href=\"javascript:history.back(1)\">點此返回</a></p>";

}

switch ($xm) {

   case  "baidu":

   $murl="http://www.baidu.com/s?wd=$keyword2";break;

   case "google":

$murl="http://www.google.com/search?hl=zh-CN&q=$keyword2";break;

   case  "msn":

       $murl="http://cnweb.search.live.com/results.aspx?q=$keyword2&go=&form=QBRE";break;

   case  "zhongsou":

 $murl="http://p.zhongsou.com/p?w=$keyword2";break;

   case  "sogou":

 $murl="http://www.sogou.com/web?query=$keyword2";break;

   case  "tianw":

 $murl="http://www.tianwang.com/cgi-bin/tw?cdtype=GB&word=$keyword2";break;

   case  "iask":

         $murl="http://www.iask.com/w?k=$keyword2&pid=33933&fromlianmeng=lianmeng";break;

   case  "yahoo":

 $murl="http://search.cn.yahoo.com/search?ei=gbk&fr=fp-tab-web-ycn&meta=vl%3Dlang_zh-CN%26vl%3Dlang_zh-TW&pid=ysearch&source=ysearch_www_hp_button&p=$keyword2";  break;

   case  "17sou":

      $murl="http://www.17so.com/so?q=$keyword2";break; 

}

?>

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=GBK">

<title>快快搜----<?php echo $keyword;?></title>

<style type="text/css">.navPoint {COLOR: white; CURSOR: hand; FONT-FAMILY: Webdings; FONT-SIZE: 9pt}</style>

</head>

<body scroll=no oncontextmenu="return false;" onclick="HideMenu();"><script>

function switchSysBar(){ //設置打開或關閉切換欄

if (switchPoint.innerText==3){

switchPoint.innerText=4

document.all("frmTitle").style.display="none"

}else{

switchPoint.innerText=3

document.all("frmTitle").style.display=""

}}

</script>

<table border="0" cellPadding="0" cellSpacing="0" height="100%" width="100%">

  <tr>

    <td align="middle" noWrap vAlign="center" id="frmTitle"><iframe frameborder="0"  src="left.php?keyword=<?php echo $keyword;?>" > </iframe></td>

    <td class=division>

    <table border="0" cellPadding="0" cellSpacing="0" height="100%" bgcolor="#47AFF">

      <tr>

        <td onClick="switchSysBar()">

        <font >

        <br>

        <span class="navPoint" id="switchPoint" title="關閉/打開左欄">4</span><br>

        <br>

        屏幕切換 </font></td>

      </tr>

    </table>    </td>

    <td ><iframe frameBorder="0" id="main" name="cjss" scrolling="yes" src="<?php echo $murl;?>" >

    </iframe></td>

  </tr>

</table>

<script>

if(window.screen.width<'1024'){ //如果屏蔽的寬度小于1024像素,那么調用自定義函數

switchSysBar();

}

</script>

</body>

</html>

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

<?php 

 function chinesesubstr($str,$start,$len) {  //$str??????,$start???????????λ???$len??????????

    $strlen=$start+$len;       //??$strlen?洢???????????????????????????λ???????????????

    for($i=0;$i<$strlen;$i++) { 

        if(ord(substr($str,$i,1))>0xa0) {      //?????????????????ASCII?????????0xa0,????????,

                                        //ord:ord() ??????????????????????? ASCII ?

            $tmpstr.=substr($str,$i,2);         //????????λ???????????$tmpstr???????????????

            $i++;    //???????1

        } 

else 

            $tmpstr.=substr($str,$i,1);   //????????????????????λ???????????$tmpstr

    } 

    return $tmpstr;      //?????????

}

/*function ExecTime(){  //?????????亯??

$time = explode(" ", microtime());

$usec = (double)$time[0]; 

$sec = (double)$time[1]; 

return $sec + $usec; 

}

*/

function getmicrotime(){ 

    list($usec, $sec) = explode(" ",microtime()); 

    return ((float)$usec + (float)$sec); 

}

function gl($tt){ //?????????

$str=array("??","");

$tt=str_replace($str,'',$tt);

$str=array("??","");

$tt=str_replace($str,'',$tt);

$str=array("!","");

$tt=str_replace($str,'',$tt);

$str=array("??","");

$tt=str_replace($str,'',$tt);

$str=array("??","");

$tt=str_replace($str,'',$tt);

$str=array(";","");

$tt=str_replace($str,'',$tt);

$str=array("??","");

$tt=str_replace($str,'',$tt);

$str=array(":","");

$tt=str_replace($str,'',$tt);

$str=array("??","");

$tt=str_replace($str,'',$tt);

$str=array("*","");

$tt=str_replace($str,'',$tt);

$str=array(".","");

$tt=str_replace($str,'',$tt);

$str=array(",","");

$tt=str_replace($str,'',$tt);

$str=array("??","");

$tt=str_replace($str,'',$tt);

$str=array("??","");

$tt=str_replace($str,'',$tt);

$str=array("??","");

$tt=str_replace($str,'',$tt);

$str=array("??","");

$tt=str_replace($str,'',$tt);

$str=array("?","");

$tt=str_replace($str,'',$tt);

$str=array("??","");

$tt=str_replace($str,'',$tt);

$str=array("'","");

$tt=str_replace($str,'',$tt);

$str=array('\\',"");

$tt=str_replace($str,'',$tt);

$str=array('/',"");

$tt=str_replace($str,'',$tt);

$str=array("(","");

$tt=str_replace($str,'',$tt);

$str=array(")","");

$tt=str_replace($str,'',$tt);

$str=array("??","");

$tt=str_replace($str,'',$tt);

$str=array("??","");

$tt=str_replace($str,'',$tt);

$str=array("_","");

$tt=str_replace($str,'',$tt);

$str=array("-","");

$tt=str_replace($str,'',$tt);

$str=array("??","");

$str=str_replace($str,'',$tt);

$str=array(" ","");

$str=str_replace($str,'',$tt);

return $str;

}

function dunhao($cc){

if(substr($cc,0,2)=="??"){

$cc= substr($cc,2); //????????????????

}

if(substr($cc,-3,2)=="??"){

$cc= substr($cc,0,-3); //????????????????

}

if(substr($cc,0,2)=="??" && substr($cc,-3,2)=="??"){

$a= substr($cc,2); //????????????????

$cc= substr($a,0,-3); //????????????????

}

return $cc;

}

function gl1($tt){ //?????????

$str=array("??","");

$tt=str_replace($str,'',$tt);

$str=array("??","");

$tt=str_replace($str,'',$tt);

$str=array("!","");

$tt=str_replace($str,'',$tt);

$str=array("??","");

$tt=str_replace($str,'',$tt);

$str=array("??","");

$tt=str_replace($str,'',$tt);

$str=array(";","");

$tt=str_replace($str,'',$tt);

$str=array("??","");

$tt=str_replace($str,'',$tt);

$str=array(":","");

$tt=str_replace($str,'',$tt);

$str=array("??","");

$tt=str_replace($str,'',$tt);

$str=array("*","");

$tt=str_replace($str,'',$tt);

$str=array(".","");

$tt=str_replace($str,'',$tt);

$str=array(",","");

$tt=str_replace($str,'',$tt);

$str=array("??","");

$tt=str_replace($str,'',$tt);

$str=array("??","");

$tt=str_replace($str,'',$tt);

$str=array("??","");

$tt=str_replace($str,'',$tt);

$str=array("??","");

$tt=str_replace($str,'',$tt);

$str=array("?","");

$tt=str_replace($str,'',$tt);

$str=array("??","");

$tt=str_replace($str,'',$tt);

$str=array("'","");

$tt=str_replace($str,'',$tt);

$str=array('\\',"");

$tt=str_replace($str,'',$tt);

$str=array('/',"");

$tt=str_replace($str,'',$tt);

$str=array("(","");

$tt=str_replace($str,'',$tt);

$str=array(")","");

$tt=str_replace($str,'',$tt);

$str=array("??","");

$tt=str_replace($str,'',$tt);

$str=array("??","");

$tt=str_replace($str,'',$tt);

$str=array("_","");

$tt=str_replace($str,'',$tt);

$str=array("-","");

$tt=str_replace($str,'',$tt);

$str=array("??","");

$str=str_replace($str,'',$tt);

return $str;

}

?>

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////


向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

满城县| 米易县| 普安县| 磐石市| 项城市| 大洼县| 蒙自县| 衡东县| 青河县| 绥阳县| 乌兰察布市| 建水县| 乡宁县| 富源县| 房山区| 屏南县| 道孚县| 英吉沙县| 濮阳市| 专栏| 万荣县| 泰宁县| 平武县| 三穗县| 彩票| 涞水县| 晋中市| 河间市| 新民市| 循化| 嘉峪关市| 尚义县| 克山县| 调兵山市| 韶关市| 永吉县| 江津市| 灌云县| 云安县| 南丰县| 灵川县|