帝国cms 7 调用专题信息的方法
摘要:使用帝国cms默认的调用不了推荐信息就直接写个sql来调用吧[e:indexloop={'selecta.*fromphome_ecms_m...
使用帝国cms默认的调用不了推荐信息
就直接写个sql来调用吧
[e:indexloop={'select a.* from phome_ecms_movie a,phome_enewsztinfo b where a.id=b.id and a.isgood>0 and (b.ztid=2 or b.ztid=3) order by newstime desc limit 10',10,11,'','',''}]
<li><p><a href="<?=$bqsr['titleurl']?>/"><img src="http://www.jb51.netloading.gif"" _src="<?=$bqr['titlepic']?>" alt="<?=$bqr['title']?>" /></a><span><a href="<?=$bqsr['titleurl']?>/" target="_blank"><?=$bqr['state']?></a></span></p><a href="<?=$bqsr['titleurl']?>/" title="<?=$bqr['title']?>"><?=$bqr['title']?></a></li>
[/e:indexloop]
测试可用
【帝国cms 7 调用专题信息的方法】相关文章:
★ 帝国CMS后台fckeditor编辑器兼容IE10的方法汇总
★ 帝国cms 获取一周的信息(默认时间是整形的也就是unix_timestamp)