-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin.php
47 lines (34 loc) · 889 Bytes
/
admin.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
<?php
include_once('database/connection.php');
include_once('database/users.php');
$result = getAllUsers($db);
include('templates/header.php');
?>
<h2> lel, an admin page, just to manage stuff </h2>
<div id="the-admins">
<p> AMMINISTRATORI </p>
<img src="content/images/admin1.jpg" />
<img src="content/images/admin2.jpg" />
<img src="content/images/admin3.jpg" />
</div>
<h3> followers </h3>
<table>
<tr>
<th>ID</th>
<th>Username</th>
<th>Name</th>
<th>E-mail</th>
<th>Password</th>
<th></th>
</tr>
<?php foreach($result as $row) { ?>
<tr>
<td><?=$row['id']?></td>
<td><?=$row['username']?></td>
<td><?=$row['name']?></td>
<td><?=$row['email']?></td>
<td><?=$row['password']?></td>
</tr>
<?php } ?>
</table>
<?php include('templates/footer.php'); ?>