- 'points' => translateComma(countSumTotalData($userid, 'user_points', 'points') - countSumTotalData($userid, 'user_data', 'used_points')),
- 'last_online' => generateDateTime($last, '2'),
+ 'points' => getTotalPoints($userid),
+ 'last_online' => generateDateTime($last, 2),