]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-doubler.php
Rewritten to use isExtensionInstalledAndNewer() to save some calls/bugfix
[mailer.git] / inc / modules / guest / what-doubler.php
index b4018382a433e3d5871ae5fe961b1884d2f2b3bb..01b6209015992840020203805253e8553cf1bd26 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 02/17/2005 *
- * ================                             Last change: 02/18/2005 *
+ * Mailer v0.2.1-FINAL                                Start: 02/17/2005 *
+ * ===================                          Last change: 02/18/2005 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : what-doubler.php                                 *
@@ -18,6 +18,7 @@
  * 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 *
@@ -56,14 +57,14 @@ $content['total']  = translateComma(getConfig('doubler_points'));
 $content['min']    = translateComma(getConfig('doubler_min'));
 $content['max']    = translateComma(getConfig('doubler_max'));
 
-// Transfer referal ID
+// Transfer referal id
 $content['refid'] = determineReferalId();
 
 // Which mail-send-mode did the admin setup?
 $content['payout_time'] = getMessage('DOUBLER_PAYOUT_TIME_' . getConfig('doubler_send_mode'));
 
 // Generate table with already payed out doubles
-$content['payout_history'] = generateDoublerTable('0', 'Y', 'N', 'DESC');
+$content['payout_history'] = generateDoublerTable(0, 'Y', 'N', 'DESC');
 
 // Generate table with next-to-run payouts
 $content['next_table'] = generateDoublerTable();