1、帝國CMS模板php調用評論時間+評論內容+文章地址
query("select * from {$dbtbpre}enewspl_1 order by saytime limit 10");?
while($r=$empire->fetch($sql)) ? //循環(huán)獲取查詢記錄
{
echo "".date('m-d',$r[saytime])."".$r['saytext']." ";
}
?>
2、帝國CMS模板靈動標簽調用評論時間+評論內容+文章地址
[e:loop={"select * from {$dbtbpre}enewspl_1 order by saytime limit 10",0,24,0}]
=date('Y-m-d',$bqr[saytime])?>=$bqr['saytext']?>
[/e:loop]
3、帝國CMS模板靈動標簽調用評論時間+評論內容+評論地址
[e:loop={"select * from {$dbtbpre}enewspl_1 order by saytime limit 10",0,24,0}]
=date('Y-m-d',$bqr[saytime])?>=$bqr['saytext']?>
[/e:loop]
版權聲明: 本站資源均來自互聯網或會員發(fā)布,如果侵犯了您的權益請與我們聯系,我們將在24小時內刪除!謝謝!