.
require_once("../inc/util.inc");
require_once("../inc/cert.inc");
check_get_args(array("border"));
$user = get_logged_in_user();
$join = gmdate('j F Y', $user->create_time);
$today = gmdate('j F Y', time(0));
$border = get_str("border", true);
if ($border=="no") {
$border = 0;
} else {
$border=8;
}
$credit = credit_string($user->total_credit, false);
$title_font = "\"Optima,ZapfChancery\"";
$font = "\"Optima,Lucida Bright,Times New Roman\"";
echo "
Certificate of Computation
This certifies that
$user->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 "
|
";
?>
|