-// Initialize variables
-$content['confirmed'] = '---';
-$content['sent'] = '---';
-$content['receive'] = '---';
-
-// Only user >= v0.1.2: Fetch confirmed mails counter
-if (isExtensionInstalledAndNewer('user', '0.1.2')) {
- $add = '';
- $content['confirmed'] = getUserData('mails_confirmed');
-
- if (isExtensionInstalledAndNewer('user', '0.1.4')) {
- $content['sent'] = getUserData('emails_sent');
- $content['receive'] = getUserData('emails_received');
- } // END - if
-
- // Please update the user extension if you see 3 dashes
- if (empty($content['sent'])) $content['sent'] = '---';
- if (empty($content['receive'])) $content['receive'] = '---';
-} else {
- // Please update!
- $content['confirmed'] = '---';
-}
-
-// If TLOCK is 0 add 3 zeros for floating
-if ($content['total_locked'] == '0') $content['total_locked'] = '0.00000';
-
-// Remember several values in constants
-$content['total_points'] = ($content['total_points'] - getUserData('used_points'));
-