📄 search.php
字号:
<?php
#########################################################
# inso留言本 1.2 #
#########################################################
# 这是个免费软件,但是享有版权 (C)copyright 2003 #
# ▲ ▲ ▲ ▲ #
# 仅限个人网站和非商业网站使用 #
# 如果您使用本脚本,请不要删除版权标记 #
# 如果您一定要删除版权的话或者用于商业网站的话 #
# 请支付人民币100元或美元10元,否则将视为非法 #
# inso汉化 创作 #
# http://www.shi8.com #
#########################################################
include "incl/metadoc.inc";?>
<title><?php print $crl[32];?>...</title></head><body onLoad="document.forms[0].src.focus()"><form action="search.php" method="get">
<table align="center" width="95%"><tr><td><?php include "incl/cust-top.inc";?><br clear="all">
<table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td>
<table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td class="q">
<table width="100%" border="0" cellspacing="1" cellpadding="5">
<tr class="c"><td colspan="3"><table width="100%" cellpadding="1" cellspacing="0"><tr><td nowrap><span class="c"><a href="index.php" id="lnk" title="<?php print $crl[0];?>" style="color:#ffffff;text-decoration:none" onMouseOver="adt();return true" onMouseOut="rdt();return true" onClick="tyt();return false"><?php print $crl[2];?></a></span></td>
<td class="c" align="right" width="120">
<input size="20" type="text" name="src" class="ia" style="font-size:11px;width:120; height:20" maxlength="30" value=""></td><td width="18"><a href="#" onClick="document.forms[0].submit();return false"><img src="pics/find.gif" border="0" width="15" height="15" alt="<?php print $crl[32];?>" title="<?php print $crl[32];?>"></a></td></tr></table></td></tr>
<?php
if(isset($src)){$src=strtolower($src);$src=strip_tags($src);$src=trim($src);}
if(isset($src)&&strlen($src)>1){$u=0;$mar=array();$r=0;
print "<tr bgcolor=\"#aaaaaa\"><td class=\"f\" width=\"20%\" nowrap> $crl[28] </td><td class=\"f\" width=\"70%\" nowrap> $crl[17] </td><td class=\"f\" width=\"10%\" nowrap> $crl[15] </td></tr>";
$handle=opendir('data');while($entry=readdir($handle)){
if(is_file("data/$entry")&&$entry!='gshow'&&$entry!='empty.txt'){
$mar[$u]=$entry;$u++;}}closedir($handle);rsort($mar);
for($j=0;$j<count($mar);$j++){if($r>9){break;}
$filw="data/$mar[$j]";$fs=obp();$tpc=explode("\n",$fs);
for($i=0;$i<count($tpc);$i++){if($r>9){break;}
$cru=explode(":|:",$tpc[$i]);if(isset($cru[2])&&isset($cru[3])){$zdw=explode(".gif",$cru[2]);$zdw=substr($zdw[0], -1);
$curr=str_replace("<br>","[br]",$cru[3]);$curr=strip_tags($curr);$curr=str_replace("[br]","<br>",$curr);$curr=strtolower($curr);
}else{$curr='';}
if(stristr($curr,$src)){$r++;
$tpu=str_replace($src,"<span style=\"background-color:yellow;font-weight:bold\">$src</span>",$curr);
print "\n<tr class=\"$dbl\"><td><b class=\"y\">$cru[2]</b><br clear=\"all\"><img src=\"pics/b$zdw.gif\" width=\"14\" height=\"14\" alt=\"\" hspace=\"1\" align=\"left\"><b>$cru[1]</b></td>";
print "\n<td class=\"sm\"><br>$tpu<a href=\"show.php?topic=$mar[$j]\"><img src=\"pics/t$zdw.gif\" border=\"0\" width=\"19\" height=\"24\" alt=\"$crl[29]\" align=\"right\"></a></td><td class=\"sm\" nowrap>$cru[0]</td></tr>";ccl();
}}}
if($r==0){$mes=$crl[39];}elseif($r>9){$mes=$crl[40];}else{$mes='';}
print "\n<tr class=\"$dbl\"><td class=\"f\" colspan=\"2\" height=\"20\"><span class=\"y\"> $mes</span></td><td align=\"center\" class=\"f\" height=\"20\"><a href=\"#\" onClick=\"self.scrollTo(0,0);return false\">$crl[30]</a></td></tr>";
}?>
</table></td></tr></table></td></tr></table>
<?php include "incl/clrs.inc";?><br clear="all"><?php include "incl/cust-bot.inc";?></td></tr></table></form></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -