
PK 
<?php
session_start();
require_once '../common/common.php';
require_once '../common/secure.php';
include("../connexion.php");
include"../head.php";
$sql="SELECT parhead FROM head Where headid='$_GET[clntid]'";
$result=mysql_query($sql) or die('error in getting client type');
while($row=mysql_fetch_array($result))
{
$cmntz="{$row['parhead']}";
}
?>
<table cellspacing="3" align="center" width="100%" border="0" cellpadding="3">
<form action="insert_alp_sub.php" method="get">
<input type="hidden" name="clntid" value="<?php echo"$_GET[clntid]";?>">
<input type="hidden" name="clnt" value="<?php echo"$_GET[clnt]";?>">
<input type="hidden" name="dtype" value="<?php echo"$_GET[dtype]";?>">
<input type="hidden" name="certno" value="<?php echo"$_GET[certno]";?>">
<input type="hidden" name="dat" value="<?php echo"$_GET[dat]";?>">
<input type="hidden" name="invoice" value="<?php echo"$_GET[invoice]";?>">
<input type="hidden" name="desc" value="<?php echo"$_GET[desc]";?>">
<input type="hidden" name="pack" value="<?php echo"$_GET[pack]";?>">
<input type="hidden" name="vessel" value="<?php echo"$_GET[vessel]";?>">
<input type="hidden" name="convey" value="<?php echo"$_GET[convey]";?>">
<input type="hidden" name="destinat" value="<?php echo"$_GET[destinat]";?>">
<input type="hidden" name="chem" value="<?php echo"$_GET[chem]";?>">
<input type="hidden" name="dosage" value="<?php echo"$_GET[dosage]";?>">
<input type="hidden" name="temp" value="<?php echo"$_GET[temp]";?>">
<input type="hidden" name="durat" value="<?php echo"$_GET[durat]";?>">
<input type="hidden" name="Dfumigation" value="<?php echo"$_GET[Dfumigation]";?>">
<input type="hidden" name="remark" value="<?php echo"$_GET[remark]";?>">
<input type="hidden" name="ajtname" value="<?php echo"$_GET[ajtname]";?>">
<input type="hidden" name="cmntz" value="<?php echo"$cmntz";?>">
<input type="hidden" name="particular" value="<?php echo"$_GET[particular]";?>">
<input type="hidden" name="sub_c" value="<?php echo"$_GET[sub_c]";?>">
<input type="hidden" name="certificate_id" value="<?php echo"$_GET[certificate_id]";?>">
<input type="hidden" name="consignment_link" value="<?php if(isset($_GET['consignment_link']) && $_GET['consignment_link']!=""){ echo $_GET['consignment_link']; }else{ echo "N/A"; } ?>">
<input type="hidden" name="container20feet" value="<?php echo"$_GET[container20feet]";?>" >
<input type="hidden" name="container40feet" value="<?php echo"$_GET[container40feet]";?>" >
<input type="hidden" name="container40HC" value="<?php echo"$_GET[container40HC]";?>" >
<input type="hidden" name="containerLCL" value="<?php echo"$_GET[containerLCL]";?>" >
<tr>
<td valign="top" colspan="4"> <center><h3> CERTIFICATE OF FUMIGATION <h3> </center>
</td>
</tr>
<tr>
<td valign="top" colspan="4"><strong>Dte PPQS Regd.No.447/MB</strong></td></tr>
<td valign="top" colspan="2"><strong>Treatment Certificate No.</strong>:<em>Auto assigned</em></td>
<td valign="top" colspan="2"><?php echo "$_GET[dat]"; ?></td>
</tr>
<tr><td colspan="4"> This is to certify that consignment has been treated as per details listed below and that
subject consigenmentis believed <br> to be substantially free from any injurious pests.</td></tr>
<tr>
<td valign="top" colspan="2"><strong>Name of Importer/Exporter</em></strong>:</td><td colspan="2"><?php
$sqlb = "SELECT headname,headaddress From head where headid='".$_GET['clntid']."'";
$resultb = mysql_query($sqlb) or die('error in getting Sub client details');
$rowb = mysql_fetch_array($resultb);
echo $rowb['headname'].",".$rowb['headaddress'];
?></td>
</tr>
<td valign="top" colspan="2"><strong>Invoice No</strong>:</td><td colspan="2"><?php echo "$_GET[invoice]";?></td>
</tr>
<tr>
<td valign="top" colspan="2"><strong>Description of Consigenment</strong>:</td><td colspan="2"><?php echo "$_GET[desc]";?></td>
</tr>
<tr>
<td valign="top" colspan="2"><strong>Type and No. of Packges</strong>:</td><td colspan="2"><?php echo "$_GET[pack]";?></td>
</tr>
<tr>
<td valign="top" colspan="2"><strong>Container No. or Vessel</strong>:</td><td colspan="2"><?php echo "$_GET[vessel]";?></td>
</tr>
<tr>
<td valign="top" colspan="2"><strong>Means of Conveyance</strong>:</td><td colspan="2"><?php echo "$_GET[convey]";?></td>
</tr>
<tr>
<td valign="top" colspan="2"><strong>Destination Port</strong>:</td><td colspan="2"><?php echo "$_GET[destinat]";?></td>
</tr>
<br>
<tr><td valign="top" colspan="4"> <center> <h3> SCHEDULE OF TREATMENT </h3></center> </td></tr>
<BR>
<tr>
<td valign="top" colspan="2"><strong>Chemical(Fumigant)</strong>:</td><td colspan="2"><?php echo "$_GET[chem]";?></td>
</tr>
<tr>
<td valign="top" colspan="2"><strong>Dosage</strong>:</td><td colspan="2"><?php echo "$_GET[dosage]";?></td>
</tr>
<tr>
<td valign="top" colspan="2"><strong>Temperature</strong>:</td><td colspan="2"><?php echo "$_GET[temp]";?></td>
</tr>
<tr>
<td valign="top" colspan="2"><strong>Duration of Exposure</strong>:</td><td colspan="2"><?php echo "$_GET[durat]";?></td>
</tr>
<tr>
<td valign="top" colspan="2"> <strong>Date of Fumigation</strong>:</td><td colspan="2"><?php echo "$_GET[Dfumigation]";?></td>
</tr>
<tr>
<td valign="top" colspan="2"><strong>Remark</strong>:</td><td colspan="2"><?php echo "$_GET[remark]";?></td>
</tr>
<tr>
<td colspan="6"> Number of Container </td>
</tr>
<tr>
<td colspan="6"> 20’ <?=$_GET['container20feet'];?> <br /><br />
40’ <?=$_GET['container40feet'];?> <br /><br />
40HC <?=$_GET['container40HC'];?> <br /><br />
LCL <?=$_GET['containerLCL'];?> <br /><br />
</td>
</tr>
<tr><td colspan="4" align="center"><br><center><input type="submit" class="amo-submit" value=">> Proceed to Checkout >>"></center><br></td></tr>
</form>
</table>
<br>
</form>
<?php
include"../foot.php";
?>


PK 99