2002-08-13 23:59:34 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
require_once("db.inc");
|
|
|
|
require_once("util.inc");
|
|
|
|
require_once("edit.inc");
|
|
|
|
|
|
|
|
db_init();
|
2002-11-12 17:01:16 +00:00
|
|
|
$user = get_user_from_cookie();
|
2002-08-13 23:59:34 +00:00
|
|
|
|
|
|
|
if ($user) {
|
2002-11-12 17:01:16 +00:00
|
|
|
page_head("Change Password");
|
2002-08-13 23:59:34 +00:00
|
|
|
print_change_password($user);
|
2002-11-12 17:01:16 +00:00
|
|
|
page_tail();
|
2002-08-13 23:59:34 +00:00
|
|
|
} else {
|
2002-11-12 17:01:16 +00:00
|
|
|
print_login_form();
|
2002-08-13 23:59:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
?>
|