PK

ADDRLIN : /home/anibklip/vpgldh.com/delhi2020-21/webmanager/print/
FLL :
Current File : //home/anibklip/vpgldh.com/delhi2020-21/webmanager/print/nspm.php

<?php
$sqlu1="SELECT * FROM certificates WHERE certificateno='$_GET[id]'";
$resultu1=mysql_query($sqlu1) or die('error in fetch');
$rowu1=mysql_fetch_array($resultu1);
?>
<head>
	<style type="text/css">
		.printo {
		font-style: normal;
		color: #000000;
		letter-spacing: 0;
		display: block;
		padding-top: 1px;
		font-size: 80%;
		border:thin;
		}
		.cancel_div{z-index:1; position:absolute; opacity:0.2; padding:140px 8px;}
		.hr{
		border: solid; border-width: thin;
		border-color:#000000;
		}
	</style>
</head>

	<p>&nbsp;</p>
	<?php
	if($rowu1[cancel]){
		?>
		<div class="cancel_div"><img src="../cancelled.png" width="670" alt="Cancel" /></div>
		<?php
	}
	?>
<table align="center" width="100%" border="0" class="printo">
	<tr>
		<td colspan="6">
			<center>
				<p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p><strong>FUMIGATION CERTIFICATE
					</strong>
				</p>
				
			</center>
		</td>
	</tr>
	<tr>
		<td align="left" colspan="4" width="50%" ><strong>Dte PPQS REGD NO.: 704/MB &nbsp; Dated:15/10/2019</strong></td>
		<td  colspan="2" align="right" width="50%"><strong>&nbsp; &nbsp;&nbsp;</strong></td>
	</tr>
	<tr>
		<td  width="50%" colspan="4"><strong>Treatment Certificate Number:
			<?php
				//echo $_SESSION['city'];
				echo "GD";
				
				$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'];?></strong></font>
		</td>
		<td colspan="1" align="center" valign="top">&nbsp;</td>
		<td width="50%" align="right" colspan="2"><strong>Date of Issue:<?php echo date("d-m-Y", strtotime($rowu1[issuedate]));?>&nbsp;&nbsp;</strong></td>
	</tr>
	<td colspan="6">This is to certify that the following regulated articles have been fumigated according to the appropriate procedures to conform to the current Phytosanitary requirements of the importing country.</td>
	</tr>
	<td align="left" colspan="6"><strong>DETAILS OF GOODS</strong></td>
	</tr>
	<tr>
		<td colspan="4" width="20%">Description of goods:&nbsp;&nbsp;<?php echo"$rowu1[desgood]";?></td>
		<td colspan="4" width="20%">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Quantity declared:&nbsp;&nbsp;<?php echo"$rowu1[quantitydeclared]";?></td>
	</tr>
	<tr>
		<td align="left" colspan="4" width="20%">Invoice Number:&nbsp;&nbsp;<?php echo"$rowu1[distmarks]";?></td>
		<td colspan="1" width="20%" valign="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Consignment Link/<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Container No.</td>
		<td colspan="3" width="100%" valign="top"><?php echo"$rowu1[conslinkno]";?></td>
	</tr>
	<tr>
		<td align="left" colspan="4" width="20%">Port & country of loading:&nbsp;&nbsp;<?php echo"$rowu1[portcountry]";?></td>
		<td colspan="4" width="20%">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Name of the Vessel/Ship:&nbsp;&nbsp;<?php echo"$rowu1[nameship]";?></td>
	</tr>
	<tr>
		<td align="left" colspan="4" width="20%">Country of Destination:&nbsp;&nbsp;<?php echo"$rowu1[countrydes]";?></td>
		<td width="20%" colspan="4">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Declared point of Entry:&nbsp;&nbsp;<?php echo"$rowu1[declentry]";?></td>
	</tr>
	<tr>
		<td valign="top" colspan="3"><strong>EXPORTER NAME:</strong></td>
		<td colspan="3">
			<?php
				$exp1 = explode(',',$rowu1['nameaddress']);
				$ln1 = count($exp1);
				
				for($i=1; $i<$ln1; $i++)
				{
					echo $exp1[$i]."<br />";
				}
				?>
		</td>
	</tr>
	<tr>
		<td valign="top" colspan="3"><strong>IMPORTER NAME:</strong></td>
		<td colspan="3">
			<?php
				$exp = explode(',',$rowu1['declarednameaddress']);
				$ln = count($exp);
				
				for($i=1; $i<$ln; $i++)
				{
					echo $exp[$i]."<br />";
				}
				?>
		</td>
	</tr>
</table>

<table align="center" width="100%" border="0" class="printo">
	<tr>
		<td colspan="6">
			<hr class="hr">
			<strong>DETAILS OF TREATMENT</strong>
		</td>
	</tr>
	<tr>
		<td colspan="3">Name of fumigant:<?php echo"$rowu1[namefumigant]";?></td>
		<td>Date of fumigation:<?php //echo date("d-m-Y", strtotime($rowu1[datefumigantion]));?> <?php echo str_replace("/","-",$rowu1[datefumigantion]);?></td>
		<td colspan="2">Place of fumigation:<?php echo"$rowu1[placefumigantion]";?></td>
	</tr>
	<tr>
		<td colspan="3">Dosage rate of fumigant:<?php echo"$rowu1[dosagefumigant]";?></td>
		<td>Duration of fumigation:<?php echo"$rowu1[durationfumigantion]";?></td>
		<td colspan="2">Minimum Air temperature:<?php echo"$rowu1[airtemp]";?></td>
	</tr>
	<tr>
		<td colspan="4">Fumigation has been performed in <?=$rowu1[fumigation_conduct]?>:</td>
		<td align="center" colspan="2"> <?php echo "<b>".$rowu1['contype']."</b>"; ?>
		</td>
	</tr>
	<tr>
		<td colspan="4">In transit Fumigation-needs Ventilation at the port of discharge:</td>
		<td align="center" colspan="2"><?php echo "<b>".$rowu1['discharge']."</b>"; ?></td>
	</tr>
	<tr>
		<td colspan="4">Container/Enclosure has been Ventilated to below 5ppm v/v Methyl Bromide:</td>
		<td align="center" colspan="2"><?php echo "<b>".$rowu1['enclosure']."</b>"; ?></td>
	</tr>
	<tr>
		<td colspan="6">
			<hr class="hr">
			<strong>WRAPPING AND TIMBER</strong>
		</td>
	</tr>
	<tr>
		<td colspan="4">Has the commodity been  fumigated prior to lacquering,varnishing,painting or wrapping: 		</td>
		<td align="center" colspan="2"><?php echo "<b>".$rowu1['commodity']."</b>"; ?></td>
	</tr>
	<tr>
		<td colspan="4">Has plastic wrapping been used in the consignment:</td>
		<td align="center" colspan="2"><?php echo "<b>".$rowu1['consignment']."</b>"; ?></td>
	</tr>
	<tr>
		<td colspan="4">If yes,has the consignment has been fumigated prior to wrapping?</td>
		<td align="center" colspan="2"><?php echo "<b>".$rowu1['wrapping']."</b>"; ?></td>
	</tr>
	<tr>
		<td colspan="4">Or has the plastic wrapping been slashed,opened or perforated in accordance with the wrapping and perforation standard?</td>
		<td align="center" colspan="2"><?php echo "<b>".$rowu1['perforated']."</b>"; ?></td>
	</tr>
	<tr>
		<td colspan="4">Is the timber in this consignment less than 200mm thick in 
			one dimension and correctly spaced every 200mm in height?
		</td>
		<td align="center" colspan="2"><?php echo "<b>".$rowu1['height']."</b>"; ?></td>
	</tr>
	<tr>
		<td colspan=6>
			<hr class="hr">
			<strong>ADDITIONAL DECLARATION:</strong><br>
		</td>
	</tr>
	<?php
		//echo "aman".$rowu1[decla];
		if($rowu1['decla']=='')
		{
		echo"";
		}
		else
		{
		echo"<tr><td colspan=6>
		$rowu1[decla]
		</td></tr>
		
		  ";
		}
		?> 
	<tr>
		<td colspan="6">&nbsp;</td>
	</tr>
	<tr>
		<td>Place and Date: <?php echo date("d-m-Y", strtotime($rowu1[issuedate]));?></td>
	</tr>
	<tr>
		<td colspan="6">
			N.B. 1. No financial liability imposed to or is assumed by the certificate company, its directors or its representatives in respect of this cerificate.<br>
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2. Consignment details as declared by the Exporter.<br>
			
			<br>
			<br>
			Signature with company stamp<br>
			<br>
			     
		</td>
	</tr>
	<tr>
		<td colspan="6" align="center">
			<div align="right">Name of Accredited Fumigation Operator: <? echo $rowu['name'];?> </br>DPPQS Accreditation No.:<strong> <? echo $rowu['code'];?></strong></div>
		</td>
	</tr>
</table>


PK 99