1、在
1 | $mhavelogin =1; |
代码下面加上
1 | $user =islogin(); |
2、在//数据下加上
1 | $msgcount = $empire ->gettotal( "select count(*) as total from phome_enewsqmsg where to_username='$user[username]'" ); |
3、在JS调用登陆状态模板中调用
1 | <?= $msgcount ?> |
即可实现调用具体信息数
新闻热点
疑难解答