+ return $message;
+}
+
+// "Getter" for payoutable user points
+function getPayoutPoints ($userid) {
+ // Is there cache?
+ if (!isset($GLOBALS[__FUNCTION__][$userid])) {
+ // Determine it
+ $GLOBALS[__FUNCTION__][$userid] = countSumTotalData($userid, 'user_points', 'points') - getUserUsedPoints($userid);
+ } // END - if
+
+ // Return it
+ return $GLOBALS[__FUNCTION__][$userid];