case 16: $output .= "\r\n <h1><font class=\"error\">{$lang_user['you_have_no_permission_to_set_gmlvl']}</font></h1>"; break; default: //no error $output .= "\r\n <h1>{$lang_user['browse_acc']}</h1>"; } unset($err); $output .= "\r\n </div>"; $action = isset($_GET['action']) ? $_GET['action'] : NULL; switch ($action) { case "add_new": add_new(); break; case "doadd_new": doadd_new(); break; case "edit_user": edit_user(); break; case "doedit_user": doedit_user(); break; case "del_user": del_user(); break; case "dodel_user": dodel_user(); break; case "backup_user": backup_user();
} } } } } } $output .= ' </div>'; // $_GET and SECURE $action = isset($_GET['action']) ? $_GET['action'] : NULL; // define functions to be called by actions if ('add_new' == $action) { add_new(); } else { if ('doadd_new' == $action) { doadd_new($sqlr); } else { if ('edit_user' == $action) { edit_user($sqlr, $sqlc); } else { if ('doedit_user' == $action) { doedit_user($sqlr); } else { if ('del_user' == $action) { del_user($sqlr); } else { if ('dodel_user' == $action) { dodel_user($sqlr, $sqlc); } else { if ('backup_user' == $action) { backup_user($sqlr, $sqlc);