12345678910111213141516171819202122232425262728 |
- <html>
- <?php include("header.php") ?>
- <table>
- <tr>
- <th>User Id</th>
- <th>Display Name</th>
- <th>Username</th>
- <th>Domains</th>
- <th>Actions</th>
- </tr>
- <?php foreach($users as $user) : ?>
- <?php if (empty($user)) continue; ?>
- <tr>
- <td><?=$user['user_id']?></td>
- <td><?=$user['display_name']?></td>
- <td><?=$user['username']?></td>
- <td><?=implode(', ', $user['domains'])?></td>
- <td>
- <button class="edit" data-user="<?=$user['user_id']?>">Edit</button>
- <button class="change-password" data-user="<?=$user['user_id']?>">Change Password</button>
- </td>
- </tr>
- <?php endforeach; ?>
- </table>
- <button class="add">Add New User</button>
- </body>
- </html>
|