<?php 
//header("Content-type: application/pdf");
//require_once("html2fpdf.php");
//include('top.php');
//include('pdf_header.php');
include('pdf_header_reverse.php');
// activate Output-Buffer:
ob_start();
?>

<html>
<link href="includes/css-js/admin.css" rel="stylesheet" type="text/css" />
	<style type="text/css">
<!--
.style1 {font-size: small}
-->
    </style>
<body>
<?php 
$pdfVal ="";
if($_REQUEST['htmlText'] != "")
{
$pdfVal = $_REQUEST['htmlText'];
}
if($_REQUEST['purPdfText'] != "")
{
$pdfVal = $_REQUEST['purPdfText'];
}
if($_REQUEST['grDetailPdfText'] != "")
{
$pdfVal = $_REQUEST['flex_patient_id'];
}

echo $pdfVal;
?>
</body>
</html>
<?php 
include('pdf_footer.php');
?>