<div class="content-header">
  <div>
    <h4 class="content-title"><?php echo $title; ?></h4>
  </div>
</div><!-- content-header -->
<div class="content-body">
	<table id="myTable" class="table">
    <thead>
      <tr>
      	<th class="wd-5p">No</th>
      	<th>Tgl</th>
		<th>Dari</th>
		<th>Email</th>
		<th>Subjek</th>
		<th>Isi</th>
      </tr>
    </thead>
    <tbody>
    	<?php $i = 1; ?>
		<?php foreach($inbox as $in): ?>
			<tr>
				<td><?php echo $i; ?>.</td>
				<td><?php echo date('d-m-Y', strtotime($in['tgl'])); ?></td>
				<td><?php echo $in['nama']; ?></td>
				<td><?php echo $in['email']; ?></td>
				<td><?php echo $in['subjek']; ?></td>
				<td><?php echo $in['isi']; ?></td>
			</tr>	
		<?php $i++; ?>
		<?php endforeach; ?>
    </tbody>
  </table>
</div><!-- content-body -->