1、在$mhavelogin=1;代码下面加上$user=islogin();2、在//数据下加上$msgcount=$empire->gettotal("select count(*) as total from phome_enewsqmsg where to_username='$user[username]'");3、在JS调用登……
一、列表/封面模板变量说明:(栏目页或专题页中使用)(一)、当前栏目ID或专题ID:$GLOBALS[navclassid]通过这个变量可以输出这个栏目id的所有数据(如:select * from phome_enewsclass where classid='$GLOBALS[navclassid……
<? function daohang($bclassid=0) { global $empire,$dbtbpre,$public_r; $sql=$empire->query("select * from {$dbtbpre}enewsclass where bclassid=$bclassi……
最新评论