Current File : /home/karenpetzb/application/modules/backoffice/views/scripts/user/search.phtml |
<div class="table-box">
<form method="POST" action="<?php echo $this->baseUrl; ?>/backoffice/user/search">
<table class="table">
<thead>
<tr>
<th class="col-md-4" ><?php echo $this->titlePage; ?></th>
</tr>
</thead>
<tbody>
<?php echo $this->render("alert_tr.phtml"); ?>
<tr class="nostriped">
<td class="col-md-12">
<div class="col-md-6 no-space-top"><input type="text" class="form-control" placeholder="Rechercher un nom, un pr�nom, un email, un t�l�phone ou une adresse" size="50" value="" id="searchValue" name="searchValue"></div>
<div class="col-md-6 text-center no-space-top">
<button type="submit" name="search" class="btn btn-primary">
<span class="glyphicon glyphicon-search"></span> Rechercher
</button>
</div>
</td>
</tr>
</tbody>
</table>
</form>
</div>
<div class="clearfix"></div>
<div class="table-box">
<table class="display table" id="userSearchTable" width="100%">
<thead>
<tr>
<th>Nom</th>
<th>Pr�nom</th>
<th>Email</th>
<th>Tel</th>
<th>Adresse</th>
<th></th>
</tr>
</thead>
<tbody>
<?php foreach($this->listSearch as $row) { ?>
<tr>
<td><?php echo $row->NOM;?></td>
<td><?php echo $row->PRENOM;?></td>
<td><?php echo $row->EMAIL;?></td>
<td><?php echo $row->TEL;?></td>
<td><?php echo $row->ADRESSE;?></td>
<td class="text-center no-space-side">
<div class="btn-group">
<a class="btn btn-success" href="<?php echo $this->baseUrl; ?>/backoffice/user/edit/id/<?php echo $row->ID; ?>" ><span class="glyphicon glyphicon-edit"></span> Modifier</a>
</div>
</td>
</tr>
<?php } ?>
</tbody>
</table>
<script>
$(document).ready(function() {
initDataTable('userSearchTable', [[ 0, "asc" ]], [ { "orderable": false, "targets": -1}]);
});
</script>
</div>