View sourcecode

The following files exists in this folder. Click to view.

admin.php

19 lines UTF-8 Unix (LF)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php include("check_login.php"); ?>
<!DOCTYPE html>
<html lang="sv">
<head>
    <meta charset="UTF-8">
    <title>Adminsidan</title>
    <link rel="stylesheet" href="bulma.css">
</head>
<body>
<section class="section">
    <div class="container box" style="max-width: 50vw;">
        <h1 class="title">Välkommen till Adminsidan!</h1>
        <p>Du är inloggad som: <strong><?= htmlspecialchars($_SESSION['username']); ?></strong></p>
        <a href="logout.php" class="button is-danger mt-3">Logga ut</a>
    </div>
</section>
</body>
</html>