โค้ด: เลือกทั้งหมด
<div class="row">
<div class="col-sm-2"></div>
<div class="col-sm-8">
<table class="table table-bordered">
<thead>
<tr class="info">
<th>Firstname</th>
<th>Lastname</th>
</tr>
</thead>
<tbody>
<tr>
<th> ID </th>
<td> <?php echo $data['id']; ?></td>
</tr>
<tr>
<th> Name </th>
<td><?php echo $data['name']; ?></td>
</tr>
<tr>
<th> Value </th>
<td><?php echo $data['value']; ?></td>
</tr>
<tr>
<th> Unit </th>
<td><?php echo $data['unit']; ?></td>
</tr>
<tr>
<th> Bytes </th>
<td><?php echo $data['Bytes']; ?></td>
</tr>
<tr>
<th> Kb </th>
<td><?php echo $data['Kb']; ?></td>
</tr>
<tr>
<th> Mb </th>
<td><?php echo $data['Mb']; ?></td>
</tr>
<tr>
<th> Gb </th>
<td><?php echo $data['Gb']; ?></td>
</tr>
<tr>
<th> Tb </th>
<td><?php echo $data['Tb']; ?></td>
</tr>
<tr>
<th>Time - date </th>
<td><?php
if ($data['date']) {
date_default_timezone_set("Asia/Bangkok");
echo (date(" H:i:s - d-m-Y ",$data['date']));
}
?></td>
</tr>
<tr>
<th> IP </th>
<td><?php echo $data['ip']; ?></td>
</tr>
</tbody>
</table>
</div>
<div class="col-sm-2">
</div>
</div>