function post2() {
全域 $sid,$aid,$PHP_SELF;
全域$banner,$body,$poster,$email,$type,$CHAR_GB;
if(strlen($banner)==0 || strlen($body)==0 || strlen($poster)==0 || strlen($email)==0) {
echo "
」;
}
echo "
」;
$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 help='$aid' and (橫幅如 '$skey' 或海報如 '$skey' 或正文如 '$skey') 按 wdate DESC 排序”;
else $qsql="SELECT * from bbs_subj where (橫幅如“$skey”或海報如“$skey”或正文如“$skey”)按wdate DESC qsql;
$rs=mysql_db_query($sql['db'],$qsql);
echo "
";
echo ""; echo ""; echo ""; echo "夾肈 | "; echo "只爸 | "; echo "萊第>"; echo "第>"; echo "ら循環 | "; 回顯「 」; 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 ""; 則以回復「」; echo ""; echo $banner; 迴聲「」; echo " | "; 則以回復「」; echo $poster; 則以回復「 | 」; echo ""; echo $docs; 則以回復「 | 」; echo ""; echo $views; 則以回復「 | 」; echo ""; echo 且 $wdate; 則以回復「 | 」; 則以回顯「 」;
} search_docs($aid,$skey); echo " "; 迴聲「 |
」;
}
//================================= =============================================
如果($ 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) {
案例搜尋:
案例電子郵件清單:
mail_list();
案例mail_friend:
mail_friend();
post2();
休息;
🎜> 休息;
案例冒號:
cook_coolon(); view();
area();
休息;
}
//if($proc!="do_sel" && $proc!="post2" && $proc!="colloff" &proc.=" frame_bottom.php3" );
? >
以上前五篇為一頁
http://www.bkjia.com/PHPjc/315600.html
www.bkjia.com
true
http: //www.bkjia.com/PHPjc/315600.html
TechArticle
function post2() { global $sid,$aid,$PHP_SELF;$banner,$body,$poster,$body,$poster ,$email,$type,$CHAR_GB; if(strlen($banner)==0 || strlen($body)==0 || strlen($poster)==0 || strlen($email)=.. .