本文整理自网络,侵删。
代码如下:
<div class="TitleBox"><a target="_blank">热门作品</a></div>
<div class="BoxBlockMain PicBlock02">
<ul>[e:loop={'select title,titleurl,onclick,titlepic from `[!db.pre!]ecms_test` Union All select title,titleurl,onclick,titlepic from `[!db.pre!]ecms_gamepic` order by onclick desc limit 6',6,24,1}]
<li class="iHover">
<span class="pic"><a target="_blank" title="<?=$bqr[title]?>"><img style="max-width:120px;max-height:86px;" src="<?=$bqr[titlepic]?>" class="_ImagesReSize" alt="<?=$bqr[title]?>" /></a></span>
<span class="title"><a target="_blank" title="<?=$bqr[title]?>"><?=esub($bqr[title],12)?></a></span>
</li>[/e:loop]
</ul>
</div>
<div class="TitleBox"><a target="_blank">热门作品</a></div>
<div class="BoxBlockMain PicBlock02">
<ul>[e:loop={'select title,titleurl,onclick,titlepic from `[!db.pre!]ecms_test` Union All select title,titleurl,onclick,titlepic from `[!db.pre!]ecms_gamepic` order by onclick desc limit 6',6,24,1}]
<li class="iHover">
<span class="pic"><a target="_blank" title="<?=$bqr[title]?>"><img style="max-width:120px;max-height:86px;" src="<?=$bqr[titlepic]?>" class="_ImagesReSize" alt="<?=$bqr[title]?>" /></a></span>
<span class="title"><a target="_blank" title="<?=$bqr[title]?>"><?=esub($bqr[title],12)?></a></span>
</li>[/e:loop]
</ul>
</div>
更多技术内容来自木庄网络博客
标签:帝国CMS
相关阅读 >>
帝国CMS7.5整合论坛程序discuzx3.2同时登陆退出的实现方法
更多相关阅读请进入《帝国CMS》频道 >>
相关推荐
评论
管理员已关闭评论功能...
- 欢迎访问木庄网络博客
- 可复制:代码框内的文字。
- 方法:Ctrl+C。