aboutsummaryrefslogtreecommitdiff
path: root/views/profile/index.php
blob: 3e79d719577dc711e5582733debc2a6729c21bec (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>
        <?php echo $user->Username ?>
        <?php echo $user->Role ?>
    </section>
<?php else: ?>
    <h2>User "<?php echo $_GET["user"] ?>" doesn't exist!</h2>
<?php endif; ?>