Current code.
[capital-apms.git] / html / print.php
blobc07aca0da6bdbeb179f5a1ebb61b56025b441fff
1 <?php
2 require_once('../inc/always.php');
4 require_once('classPdfReport.php');
6 $component = clean_string($_GET['t']);
7 $id = clean_string($_GET['id']);
9 /**
10 * Note that for this one we don't render any HTML output
12 if ( ! @include_once( "print/$component.php" ) ) {
13 $c->messages[] = "print/$component not found";
14 include('page-header.php');
15 include('page-footer.php');
17 else {
18 if ( isset($pdf) ) echo $pdf->Render();