<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
  
require_once dirname(__FILE__) . '/tcpdf/tcpdf.php';
  
class Pdf extends TCPDF
{
 	function __construct(){
 		parent::__construct();
 
 	}
 	public function Header() {
        //$this->SetFont('helvetica','',8);
        //$html = '<table  border="0" cellpadding="5"  align="center" width="100%">';
  //           $html .= '<tr>';
  //               $html .= '<td align="left" colspan="2" style="font-weight: bold;">';
  //                       $html .= 'DATE : '.date('d-M-Y');
  //               $html .='</td>';
  //               $html .='<td colspan="5" align="center">';
  //                  $html .='<h3 class="panel-title">'.report_title.'</h3>';
  //               $html .='</td>';
  //               $html .='<td align="right" height="30">';
  //                  $html .='<img src="'.base_url().'assets/global/image/logo1.png" height="30">';
  //               $html .='</td>';
  //           $html .='</tr>';
  //           $html .= '<tr>';
  //               $html .= '<td align="center"  width="100%" style="font-weight: bold;">';
  //                       $html .= 'C/o. NOBLE GROUP OF INSTITUTIONS, "PARTH VATIKA" BHESAN ROAD,, BAMANGAM, JUNAGADH';
  //               $html .='</td>';
  //           $html .='</tr>';      
        //$html .= '</table>';
        //$html .= '<hr>';
        //$this->writeHTML($html, true, false, false, false, '');
        //      	$this->SetHeaderMargin(30);
      		// $this->SetTopMargin(18);
      		// $this->setFooterMargin(20);
      		// $this->SetAutoPageBreak(true);              
    }
 	function Footer() {
	    // Position at 15 mm from bottom
	    // $this->SetY(-15);
	    // $this->SetFont('helvetica', '', 8);
	    // $this->Cell(0, 10,'Print On:   '.date('d-M-y h:i:s A').'', 0, false, 'L', 0, '', 0, false, 'T', 'M');
	    // $this->Cell(0, 10, 'Page '.$this->getAliasNumPage().' of '.$this->getAliasNbPages(), 0, false, 'R', 0, '', 0, false, 'T', 'M');
	}
}