fetch1("select bid,bname,groupid from {$dbtbpre}enewsgbookclass where bid='$bid'");
if(empty($gbr['bid']))
{
printerror("EmptyGbook","",1);
}
//權(quán)限
if($gbr['groupid'])
{
include("../../member/class/user.php");
$user=islogin();
include("../../data/dbcache/MemberLevel.php");
if($level_r[$gbr[groupid]][level]>$level_r[$user[groupid]][level])
{
echo"";
exit();
}
}
esetcookie("gbookbid",$bid,0);
$bname=$gbr['bname'];
$search="&bid=$bid";
$page=(int)$_GET['page'];
$page=RepPIntvar($page);
$start=0;
$line=$public_r['gb_num'];//每頁顯示條數(shù)
$page_line=10;//每頁顯示鏈接數(shù)
$offset=$start+$page*$line;//總偏移量
$totalnum=(int)$_GET['totalnum'];
if(!$public_r['usetotalnum'])
{
$totalnum=0;
}
if($totalnum>0)
{
$num=$totalnum;
}
else
{
$totalquery="select count(*) as total from {$dbtbpre}enewsgbook where bid='$bid' and checked=0";
$num=$empire->gettotal($totalquery);//取得總條數(shù)
}
if($public_r['usetotalnum'])
{
$search.="&totalnum=$num";
}
//checkpageno
eCheckListPageNo($page,$line,$num);
$query="select lyid,name,email,`mycall`,lytime,lytext,retext from {$dbtbpre}enewsgbook where bid='$bid' and checked=0";
$query=$query." order by lyid desc limit $offset,$line";
$sql=$empire->query($query);
$listpage=page1($num,$line,$page_line,$start,$page,$search);
$url="".$fun_r['index']." > ".$fun_r['saygbook'];
?>
国产精品18久久久久久欧美网址,精品无人区麻豆乱码1区2区,国产高清精品福利私拍国产写真
_廣東廣州音響廠_廣州音響公司" />
您所在的位置 > 樂創(chuàng)音響 > =$bname?>
=$bname?>
while($r=$empire->fetch($sql))
{
$r['retext']=nl2br(stripSlashes($r[retext]));
$r['lytext']=nl2br(stripSlashes($r[lytext]));
?>
if($r[retext])
{
?>
回復:=$r[retext]?> |
}
?> |
}
?>
|