希望在会员中心首页,调用显示会员总共投稿发布了多少篇信息,以帝国CMS7.0为例,代码如下:<?=$empire->gettotal("select count(*) as total from phome_ecms_info where userid='$user[userid]' ")?>这是根据数据表查询调……
因为帝国CMS 7.0信息页不再有ztid字段,所以直接是查询不到的,但是可以用灵动标签sql调用,具体调下方法如下:灵动标签sql调用:select ztid from phome_enewsztinfo where classid='$navinfor[classid]' and id='$navinfor[i……