$currMode = GET_ADMIN_DEFAULT_ACL(GET_CURRENT_ADMIN_ID());
// Begin the edit loop
- $SW = 2; $OUT = "";
+ $OUT = ""; $SW = 2;
foreach ($POST['sel'] as $id => $selected) {
// Secure ID number
$id = bigintval($id);
SQL_FREERESULT($result_main);
if ($accounts > 1) {
// Delete accounts
- $SW = 2; $OUT = "";
+ $OUT = ""; $SW = 2;
foreach ($POST['sel'] as $id => $selected) {
// Secure ID number
$id = bigintval($id);
function ADMINS_LIST_ADMIN_ACCOUNTS() {
// Select all admin accounts
$result = SQL_QUERY("SELECT id, login, email, default_acl AS mode, la_mode FROM `{!_MYSQL_PREFIX!}_admins` ORDER BY login ASC", __FUNCTION__, __LINE__);
- $SW = 2; $OUT = "";
+ $OUT = ""; $SW = 2;
while ($content = SQL_FETCHARRAY($result)) {
// Compile some variables
$content['mode'] = constant('ADMINS_'.strtoupper($content['mode']).'_MODE');