[e:loop={"select * from phome_ecms_news where classid={$ecms_gr['classid']} order by onclick desc limit 5",0,24,0,'','}]...
调用最后更新时间: 使用lastdotime字段而不是newstime字段。 示例代码: <?= date('Y-m-d', $bqr['lastdotime']) ?> ...
[e:loop={1,5,0,0}] 【<a href="<?=sys_ReturnBqInfoTypeUrl($bqr[ttid])?>"><?=class_tr[$bqr[ttid]]['tname']?&...
<?php $class_sql = $empire->query('select * from phome_enewsclass where islast=1 LIMIT 50'); // 调用50个,数量可自改 while...
问题:如何在帝国CMS中调用当前栏目相符的内容专题信息? 答案:使用灵动标签自动调用当前栏目所属的专题。 [e:loop={"select * from [!db.pre!]enewszt where classid='$GLOBA...
[e:loop={"select * from [!db.pre!]ecms_news where title like '%关键词%' order by newstime desc limit 10",10,24,0}] <a hr...