	<a class="btn btn-success" href="<?php echo URL::site('admin/ajouterslider'); ?>"><i class="icon-plus icon-white"></i> Nouveau slide</a>
	<div class="row-fluid sortable">
	<div class="box span12">
	                
					<div class="box-header well" data-original-title>
						<h2><i class="icon-user"></i> Sliders</h2>
					</div>
					<div class="box-content">
						<table class="table table-striped table-bordered bootstrap-datatable datatable">
						  <thead>
							  <tr>
								  <th>ID</th>
								  <th>Libelle</th>
								  <th>Actions</th>
							  </tr>
						  </thead>   
						  <tbody>
						 
						  <?php foreach ($sliders as $slider) : ?>
							<tr>
								<td><?php echo $slider['id'];?></td>
								<td class="center"><?php echo $slider['libelle'];?></td>
								<td class="center">
									<a class="btn btn-info" href="modifierslider/<?php echo $slider['id'];?>">
										<i class="icon-edit icon-white"></i>  
										Modifier                                            
									</a>
									<a class="btn btn-danger" onClick="ConfirmMessage('supprimerslider/<?php echo $slider['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>