帝国CMS灵动标签列表页调用20条tags标签教程
1
2
3
|
[e:loop={"select * from [!db.pre!]enewstags order by tagid desc limit 20",8,24,0}] < a href="<?=$public_r[newsurl]?>e/tags/?tagid=<?=$bqr['tagid']?>" target="_blank"><?=$bqr['tagname']?></ a > [/e:loop] |
limit 20 显示20条
tagid desc 按tagid排行