PK

ADDRLIN : /home/anibklip/vpgldh.com/vpgbk14/webmanager/
FLL :
Current File : //home/anibklip/vpgldh.com/vpgbk14/webmanager/updetail.php

<?php 
	include "templatic/head.php"; 
	include "templatic/header.php";
?>
<div class="box">
<h2>Certificate details</h2>
<?php
$formno=$_GET['id'];


$sql="SELECT * From certificates WHERE certificateno='$_GET[id]'";
  $result=mysql_query($sql) or die('error in date');
  if
(mysql_num_rows($result) == 0) {
    echo "<tr><td colspan=10 align=center colour=black><br>No Result found in Certificates for the mentioned number, try again with some other number.<br><br></td></tr>";
}
while($row=mysql_fetch_array($result))
{
	$certificateno = $row['certificateno'];
	$issuedate = $row['issuedate'];
	$desgood = $row['desgood'];
	$quantitydeclared = $row['quantitydeclared'];
	$distmarks = $row['distmarks'];
	$conslinkno = $row['conslinkno'];
	$portcountry = $row['portcountry'];
	$nameship = $row['nameship'];
	$countrydes = $row['countrydes'];
	$declentry = $row['declentry'];
	$nameaddress = $row['nameaddress'];
	$declarednameaddress = $row['declarednameaddress'];
	$namefumigant = $row['namefumigant'];
	$datefumigantion = $row['datefumigantion'];
	$placefumigantion = $row['placefumigantion'];
	$dosagefumigant = $row['dosagefumigant'];
	$durationfumigantion = $row['durationfumigantion'];
	$airtemp = $row['airtemp'];
	$contype = $row['contype'];
	$presstest = $row['presstest'];
	$airspace = $row['airspace'];
	$discharge = $row['discharge'];
	$enclosure = $row['enclosure'];
	$commodity = $row['commodity'];
	$consignment = $row['consignment'];
	$wrapping = $row['wrapping'];
	$brand = $row['brand'];
	$perforated = $row['perforated'];
	$height = $row['height'];
	$cstatus = $row['cstatus'];
	$ctime = $row['ctime'];
	$decla = $row['decla'];
	$clnid = $row['clnid'];
	$ajtid = $row['ajtid'];
	$licetype = $row['licetype'];
					$certypo = $row['certypo'];
	$sub_c = $row['sub_c'];
	$cancel_reason = $row['cancel_reason'];
	$cancel_status = $row['cancel_status'];
	$consignment_link = $row['consignment_link'];
	$container20feet = $row['container20feet'];
	$container40feet = $row['container40feet'];
	$container40HC = $row['container40HC'];
	$containerLCL = $row['containerLCL'];
	$days = $row['days'];
	
	$fum_carried = $row['fum_carried'];
}

?>



<div style="padding:0px 10px;">
<?php

if($certypo=='a'){
include"update/form_alp.php";
}
elseif($certypo=='b'){
include"update/form_aqis.php";
}
elseif($certypo=='c'){
include"update/form_ppq.php";
}
elseif($certypo=='d'){
include"update/form_nspm.php";
}
elseif($certypo=='e'){
include"update/form_aus.php";
}
?>
</div>			
</div>
<?php
	include "templatic/footer.php";
?>


PK 99