blob: 96c90db702c6b7e3c233b8e1c7de8d2bd58ddd67 (
plain)
- <div class="admin">
-
- <!-- first, a list of all active users -->
-
- <center>
- <strong><font size="16"> Administration</font></strong>
- </center>
-
- <?lsmb IF message?>
- <strong><font color="red"><?lsmb message?></font></strong>
- <?lsmb END?>
- <form name="userlist" method="GET" action="admin.pl">
- <table>
- <tr>
- <td></td>
- <td>Username</td>
- <td>Active</td>
- <td>Date Added</td>
- </tr>
- <?lsmb FOREACH user = users ?>
-
- <tr>
- <td></td>
- <td>
- <a href="admin.pl?action=edit_user&user_id=<?lsmb user.id?>">
- <?lsmb user.username?>
- </a>
- </td>
- <td>
- <?lsmb user.active?>
- </td>
- <td>
- <?lsmb user.creation_date?>
- </td>
-
- </tr>
- <?lsmb END?>
- </table>
-
- <hr/>
- <div class="buttons">
- <button name="action" value="new_user">New User</button>
- <button name="action" value="new_group">New Group</button>
- <button name="action" value="delete_user">Delete User</button>
- <button name="action" value="delete_group">Delete Group</button>
- </div>
- </form>
- </div>
|