mirror of https://github.com/BOINC/boinc.git
21 lines
414 B
PHP
21 lines
414 B
PHP
<?php
|
|
|
|
require_once("../inc/util.inc");
|
|
require_once("../inc/uotd.inc");
|
|
require_once("../inc/profile.inc");
|
|
|
|
db_init();
|
|
|
|
$profile = get_current_uotd();
|
|
if (!$profile) {
|
|
echo "No user of the day has been chosen.";
|
|
} else {
|
|
$d = date("d F Y", time());
|
|
$user = lookup_user_id($profile->userid);
|
|
page_head("User of the Day for $d: $user->name");
|
|
show_profile($profile->userid);
|
|
}
|
|
|
|
page_tail();
|
|
?>
|