Professional Documents
Culture Documents
<div class="">
<!-- Text input-->
<table id="tabla_usuarios" class="table table-striped table-condensed">
<thead>
<tr>
<th>ID</th>
<th>Fecha</th>
<th>Nombre</th>
<th>Telefono</th>
<th>Direccion</th>
<th>E-Mail</th>
<th>Acciones</th>
</tr>
</thead>
<tbody>
<?php foreach ($res as $value): ?>
<tr>
<td><?php echo $value->getId()?></td>
<td><?php echo $value->getFecha() ?></td>
<td><?php echo $value->getNombre()?></td>
<td><?php echo $value->getTelefono()?></td>
<td><?php echo $value->getDireccion() ?></td>
<td><?php echo $value->getEmail() ?></td>
<td><a href="javascript:void(0)" title="Ver Registro" onclick=""><i
class="fa fa-eye" aria-hidden="true" data-toggle="modal" data-target="#ver<?php
echo $value->getId()?>"></i></a>
</td>
<!-- !-->
<div id="ver<?php echo $value->getId()?>" class="modal fade"
role="dialog">
<div class="modal-dialog">
</div>
</div>
<!-- !-->
<?php endforeach;?>
</tr>
</tbody>
</table>
<script>
$('#tabla_usuarios').DataTable({
"language": {
"lengthMenu": "Mostrar _MENU_ registros por pagina",
//"zeroRecords": "Nothing found - sorry",
"info": "Pagina _PAGE_ de _PAGES_",
"infoEmpty": "No hay registros para mostrar",
"infoFiltered": "(filtrando de _MAX_ registros totales)",
"search": "Buscar:"
}, "scrollX": true,
"autoWidth": false
});
</script>
</div><!--well!-->
<hr>
</fieldset>