-
Notifications
You must be signed in to change notification settings - Fork 0
/
account.php
31 lines (28 loc) · 1.09 KB
/
account.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
require_once "./includes/config_session.inc.php";
if (!isset($_SESSION['user_id'])) {
header("Location: /login");
die();
}
require_once "./includes/account/account_view.inc.php";
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<title>Account</title>
</head>
<body>
<?php include_once("./Components/header.php") ?>
<?php print_infos() ?>
<form action="./includes/login/logout.inc.php" method="post">
<button class="btn btn-outline-primary m-2" type="submit">LOG OUT</button>
</form>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous">
</script>
</body>
</html>