rendered paste body<?phpfunction clean($string){ $string = addslashes($string); $string = strip_tags($string); $string = htmlspecialchars($string); $string = trim($string); return $string;}function logout() { session_start(); session_unset($_SESSION); header("Location: ". $_SERVER['REQUEST_URI'] ."");}function delete_news($id) { $query = "DELETE FROM clan_news WHERE id='{$id}' LIMIT 1"; mysql_query($query); if (!mysql_affected_rows() == 1) { print 'ERROR.'; }}function edit_news($id) {}function delete_roster($id) { $query = "DELETE FROM roster WHERE id='{$_GET['id']}' LIMIT 1"; mysql_query($query); if (!mysql_affected_rows() == 1) { print 'ERROR.'; }}?>