- 'guests' => TRANSLATE_COMMA(GET_TOTAL_DATA("N", "online", "id", "is_admin", true, " AND is_member='N'")),
- 'members' => TRANSLATE_COMMA(GET_TOTAL_DATA("N", "online", "id", "is_admin", true, " AND is_member='Y'")),
- 'admins' => TRANSLATE_COMMA(GET_TOTAL_DATA("Y", "online", "id", "is_admin", true))
+ 'guests' => countSumTotalData('N', 'online', 'id', 'is_admin', true, " AND `is_member`='N'"),
+ 'members' => countSumTotalData('N', 'online', 'id', 'is_admin', true, " AND `is_member`='Y'"),
+ 'admins' => countSumTotalData('Y', 'online', 'id', 'is_admin', true),
+ 'total' => $total