.
require_once("../inc/util.inc");
require_once("../inc/cert.inc");
$user = get_logged_in_user();
$join = date('j F Y', $user->create_time);
$today = date('j F Y', time(0));
$border=$_GET["border"];
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 "
|
";
?>
|