<font class="error\\">' . $lang_edit['del_error'] . '</font> </h1>'; } else { $output .= ' <h1>' . $lang_edit['edit_your_acc'] . '</h1>'; } } } } } unset($err); $output .= ' </div>'; $action = isset($_GET['action']) ? $_GET['action'] : NULL; if ('doedit_user' == $action) { doedit_user($sqlr, $sqlc); } else { if ('lang_set' == $action) { lang_set(); } else { if ('theme_set' == $action) { theme_set(); } else { edit_user($sqlr, $sqlc); } } } unset($action); unset($action_permission); unset($lang_edit); require_once 'footer.php';
} 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(); break; default: browse_users($sqlr, $sqlc); } unset($action); unset($action_permission);
$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); } else { browse_users($sqlr); } } } }