<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
.cop {
}
body p {
	font-family: Calibri;
}
body p {
	font-family: calibri;
}
body p {
	font-family: calibri;
}
.namapt {
	font-family: calibri;
}
detail {
	font-family: calibri;
}
.cop p {
	font-size: 14px;
	font-family: calibri;
}
.cop p {
	font-size: 36px;
	font-family: calibri;
}
.cop p {
	font-size: 24px;
	font-family: calibri;
}
.cop p {
	font-size: 18px;
	font-family: Calibri;
}
detail {
	font-family: Calibri;
}
detailop {
	font-family: Calibri;
}
.d1 {
	font-family: Calibri;
}
d2 {
	font-family: Calibri;
}
d2 {
	font-family: Calibri;
}
d2 {
	font-family: Calibri;
}
.d3 {
	font-family: Calibri;
}
.b1 {
	font-weight: bold;
	font-family: Calibri;
}
.d2 {
	font-family: Calibri;
}
d4 {
	font-family: Calibri;
}
.d4 {
	font-family: Calibri;
}
d5 {
	font-family: Calibri;
}
.d5 {
	font-family: Calibri;
}
body p {
	font-family: Calibri;
}
.d6 {
	font-family: Calibri;
}
.d7 {
	font-family: Calibri;
}
.b1 {
	font-family: Calibri;
}
.tglprint {
	font-family: Calibri;
}
.namapt {
	font-family: Calibri;
}
.nama {
	font-family: Calibri;
}
.jabatan {
	font-family: Calibri;
}
.cop p {
	font-size: 20px;
	font-family: Calibri;
}
.cop p {
	font-size: 24px;
}
</style>
<script type="text/javascript">window.onload =  window.print();</script>

<?php
				  $no=$_GET['no']; 
	  include ("koneksi.php");
	    $hasil = mysql_query("select * from m_op inner join m_supp on m_op.idsupp = m_supp.idsupp where m_op.idop= '".$_GET['no']."'");
		while($col = mysql_fetch_array($hasil)){
		$Date = $col['postdate'];
$tglpost = date("d-m-Y h:i:s", strtotime($Date));
	$mnfst= $col['mnfst'];
	$suppname= $col['suppname'];
	$addr = $col['addr'];
	$transname = $col['transname'];
	$quantity = $col['vol'];
	$idstb = $col['idstb'];
	}
	?>

</head>

<body>
<table width="788" height="583" border="0">
  <tr>
    <td width="232">&nbsp;</td>
    <td width="264">&nbsp;</td>
    <td width="278">&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td rowspan="2">&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3" class="namapt">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3">&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td rowspan="2"><div align="center" class="cop">
      <p>&nbsp;</p> </div></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td rowspan="2"><div align="center" class="cop">
      <p><u>Co-Processing Certificate</u></p>
      <p style="font-size:16px"><?php echo $idstb?></p>
    </div></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3"><span class="namapt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PT. Wiraswasta Gemilang Indonesia has received hazardous waste material from,</span></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td rowspan="3"><p align="center"> <?php echo $suppname?></p>
      <p align="center"> <?php echo $addr?></p></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3" class="d1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;With the details as follow,</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="d2">Waste type</span></td>
    <td class="d3">: <span class="b1">Used Lube Oil</span></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="d4">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Transporter name</span></td>
    <td>: <span class="b1"><?php echo $transname ?></span></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="d5">Delivery Date</span></td>
    <td>: <span class="b1"> <?php echo $tglpost?></span></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="d6">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Manifest Number</span></td>
    <td>: <span class="b1"><?php echo $mnfst?></span></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="d7">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Quantity</span></td>
    <td>: <span class="b1"><?php echo $quantity?> litres</span></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3"><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;We hereby certify that above waste material has been processed in our re-refinery plant in</p>
      <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bekasi, West Java, in &nbsp; compliance &nbsp; with
        all &nbsp; applicable &nbsp; laws  and  regulations  in  Republic of</p>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Indonesia.
      </p></td>
  </tr>
  <tr>
    <td height="24" colspan="3">&nbsp;</td>
  </tr>
  <tr>
    <td height="24" colspan="3" class="tglprint">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bekasi,&nbsp;
      <?php
echo  date("M d Y");?></td>
  </tr>
  <tr>
    <td height="24" colspan="3" class="namapt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PT. Wiraswasta Gemilang Indonesia</td>
  </tr>
  <tr>
    <td height="24" colspan="3">&nbsp;</td>
  </tr>
  <tr>
    <td height="24" colspan="3">&nbsp;</td>
  </tr>
  <tr>
    <td height="24" colspan="3"><span class="nama">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<u>Ir. Wahyu Nugroho</span><u></td>
  </tr>
  <tr>
    <td height="24" colspan="3" class="jabatan">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Operation General Manager</td>
  </tr>
</table>
</body>
</html>