execute(sprintf("SELECT `usr_subcount` FROM `db_accountuser` WHERE `usr_id`='%s' LIMIT 1;", intval($uid == '' ? $upage_id : $uid))); return $rs->fields['usr_subcount']; } public static function getFollowCount($uid = '') { global $db, $class_database, $upage_id; $rs = $db->execute(sprintf("SELECT `usr_followcount` FROM `db_accountuser` WHERE `usr_id`='%s' LIMIT 1;", intval($uid == '' ? $upage_id : $uid))); return $rs->fields['usr_followcount']; } }