[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
xampp
/
htdocs
/
spmi2
/
application
/
views
/
administrator
/
mod_modul
/
[
Home
]
File: view_modul.php
<div class="col-xs-12"> <div class="box"> <div class="box-header"> <h3 class="box-title">Manajemen Modul</h3> <a class='pull-right btn btn-primary btn-sm' href='<?php echo base_url(); ?>administrator/tambah_manajemenmodul'>Tambahkan Data</a> </div><!-- /.box-header --> <div class="box-body"> <table id="example1" class="table table-bordered table-striped"> <thead> <tr> <th style='width:20px'>No</th> <th>Nama Modul</th> <th>Link</th> <th>Publish</th> <th>Aktif</th> <th>Status</th> <th style='width:70px'>Action</th> </tr> </thead> <tbody> <?php $no = 1; foreach ($record as $row){ echo "<tr><td>$no</td> <td>$row[nama_modul]</td> <td><a href='".base_url()."administrator/$row[link]'>".base_url()."administrator/$row[link]</a></td> <td>$row[publish]</td> <td>$row[aktif]</td> <td>$row[status]</td> <td><center> <a class='btn btn-success btn-xs' title='Edit Data' href='".base_url()."administrator/edit_manajemenmodul/$row[id_modul]'><span class='glyphicon glyphicon-edit'></span></a> <a class='btn btn-danger btn-xs' title='Delete Data' href='".base_url()."administrator/delete_manajemenmodul/$row[id_modul]' onclick=\"return confirm('Apa anda yakin untuk hapus Data ini?')\"><span class='glyphicon glyphicon-remove'></span></a> </center></td> </tr>"; $no++; } ?> </tbody> </table> </div>