]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_autopurge.php
All resets rewritten, missing svn:properties added
[mailer.git] / inc / modules / admin / what-list_autopurge.php
index 1ec7c1b2d273e0a28d3cfdd597e574d43694cbad..5cbd50969325dab6d9203d9c5439ed339e2d989e 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
  * Mailer v0.2.1-FINAL                                Start: 06/26/2004 *
- * ================                             Last change: 06/26/2004 *
+ * ===================                          Last change: 06/26/2004 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : what-list_autopurge.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 *
@@ -45,16 +46,16 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addMenuDescription('admin', __FILE__);
 
 // Exclude default referal id if set
+// @TODO Rewrite those lines to filter
 $EXCLUDE_LIST = '';
 if (getConfig('def_refid') > 0) {
-       $EXCLUDE_LIST = " AND d.userid != ".getConfig('def_refid')."";
+       $EXCLUDE_LIST = ' AND d.userid != {?def_refid?}';
 } // END - if
 
 // Check for more extensions
-// @TODO Rewrite those lines to filter
-if (isExtensionActive('beg'))                  $EXCLUDE_LIST .= " AND d.userid != ".getConfig('beg_userid')."";
-if (isExtensionActive('bonus'))                $EXCLUDE_LIST .= " AND d.userid != ".getConfig('bonus_userid')."";
-if (isExtensionActive('doubler'))              $EXCLUDE_LIST .= " AND d.userid != ".getConfig('doubler_userid')."";
+if (isExtensionActive('beg'))                  $EXCLUDE_LIST .= ' AND d.userid != {?beg_userid?}';
+if (isExtensionActive('bonus'))                $EXCLUDE_LIST .= ' AND d.userid != {?bonus_userid?}';
+if (isExtensionActive('doubler'))              $EXCLUDE_LIST .= ' AND d.userid != {?doubler_userid?}';
 if (isExtensionInstalledAndNewer('holiday', '0.1.3')) $EXCLUDE_LIST .= " AND d.holiday_active='N'";
 
 // Check for all accounts
@@ -88,7 +89,7 @@ if (SQL_NUMROWS($result) > 0) {
                        'gender'      => translateGender($content['gender']),
                        'surname'     => $content['surname'],
                        'family'      => $content['family'],
-                       'email'       => "<a href=\"".generateEmailLink($content['email'], 'user_data')."\">".$content['email']."</a>",
+                       'email'       => '<a href="' . generateEmailLink($content['email'], 'user_data') . '">' . $content['email'] . '</a>',
                        'joined'      => generateDateTime($content['joined'], 2),
                        'last_online' => generateDateTime($content['last_online'], 2),
                        'notified'    => generateDateTime($content['ap_notified'], 2),