diff options
Diffstat (limited to 'views/profile/index.php')
| -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; ?> |
