1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
<table class="display data_table3 dataTable" id="data_table3" aria-describedby="data_table3_info">
<thead>
<tr role="row">
<th width="35" class="sorting_disabled" role="columnheader" rowspan="1" colspan="1" style="width: 33px; " aria-label="<input type="checkbox" id="checkAll" class="checkAll">">
<div class="custom-checkbox"><input type="checkbox" id="checkAll" class="checkAll">
<label for="checkAll" class="checker" style="left: 3px; "></label>
</div>
</th>
<th width="199" align="left" class="sorting_asc" role="columnheader" tabindex="0" aria-controls="data_table3" rowspan="1" colspan="1" style="width: 100px; " aria-sort="ascending" aria-label="Name: activate to sort column descending">Nom </th>
<th width="199" class="sorting" role="columnheader" tabindex="0" aria-controls="data_table3" rowspan="1" colspan="1" style="width: 100px; " aria-label="Show ID: activate to sort column ascending">Identifiant</th>
<th width="199" class="sorting" role="columnheader" tabindex="0" aria-controls="data_table3" rowspan="1" colspan="1" style="width: 100px; " aria-label="Show ID: activate to sort column ascending">Groupe</th>
<th width="199" class="sorting" role="columnheader" tabindex="0" aria-controls="data_table3" rowspan="1" colspan="1" style="width: 100px; " aria-label="Show ID: activate to sort column ascending">Active</th>
<th width="199" class="sorting" role="columnheader" tabindex="0" aria-controls="data_table3" rowspan="1" colspan="1" style="width: 227px; " aria-label="Show ID: activate to sort column ascending">Date d'enregistrement</th>
<th width="199" class="sorting_disabled" role="columnheader" rowspan="1" colspan="1" style="width: 187px; " aria-label="Management">Action</th>
</tr>
</thead>
<tbody role="alert" aria-live="polite" aria-relevant="all">
<?php foreach($this->paginator as $record) {?>
<tr class="odd">
<td width="35" class=" "><div class="custom-checkbox"><input type="checkbox" id="check11" class="chkbox" name="checkbox[]"><label class="checker" for="check11" style="left: 3px;"></label></div></td>
<td class=" " align="left"><?php echo $record['nom'];?></td>
<td class=" "><?php echo $record['login'];?></td>
<td class=" "><?php echo $record['groupe'];?></td>
<td class=" "><?php $activ = $record['active'];
if($activ==1){echo'<a class="grid_true"></a>';}
else{echo '<a class="grid_false"></a>';} ?></td>
<td class=" "> <?php echo $record['date_enregistrement'];?></td>
<td class=" "><span class="tip"><a title="Edit" href="<?php echo $this->url(array('controller'=>'utilisateur', 'action'=>'edit', 'id'=>$record['id'])); ?>"><img src="images/icon_edit.png" ></a></span> <span class="tip" ><a title="Delete" href="<?php echo $this->url(array('controller'=>'utilisateur', 'action'=>'supprimer', 'id'=>$record['id'])); ?>"><img src="images/icon_delete.png" ></a> </span>
</tr>
<?php }?>
</tbody>
</table>
</li>
</ul>
<div class="action_bar">
<div class="content_pad text_center">
<ul class="pagination">
<li>
<?php echo $this->paginationControl($this->paginator, 'Sliding', 'pagination.phtml'); ?>
</li>
</ul>
</div> |
Partager