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


<div class="page-header">
							<h1>
								Admin
								<small>
									<i class="ace-icon fa fa-angle-double-right"></i>
									List Admin
								</small>
							</h1>
						</div><!-- /.page-header -->
<a class="btn btn-info" href="<?php echo base_url(); ?>index.php/admin/tambah"> <i class="ace-icon fa fa-plus icon-only"></i>
Tambah Admin</a>
<table id="simple-table" class="table table-striped table-bordered table-hover">
											<thead>
												<tr>
													<th class="center" width="20">No</th>
													<th>Username</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->username;?></td>
    <td class="admin">
    <a href="<?php echo base_url(); ?>index.php/admin/tambah/edit/<?php echo $b->username;?>" title="Edit Admin">
    <button class="btn btn-xs btn-info">
		<i class="ace-icon fa fa-pencil bigger-120"></i>
	</button>
    </a> 
    
    
    <a title="Hapus" href="<?php echo base_url(); ?>index.php/admin/hapus/<?php echo $b->username;?>" 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"; ?>

