	<a class="btn btn-success" href="<?php echo URL::site('admin/ajouteradmin'); ?>"><i class="icon-plus icon-white"></i> Nouvel utilisateur</a>
	<div class="row-fluid sortable">
	<div class="box span12">
	                <div class="box-header well" data-original-title>
						<h2><i class="icon-user"></i> Utilisateurs</h2>
					</div>
					<div class="box-content">
						<table class="table table-striped table-bordered bootstrap-datatable datatable">
						  <thead>
							  <tr>
								  <th>Username</th>
								  <th>E-mail</th>
							  </tr>
						  </thead>   
						  <tbody>
						 
						  <?php foreach ($users as $user) : ?>
							<tr>
								<td><?php echo $user['username'];?></td>
								<td><?php echo $user['email'];?></td>
								<td class="center">
									<a class="btn btn-info" href="modifieradmin/<?php echo $user['id'];?>">
										<i class="icon-edit icon-white"></i>  
										Modifier                                            
									</a>
									<a class="btn btn-danger"  onClick="ConfirmMessage('supprimeradmin/<?php echo $user['id'];?>')" >
										<i class="icon-trash icon-white"></i> 
										Supprimer
									</a>
								</td>
							</tr>
								<?php endforeach; ?>
						  </tbody>
					  </table>            
					</div>
				</div><!--/span-->
				</div>
				
				<script type="text/javascript">
   function ConfirmMessage(lien) {
       if (confirm("Voulez-vous vraiment supprimer l element séléctionné ?")) { // Clic sur OK
          window.location.href = lien;
       }
   }
</script>