-
Notifications
You must be signed in to change notification settings - Fork 0
/
actividad_log.php
60 lines (54 loc) · 2.3 KB
/
actividad_log.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
<?php include('header.php'); ?>
<?php include('sesion.php'); ?>
<body>
<center><img src="images/logoISJU.png"></center>
<?php include('navbar.php'); ?>
<div class="container-fluid">
<div class="row-fluid">
<?php include('sidebar_activity_log.php'); ?>
<div class="span9" id="">
<div class="row-fluid">
<!-- block -->
<div id="block_bg" class="block">
<div class="navbar navbar-inner block-header">
<div class="muted pull-left"><i class="icon-reorder icon-large"></i> Lista de Registro de Actividades</div>
</div>
<div class="block-content collapse in">
<div class="span12" id="studentTableDiv">
<h2 id="noch"> Activity Logs List</h2>
<center><table cellpadding="0" cellspacing="0" border="0" class="table" id="example">
<div class="pull-right">
<a href="#" onclick="window.print()" class="btn btn-info"><i class="icon-print icon-large"></i> Imprimir Lista</a>
</div><br><br>
<thead>
<tr>
<th>Date</th>
<th>User</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<?php
$query = mysqli_query($connection,"select * from actividad_log ORDER BY actividad_log_id DESC")or die(mysql_error());
while($row = mysqli_fetch_array($query)){
?>
<tr>
<td><?php echo $row['fecha']; ?></td>
<td><?php echo $row['nombreusuario']; ?></td>
<td><?php echo $row['accion']; ?></td>
</tr>
<?php } ?>
</tbody>
</table></center>
</div>
</div>
</div>
<!-- /block -->
</div>
</div>
</div>
<?php include('footer.php'); ?>
</div>
<?php include('script.php'); ?>
</body>
</html>