本文关键字词:自定义伪静态,栏目目录伪静态,内容目录伪静态,帝国cms伪静态,SEO栏目优化......
2023-05-18 179
本文实例讲述了帝国CMS首页调用最新会员、活跃会员与积分排行的方法。分享给大家供大家参考。具体实现方法如下:
SQL代码如下,最新会员SQL:复制代码代码如下:select a.userid,a.username,b.userpic as titlepic from phome_enewsmember as a LEFT JOIN phome_enewsmemberadd as b ON a.userid=b.userid order by a.userid desc limit 10
按积分排行SQL:复制代码代码如下:select a.userid,a.username,b.userpic as titlepic from phome_enewsmember as a LEFT JOIN phome_enewsmemberadd as b ON a.userid=b.userid order by a.userfen desc limit 10
标签模板中用[!--userpic--]表示头像,[!--userid--]表示用户id,[!--username--]表示用户名.
以万能标签为例,其按积分排行SQL调用语句如下:
[ecmsinfo]"select a.userid,a.username,b.userpic as titlepic from phome_enewsmember as a LEFT JOIN phome_enewsmemberadd as b ON a.userid=b.userid order by a.userfen desc limit 10",10,30,0,24,1,0[/ecmsinfo]
具体的sql查询调用看这个说明:http://www.phome.net/doc/ecmsedu/base/mbzz/html/other.html#q1
希望本文所述对大家的帝国CMS建站有所帮助。
以上方法由办公区教程网编辑摘抄整理自互联网可供大家参考!
相关文章
本文关键字词:自定义伪静态,栏目目录伪静态,内容目录伪静态,帝国cms伪静态,SEO栏目优化......
2023-05-18 179