使用帝国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,”,”,”}]
<a href="/” ><a href="/” >
<a href="/” >
[/e:indexloop]
测试可用