Skip to content

Instantly share code, notes, and snippets.

@AriffAzmi
Created August 19, 2015 13:27
Show Gist options
  • Save AriffAzmi/e06913fb02e851806800 to your computer and use it in GitHub Desktop.
Save AriffAzmi/e06913fb02e851806800 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>View</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css">
</head>
<body>
<div class="container bottom">
<div class=" row">
<table class="table table-bordered" style="margin-bottom:100px">
<thead>
<tr>
<th>Bil</th>
<th>NAMA PROGRAM</th>
<th>TEMPAT</th>
<th>TARIKH</th>
<th>KUMPULAN SASARAN</th>
<th>JUMLAH HADIR</th>
<th>KPI</th>
<th>OUTCOME</th>
<th>CATATAN</th>
<th>Fail rujukan</th>
</tr>
</thead>
<tbody>
<?php
if ($R->num_rows > 0) {
while ($row = $R->fetch_assoc()) {
?>
<tr>
<td><?php echo $row['id']; ?></td>
<td><?php echo $row['nama_program']; ?></td>
<td><?php echo $row['tempat']; ?></td>
<td><?php echo $row['tarikh']; ?></td>
<td><?php echo $row['kumpulan_sasaran']; ?></td>
<td><?php echo $row['jumlah_hadir']; ?></td>
<td><?php echo $row['kpi']; ?></td>
<td><?php echo $row['outcome']; ?></td>
<td><?php echo $row['catatan']; ?></td>
<td><a href="<?php echo $row['fail_path']; ?>"><?php echo $row['fail_name']; ?></a></td>
</tr>
<?php
}
}
?>
</tbody>
</table>
</div>
<a href="https://mynetsys.com/jakim/" class="btn btn-primary">Kembali laman utama</a>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment