foreach (postRequestParameter('sel') as $id => $selected) {
// Load rallye basic data
$result = SQL_QUERY_ESC("SELECT
- `title`, `descr`, `template`, `start_time`, `end_time`, `min_users`, `min_prices`
+ `title`,`descr`,`template`,`start_time`,`end_time`,`min_users`,`min_prices`
FROM
`{?_MYSQL_PREFIX?}_rallye_data`
WHERE
} elseif ((getRequestParameter('sub') == 'users') && (getRequestParameter('rallye') > 0)) {
// List users and their refs before start and current
$result = SQL_QUERY_ESC("SELECT
- `userid`, `refs`, `curr_points`
+ `userid`,`refs`,`curr_points`
FROM
`{?_MYSQL_PREFIX?}_rallye_users`
WHERE
} else {
// Start listing rallyes
$result = SQL_QUERY("SELECT
- `id`, `admin_id`, `title`, `descr`, `template`, `start_time`, `end_time`,
- `auto_add_new_user`, `is_active`, `send_notify`, `notified`, `min_users`, `min_prices`
+ `id`,`admin_id`,`title`,`descr`,`template`,`start_time`,`end_time`,
+ `auto_add_new_user`,`is_active`,`send_notify`,`notified`,`min_users`,`min_prices`
FROM
`{?_MYSQL_PREFIX?}_rallye_data`
ORDER BY