fetch1("select bid,bname,groupid from {$dbtbpre}enewsgbookclass where bid='$bid'");
if(empty($gbr['bid']))
{
printerror("EmptyGbook","",1);
}
//权限
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'];//每页显示条数
$page_line=10;//每页显示链接数
$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);//取得总条数
}
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'];
?>
=$bname?>-山叶广告,番禺POP广告立牌/台牌,POP机身贴,番禺金银卡纸包装,番禺PVC透明包装盒,卡套,静电膜,精美吊牌,化妆品PVC袋,礼品袋,PP文件夹,PP广告扇,PVC书套,,画册、折页、宣传单张
地 址:广州市番禺区钟村镇钟一工业区
联系人:班经理
手 机:18665732857
13726827776
电 话:020-31178799
020-34784700
传 真:020-34784700
网 址:http://www.shanyead.com
您现在的位置:=$url?>
while($r=$empire->fetch($sql))
{
$r['retext']=nl2br(stripSlashes($r[retext]));
$r['lytext']=nl2br(stripSlashes($r[lytext]));
?>
if($r[retext])
{
?>
回复: =$r[retext]?> |
}
?> |
}
?>
|
[!--page.stats--]