
PK 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<body onLoad="window.print(); window.close();">
<?
$sqlu1="SELECT * FROM certificates WHERE certificateno='$_GET[id]'";
$resultu1=mysql_query($sqlu1) or die('error in fetch');
$rowu1=mysql_fetch_array($resultu1);
?>
<style type="text/css">
.cross{
font-size:22px; border:1px solid #000000; margin-left:50px; padding:0 4px;
}
.printo {
font-style: normal;
color: #000000;
letter-spacing: 0;
display: block;
padding-top: 1px;
font-size: 80%;
}
.crtName{
float: left;
margin: 5px 5px 0 0;
}
.crtNoBox{
float: left;
padding:3px;
border:solid #000 1px;
}
.crtNameRight{
float: right;
margin: 5px 5px 0 0;
}
.crtNoBoxRight{
float: right;
padding:3px;
border:solid #000 1px;
}
.cancel_div{z-index:1; position:absolute; opacity:0.2; padding:140px 8px;}
.hr{
border: solid; border-width: thin;
border-color:#000000;
}
h4{
margin-bottom: 0px;
}
input[type=checkbox]{
-moz-appearance: none;
height: 18px;
width: 18px;
margin-left:50px;
}
</style>
<table align="center" width="100%" border="0" class="printo" cellpadding="0" cellspacing="0">
<p> </p>
<?php
if($rowu1[cancel]){
?>
<div class="cancel_div"><img src="../cancelled.png" width="670" alt="Cancel" /></div>
<?
}
?>
<tr>
<td colspan="2" align="center"><strong><h4>FUMIGATION CERTIFICATE</h4></strong> </td>
</tr>
<tr>
<td colspan="2" align="center" style="line-height: 15px; font-size: 16px;">AFAS - METHYL BROMIDE FUMIGATION CERTIFICATE </td>
</tr>
<tr>
<td colspan="2" align="center">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td align="left" width="50%"><span class="crtName">Certificate number:</span><span class="crtNoBox"><?
//echo $_SESSION['city'];
echo "VPC";
$sqlu="SELECT * FROM signature";
$resultu=mysql_query($sqlu) or die('error in fetch');
$rowu=mysql_fetch_array($resultu);
?>
/<?php echo "$_GET[id]";?>/<? echo $rowu['year'];?>
</span> </td>
<td align="right" width="30%" > <strong>Issue Date</strong><?php echo date("d-m-Y", strtotime($rowu1[issuedate]));?></td>
<td align="right" width="50%"><span class="crtNoBoxRight">IN 0074MB</span><span class="crtNameRight">AEI No.:</span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" align="center" style="line-height: 15px; font-size: 13px;"><strong>TARGET OF FUMIGATION DETAILS</strong><hr /></td>
</tr>
<tr>
<td colspan="2" align="left">Target of fumigation:
<?php
if($rowu1[desgood]=="Commodity"){
echo '<span class="cross">✔</span> <strong>Commodity</strong>
<span class="cross">✘</span> <strong>Packing</strong>
<span class="cross">✘</span> <strong>Both Commodity and Packing</strong> ';
}else if($rowu1[desgood]=="Packing"){
echo '<span class="cross">✘</span> <strong>Commodity</strong>
<span class="cross">✔</span> <strong>Packing</strong>
<span class="cross">✘</span> <strong>Both Commodity and Packing</strong> ';
}else if($rowu1[desgood]=="Both Commodity and Packing"){
echo '<span class="cross">✘</span> <strong>Commodity</strong>
<span class="cross">✘</span> <strong>Packing</strong>
<span class="cross">✔</span> <strong> Both Commodity and Packing</strong> ';
}
?>
</td>
</tr>
<tr>
<td colspan="2" align="left">Commodity: <?php echo"$rowu1[quantitydeclared]";?></td>
</tr>
<tr>
<td colspan="2" align="left">Consignment link <?php echo"$rowu1[distmarks]";?></td>
</tr>
<tr>
<td colspan="2" align="left">Country of origin: <?php echo"$rowu1[portcountry]";?> Port of loading: <?php echo"$rowu1[declentry]";?> Country of Destination: <?php echo"$rowu1[countrydes]";?> </td>
</tr>
<tr>
<td colspan="2" align="center"><hr />
<tr>
<tr>
<td width="50%" colspan="1" valign="top"><strong>EXPORTER NAME:</strong></td>
<td valign="top" style="border-left: 1px solid #000000; padding-left: 10px;"><strong>IMPORTER NAME:</strong></td>
<td width="1%" colspan="2"> </td>
</tr>
<tr>
<td width="49%" valign="top"><?php /*Exporter's details*/
$exp1 = explode(',',$rowu1['nameaddress']);
$ln1 = count($exp1);
for($i=1; $i<$ln1; $i++)
{
echo $exp1[$i]."<br />";
}
?></td>
<td valign="top" style="border-left: 1px solid #000000; padding-left: 10px;"><?php /*Importer's Details*/
$exp = explode(',',$rowu1['declarednameaddress']);
$ln = count($exp);
for($i=1; $i<$ln; $i++)
{
echo $exp[$i]."<br />";
}
?></td>
<td colspan="2"> </td>
</tr>
<!--tr>
<td colspan="4"><hr /></td>
</tr-->
<tr>
<td colspan="2" align="center"><hr /> <h4>TREATMENT DETAILS </h4> <hr /></td>
</tr>
<tr>
<td colspan="2" align="center">
<table border="0" width="100%" cellpadding="5" cellspacing="0">
<tr>
<td align="left" width="50%">Date fumigation completed: <?php echo date("d-m-Y", strtotime($rowu1[datefumigantion]));?></td>
<td align="left" width="50%">Place of fumigation:<?php echo"$rowu1[placefumigantion]";?></td>
</tr>
<tr>
<td align="left" width="50%">AQIS prescribed dose rate (g/m3):<?php echo"$rowu1[namefumigant]";?></td>
<td align="left" width="50%">Exposure period (hrs):<?php echo"$rowu1[durationfumigantion]";?></td>
</tr>
<tr>
<td align="left" width="50%">Forecast minimum temp (C):<?php echo"$rowu1[airtemp]";?></td>
<td align="left" width="50%">Applied dose rate(g/m): <?php echo"$rowu1[dosagefumigant]";?> </td>
</tr>
</table>
<hr />
</td>
</tr>
<tr>
<td colspan="2" align="left">
<table width="100%" cellpadding="0">
<tr>
<td width="25%"><strong>How was the fumigation conducted? </strong></td>
<td width="75%">
<?php
if($rowu1['contype']=='Yes') {
//$checkedStackSheet = 'checked="checked"';
echo '<span class="cross">✔</span> ';
}else{
//$checkedStackSheet = "";
echo '<span class="cross">✘</span> ';
}
echo ' <strong>Stack under sheet</strong>';
?>
<?php
if($rowu1[presstest]=='Yes') {
//$checkedPresstest = "checked='checked'";
echo '<span class="cross">✔</span> ';
}else{
//$checkedPresstest = "";
echo '<span class="cross">✘</span> ';
}
echo ' <strong>Container/s under sheet</strong>';
?>
</td>
</tr>
<tr>
<td width="25%"> </td>
<td width="75%">
<?php
if($rowu1[airspace]=='Yes') {
//$checkedAirspace = "checked='checked'";
echo '<span class="cross">✔</span> ';
}else{
//$checkedAirspace = "";
echo '<span class="cross">✘</span> ';
}
echo ' <strong> Permanent Chamber </strong>';
?>
<?php
if($rowu1[discharge]=='Yes') {
//$checkedPresstest = "checked='checked'";
echo '<span class="cross">✔</span> ';
}else{
//$checkedPresstest = "";
echo '<span class="cross">✘</span> ';
}
echo ' <strong>Pressure tested container/s</strong>';
?>
</td>
</tr>
</table>
<br/>
Container number/s (where applicable) : <?php echo $rowu1['conslinkno']; ?>
<hr />
</td>
</tr>
<tr>
<td colspan="2" align="left"> Dose the target of fumigation conform to the AQIS plastic wrapping, impervious surface and timber thickness requirements at the time of fumigation?
<?php
if($rowu1[consignment]=='Yes'){
echo"Yes <del> No </del>";
}else{
echo"No <del> Yes </del>";
}
?>
<hr />
Ventilation Final TLV reading(ppm): <?php echo $rowu1['perforated']; ?>
(not required for Stack or Permanent chamber fumigations)
<hr />
</td>
</tr>
<tr>
<td colspan="2" align="center" > <h4>DECLARATION </h4> <hr />
By signing below, I, the AFAS accredited fumigator responsible, declare that these details are true and correct and the fumigation <br />
has been carried out in accordance with all the requirements in the AQIS Methyl Bromide Fumigation Standard. <hr />
</td>
</tr>
<tr>
<td colspan="2" align="center"> <h4>ADDITIONAL DECLARATIONS </h4> </td>
</tr>
<tr>
<td colspan="2" align="left"> <?php
// if($rowu1['addition']=="on")
// {
echo $rowu1[decla];
// }
?> <br/><br/><br/><hr /></td>
</tr>
<tr>
<td colspan="2">
<table border="0" class="printo" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="30%" align="center">Signature<br/><br/><br/>...............................................................................<br/> Name of Accreditation Fumigator<br/><br/><strong><?php echo $rowu[name];?><?php echo $rowu[code];?></strong></td>
<td width="30%" align="center" >Date <?php echo date("d-m-Y", strtotime($rowu1[issuedate]));?><br/><br/><br/>................................................................................<br/> AFAS Accreditation Number<br /><strong><br/>AFASIN 0074</strong></td>
<td width="40%" align="center"> <br/></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" align="left" style="font-size: 12px;"> <br/>1.No Liability attached to the certifying company or its representatives with respect to this certificate. <br/>2.Consignment details as declared by shipper or his shipping agent <br/>3.Without hologram certificate is not valid.</td>
</tr>
</table>


PK 99