X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Fwhat-mediadata.php;h=f008903b9ed00273546bd0d497d1e5c9cb109010;hb=96d8f54d3fee1d51c38dd6b79c28215f7f5c83ec;hp=fea217d32f8276b7d95057b8e0ee0264bb35fa04;hpb=a18efdcd57ba91893f0958a457b5c58639b135c3;p=mailer.git diff --git a/inc/modules/guest/what-mediadata.php b/inc/modules/guest/what-mediadata.php index fea217d32f..f008903b9e 100644 --- a/inc/modules/guest/what-mediadata.php +++ b/inc/modules/guest/what-mediadata.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 by Mailer Developer Team * + * Copyright (c) 2009 - 2012 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -37,7 +37,7 @@ // Some security stuff... if (!defined('__SECURITY')) { - die(); + exit(); } // END - if // Add description as navigation point @@ -59,13 +59,13 @@ $content['user_locked'] = getTotalLockedUser(); $content['user_count'] = ($content['user_confirmed'] + $content['user_unconfirmed'] + $content['user_locked']); // Start of this exchange -$content['mt_start'] = generateDateTime(getConfig('mt_start'), 3); +$content['mt_start'] = generateDateTime(getMtStart(), '3'); // Project timestamp when number of members are reached $PROJECTED = '0'; 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')); + $PROJECTED = round((time() - getMtStart()) / $content['user_count'] * getConfig('mt_stage') + getMtStart()); } // END - if // Generate timestamp @@ -90,7 +90,11 @@ $content['max'] = countSumTotalData('CONFIRMED', 'user_data', 'max_mails', 'stat $content['rec'] = countSumTotalData('CONFIRMED', 'user_data', 'receive_mails', 'status', false, " AND `receive_mails` > 0"); // Initial lots of variables -$bmails = '0'; $sent = '0'; $max = '0'; $rec = '0'; $clicks = '0'; +$bmails = '0'; +$sent = '0'; +$max = '0'; +$rec = '0'; +$clicks = '0'; // Mail orders (only current) $nmails = getMediadataEntry('normal_orders');