]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-refbanner.php
Mailer project continued:
[mailer.git] / inc / modules / admin / what-refbanner.php
index 6dc09178097776d9d19da630724fcb1e0a54a738..1f48c21fca25807d71365a8981a5d4f798fc42c6 100644 (file)
@@ -59,7 +59,7 @@ if (isFormSent()) {
                        // 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(
                                                postRequestElement('url'),
@@ -105,7 +105,7 @@ VALUES ('%s','%s','%s')",
        $OUT = '';
        foreach (postRequestElement('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);
@@ -129,7 +129,7 @@ VALUES ('%s','%s','%s')",
        } // END - if
 
        // Referral 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)) {