. require_once("../inc/util.inc"); require_once("../inc/uotd.inc"); require_once("../inc/profile.inc"); if (DISABLE_PROFILES) error_page("Profiles are disabled"); check_get_args(array()); db_init(); $profile = get_current_uotd(); if (!$profile) { echo tra("No user of the day has been chosen."); } else { $d = gmdate("d F Y", time()); $user = BoincUser::lookup_id($profile->userid); page_head(tra("User of the Day for %1: %2", $d, $user->name)); start_table(); show_profile($user, get_logged_in_user(false)); end_table(); } page_tail(); ?>