]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-unlock_sponsor.php
Additional fixes for XML handler and listing builder
[mailer.git] / inc / modules / admin / what-unlock_sponsor.php
index 052984e3910c084b8968ca47d5a456dd60bb5300..0c6cd90d3a0283888f5ecf3ae4738f80c4c0d270 100644 (file)
@@ -57,9 +57,9 @@ if (isFormSent()) {
 
                        // Load his personal data
                        $result_main = SQL_QUERY_ESC("SELECT
-       `id`,`gender`,`surname`,`family`,`email`,`remote_addr`,
+       `id`, `gender`, `surname`, `family`, `email`, `remote_addr`,
        UNIX_TIMESTAMP(`sponsor_created`) AS `sponsor_created`,
-       `points_amount`,`points_used`,
+       `points_amount`, `points_used`,
        (`points_amount` + `points_used`) AS `points`,
        `refid`
 FROM
@@ -199,7 +199,7 @@ LIMIT 1",
 
 // Begin listing of all pending sponsor accounts
 $result = SQL_QUERY("SELECT
-       `id`,`gender`,`surname`,`family`,`email`,`remote_addr`,
+       `id`, `gender`, `surname`, `family`, `email`, `remote_addr`,
        UNIX_TIMESTAMP(`sponsor_created`) AS `sponsor_created`
 FROM
        `{?_MYSQL_PREFIX?}_sponsor_data`
@@ -216,11 +216,11 @@ if (!SQL_HASZERONUMS($result)) {
                $content['sponsor_created'] = generateDateTime($content['sponsor_created'], 2);
 
                // Load row template and switch colors
-               $OUT .= loadTemplate('admin_unlock_sponsor_row', true, $content);
+               $OUT .= loadTemplate('admin_unlock_sponsor_row', TRUE, $content);
        } // END - while
 
        // Load template
-       loadTemplate('admin_unlock_sponsor', false, $OUT);
+       loadTemplate('admin_unlock_sponsor', FALSE, $OUT);
 } else {
        // No pending accounts found
        displayMessage('{--ADMIN_SPONSOR_NONE_PENDING--}');