2002-04-30 22:22:54 +00:00
|
|
|
<?php
|
2002-08-13 22:35:12 +00:00
|
|
|
require_once("db.inc");
|
|
|
|
require_once("util.inc");
|
|
|
|
require_once("prefs.inc");
|
2002-04-30 22:22:54 +00:00
|
|
|
|
2002-08-13 22:35:12 +00:00
|
|
|
db_init();
|
2002-04-30 22:22:54 +00:00
|
|
|
|
2002-08-13 22:35:12 +00:00
|
|
|
$user = get_user_from_cookie();
|
|
|
|
if ($user) {
|
|
|
|
page_head("Preferences");
|
2002-09-27 17:42:30 +00:00
|
|
|
print_prefs_display($user);
|
2002-11-12 17:01:16 +00:00
|
|
|
page_tail();
|
2002-08-13 22:35:12 +00:00
|
|
|
} else {
|
|
|
|
print_login_form();
|
|
|
|
}
|
2002-04-30 22:22:54 +00:00
|
|
|
|
|
|
|
?>
|