<head>
		<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="css/halaman.css" />
<script type="text/javascript" src="js/jquery-1.5.2.min.js"></script>

</head>
<?php
$result = mysql_query("
SELECT  * FROM registration where level=1 and sesi=2");
$noUrut = 1;



?>
<table width="100%" border="1" cellpadding="0" cellspacing="0" class="display" id="datatables">
<thead>
          <tr>
              <th>No</th>
              <th>Full Name</th>
              <th>Email</th>
            <th>Phone</th>
            <th>Organization</th>
            <th>Fee Type</th>
            <th>Register Date</th>
            <th>Reg. Code</th>
            <th>Status</th>
            <th>Action</th>
    </tr>
	  </thead>
            <tbody>


<?php
	while ($row = mysql_fetch_array($result))
	{
	$kd_barang=$row['id'];
	$nma_barang=$row['salutation'];
	
	$status = $row['level'];
	if($status=="0")
	{ $level="Unverified"; }
		else 
		{ $level="Verified"; }


//ambil status pengaduan

?>
<tr> 
            <td align="center"><?=$noUrut++ ?></td>
            <td ><?php echo $row['salutation']; ?> &nbsp;<?php echo $row['surname']; ?>, <?php echo $row['name']; ?></td>



      <td align="left" ><a href="mailto:<?php echo $row['email']; ?> "><font color="blue"><?php echo $row['email']; ?></font></a>&nbsp;</td>
            <td ><?php echo $row['phone']; ?></td>


            <td ><?php echo $row['depfak']; ?> / <?php echo $row['organization']; ?>&nbsp;</td>
            <td ><?php echo $row['feetype']; ?></td>
            <td > <?php echo tgl_indo($row['date_registered']) ?></font></a>&nbsp;</td>
            <td ><?php echo $row['regcode']; ?></td>
            <td ><?php echo $level; ?></td>
            <td ><?php echo $level; ?></td>
      </tr>
<?php
}
?>
</tbody>
</table>
