首页 > CMS > 帝国Empire > 正文

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

2024-08-28 12:25:36
字体:
来源:转载
供稿:网友
1、在
$mhavelogin=1;
代码下面加上
$user=islogin();
2、在//数据下加上
$msgcount=$empire->gettotal("select count(*) as total from phome_enewsqmsg  where  to_username='$user[username]'");
3、在JS调用登陆状态模板中调用
<?=$msgcount?>
即可实现调用具体信息数
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表