Access to the administration page through Microsoft Internet Explorer Web Browser is not allowed.
Microsoft sucks.

"; exit; } session_start(); ?> OJPL Administration and Maintenance

To have access to these features, you must either be a librarian or a computer hacker. If you would like to be a librarian, please contact the OJPL at:

o.j.p.library@gmail.com

Thank you. Have a nice day.

-The Management
"; echo "

"; exit; } if ($librarian == "none") { echo "Hey there. You don't have any administration/maintenance privileges. Contact us if you want some.

Have a nice day.

-The Management
"; echo "

"; exit; } if ($_POST['password']) { $password = $_POST['password']; } else $password = "0"; if ($_POST['reset']) {$_SESSION['logout'] = null;} if ($_SESSION['logout']) {echo "Hi. Please log in at the admin page. Thank you."; exit; } //make our connection $connection = @pg_connect("dbname=ojpl user=$librarian password=$password host=localhost"); //let me know if the connection fails if (!$connection) { echo "The connection was unsuccessful.

Perhaps maybe you typed your password wrong or forgot who you were?

Would you like to try again?

"; $connection = pg_connect("dbname=ojpl user=ojpl password=librarian host=localhost"); echo "

Name?

What's your password?

"; echo "

"; exit; } //get results $query = "SELECT name FROM people WHERE user_name = '$librarian'"; $result = pg_query($query) or die; $name = pg_result($result, 0, 0); $_SESSION['user'] = $librarian; $_SESSION['password'] = $password; $_SESSION['firstname'] = $name; echo "Hello $name.

Welcome to the OJPL maintenance and administration page.

Make a selection, please:"; echo "

"; echo "Cataloging
Circulation
Branch Management

"; // Closing connection pg_close($connection); } else { //make our connection $connection = pg_connect("dbname=ojpl user=ojpl password=librarian host=localhost"); //let me know if the connection fails if (!$connection) { print("Connection Failed."); exit; } ?> Greetings there OJPL friends and foes. Due to the current migration from one thing to another, the OJPL database was experiencing some technical difficulties. Let us know if you encounter any problems. Thank you. Have a nice day. And now back to your previously scheduled programming...

Hi.

Um...

Who are you?

What's your password?