Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php $this->load->view('menu_jm');?>
- <div class="container">
- <!-- Main component for a primary marketing message or call to action -->
- <div class="panel panel-default">
- <div class="panel-heading"><b>Daftar Barang</b></div>
- <div class="panel-body">
- <a href="<?php echo site_url('barang/tambah');?>" class="btn btn-sm btn-primary"><i class="glyphicon glyphicon-plus"></i> Tambah Data</a>
- <table class="table table-striped">
- <thead>
- <tr>
- <th>No</th>
- <th>Program Hari</th>
- <th>Nama Paket</th>
- <th>Harga Paket</th>
- <th>Pilih Paket</th>
- <th>Akomodasi</th>
- <th></th>
- </tr>
- </thead>
- <?php
- $no = 1;
- foreach($user as $u){
- ?>
- <tbody>
- <tr>
- <td><?php echo $no++?></td>
- <td><?php echo $u->prog_hari?></td>
- <td><?php echo $u->nama_paket?></td>
- <td><?php echo $u->harga_paket?></td>
- <td><?php echo $u->pilih_paket?></td>
- <td><?php echo $u->akomodasi_hotel?></td>
- </tr>
- <?php }?>
- </tbody>
- </table>
- </div>
- </div> <!-- /panel -->
- </div> <!-- /container -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement