diff options
| author | Syndamia <kamen@syndamia.com> | 2025-01-25 19:31:14 +0200 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2025-01-25 19:59:25 +0200 |
| commit | f7db20f6a635a4195647941a8c150a1bb3fcf904 (patch) | |
| tree | d2498a078139fc1caebcf83ae5d05d9acaf88550 /views/profile | |
| parent | 046dc2e32512dad2458be3e367e16e6e1a6f46f3 (diff) | |
| download | nowayforward_human-f7db20f6a635a4195647941a8c150a1bb3fcf904.tar nowayforward_human-f7db20f6a635a4195647941a8c150a1bb3fcf904.tar.gz nowayforward_human-f7db20f6a635a4195647941a8c150a1bb3fcf904.zip | |
feat(views): Add basic profile and register views
Diffstat (limited to 'views/profile')
| -rw-r--r-- | views/profile/index.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/views/profile/index.php b/views/profile/index.php new file mode 100644 index 0000000..3e79d71 --- /dev/null +++ b/views/profile/index.php @@ -0,0 +1,16 @@ +<?php + $title = $_GET["user"] . ' - Profile'; + include '../meta.php'; + + $user = null; + runController('user'); +?> + +<?php if ($user !== null): ?> + <section> + <?php echo $user->Username ?> + <?php echo $user->Role ?> + </section> +<?php else: ?> + <h2>User "<?php echo $_GET["user"] ?>" doesn't exist!</h2> +<?php endif; ?> |
