A lot has been rewritten, ext-teams added, ext-forced continued:
[mailer.git] / inc / modules / admin / what-config_payouts.php
index 7aaee12902532dd47e173e53048f862d1708ecbf..12d4efd35163df0cc4dbcfa94f948b8d7a696517 100644 (file)
@@ -57,7 +57,7 @@ if ((isFormSent('add')) && (isPostRequestParameterSet('title')) && (postRequestP
                SQL_QUERY_ESC("INSERT INTO
        `{?_MYSQL_PREFIX?}_payout_types`
 (
-       `type`, `rate`, `min_points`, `from_account`, `from_pass`, `engine_url`, `engine_ret_ok`, `engine_ret_failed`, `pass_enc`, `allow_url`
+       `type`,`rate`,`min_points`,`from_account`,`from_pass`,`engine_url`,`engine_ret_ok`,`engine_ret_failed`,`pass_enc`,`allow_url`
 ) VALUES (
        '%s', %s, %s,'%s','%s','%s','%s','%s','%s','%s'
 )",
@@ -95,7 +95,7 @@ if ((isFormSent('edit')) && (ifPostContainsSelections())) {
        $OUT = '';
        foreach (postRequestParameter('sel') as $id => $sel) {
                // Load data
-               $result = SQL_QUERY_ESC("SELECT `id`, `type`, `rate`, `min_points`, `allow_url` FROM `{?_MYSQL_PREFIX?}_payout_types` WHERE `id`=%s LIMIT 1",
+               $result = SQL_QUERY_ESC("SELECT `id`,`type`,`rate`,`min_points`,`allow_url` FROM `{?_MYSQL_PREFIX?}_payout_types` WHERE `id`=%s LIMIT 1",
                        array(bigintval($id)), __FILE__, __LINE__);
                $content = SQL_FETCHARRAY($result);
                SQL_FREERESULT($result);
@@ -153,7 +153,7 @@ LIMIT 1",
                $id = bigintval($id);
 
                // Load data
-               $result = SQL_QUERY_ESC("SELECT `id`, `type`, `rate`, `min_points` FROM `{?_MYSQL_PREFIX?}_payout_types` WHERE `id`=%s LIMIT 1",
+               $result = SQL_QUERY_ESC("SELECT `id`,`type`,`rate`,`min_points` FROM `{?_MYSQL_PREFIX?}_payout_types` WHERE `id`=%s LIMIT 1",
                        array($id), __FILE__, __LINE__);
                $content = SQL_FETCHARRAY($result);
                SQL_FREERESULT($result);
@@ -188,7 +188,7 @@ if (!empty($message)) {
 
 // Payout types
 $result_type = SQL_QUERY("SELECT
-       `id`, `type`, `rate`, `min_points`, `from_account`
+       `id`,`type`,`rate`,`min_points`,`from_account`
 FROM
        `{?_MYSQL_PREFIX?}_payout_types`
 ORDER BY