-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.php
38 lines (30 loc) · 1.05 KB
/
home.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
<?php
require 'controller/Controller.php';
$controller = new Controller();
$title = "Home Page";
?>
<?php include_once 'include/header.php'; ?>
<table class="table table-hover">
<thead>
<tr>
<th colspan="7" class='text-center'>Registered Users</th>
</tr>
<tr>
<th>First Name</th>
<th>Middle Name</th>
<th>Last Name</th>
<th>Email Address</th>
</tr>
</thead>
<tbody>
<?php foreach($controller->profile_list() as $list){ ?>
<tr>
<td><?php echo $list['firstname']; ?></td>
<td><?php echo $list['middlename']; ?></td>
<td><?php echo $list['lastname']; ?></td>
<td><?php echo $list['emailaddress']; ?></td>
</tr>
<?php } ?>
</tbody>
</table>
<?php include_once 'include/footer.php'; ?>