]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-refbanner.php
A lot has been rewritten, ext-teams added, ext-forced continued:
[mailer.git] / inc / modules / admin / what-refbanner.php
index 0025912ab0838805372a49e86da1ad0bda9dce2f..b9d65b7b1ab105c26c2cdecb59b3e92c55e50261 100644 (file)
@@ -61,7 +61,7 @@ if (isFormSent()) {
                        // Was the banner found?
                        if (SQL_HASZERONUMS($result)) {
                                // Add banner
                        // Was the banner found?
                        if (SQL_HASZERONUMS($result)) {
                                // Add banner
-                               SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_refbanner` (`url`, `alternate`, `visible`)
+                               SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_refbanner` (`url`,`alternate`,`visible`)
 VALUES ('%s','%s','%s')",
                                        array(
                                                postRequestParameter('url'),
 VALUES ('%s','%s','%s')",
                                        array(
                                                postRequestParameter('url'),
@@ -107,7 +107,7 @@ VALUES ('%s','%s','%s')",
        $OUT = '';
        foreach (postRequestParameter('sel') as $id => $sel) {
                // Load data
        $OUT = '';
        foreach (postRequestParameter('sel') as $id => $sel) {
                // Load data
-               $result = SQL_QUERY_ESC("SELECT `id`, `url`, `alternate`, `visible` FROM `{?_MYSQL_PREFIX?}_refbanner` WHERE `id`=%s LIMIT 1",
+               $result = SQL_QUERY_ESC("SELECT `id`,`url`,`alternate`,`visible` FROM `{?_MYSQL_PREFIX?}_refbanner` WHERE `id`=%s LIMIT 1",
                        array(bigintval($id)), __FILE__, __LINE__);
                $content = SQL_FETCHARRAY($result);
                SQL_FREERESULT($result);
                        array(bigintval($id)), __FILE__, __LINE__);
                $content = SQL_FETCHARRAY($result);
                SQL_FREERESULT($result);
@@ -131,7 +131,7 @@ VALUES ('%s','%s','%s')",
        } // END - if
 
        // Referal levels
        } // END - if
 
        // Referal levels
-       $result = SQL_QUERY('SELECT `id`, `url`, `alternate`, `visible`, `counter`, `clicks` FROM `{?_MYSQL_PREFIX?}_refbanner` ORDER BY `url` ASC', __FILE__, __LINE__);
+       $result = SQL_QUERY('SELECT `id`,`url`,`alternate`,`visible`,`counter`,`clicks` FROM `{?_MYSQL_PREFIX?}_refbanner` ORDER BY `url` ASC', __FILE__, __LINE__);
 
        // Entries found?
        if (!SQL_HASZERONUMS($result)) {
 
        // Entries found?
        if (!SQL_HASZERONUMS($result)) {