2002-04-30 22:22:54 +00:00
|
|
|
<?php
|
|
|
|
require_once("util.inc");
|
|
|
|
require_once("user.inc");
|
|
|
|
require_once("db.inc");
|
|
|
|
|
2002-11-08 17:21:45 +00:00
|
|
|
// show the home page of whoever's logged in
|
|
|
|
|
2002-12-04 19:14:00 +00:00
|
|
|
$authenticator = init_session();
|
2002-12-16 21:41:41 +00:00
|
|
|
|
2002-09-05 22:19:23 +00:00
|
|
|
db_init();
|
2002-12-04 19:14:00 +00:00
|
|
|
$user = get_user_from_auth($authenticator);
|
2002-04-30 22:22:54 +00:00
|
|
|
if ($user) {
|
2002-12-01 06:14:28 +00:00
|
|
|
page_head("Member page for $user->name");
|
2002-11-08 17:21:45 +00:00
|
|
|
show_user_page_private($user);
|
|
|
|
page_tail();
|
2002-04-30 22:22:54 +00:00
|
|
|
} else {
|
|
|
|
print_login_form();
|
|
|
|
}
|
|
|
|
?>
|