[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
xampp182
/
htdocs
/
repository
/
application
/
views
/
[
Home
]
File: prodi_list.php
<!-- Main content --> <section class='content'> <div class='row'> <div class='col-xs-12'> <div class='box'> <div class='box-header'> <h3 class='box-title'>DOCUMENTS LIST <br><br> <?php echo anchor('prodi/create/','Create',array('class'=>'btn btn-danger btn-sm'));?> </h3> </div><!-- /.box-header --> <div class='box-body'> <table class="table table-bordered table-striped" id="mytable"> <thead> <tr> <th width="80px">No</th> <th>Document</th> <th>Action</th> </tr> </thead> <tbody> <?php $start = 0; foreach ($prodi_data as $prodi) { ?> <tr> <td><?php echo ++$start ?></td> <td><?php echo $prodi->program_studi ?></td> <td style="text-align:center" width="140px"> <?php echo ' '; echo anchor(site_url('prodi/update/'.$prodi->id),'<i class="fa fa-pencil-square-o"></i>',array('title'=>'edit','class'=>'btn btn-danger btn-sm')); echo ' '; echo anchor(site_url('prodi/delete/'.$prodi->id),'<i class="fa fa-trash-o"></i>','title="delete" class="btn btn-danger btn-sm" onclick="javasciprt: return confirm(\'Are You Sure ?\')"'); ?> </td> </tr> <?php } ?> </tbody> </table> <script src="<?php echo base_url('assets/js/jquery-1.11.2.min.js') ?>"></script> <script src="<?php echo base_url('assets/datatables/jquery.dataTables.js') ?>"></script> <script src="<?php echo base_url('assets/datatables/dataTables.bootstrap.js') ?>"></script> <script type="text/javascript"> $(document).ready(function () { $("#mytable").dataTable(); }); </script> </div><!-- /.box-body --> </div><!-- /.box --> </div><!-- /.col --> </div><!-- /.row --> </section><!-- /.content -->