PK

ADDRLIN : /home/anibklip/pcfcindia.com/bkp17/
FLL :
Current File : /home/anibklip/pcfcindia.com/bkp17/conform_alp.php

<?php
	session_start();
	require_once 'common/common.php';
	require_once 'common/secure.php';
	include("connexion.php");
	include"head.php";

	$_SESSION['form']='inserted';
$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.php" method="get">
<input type="hidden" name="clntid" value="<?php echo"$_GET[clntid]";?>">
<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="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></td>
    </tr>  
<tr>
<td valign="top" colspan="4"><strong>Dte PPQS Regd.No.104/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">  &nbsp;This is to certify that consignment has been treated as per details listed below and that
	 subject consigenmentis believed  <br>  &nbsp; &nbsp;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 valign="top"  colspan="2"><strong>Encloser Area of Fumigation</strong>:</td><td colspan="3"><?=$_GET['container20feet'];?> Cubic meters</td>
</tr>
<tr>
<td valign="top"  colspan="2"></td><td colspan="3"></td>
</tr>
<hr>
<hr>	 
	   <br />
<br />
<tr><td colspan="4" align="center"><center><strong>INVCOICE DETAILS</strong></center></td></tr>
	<tr><td colspan="2" align="right">Amount :</td><td align="center" colspan="2">Rs. <?php echo"$_GET[amount]";?>/-</td></tr>

	<tr><td colspan="2" align="right">Discount:<i>(<?php if($_GET[discount]=='0'){echo"n/a";} else {echo "$_GET[discount] %";} ?>)</i></td>
	<td colspan="2" align="center">
	<?php if($_GET[discount]!='0'){
	$fdiscount=$_GET[amount]*$_GET[discount]/100;
	echo"Rs. $fdiscount /-";
	} 
	else {
	echo "n/a";
	}?></td></tr>
	
	<tr><td colspan="2" align="right">ServiceTax :<i>(<?php if($_GET[stax]=='yes'){echo"$_GET[srtax] %";} else {echo "n/a";}?>)</i></td><td colspan="2" align="center"> 
    <?php if($_GET[stax]=='yes'){
	$fgrandtotal=$_GET[amount]-$fdiscount;
	$staxnet=$fgrandtotal*$_GET[srtax]/100;
	echo"Rs. $staxnet /-";
	} 
	else {
	$staxnet=0;
	echo "n/a";
	}?></td></tr>
	<?php
	$fgrandtotal=$_GET[amount]-$fdiscount;
	$finalone=$fgrandtotal+$staxnet;
	 ?>
	<tr><td align="right" colspan="2"><strong>Grand Total :</strong></td><td colspan="2" align="center">Rs. <?php echo"<strong>$finalone</strong>";?>/-
	</td></tr>
<tr><td colspan="4" align="center"><br><center> <a href="certificate.php"><span style="margin-right:100px;">Cancel</span></a>
      <input type="submit" class="amo-submit" value=">> Proceed to Checkout >>"></center><br></td></tr>


<?php if($_GET[stax]=='yes'){
	$srtax="$_GET[srtax]";
	} 
	else {
	$srtax=0;
	}?>
	
<input type="hidden" name="finalone" value="<?php echo"$finalone";?>">
<input type="hidden" name="amount" value="<?php echo"$_GET[amount]";?>">
<input type="hidden" name="discount" value="<?php echo"$_GET[discount]";?>">
<input type="hidden" name="srtax" value="<?php echo"$_GET[srtax]";?>">
<input type="hidden" name="stax" value="<?php echo"$_GET[stax]";?>">
	</form>
</table>
<br>
</form>

<?php
include"form/foot.php";
?>


PK 99