帝国cms 7如何调用专题信息

帝国cms 7如何调用专题信息

这篇文章主要介绍帝国cms 7如何调用专题信息,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!

使用帝国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 class="cover"><a href="<?=$bqsr['titleurl']?>/" class="pic"><img src="/loading.gif"" _src="<?=$bqr
['titlepic'
]?>" alt="<?=$bqr['title']?>" /></a><span><a href="<?=$bqsr['titleurl']?>/" target="_blank" class="yellow">
<?=$bqr
['state']?></a></span></p><a href="<?=$bqsr['titleurl']?>/" title="<?=$bqr['title']?>"><?=$bqr['title']?></a>
</li>
[/e:indexloop]

测试可用

以上是帝国cms 7如何调用专题信息的所有内容,感谢各位的阅读!希望分享的内容对大家有帮助,更多相关知识,欢迎关注行业资讯频道!