]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/task_functions.php
A lot template functions for ext-sponsor added, fixes in admin template
[mailer.git] / inc / libs / task_functions.php
index cee84ef22a812044143a6c2f437dc2c72293a2d2..5250de06cedf368c054cb66cbf7cb09180dc1028 100644 (file)
@@ -342,11 +342,13 @@ ORDER BY
                } // END - if
 
                addSql("SELECT
-       ".$USE." AS points
+       " . $USE . " AS points
 FROM
        `{?_MYSQL_PREFIX?}_user_data`
 WHERE
-       `status`='CONFIRMED' AND ".$USE." > 0".$lastOnline."
+       `status`='CONFIRMED' AND
+       " . $USE . " > 0
+       " . $lastOnline . "
 ORDER BY
        `points` DESC,
        `userid` ASC");
@@ -379,7 +381,7 @@ ORDER BY
                $WHATs[]  = 'list_beg';
                $DESCRs[] = '{--ADMIN_TASK_LIST_BEG--}';
                $TITLEs[] = '{--ADMIN_TASK_LIST_BEG_TITLE--}';
-       }
+       } // END - if
 
        if (isExtensionActive('doubler')) {
                // List waiting payouts
@@ -391,7 +393,7 @@ ORDER BY
                $WHATs[]  = 'list_doubler';
                $DESCRs[] = '{--ADMIN_TASK_LIST_DOUBLER_ALL--}';
                $TITLEs[] = '{--ADMIN_TASK_LIST_DOUBLER_ALL_TITLE--}';
-       }
+       } // END - if
 
        //
        // All referal banner