-
Notifications
You must be signed in to change notification settings - Fork 0
/
Reporte.php
60 lines (52 loc) · 2.01 KB
/
Reporte.php
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
51
52
53
54
55
56
57
58
59
60
<html>
<?php $title = 'Reportes de Usuarios Regitrados'; ?>
<?php $currentPage = 'Reportes'; ?>
<?php include('head.php'); ?>
<?php include('nav-bar.php'); ?>
<?php include('conexion.php'); ?>
<body>
<div class="container-md d-flex justify-content-center" style="background-color:white" text-center py-5>
<button onclick="history.go(-1);" id="Enviar" style="font-size: 25px">Volver </button>
</div>
<br>
<div class="container">
<div class="row">
<div class="col-lg-12">
<table id="tablaUsuarios" class="table-striped table-bordered" style="width:100%">
<thead class="text-center">
<th>id</th>
<th>Nombres</th>
<th>Apellidos</th>
<th>Usuario</th>
<th>Correo</th>
<th>codigo</th>
<th>Estado</th>
<th>Tipo Usuario</th>
</thead>
<tbody>
<?php
$sql ="SELECT * FROM usertable";
$result = mysqli_query($con,$sql);
while($usuario=mysqli_fetch_array($result))
{
?>
<tr>
<td><?php echo $usuario['id']?></td>
<td><?php echo $usuario['nombres']?></td>
<td><?php echo $usuario['apellidos']?></td>
<td><?php echo $usuario['username']?></td>
<td><?php echo $usuario['email']?></td>
<td><?php echo $usuario['code']?></td>
<td><?php echo $usuario['status']?></td>
<td><?php echo $usuario['tipo_usuario']?></td>
</tr>
<?php
}
?>
</tbody>
</table>
</div>
</div>
</div>
</body>
</html>