<?php require "_header.php";?>
<div id="main-report" align="center">
<style>
	.table-report{
		border:1px solid #000;	
		font-family:Verdana, Geneva, sans-serif;
		font-size:11px;
		text-align:left;
	}
	.table-report-inner{
		font-family:Verdana, Geneva, sans-serif;
		font-size:11px;
	}
	.table-report-footer{
		font-family:Verdana, Geneva, sans-serif;
		font-size:10px;
	}
	.table-report tr{
		padding:1px 1px 1px 1px;
	}
	.table-report td{
		padding:1px 1px 1px 1px;
	}
	.table-report th{
		padding:1px 1px 1px 1px;
		font-weight:bold;
		text-align:left;
	}	
	.college_name{
		font-family:QTAbbie;
		font-size:22px;	
		font-weight:bold;
		padding:1px 1px 1px 1px;
		text-align:center;
		vertical-align:top;
	}
	.college_address{
		font-family:Tahoma, Geneva, sans-serif;
		font-size:11px;	
		text-align:center;
		padding:1px 1px 1px 1px;
		vertical-align:top;
	}
	.break{
		page-break-after:always;
				
	}
</style>
<center><h4>Student Fees Receipt</h4></center>
<div style="float:left">
<a href="addedit-feesreceive.php">&laquo;&nbsp;Back to Fee Recive</a>
</div>
<br/>
<br/>
<?php 
ob_start();
$barcode="1234567899989898"; ?>
	<?php echo "<img src=http://image.ac.in/imagecms/bc.php?barcode=".$barcode."&width=370&height=50' alt='barcode' />";?> <br/>
    <?php echo "<img src=http://image.ac.in/imagecms/bc.php?barcode=".$barcode."&width=370&height=50' alt='barcode' />";?> <br/>
    <?php echo "<img src=http://image.ac.in/imagecms/bc.php?barcode=".$barcode."&width=370&height=50' alt='barcode' />";?> <br/>
    <?php echo "<img src=http://image.ac.in/imagecms/bc.php?barcode=".$barcode."&width=370&height=50' alt='barcode' />";?> <br/>
    
<?php 

			$HtmlCode= ob_get_contents();
			ob_end_flush();
			$HtmlUrl  =	"feereceipt-report.html";
			$HtmlPath =	"report/".$HtmlUrl;
			createHTMLReportPage($header_row_string,$HtmlUrl,$HtmlPath,$HtmlCode); 
		
		?>
      	<br/>
        
		<form name="frm" id="frm" action="" method="post">		
			<input type="hidden"   name="txtFile" id="txtFile" value="<?php echo $HtmlUrl ;?>" />
            <input type="button"  name="btnPrint" id="btnPrint" value="Print" onClick="SetPageAction('PRINT');"/>
			<input type="button"  name="btnPdf" id="btnPdf" value="Create PDF" onClick="SetPageAction('PDF');"/>
			<input type="button" name="btnHtml" id="btnHtml" value="Create HTML" onClick="SetPageAction('HTML');"/>
			<input type="button" name="btnWord" id="btnWord" value="Create WORD" onClick="SetPageAction('WORD');"/>
			<input type="button" name="btnExcel" id="btnExcel" value="Create EXCEL" onClick="SetPageAction('Excel');"/>
		</form>
			<script language="javascript" type="text/javascript">
			//SetPageAction('PRINT');
                function SetPageAction(varAction) {
                    if(varAction=="PRINT"){			
                        document.frm.action="print/create-print.php";
                        document.frm.submit();
                    }
					else if(varAction=="PDF"){			
                        document.frm.action="convertpdf/create-pdf.php";
                        document.frm.target = "_blank";
                        document.frm.submit();
                    }
                    else if(varAction=="HTML"){
                        document.frm.action="<?php echo $HtmlPath ;?>";
                        document.frm.target = "_blank";
                        document.frm.submit();
                    }
                    else if(varAction=="WORD"){
                        document.frm.action="convertword/create-word.php";
                        document.frm.target="_blank";
                        document.frm.submit();
                    }
                    else if(varAction=="Excel"){
                        document.frm.action="convertword/create-excel.php";
                        document.frm.target="_blank";
                        document.frm.submit();
                    }
                }
				
            </script>
		
</div>
<?php require "_footer.php";?>