5分钟搞懂帝国cms 7调用专题信息的方法

来源:undefined 2025-01-03 13:34:16 1063

使用帝国cms默认的调用不了推荐信息

就直接写个sql来调用吧

代码如下:

1

2

3

[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,,,}]

登录后复制

/" class="pic">@@##@@" alt="=$bqr[title]?>" />/" target="_blank" class="yellow"> =$bqr [state]?>

/" title="=$bqr[title]?>">=$bqr[title]?> [/e:indexloop]

测试可用

推荐学习《帝国cms教程

以上就是5分钟搞懂帝国cms 7调用专题信息的方法的详细内容,更多请关注php中文网其它相关文章!

最新文章