易仿帝国yfdiguo.com

您当前的位置:首页 > 问题库

帝国CMS在JS调用登陆状态模板中调用会员收到的短消息数

zcmcss发表于2017-12-11问题库
1、在
$mhavelogin=1;
代码下面加上
$user=islogin();
2、在//数据下加上
$msgcount=$empire->gettotal("select count(*) as total from phome_enewsqmsg  where  to_username='$user[username]'");
3、在JS调用登陆状态模板中调用
<?=$msgcount?>
即可实现调用具体信息数

热门问题

©2017 易仿帝国yfdiguo.com


友情链接: 阿里云优惠网| 阿里云推荐码| 阿里云教程| 莫愁博客|
♥ www.yfdiguo.com
联系作者QQ: