.
require_once("../inc/util.inc");
require_once("../inc/cert.inc");
check_get_args(array("border"));
$user = get_logged_in_user();
$team = BoincTeam::lookup_id($user->teamid);
if (!$team) error_page("no team");
$join = date('j F Y', $team->create_time);
$today = date('j F Y', time(0));
credit_to_ops($team->total_credit, $ops, $unit);
$border = get_str("border", true);
if ($border=="no") {
$border = 0;
} else {
$border=8;
}
$credit = credit_string($team->total_credit, false);
$title_font = "\"Optima,ZapfChancery\"";
$font = "\"Optima,Lucida Bright,Times New Roman\"";
echo "
Certificate of Computation
This certifies that team
$team->name
has participated in ".PROJECT." since $join,
and has contributed $credit
to ".PROJECT.".
| |
|
";
if (defined("CERT_SIGNATURE")) {
echo "
";
}
if (defined("CERT_DIRECTOR_NAME")) {
echo CERT_DIRECTOR_NAME." Director, ".PROJECT."
";
}
echo "
$today
|
";
if (defined("CERT_PROJECT_LOGO")) {
echo "
|
";
}
if (defined("CERT_INSTITUTION_LOGO")) {
echo "
|
";
}
echo "
|
";
?>
|