]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-mediadata.php
Even more rewrites/fixes from EL branch (please report any broken part after you...
[mailer.git] / inc / modules / guest / what-mediadata.php
index feaaa4fa73fca09397237348d6ae124c6e184f5f..50078e5ade00e38f53b5e1f732222b8ea181f9dd 100644 (file)
@@ -23,6 +23,7 @@
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -74,9 +75,9 @@ if ($content['user_count'] > 0) {
 $TEST = makeTime(0, 0, 0, $PROJECTED);
 
 if ($TEST > time()) {
 $TEST = makeTime(0, 0, 0, $PROJECTED);
 
 if ($TEST > time()) {
-       $content['projected'] = generateDateTime($PROJECTED, 3);
+       $content['projected'] = getMaskedMessage('USER_MT_PROJECTED', generateDateTime($PROJECTED, 3));
 } else {
 } else {
-       $content['projected'] = getMessage('USER_PROJECTION_UNKNOWN');
+       $content['projected'] = getMaskedMessage('USER_MT_PROJECTED', getMessage('USER_PROJECTION_UNKNOWN'));
 }
 
 // User who can receive mails
 }
 
 // User who can receive mails
@@ -184,7 +185,7 @@ if (isExtensionActive('beg')) {
        // Clicks on beg links
        $data = array(
                'lang'  => getMessage('MEDIA_BEG_CLICKS'),
        // Clicks on beg links
        $data = array(
                'lang'  => getMessage('MEDIA_BEG_CLICKS'),
-               'value' => countSumTotalData(1, 'user_data', 'beg_clicks', 1, false, " AND `beg_clicks` > 0")
+               'value' => countSumTotalData('0', 'user_data', 'beg_clicks', 'userid', false, " AND `beg_clicks` > 0")
        );
        $OUT_EXTRA .= loadTemplate('mediadata_extra_row', true, $data);
 }
        );
        $OUT_EXTRA .= loadTemplate('mediadata_extra_row', true, $data);
 }
@@ -291,10 +292,10 @@ ON t.userid=d.userid",
        $OUT_SPECIAL .= loadTemplate('mediadata_extra_row', true, $data);
 } // END - if
 
        $OUT_SPECIAL .= loadTemplate('mediadata_extra_row', true, $data);
 } // END - if
 
-$content['out_extra']      = $OUT_EXTRA;
-$content['out_points']     = $OUT_POINTS;
-$content['out_user']       = $OUT_USER;
-$content['out_special']    = $OUT_SPECIAL;
+$content['out_extra']   = $OUT_EXTRA;
+$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);
 
 // Patch timespamp
 $content['patch_ctime'] = generateDateTime(getConfig('patch_ctime'), 2);