logged_in){ // User has already logged in echo "Welcome $session->username, you are logged in to LogView.     Your previous LogView useage is: $session->useage logs uploaded"; } else{ // User not logged in echo "Welcome Guest, you are not logged in."; } echo "
There are $database->num_active_users registered members and "; echo "$database->num_active_guests guests currently viewing the site."; ?>
 
Logview
LogView
a Contest-Log Visualisation Tool
from EI8IC
Forgotten Password
 
New Password Generated

"; echo "

Your new password has been generated and sent
to the email associated with your account.

"; } /** * Email could not be sent, therefore password was not * edited in the database. */ else{ echo "

New Password Failure

"; echo "

There was an error sending you the email with the new password,
so your password has not been changed.

"; } unset($_SESSION['forgotpass']); } else{ /** * Forgot password form is displayed, if error found * it is displayed. */ ?>

A new password will be generated for you and sent to the email address
associated with your account. All you have to do is enter your Username.

error("user"); ?>
Your LogView Username: ">