2
if ($userFaculty<>'44'){
3
//echo '<span class="style1"><br><b>Privilege Violation Error!</b><br>You have no Rights to Print a <b>Candidate Trascript</b><br>-ZALONGWA DATABASE ADMINISTRATOR</span>';
4
//echo '<meta http-equiv = "refresh" content ="4; url = lecturerTranscript.php">';
8
$signatory = 'Registrar Date Director of Studies';
10
$pdf->image('images/logo.jpg', 280, 50);
11
$pdf->setFont('Arial', 'I', 8);
12
$pdf->text(530.28, 820.89, 'Page '.$pg);
13
$pdf->setFont('Arial', 'B', 21);
14
//$pdf->text(66, 50, strtoupper($org));
15
$pdf->text(66, 50, 'THE INSTITUTE OF FINANCE MANAGEMENT');
16
$pdf->setFillColor('rgb', 0, 0, 0);
17
$pdf->setFont('Arial', 'I', 8);
18
$pdf->text(50, 820.89, 'Dar-es-Salaam, '.$today = date("d-m-Y H:i:s"));
19
$pdf->text(300, 820.89, $copycount);
23
$post = 'P. O. Box 3918';
24
$website = 'http://www.ifm.ac.tz';
25
$pdf->setFont('Arial', '', 11.3);
26
$pdf->text(115, $yadd, 'Phone: +255-22-2112931/4');
27
$pdf->text(115, $yadd+12, 'Fax: +255-22-2112935');
28
$pdf->text(115, $yadd+24, 'Email: principal@africaonline.co.tz');
29
$pdf->text(350, $yadd, strtoupper($post));
30
$pdf->text(350, $yadd+12, strtoupper($city));
31
$pdf->text(350, $yadd+24, $website);
34
$pdf->line(490, 55, 490, 135); // leftside.
35
$pdf->line(490, 55, 570, 55); // upperside.
36
$pdf->line(570, 55, 570, 135); // rightside.
37
$pdf->line(490, 135, 570, 135); // bottom side.
39
$pdf->text(450, 85, 'Invalid Without Photo: ');
41
$pdf->image($imgfile, 490, 55);