aboutsummaryrefslogtreecommitdiff
path: root/views/test/index.php
blob: bce837192bfc8e76a2fd1e2d47383349b0bb8d4e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
    $title = 'Test page';
    include '../meta.php';
?>

<form action="/test1/index.php" method="POST">
    <input type="text" name="Username" placeholder="Username">
    <input type="submit">
</form>

<?php foreach(Database\User::get_all() as $user):?>
    <section class="card">
        <section class="quickinfo">
            <?php print_r($user); ?>
        </section>
        <strong><?= $user->Username ?></strong>
        <em><?= $user->Role ?></em>
    </section>
<?php endforeach;?>

<?php end_page(); ?>