PK

ADDRLIN : /home/anibklip/ulpc.in/bkp24-25/form/
FLL :
Current File : //home/anibklip/ulpc.in/bkp24-25/form/confirmform_nspm_sub.php

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

$_SESSION['cert_created']=false;
$_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']}";
}
?>
CONFIRM CERTIFICATE DETAILS > > Step 2 of 3 

<form action="insert_nspm_sub.php" method="post" >
	<input type="hidden" name="sub_cert_id" value="<?php echo "$_REQUEST[sub_cert_id]" ;?>">
	<input type="hidden" name="formno" value="<?php echo "$_POST[formno]" ;?>">
	<input type="hidden" name="dtype" value="<?php echo "$_POST[dtype]" ;?>">
	<input type="hidden" name="sub_c" value="<?php echo "$_POST[sub_c]";?>">
	<input type="hidden" name="parent_cert" value="<?php echo "$_POST[parent_cert]"; ?>">

	<input type="hidden" name="issuedate" class="datepicker" value="<?php echo date('Y-m-d'); ?>">
	<input type="hidden" name="clntid" value="<?php echo $_POST[nameaddress]?>" />
	<input type="hidden" name="dtype" value="<?php echo $_POST['dtype']; ?>" />
	<input type="hidden" name="declarednameaddress" value="<?php echo $_POST['declarednameaddress']; ?>" />
	<input type="hidden" name="nameaddress" value="<?php echo $_POST['nameaddress']; ?>" />
	<!-- <input type="hidden" name="nameaddress" value="<?php echo $_POST['clnitsid']; ?>" /> -->

	<input type="hidden" name="country" value="<?php echo $_POST['country']; ?>" />
	<input type="hidden" name="namefumigant" value="<?php echo $_POST['namefumigant']; ?>" />
	<input type="hidden" name="dosagefumigant" value="<?php echo $_POST['dosagefumigant']; ?>" />
	<input type="hidden" name="fumi_completed" value="<?php echo $_POST['fumi_completed']; ?>" />
	<input type="hidden" name="datefumigantion" class="datepicker" value="<?php echo $_POST['datefumigantion']; ?>" />
	<input type="hidden" name="placefumigantion" value="<?php echo $_POST['placefumigantion']; ?>" />
	<input type="hidden" name="durationfumigantion" value="<?php echo $_POST['durationfumigantion']; ?>" />
	<input type="hidden" name="airtemp" value="<?php echo $_POST['airtemp']; ?>" />
	<input type="hidden" name="gsheet" value="<?php echo $_POST['gsheet']; ?>" />
	<input type="hidden" name="gas_tight_value" value="<?php echo $_POST['gas_tight_value']; ?>" >
	<input type="hidden" name="conslinkno" value="<?php echo $_POST['conslinkno']; ?>">
	<input type="hidden" name="port" value="<?php echo $_POST['port']; ?>">
	<input type="hidden" name="vessal" value="<?php echo $_POST['vessal']; ?>">
	<input type="hidden" name="desc" value="<?php echo $_POST['desc']; ?>">
	<input type="hidden" name="quantitydeclared" value="<?php echo $_POST['quantitydeclared']; ?>">
	<input type="hidden" name="packing" value="<?php echo $_POST['packing']; ?>">
	<input type="hidden" name="brand" value="<?php echo $_POST['brand']; ?>" />
	<input type="hidden" name="decla" value="<?php echo $_POST['decla']; ?>" />
	<input type="hidden" name="distmarks" value="<?php echo ($_POST[distmarks])?>" />
	<input type="hidden" name="shiper_containerno_shw" value="<?php echo $_POST[shiper_containerno_shw]?>" /> 
	<input type="hidden" name="shiper_containerno" value="<?php echo $_POST[shiper_containerno]?>" />
	<input type="hidden" name="consignment_details_shw" value="<?php echo $_POST[consignment_details_shw]?>" />
	<input type="hidden" name="consignment_details" value="<?php echo $_POST[consignment_details]?>" />

	<!-- INVOICE FIELDS -->
	<input name='ajtname' type="hidden" value="<?php echo $_POST[ajtname]?>"/>

	<input name="qty" type="hidden" value="<?php echo $_POST[qty]?>">
	<input name="gst_combine" type="hidden" value="<?php echo $_POST[gst_combine]?>">
	<input name="product" type="hidden" value="<?php echo $_POST[product]?>">
	<input name="hsn" type="hidden" value="<?php echo $_POST[hsn]?>">
	<input name="uom" type="hidden" value="<?php echo $_POST[uom]?>">
	<input name="particular" type="hidden" value="<?php echo $_POST[particular]?>">
            

	<table cellspacing="3" align="center" width="100%" border="4" cellpadding="3">
		<tr>
			<td valign="top" colspan="8">
				<center>
					<h3> FUMIGATION CERTIFICATE - NSPM</h3>
				</center>
			</td>
		</tr>
		<tr>
			<td colspan="8" align="center">
				<p>This is to certify that the goods 
					deseibed below were treated in accordance with the fumigation treatment 
					requirements of importing country USA and declared &nbsp; that the consignment 
					has been verified free of impervious surfaces/layers such as plastic 
					wrapping or laminated plastic films,lacqured or painted surface,aluminium 
					foil,tarred or waxed paper etc.that may adversely effect the penetration 
					of the fumigant,prior to fumigation.
				</p>
			</td>
		</tr>
		<!-- <tr>
			<td valign="top" colspan="4">Dte PPQS Regd.No.:584/MB</td>
			<td valign="top" colspan="4">Date:15/05/2017</td>
		</tr> -->
		<tr>
			<td valign="top" colspan="4">Treatment Certificate No.:
				<em>Auto assigned</em>
			</td>
			<td colspan="4">
				Date: <?php echo $_POST[issuedate];?>
			</td>
		</tr>

		<tr>
			<td align="left" colspan="7"><strong><font color="#339933">PARTY DETAILS:</font> </strong></td>
		</tr>

		<?php 
		//echo"<input type=hidden name=clntid value=$_GET[clntid]>";
		echo"<input type=hidden name=dtype value=$_GET[dtype]>";
		$sql="SELECT * From head WHERE headid='$_REQUEST[nameaddress]'";
		$result=mysql_query($sql) or die('error in getting client details');
		while($row=mysql_fetch_array($result)){
			if($_GET['dtype']=='import'){
				$clnitsid = $_GET['nameaddress'];
				//echo "<input type=hidden name=declarednameaddress value=$clnitsid>";
				echo "<tr>
					<td align=left colspan=3>Name and address of consignor/exporter:</td>
					<td align=center colspan=3>";
					/*
					echo "<select name=nameaddress>";	
					$sqlb="SELECT * From clients where subname<>'.' AND  subname<>'' AND subname<>'..' ORDER BY subname ASC";
					$resultb=mysql_query($sqlb) or die('error in getting Sub client details');
					echo"<option value='1121'>.</option>";	
					while($rowb=mysql_fetch_array($resultb))
					{
					$subid="{$rowb['subid']}";
					$subname="{$rowb['subname']}";
					echo"<option value=$subid>".substr($subname,0,25)."  -> ".substr($rowb['subaddress'],0,25)."</option>";	
					}
					echo"</select>";
					*/
					?>
					<?php echo $_POST[declarednameaddress]?>
					<!-- <input name='nameaddress' id="exporterslist" size="80" type="hidden" /> -->
					<?
					echo "</td>
					  </tr>
					  <br>
					  <tr>
						<td colspan=3>Name & address of consignee:</td>
						<td align=center colspan=3>
							<b>{$row['headname']}</b><br>{$row['headaddress']}<br>{$row['headphone']}
						</td>
					  </tr>
					";
			}else{
				$clnitsid = $_GET['clntid'];
				//echo "<input type=hidden name=nameaddress value=$clnitsid>";
				echo "<tr>
						<td colspan=3>Name and address of consignor/exporter:</td>
						<td align=center colspan=3>
							<b>{$row['headname']}</b><br>{$row['headaddress']}<br>{$row['headphone']}
						</td>
					  </tr>
					  <br>
					  <tr>
						<td colspan=3>Name & address of consignee:</td>
						<td align=center colspan=3>";
						/*
						echo <select name=declarednameaddreZZ>";
						
						$sqlb="SELECT * From clients where subname<>'.' AND  subname<>'' AND subname<>'..' ORDER BY subname ASC";
						$resultb=mysql_query($sqlb) or die('error in getting Sub client details');
						echo"<option value='1121'>.</option>";	
						while($rowb=mysql_fetch_array($resultb))
						{
						$subid="{$rowb['subid']}";
						$subname="{$rowb['subname']}";
						 
						echo"<option value=$subid>".substr($subname,0,25)."  -> ".substr($rowb['subaddress'],0,25)."</option>";	
						}
						echo"</select>";
						*/
						?>
						<?php echo $_POST[declarednameaddress]?>
						<!-- <input name='declarednameaddress' id="exporterslist" size="80" type="hidden" /> -->
						<?php
				echo "</td>
					  </tr>
				";
			}
		}
		?>
   		<tr>
			<td valign="top" colspan="4">Country</td>
			<td colspan="4"><?php echo $_POST[country];?></td>
		</tr>
		<tr>
			<td colspan="8" align="center">
				<hr>
				<font color="#339933"><strong>DETAILS OF TREATMENT:</strong></font>
			</td>
		</tr>
		<tr>
			<td colspan="2">Name of fumigation:<br></td>
			<td colspan="2"><?php echo $_POST[namefumigant];?></td>
			<td colspan="2">Dosage rate of fumigation:<br></td>
			<td colspan="2">
				<?php echo $_POST[dosagefumigant];?>
			</td>
		</tr>
		<tr>
			<td colspan="4" nowrap>
				Date of Fumigation:
				"<?php echo $_POST[fumi_completed];?>"
				
				<!-- <input type="hidden" name="fumi_completed" value="<?php echo $_POST['fumi_completed']; ?>" /> -->
				<?php echo $_POST[datefumigantion];?>
			</td>
			<td colspan="2">Place of Fumigation:</td>
			<td colspan="2">
				<?php echo $_POST[placefumigantion];?>
			</td>
		</tr>
		<tr>
			<td colspan="2">Duration of Exposure:<br></td>
			<td colspan="2">
				<?php echo $_POST[durationfumigantion];?>
			</td>
		</tr>
		<tr>
			<td valign="top" colspan="2">Temparure During Fumigation:</td>
			<td colspan="2"><?php echo $_POST[airtemp];?></td>
			<td valign="top" colspan="2">Fumigation Performed under Gastight Sheets:</td>
			<td colspan="2"><?php echo $_POST[gsheet];?></td>
		</tr>
		<tr>
			<td valign="top" colspan="6">If Containers are not fumigated Under  Gas-Tight sheers,Pressure decay Value (From 200-100 Pascal's Insecond:</td>
			<td colspan="2"><?php echo $_POST[gas_tight_value];?></td>
		</tr>
		<tr>
			<td colspan="8" align="center"><strong>Descripition of Goods</strong></td>
		</tr>
		<tr>
			<td valign="top" colspan="4">Container Number(or Numerical Link)./ Seal Number:</td>
			<td colspan="4"><?php echo $_POST[conslinkno];?></td>
		</tr>
		<tr>
			<td valign="top" colspan="4">Port of Discharge:</td>
			<td colspan="4"><?php echo $_POST[port];?></td>
		</tr>
		<tr>
			<td valign="top" colspan="4">Vessal Name:</td>
			<td colspan="4"><?php echo $_POST[vessal];?></td>
		</tr>
		<!-- <tr>
			<td valign="top" colspan="4">Name & Address Of Exporter:</td>
			<td colspan="4"><?php echo"$_GET[clntid]";?></td>
		</tr> -->
		<tr>
			<td valign="top" colspan="4">Type and Description of Cargo:</td>
			<td colspan="4"><?php echo $_POST[desc];?></td>
		</tr>
		<tr>
			<td valign="top" colspan="4">Quantity(MTS)/No Of Packages/No Of Pieces:</td>
			<td colspan="4"><?php echo $_POST[quantitydeclared];?></td>
		</tr>
		<tr>
			<td valign="top" colspan="4">Description Of Packing Material:</td>
			<td colspan="4"><?php echo $_POST[packing];?></td>
		</tr>
		<tr>
			<td valign="top" colspan="4">Shipping marks or Brand:</td>
			<td colspan="4"><?php echo $_POST[brand];?></td>
		</tr>
		<!-- <tr>
			<td valign="top" colspan="4">Invoice No.& Date:</td>
			<td colspan="4"><input type="hidden" name="invoice"></td>
		</tr> -->
		<tr>
			<td valign="top" colspan="4">Additional Declaration:</td>
			<td colspan="4"><?php echo $_POST[decla];?></td>
		</tr>
		<tr>
			<td valign="top" colspan="4">Distinguishing Mark:</td>
			<td colspan="4"><?php echo $_POST[distmarks];?></td>
		</tr>
		<tr>
			<td valign="top" colspan="4">
				<input type="checkbox" <?php echo ($_POST[shiper_containerno_shw]?"checked":"")?> value="1" readonly name="shiper_containerno_shw" /> 
				As per shipper Cargo is Loaded in Container No:
			</td>
			<td colspan="4"><?php echo $_POST[shiper_containerno];?></td>
		</tr>
		<tr>
			<td valign="top" colspan="4">
				<input type="checkbox" <?php echo ($_POST[consignment_details_shw]?"checked":"")?> value="1" readonly name="consignment_details_shw" />
				Consignment details as declared by the Exporter:
			</td>
			<td colspan="4"><?php echo $_POST[consignment_details];?></td>
		</tr>
		<tr>
			<td valign="top" colspan="8" align="center">P.S.No Liability to the Certifying or Its proprietors or repersentative with Respect to this Certificate.</td>
		</tr>

	
			<tr>
			<td colspan="8" align="center">
				<br>
				<center><input type="submit" value="&raquo; Create Certificate &raquo;" class="amo-submit"></center>
			</td>
		</tr>
	</table>


</form>

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


PK 99