]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-mediadata.php
Admin menu has now a JavaScript "effect":
[mailer.git] / inc / modules / guest / what-mediadata.php
index be3ef309c4ea3742169e3f4520feb504205513e2..fea217d32f8276b7d95057b8e0ee0264bb35fa04 100644 (file)
@@ -17,7 +17,7 @@
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -121,9 +121,11 @@ $content['sent']       = $sent;
 // All clicks
 $content['user_links'] = abs($sent - $clicks);
 
-$clr = '0.00000';
-if ($sent > 0) $clr = $clicks / $sent * 100;
-$content['_clr'] = $clr;
+// Click rate
+$content['click_rate'] = '0';
+if ($sent > 0) {
+       $content['click_rate'] = $clicks / $sent * 100;
+} // END - if
 
 // Load jackpot
 $jackpot = '0';
@@ -132,7 +134,7 @@ if (isExtensionActive('jackpot')) $jackpot = getJackpotPoints();
 if (empty($jackpot)) $jackpot = '0';
 $content['jackpot'] = $jackpot;
 
-// Total referal link clicks, total logins
+// Total referral link clicks, total logins
 $result = SQL_QUERY('SELECT
        SUM(d.ref_clicks), SUM(d.total_logins)
 FROM
@@ -151,7 +153,7 @@ $content['total_points']    = $points;
 $content['total_refclicks'] = $ref;
 $content['total_logins']    = $logins;
 
-// Referal banner
+// Referral banner
 $total = countSumTotalData('Y', 'refbanner', 'id', 'visible', true);
 
 // Total views and clicks
@@ -298,9 +300,6 @@ $content['out_points']  = $OUT_POINTS;
 $content['out_user']    = $OUT_USER;
 $content['out_special'] = $OUT_SPECIAL;
 
-// Patch timespamp
-$content['patch_ctime'] = generateDateTime(getConfig('patch_ctime'), 2);
-
 // Load template
 loadTemplate('mediadata', false, $content);