<title><?php echo $i_judul ; ?></title>


<div class="page-header">
							<h1>
								Gallery
								<small>
									<i class="ace-icon fa fa-angle-double-right"></i>
									List Album
								</small>
							</h1>
						</div><!-- /.page-header -->
<a class="btn btn-info" href="<?php echo base_url(); ?>index.php/album/tambah"> <i class="ace-icon fa fa-plus icon-only"></i>
Tambah Album</a>
<table id="simple-table" class="table table-striped table-bordered table-hover">
											<thead>
												<tr>
													<th class="center" width="20">No</th>
													<th>Album</th>
													<th class="center" width="200">Aksi</th>
													
												</tr>
											</thead>
                                            
                                            
                                            <tbody>


<?php foreach($data as $b): 
$no++;
?>


<tr height=40 class="admin">
    <td class="admin"><?php echo $no; ?></td>
    <td class="admin"><?php echo $b->galery;?></td>
    <td class="admin">
    <a href="<?php echo base_url(); ?>index.php/album/tambah/edit/<?php echo $b->id;?>" title="Edit Album">
    <button class="btn btn-xs btn-info">
		<i class="ace-icon fa fa-pencil bigger-120"></i>
	</button>
    </a> 
    
    <a href="<?php echo base_url();?>index.php/admin_gallery/index/<?php echo $b->id;?>" title="Lihat Album">
    <button class="btn btn-xs btn-warning">
		<i class="ace-icon fa fa-camera bigger-120"></i>
	</button>
     </a> 
    
    <a title="Hapus" href="<?php echo base_url(); ?>index.php/album/hapus/<?php echo $b->id;?>" onClick="return confirm('Yakin akan dihapus?');">
    <button class="btn btn-xs btn-danger">
		<i class="ace-icon fa fa-trash-o bigger-120"></i>
	</button>
    </a>
    
    
    
    </td>
</tr>


<?php endforeach; ?>
</tbody>
  </table>
<?php echo "$page"; ?>

