diff options
| -rw-r--r-- | views/profile/index.php | 2 | ||||
| -rw-r--r-- | views/test/index.php | 21 | ||||
| -rw-r--r-- | views/test1/index.php | 9 |
3 files changed, 2 insertions, 30 deletions
diff --git a/views/profile/index.php b/views/profile/index.php index 54da307..80b0c4a 100644 --- a/views/profile/index.php +++ b/views/profile/index.php @@ -14,3 +14,5 @@ <?php else: ?> <h2>User "<?= $_GET["user"] ?>" doesn't exist!</h2> <?php endif; ?> + +<?php end_page(); ?> diff --git a/views/test/index.php b/views/test/index.php deleted file mode 100644 index bce8371..0000000 --- a/views/test/index.php +++ /dev/null @@ -1,21 +0,0 @@ -<?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(); ?> diff --git a/views/test1/index.php b/views/test1/index.php deleted file mode 100644 index 6fb737c..0000000 --- a/views/test1/index.php +++ /dev/null @@ -1,9 +0,0 @@ -<?php - $title = 'Added user'; - include '../meta.php'; - runController('test'); -?> - -<p>Something</p> - -<?php end_page(); ?> |
