[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
Backup
/
05122024
/
htdocs
/
tracer
/
application
/
views
/
a
/
[
Home
]
File: home.php
<!DOCTYPE html> <head> <title>Upload Gambar (Image), Rename dan Resize</title> <!-- variabel diambil dari controller --> </head> <body> <?=$this->session->flashdata('pesan')?> <p> <a href="<?=base_url()?>admin/add" class="btn btn-success">Tambah</a> </p> <table class="table table-striped table-bordered data"> <thead> <tr> <th>Nama File</th> <th>View</th> <th>Keterangan</th> <th>Delete</th> </tr> </thead> <? foreach ($query as $row) { ?> <tr> <td><?=$row->namafile;?></td> <td> <a href="<?=base_url()?>assets/uploads/<?=$row->namafile;?>" data-rel="colorbox"> <img src="<?=base_url()?>assets/images/nobook.png" width="40" height="50" > </a> </td> <td><?=$row->keterangan;?></td> <td> <a href = "<?php echo base_url();?>admin/hapus/<?php echo $row->namafile;?>" class="btn btn-success"> Delete </a></td> </tr> <?php } ?> </table> </body> <script type="text/javascript"> $(document).ready(function(){ $('.data').DataTable(); }); </script> </html>