aboutsummaryrefslogtreecommitdiff
path: root/views/profile/index.php
blob: 80b0c4a3b85b68a083f875dc636d7ca7425624c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
    $title = $_GET["user"] . ' - Profile';
    include '../meta.php';

    $user = null;
    runController('user');
?>

<?php if ($user !== null): ?>
    <section>
        <?= $user->Username ?>
        <?= $user->Role ?>
    </section>
<?php else: ?>
    <h2>User "<?= $_GET["user"] ?>" doesn't exist!</h2>
<?php endif; ?>

<?php end_page(); ?>