boinc/html/user/home.php

17 lines
318 B
PHP
Raw Normal View History

<?php
require_once("util.inc");
require_once("user.inc");
require_once("db.inc");
require_once("login.inc");
db_init();
$user = get_user_from_cookie();
if ($user) {
page_head("User Home");
show_user_page($user);
} else {
print_login_form();
}
page_tail();
?>