1、帝国CMS模板php调用评论时间+评论内容+文章地址
query("select * from {$dbtbpre}enewspl_1 order by saytime limit 10");
while($r=$empire->fetch($sql)) //循环获取查询记录
{
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]
版权声明: 本站资源均来自互联网或会员发布,如果侵犯了您的权益请与我们联系,我们将在24小时内删除!谢谢!