评论
function user_comments_count($uid)
{
$DB = Database::getInstance();
$commentsql = "select count(*) as total from " . DB_PREFIX . "comment where hide='n' AND uid='$uid'";
$res = $DB->query($commentsql);
return $DB->fetch_array($res);
}
文章
function user_logs_count($uid)
{
$DB = Database::getInstance();
$numsql = "select count(*) as logCount from " . DB_PREFIX . "blog where type='blog' AND hide='n' AND author=" . $uid;
$res = $DB->query($numsql);
return $DB->fetch_array($res)['logCount'];
}
列表代码
- 列表
[ { "name": "开机自启", "description": "启动mipush", "priority": 1, "condition": " systemReady == true", "delay": 3000, "actions": [ "to_start = globalVarOf$boot_normal ;foreach (pkn : to_start) {activity.launchProcessForPackage(pkn);};" ] } ]
引言代码
引言
[ { "name": "开机自启", "description": "启动mipush", "priority": 1, "condition": " systemReady == true", "delay": 3000, "actions": [ "to_start = globalVarOf$boot_normal ;foreach (pkn : to_start) {activity.launchProcessForPackage(pkn);};" ] } ]
温馨提示:本文最后更新于
2023年5月7日 17:58
,已超过半年没有更新,若内容或图片失效,请在下方留言
或联系Urbane主题 站长。
THE END
- 本文链接:https://urbane.vaimibao.top/post/6
- 版权声明:本博客所有文章除特别声明外,均默认采用 CC BY-NC-SA 4.0 许可协议。
嘿嘿,喜欢就请我喝杯奶茶吧~