.
3ss.cn

帝国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]

测试可用。

赞(0)
未经允许不得转载:互联学术 » 帝国cms 7怎么调用专题信息

评论 抢沙发