+ // Determine wether the user has some mails to click before he/she gets the points
+ $locked = ifUserPointsLocked($userid);
+
+ // Default is 'normal' points
+ $data = 'points';
+
+ // Which points, locked or normal?
+ if ($locked === true) {
+ $data = 'locked_points';
+ } // END - if
+