aboutsummaryrefslogtreecommitdiff
path: root/views/profile/index.php
blob: 54da30744c2480b5e99b59676fe7a0fcad61da71 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?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; ?>