-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlog.php
41 lines (30 loc) · 1.29 KB
/
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
<?php
include('include/connect.php');
include('include/header.php');
include('include/sidebar1.php')
?>
<div id="content-wrapper">
<div class="container-fluid">
<h2><u>Sytstem Access Log History</u></h2>
<div class="card-body">
<div class="table-responsive">
<table class="table table-bordered" id="" width="100%" cellspacing="0">
<thead>
<tr>
<th>Logs</th>
</tr>
</thead>
<?php
$query = "SELECT * FROM logs";
$result = mysqli_query($db, $query) or die (mysqli_error($db));
while ($row = mysqli_fetch_assoc($result)) {
echo '<tr>';
echo '<td>'. $row['action'].'---'.$row['date_time'].'</td>';
echo '</tr> ';
}
?>
</table>
<?php
include('include/scripts.php');
include('include/footer.php');
?>