[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
xampp
/
htdocs
/
webakfar
/
application
/
views
/
administrator
/
mod_download
/
[
Home
]
File: view_download.php
<div class="card"> <div class="card-header"> <h3 class="card-title">Download File</h3> <div class="card-tools"> <a class='pull-right btn btn-primary btn-sm' href='<?php echo base_url().$this->uri->segment(1); ?>/tambah_download'>Tambahkan Data</a> </div> </div><!-- /.card-header --> <div class="card-body"> <div class="table-responsive"> <table id="example1" class="table table-sm table-striped"> <thead> <tr> <th style='width:40px'>No</th> <th>Judul</th> <th>Link</th> <th>Hits</th> <th>Tanggal</th> <th style='width:70px'>Action</th> </tr> </thead> <tbody> <?php $no = 1; foreach ($record as $row){ $tgl_Posting = tgl_indo($row['tgl_posting']); echo "<tr><td>$no</td> <td>$row[judul]</td> <td><a title='$row[nama_file]' target='_BLANK' href='".base_url()."download/file/$row[nama_file]'>Download</a></td> <td>$row[hits] Kali</td> <td>$tgl_Posting</td> <td><center> <a class='btn btn-success btn-xs' title='Edit Data' href='".base_url().$this->uri->segment(1)."/edit_download/$row[id_download]'><span class='nav-icon fas fa-edit'></span></a> <a class='btn btn-danger btn-xs' title='Delete Data' href='".base_url().$this->uri->segment(1)."/delete_download/$row[id_download]' onclick=\"return confirm('Apa anda yakin untuk hapus Data ini?')\"><span class='nav-icon fas fa-trash-alt'></span></a> </center></td> </tr>"; $no++; } ?> </tbody> </table> </div></div></div>