X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Fwhat-mediadata.php;h=25ef23425dfc6bf629b0949a8738e7fe4b9d16f9;hp=733327beeba47653b71eaaceb1b70f322d2a8cdc;hb=db0c6702086eea2c44d0aae1702dc2e77a0afc4e;hpb=ff9e8f739bd4b6e184b2a6bf427334196e501da8 diff --git a/inc/modules/guest/what-mediadata.php b/inc/modules/guest/what-mediadata.php index 733327beeb..25ef23425d 100644 --- a/inc/modules/guest/what-mediadata.php +++ b/inc/modules/guest/what-mediadata.php @@ -19,11 +19,9 @@ * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * * $Author:: $ * - * Needs to be in all Files and every File needs "svn propset * - * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009, 2010 by Mailer Developer Team * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -48,10 +46,10 @@ if (!defined('__SECURITY')) { } // END - if // Add description as navigation point -addMenuDescription('guest', __FILE__); +addYouAreHereLink('guest', __FILE__); if ((!isExtensionActive('mediadata')) && (!isAdmin())) { - loadTemplate('admin_settings_saved', false, generateExtensionInactiveNotInstalledMessage('mediadata')); + displayMessage(generateExtensionInactiveNotInstalledMessage('mediadata')); return; } // END - if @@ -126,14 +124,14 @@ $content['user_links'] = abs($sent - $clicks); $clr = '0.00000'; if ($sent > 0) $clr = $clicks / $sent * 100; -$content['_clr'] = translateComma($clr) . '%'; +$content['_clr'] = $clr; // Load jackpot $jackpot = '0'; if (isExtensionActive('jackpot')) $jackpot = getJackpotPoints(); if (empty($jackpot)) $jackpot = '0'; -$content['jackpot'] = translateComma($jackpot); +$content['jackpot'] = $jackpot; // Total referal link clicks, total logins $result = SQL_QUERY('SELECT @@ -150,7 +148,7 @@ if (empty($points)) $points = '0'; if (empty($ref)) $ref = '0'; if (empty($logins)) $logins = '0'; -$content['total_points'] = translateComma($points); +$content['total_points'] = $points; $content['total_refclicks'] = $ref; $content['total_logins'] = $logins; @@ -188,7 +186,7 @@ if (isExtensionActive('beg')) { 'value' => countSumTotalData('0', 'user_data', 'beg_clicks', 'userid', false, ' AND `beg_clicks` > 0') ); $OUT_EXTRA .= loadTemplate('mediadata_extra_row', true, $data); -} +} // END - if if (isExtensionActive('doubler')) { // Add header @@ -217,7 +215,7 @@ if (isExtensionActive('doubler')) { 'value' => countSumTotalData('N','doubler','id','completed', false, ' AND `points` > 0') ); $OUT_SPECIAL .= loadTemplate('mediadata_extra_row', true, $data); -} +} // END - if if (isExtensionActive('holiday')) { // Total holiday requests @@ -240,7 +238,7 @@ WHERE 'value' => $holiday ); $OUT_USER .= loadTemplate('mediadata_extra_row', true, $data); -} +} // END - if if (isExtensionActive('transfer')) { // Statistics for points transfers