帝国cms调用某一篇文章内容到首页或栏目页

帝国cms调用某一篇文章内容到首页或栏目页

[e:loop={栏目id,1,0,0}]
<?php
$fr=$empire->fetch1("select newstext from {$dbtbpre}ecms_news_data_{$bqr[stb]} where id='想要掉用的文章id'");
?>
<?=$fr[newstext]?>
[/e:loop]

 

 

 

[e:loop={‘58,59,60,61’,1,13,0}]
<?php
$fr=$empire->fetch1(“select newstext from {$dbtbpre}ecms_news_data_{$bqr[stb]} where id=’$bqr[id]'”);
?>
<?=$fr[newstext]?>
[/e:loop]