找到文件 /e/admin/pl/ListAllPl.php,在文件ListAllPl.php中找到
- $query="select plid,username,saytime,sayip,id,classid,checked,zcnum,fdnum,userid,isgood,saytext,pubid from {$dbtbpre}enewspl_".$restb.$add;
取得總條數,把自定義的字段添加進去,本示例添加的是,聯系電話,tel,注意后邊是英文逗號,結果如下所示:
- $query="select tel,plid,username,saytime,sayip,id,classid,checked,zcnum,fdnum,userid,isgood,saytext,pubid from {$dbtbpre}enewspl_".$restb.$add;
取得總條數,顯示部分添加代碼:<?=$r[tel]?>
新聞熱點
疑難解答