]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_mediadata.php
Next wave of lesser getMessage() usage and more EL
[mailer.git] / inc / modules / admin / what-config_mediadata.php
index 849e8792d9355479816b2061c46ad9fa9e12ef80..dbacb56b841fe94cde72c7e0bdf8ad57eb3d69c2 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 09/28/2003 *
- * ================                             Last change: 02/12/2004 *
+ * Mailer v0.2.1-FINAL                                Start: 09/28/2003 *
+ * ===================                          Last change: 02/12/2004 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : what-                                            *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : what-                                            *
@@ -18,6 +18,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 *
@@ -46,25 +47,25 @@ addMenuDescription('admin', __FILE__);
 
 if (isFormSent()) {
        // Test timestamp
 
 if (isFormSent()) {
        // Test timestamp
-       $STAMP = mktime(0, 0, 0, bigintval(postRequestElement('month')), bigintval(postRequestElement('day')), bigintval(postRequestElement('year')));
+       $STAMP = mktime(0, 0, 0, bigintval(postRequestParameter('month')), bigintval(postRequestParameter('day')), bigintval(postRequestParameter('year')));
        if ($STAMP > time()) {
                // Date is in the future!
        if ($STAMP > time()) {
                // Date is in the future!
-               unsetPostRequestElement('ok');
+               unsetPostRequestParameter('ok');
        } else {
                // Remove entries
        } else {
                // Remove entries
-               unsetPostRequestElement('day');
-               unsetPostRequestElement('month');
-               unsetPostRequestElement('year');
+               unsetPostRequestParameter('day');
+               unsetPostRequestParameter('month');
+               unsetPostRequestParameter('year');
 
                // Remember timestamp
 
                // Remember timestamp
-               setRequestPostElement('mt_start', $STAMP);
+               setPostRequestParameter('mt_start', $STAMP);
        }
 
        // Convert some data
        }
 
        // Convert some data
-       setRequestPostElement('mt_stage', bigintval(postRequestElement('mt_stage')));
-       if (postRequestElement('mt_stage') <= countSumTotalData('CONFIRMED', 'user_data', 'userid', 'status', true)) {
+       setPostRequestParameter('mt_stage', bigintval(postRequestParameter('mt_stage')));
+       if (postRequestParameter('mt_stage') <= getTotalConfirmedUser()) {
                // Not enougth!
                // Not enougth!
-               unsetPostRequestElement('ok');
+               unsetPostRequestParameter('ok');
        }
 }
 
        }
 }
 
@@ -75,7 +76,7 @@ if (isFormSent()) {
        // Start of this exchange
        if (getConfig('mt_start') > 0) {
                // Only show start
        // Start of this exchange
        if (getConfig('mt_start') > 0) {
                // Only show start
-               $content['mt_start'] = '<strong>' . generateDateTime(getConfig('mt_start'), '3') . '</strong>';
+               $content['mt_start'] = '<strong>' . generateDateTime(getConfig('mt_start'), 3) . '</strong>';
        } else {
                // Make start editable
                $content['mt_start'] =
        } else {
                // Make start editable
                $content['mt_start'] =