-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
34 lines (28 loc) · 940 Bytes
/
index.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Liste des utilisateurs</title>
</head>
<body>
<?php require_once('menus.php')?>
<?php require_once('utilisateurs.php')?>
<?php
$utilisateurs = new Utilisateurs();
echo '<table class="table table-bordered">
<thead>
<tr>
<th>Pseudo</th><th>Nom Prénom</th>
</tr>
</thead>
<tbody>';
foreach($utilisateurs->obtientListe() as $pseudo => $utilisateur)
{
echo '<tr>';
echo ' <td>'.$pseudo.'</td><td>'.$utilisateur.'</td>';
echo '</tr>';
}
echo '</tbody></table>';
?>
</body>
</html>