$content['mt_start'] = generateDateTime(getConfig('mt_start'), 3);
// Project timestamp when number of members are reached
$content['mt_start'] = generateDateTime(getConfig('mt_start'), 3);
// Project timestamp when number of members are reached
if ($content['user_count'] > 0) {
// @TODO Find a better formular than this one
$PROJECTED = round((time() - getConfig('mt_start')) / $content['user_count'] * getConfig('mt_stage') + getConfig('mt_start'));
if ($content['user_count'] > 0) {
// @TODO Find a better formular than this one
$PROJECTED = round((time() - getConfig('mt_start')) / $content['user_count'] * getConfig('mt_stage') + getConfig('mt_start'));
$content['rec'] = countSumTotalData('CONFIRMED', 'user_data', 'receive_mails', 'status', false, " AND `receive_mails` > 0");
// Initial lots of variables
$content['rec'] = countSumTotalData('CONFIRMED', 'user_data', 'receive_mails', 'status', false, " AND `receive_mails` > 0");
// Initial lots of variables
// Count bonus mails clicks / sent mails
$dmy = getMediadataEntry('bonus_clicks');
$dmy2 = getMediadataEntry('bonus_send');
// Count bonus mails clicks / sent mails
$dmy = getMediadataEntry('bonus_clicks');
$dmy2 = getMediadataEntry('bonus_send');
$content['jackpot'] = translateComma($jackpot);
// Total referal link clicks, total logins
$content['jackpot'] = translateComma($jackpot);
// Total referal link clicks, total logins
-if (empty($points)) $points = 0;
-if (empty($ref)) $ref = 0;
-if (empty($logins)) $logins = 0;
+if (empty($points)) $points = '0';
+if (empty($ref)) $ref = '0';
+if (empty($logins)) $logins = '0';
-if (empty($total)) $total = 0;
-if (empty($views)) $views = 0;
-if (empty($clicks)) $clicks = 0;
+if (empty($total)) $total = '0';
+if (empty($views)) $views = '0';
+if (empty($clicks)) $clicks = '0';
$result = SQL_QUERY("SELECT COUNT(t.id), SUM(t.points)
FROM `{?_MYSQL_PREFIX?}_user_transfers_out` AS t
$result = SQL_QUERY("SELECT COUNT(t.id), SUM(t.points)
FROM `{?_MYSQL_PREFIX?}_user_transfers_out` AS t