"<FORM name=mtab ENCTYPE=multipart/form-data METHOD=POST ACTION=$PHP_SELF?proc=search>";
echo "<tr><td>";
echo "<input type='hidden' name=aid value='$aid'>";
echo "??ゅ彻:";
echo "<INPUT TYPE='TEXT' NAME='key' value='$key' size=25 class='tablefont'>";
echo "<INPUT TYPE='Submit'value='?高' class='tablefont'>";
echo "</td></tr>";
echo "</FORM>";
echo "</table>";
$skey="%$key%";
$DROOT=getenv('DOCUMENT_ROOT');
include("sql.php3");
$db=mysql_connect($sql['host'], $sql['user'] , $sql['passwd']);
if($aid) $qsql="SELECT * from bbs_subj where aid='$aid' and (banner like '$skey' or poster like '$skey' or body like '$skey') order by wdate DESC";
else $qsql="SELECT * from bbs_subj where (banner like '$skey' or poster like '$skey' or body like '$skey') order by wdate DESC";
//echo $qsql;
$rs=mysql_db_query($sql['db'],$qsql);
echo "<TABLE width=85% border=0 cellPadding=0 cellSpacing=1 align=center bgcolor='#6CA6CD'>";
echo "<tr><td>";
echo "<TABLE width=100% cellPadding=1 cellSpacing=1 bgcolor=white class='tablefont'>";
echo "<tr bgcolor=#F1E1FF>";
echo "<th >夹?</th>";
echo "<th>???</th>";
echo "<th width=30>?莱</th>";
echo "<th width=30>??</th>";
echo "<th width=70>ら戳</th>";
echo "</tr>";
while($row=mysql_fetch_array($rs)) {
$id=$row['id'];
$paid=$row['aid'];
$banner=$row['banner'];
$poster=$row['poster'];
$views=$row['views'];
$wdate=sdatetime($row['wdate']);
$docs=reAnum($id);
echo "<tr bgcolor='#F0F8FF'>";
echo "<td>";
echo "<a href=$PHP_SELF?proc=view&aid=$paid&sid=$id&rid=$id>";
echo $banner;
echo "</a>";
echo "</td>";
echo "<td>";
echo $poster;
echo "</td>";
echo "<td class='num'>";
echo $docs;
echo "</td>";
echo "<td class='num'>";
echo $views;
echo "</td>";
echo "<td class='num'>";
echo $wdate;
echo "</td>";
echo "</tr>";
}
search_docs($aid,$skey);
echo "</td></tr></table>";
echo"</td></tr></table>";
}
//======================================================================
if($proc=="post2") {
setcookie("c_poster",$poster,time()+ 31536000);
setcookie("c_email",$email,time()+ 31536000);
}
//if($proc!="do_sel" && $proc!="post2" && $proc!="colloff" && $proc!="collon") include("frame_top.php3");
switch($proc) {
case search:
search();
break;
case mail_list:
mail_list();
break;
case mail_friend:
mail_friend();
break;
case post2:
post2();
break;
case colloff:
cook_cooloff();
break;
case collon:
cook_coolon();
break;
case view;
view();
break;
default:
area();
break;
}
//if($proc!="do_sel" && $proc!="post2" && $proc!="colloff" && $proc!="collon") include("f
上一页 [1] [2] [3] 下一页