PK

ADDRLIN : /home/anibklip/vpgldh.com/vpgambala18/webmanager/
FLL :
Current File : /home/anibklip/vpgldh.com/vpgambala18/webmanager/Xcertificates.php

<?php 
	include "templatic/head.php"; 
	include "templatic/header.php";
?>

<div class="dataGrid">

	

<table>
	<thead>
		<tr>
			<th>#</th>
			<th>Date of Issue</th>	
			<th>Department of Goods</th>	
			<th>Quantity Declared</th>  
			<th>Name of Country</th> 
			<th>Date of Fumigant</th> 
			<th>Place of Fumigant</th> 
			<th>Dosage Rate of Fumigant</th>   
			
			<th>&nbsp;</th>
		</tr>
	</thead>
		
	<tbody>

<?php

$sql="SELECT * from certificates  order by certificateno DESC ";
$result=mysql_query($sql) or die('Error in getting Certificates');
if
(mysql_num_rows($result) == 0) {
echo "<tr><td colspan='9' align=center colour=black><br>No Result found in Certificates, try again later.<br></td></tr>";
}
while($row=mysql_fetch_array($result))
{
echo"
<tr>
<td><b>{$row['certificateno']}</b></td> 
<td>{$row['issuedate']}</td> 
<td>{$row['desgood']}</td> 
<td>{$row['quantitydeclared']}</td>  
<td>{$row['countrydes']}</td> 
<td>{$row['datefumigantion']}</td> 
<td>{$row['placefumigantion']}</td> 
<td>{$row['dosagefumigant']}</td>  
<td><a target='_blank' href=./print/form_print.php?id={$row['certificateno']}><img src='./img/printer.png' alt='Print' /></a></td>
<td><a target='_blank' href=./print/cretid_report.php?id={$row['certificateno']}>Print Report</a></td>

</tr>
";
}

?>

	</tbody>

</table>


</div>

<?php include "templatic/footer.php"; ?>


PK 99