diff options
Diffstat (limited to 'views')
| -rw-r--r-- | views/test/index.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/views/test/index.php b/views/test/index.php index e0b7eb6..df83e60 100644 --- a/views/test/index.php +++ b/views/test/index.php @@ -1,6 +1,5 @@ <?php include '../meta.php'; - print_r(Database\User::get_all()); ?> <form action="/test1/index.php" method="POST"> @@ -8,4 +7,14 @@ <input type="submit"> </form> +<?php foreach(Database\User::get_all() as $user):?> + <section class="card"> + <section class="quickinfo"> + <?php print_r($user); ?> + </section> + <strong><?php echo $user->Username ?></strong> + <em><?php echo $user->Role ?></em> + </section> +<?php endforeach;?> + <?php end_page(); ?> |
