<ul class="clearfix">
[e:loop={'SELECT * FROM [!db.pre!]ecms_photo ORDER BY rand() LIMIT 5',5,24,0}]
<li><a href="<?=$bqsr[titleurl]?>" target="_blank"><div class="simg"><img src="<?=$bqr['titlepic']?>" alt="<?=$bqr[title]?>"></div></a>
<b class="bicon"></b><b class="bg-mb foot-mb"></b><a href="<?=$bqsr[titleurl]?>" class="text-link-foot" target="_blank"><?=$bqr[title]?></a></li>
[/e:loop]
</ul>

Related Posts: 帝国CMS-灵动标签-随机输出图片集的缩略图标题示例 :