query(" SELECT um.Username, p.Level AS Class FROM users_main AS um LEFT JOIN permissions AS p ON p.ID=um.PermissionID WHERE um.ID = ".$UserID); list($Username, $Class) = $DB->next_record(); if (!check_perms('users_view_keys', $Class)) { error(403); } View::show_header("PassKey history for $Username"); $DB->query(" SELECT OldPassKey, NewPassKey, ChangeTime, ChangerIP FROM users_history_passkeys WHERE UserID=$UserID ORDER BY ChangeTime DESC"); ?>

Passkey history for

next_record()) { ?>
Old New Changed IP H
S