]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-mediadata.php
Extension ext-mediadata continued, wrapper function introduced:
[mailer.git] / inc / modules / guest / what-mediadata.php
index be3ef309c4ea3742169e3f4520feb504205513e2..472c29be6e576cf202cde72caf888e891c12ca7d 100644 (file)
@@ -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';
@@ -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);