[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
xampp
/
htdocs
/
simaku
/
application
/
views
/
unit
/
[
Home
]
File: kegiatan.php
<?php echo !empty($message) ? '<p class="text-info">' . $message . '</p>' : ''; echo !empty($h2_title) ? '<div class="well alert "><p class="pull-left"><strong>PROSES BISNIS - KEGIATAN</strong></p><p class="pull-right">' . $h2_title . '</p></div>' : ''; $flashmessage = $this->session->flashdata('message'); echo !empty($flashmessage) ? '<p class="message">' . $flashmessage . '</p>' : ''; if (!empty($link1)) { echo '<ul class="nav nav-tabs" style="font-size:80%">'; foreach ($link1 as $links) { echo $links; } echo '</ul>'; } if (!empty($link)) { foreach ($link as $links) { echo $links . ' '; } } echo !empty($latblk) ? '<table width="90%"><tr><td><b>Latar Belakang:</b></td></tr><tr><td>' . $latblk . '</td></tr></table></br>' : ''; echo !empty($pagination) ? '<p id="pagination">' . $pagination . '</p>' : ''; echo '<hr>'; ?> <?php echo '<table class="table table-bordered table-hover" style="font-size:80%">'; echo '<thead><tr><th>No</th><th>Kode MAK</th><th>Nama Kegiatan</th><th>Latar Belakang</th><th>Tujuan</th><th>Lingkup</th><th>Jadwal</th><th>Dana</th><th>Menu</th></tr></thead>'; echo '<tbody>'; $no = 1; foreach ($query2->result() as $row) { if($row->dengan_aset == 1){?> <tr class="success"> <?php }else{?> <tr> <?php } ?> <td align="center"><?= $no ?></td> <td align="center"><?= $row->kodemak1 . ' ' . $row->kodemak2 . ' ' . $row->kodemak3 . ' ' . $row->kodemak4 ?></td> <td align="left"><?= $row->namamak4 ?></td> <td align="left"><?= $row->latblk ?></td> <td align="center"><?= $row->tujuan ?></td> <td align="center"><?= $row->lingkup ?></td> <td align="center"><?= $row->jadwal ?></td> <td align="center"><?= $row->sumber ?></td> <td align="center"><?= anchor('unit_keg/updatekegiatan/' . $row->idkeg, 'update', array('class' => 'update')) . ' | ' . anchor('unit_keg/deletekegiatan/' . $row->idkeg, 'hapus', array('class' => 'delete', 'onclick' => "return confirm('Anda yakin akan menghapus data ini?')")) . ' | ' . anchor('unit_rinci/rinci_perkegiatan/' . $row->idkeg, ' rinci', array('class' => 'atur')) ?></td> </tr> <?php $no++; }?> </tbody> </table><br>