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'
)",
$OUT = '';
foreach (postRequestElement('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);
$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);
} // END - if
// Payout types
-$result_type = SQL_QUERY("SELECT
- `id`,`type`,`rate`,`min_points`,`from_account`
+$result_type = SQL_QUERY('SELECT
+ `id`,
+ `type`,
+ `rate`,
+ `min_points`,
+ `from_account`
FROM
`{?_MYSQL_PREFIX?}_payout_types`
ORDER BY
- `type` ASC", __FILE__, __LINE__);
+ `type` ASC', __FILE__, __LINE__);
if ((!SQL_HASZERONUMS($result_type)) && ($display)) {
// List all payout types