<?php 
include "../include/config.php"; 
include "../function/inc_function.php"; 
ob_start();
?>
<html>
<head>
<link rel='stylesheet' type='text/css' href="../include/css/print_styles.css" />	
</head>
<body>
<div id="popup">
<table width="100%" border="0">
	<tr>
		<td border="0">
			<table>
				<tr>
					<td valign="middle" colspan="4" height="50" align="center"><img src="../images/injection label.png" width="308" height="60"></td>
				</tr>
				<tr >
					<td valign="middle" width="77" height="50"><b>Operator</b></td>
					<td valign="middle" width="77" ></td>
					<td valign="middle" width="77" ><b>Product Line</b></td>
					<td valign="middle" width="77" ></td>
				</tr>
				<tr>
					<td valign="middle" height="50"><b>Prod Date</b></td>
					<td valign="middle"></td>
					<td valign="middle"><b>Machine No</b></td>
					<td valign="middle"></td>
				</tr>
				<tr>
					<td valign="middle" height="50"><b>Part Name</b></td>
					<td valign="middle"></td>
					<td valign="middle"><b>Shift</b></td>
					<td valign="middle" align="center"><b>1 / 2 / 3</b></td>
				</tr>
				<tr>
					<td valign="middle" height="50"><b>Model</b></td>
					<td valign="middle"></td>
					<td valign="middle"><b>Core</b></td>
					<td valign="middle"></td>
				</tr>
				<tr>
					<td valign="middle" height="50"><b>Part No</b></td>
					<td valign="middle"></td>
					<td valign="middle"><b>UL Code No</b></td>
					<td valign="middle"></td>
				</tr>
				<tr>
					<td valign="middle" height="50"><b>Material</b></td>
					<td valign="middle"></td>
					<td valign="middle"><b>QTY</b></td>
					<td valign="middle"></td>
				</tr>
				<tr>
					<td valign="middle" height="50"><b>Material Maker</b></td>
					<td valign="middle"></td>
					<td valign="middle"><b>QC Inspector</b></td>
					<td valign="middle"></td>
				</tr>
				<tr>
					<td valign="middle" height="50"><b>Material Grade</b></td>
					<td valign="middle"></td>
					<td valign="middle" rowspan="2"><b>QC Status</b></td>
					<td valign="middle"></td>
				</tr>
				<tr>
					<td valign="middle" height="50"><b>COLOR</b></td>
					<td valign="middle"></td>
					<td valign="middle"></td>
				</tr>
				<tr>
					<td valign="middle" colspan="4" align="center" height="50"><img src="../images/Hab Dong Indo Logo.png" width="308" height="60"></td>
				</tr>
				<tr>
					<td valign="middle" colspan="2" height="50"><b>RAK NO :</b></td>
					<td valign="middle" colspan="2"></td>
				</tr>
			</table>
		</td>
		
		<td width="20" border="0"></td>
		
		<td border="0">
			<table>
				<tr>
					<td valign="middle" colspan="4" height="50" align="center"><img src="../images/injection label.png" width="308" height="60"></td>
				</tr>
				<tr >
					<td valign="middle" width="77" height="50"><b>Operator</b></td>
					<td valign="middle" width="77" ></td>
					<td valign="middle" width="77" ><b>Product Line</b></td>
					<td valign="middle" width="77" ></td>
				</tr>
				<tr>
					<td valign="middle" height="50"><b>Prod Date</b></td>
					<td valign="middle"></td>
					<td valign="middle"><b>Machine No</b></td>
					<td valign="middle"></td>
				</tr>
				<tr>
					<td valign="middle" height="50"><b>Part Name</b></td>
					<td valign="middle"></td>
					<td valign="middle"><b>Shift</b></td>
					<td valign="middle" align="center"><b>1 / 2 / 3</b></td>
				</tr>
				<tr>
					<td valign="middle" height="50"><b>Model</b></td>
					<td valign="middle"></td>
					<td valign="middle"><b>Core</b></td>
					<td valign="middle"></td>
				</tr>
				<tr>
					<td valign="middle" height="50"><b>Part No</b></td>
					<td valign="middle"></td>
					<td valign="middle"><b>UL Code No</b></td>
					<td valign="middle"></td>
				</tr>
				<tr>
					<td valign="middle" height="50"><b>Material</b></td>
					<td valign="middle"></td>
					<td valign="middle"><b>QTY</b></td>
					<td valign="middle"></td>
				</tr>
				<tr>
					<td valign="middle" height="50"><b>Material Maker</b></td>
					<td valign="middle"></td>
					<td valign="middle"><b>QC Inspector</b></td>
					<td valign="middle"></td>
				</tr>
				<tr>
					<td valign="middle" height="50"><b>Material Grade</b></td>
					<td valign="middle"></td>
					<td valign="middle" rowspan="2"><b>QC Status</b></td>
					<td valign="middle"></td>
				</tr>
				<tr>
					<td valign="middle" height="50"><b>COLOR</b></td>
					<td valign="middle"></td>
					<td valign="middle"></td>
				</tr>
				<tr>
					<td valign="middle" colspan="4" align="center" height="50"><img src="../images/Hab Dong Indo Logo.png" width="308" height="60"></td>
				</tr>
				<tr>
					<td valign="middle" colspan="2" height="50"><b>RAK NO :</b></td>
					<td valign="middle" colspan="2"></td>
				</tr>
			</table>
		</td>
		
		<td width="20" border="0"></td>
		
		<td border="0">
			<table>
				<tr>
					<td valign="middle" colspan="4" height="50" align="center"><img src="../images/injection label.png" width="308" height="60"></td>
				</tr>
				<tr >
					<td valign="middle" width="77" height="50"><b>Operator</b></td>
					<td valign="middle" width="77" ></td>
					<td valign="middle" width="77" ><b>Product Line</b></td>
					<td valign="middle" width="77" ></td>
				</tr>
				<tr>
					<td valign="middle" height="50"><b>Prod Date</b></td>
					<td valign="middle"></td>
					<td valign="middle"><b>Machine No</b></td>
					<td valign="middle"></td>
				</tr>
				<tr>
					<td valign="middle" height="50"><b>Part Name</b></td>
					<td valign="middle"></td>
					<td valign="middle"><b>Shift</b></td>
					<td valign="middle" align="center"><b>1 / 2 / 3</b></td>
				</tr>
				<tr>
					<td valign="middle" height="50"><b>Model</b></td>
					<td valign="middle"></td>
					<td valign="middle"><b>Core</b></td>
					<td valign="middle"></td>
				</tr>
				<tr>
					<td valign="middle" height="50"><b>Part No</b></td>
					<td valign="middle"></td>
					<td valign="middle"><b>UL Code No</b></td>
					<td valign="middle"></td>
				</tr>
				<tr>
					<td valign="middle" height="50"><b>Material</b></td>
					<td valign="middle"></td>
					<td valign="middle"><b>QTY</b></td>
					<td valign="middle"></td>
				</tr>
				<tr>
					<td valign="middle" height="50"><b>Material Maker</b></td>
					<td valign="middle"></td>
					<td valign="middle"><b>QC Inspector</b></td>
					<td valign="middle"></td>
				</tr>
				<tr>
					<td valign="middle" height="50"><b>Material Grade</b></td>
					<td valign="middle"></td>
					<td valign="middle" rowspan="2"><b>QC Status</b></td>
					<td valign="middle"></td>
				</tr>
				<tr>
					<td valign="middle" height="50"><b>COLOR</b></td>
					<td valign="middle"></td>
					<td valign="middle"></td>
				</tr>
				<tr>
					<td valign="middle" colspan="4" align="center" height="50"><img src="../images/Hab Dong Indo Logo.png" width="308" height="60"></td>
				</tr>
				<tr>
					<td valign="middle" colspan="2" height="50"><b>RAK NO :</b></td>
					<td valign="middle" colspan="2"></td>
				</tr>
			</table>
		</td>
		
	</tr>
</table>
</div>
</body>
</html>


<?php   
	 #PDF
	 $filename="Invoice.pdf";   
	 $content = ob_get_clean();  
	 require_once('../function/html2pdf/html2pdf.class.php');  
	 try  
	 {  
	  $html2pdf = new HTML2PDF('L','A4','en', false, 'ISO-8859-15',array(5, 5, 5, 5));
	  $html2pdf->setDefaultFont('Arial');  
	  $html2pdf->writeHTML($content, isset($_GET['vuehtml']));  
	  $html2pdf->Output($filename);  
	 }  
	 catch(HTML2PDF_exception $e) { echo $e; }
?> 
