Exemplo n.º 1
0
    $footer .= '<td>&nbsp;</td>';
}
if (_h($stuInfo[0]['ccdCode']) != 'NULL') {
    $footer .= '<td>' . _h($stuInfo[0]['ccdCode']) . ' - ' . _h($stuInfo[0]['ccdName']) . '</td>';
} else {
    $footer .= '<td>&nbsp;</td>';
}
$footer .= '</tr>';
$footer .= '</tbody>';
$footer .= '</table>';
$footer .= "<p>*********************************************************************************************************************************************************************************************</p>";
$footer .= "<p>*" . _t('Transfer Credits') . "</p>";
$pdf->writeHTML($footer, true, 0);
$txt3 = 'Printed on ' . date("m/d/Y @ h:i A");
// print a block of text using Write()
$pdf->Write($h = 0, $txt3, $link = '', $fill = 0, $align = 'C', $ln = true, $stretch = 0, $firstline = false, $firstblock = false, $maxh = 0);
// ---------------------------------------------------------
/*$pdf->Button('print', 30, 10, 'Print', 'Print()', array('lineWidth'=>2, 'borderStyle'=>'beveled', 'fillColor'=>array(128, 196, 255), 'strokeColor'=>array(64, 64, 64)));

// Form validation functions
$js = <<<EOD
function Print() {
    print();
}
EOD;

// Add Javascript code
$pdf->IncludeJS($js);*/
// close and output PDF document
$pdf->Output('transcript.pdf', 'I');
//============================================================+