-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
26 lines (20 loc) · 741 Bytes
/
Copy pathheader.php
File metadata and controls
26 lines (20 loc) · 741 Bytes
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
<?php
if (session_status() === PHP_SESSION_NONE) {
session_start();
}
$role = isset($_SESSION['user_role']) ? $_SESSION['user_role'] : null;
$auth_id = isset($_SESSION['user_id']) ? $_SESSION['user_id'] : null;
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BookHaven</title>
<link rel="shortcut icon" href="res/logo/favicon.png" type="image/x-icon">
<!-- CSS -->
<link rel="stylesheet" href="res/css/main.css">
<!-- TOASTIFY -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/toastify-js/src/toastify.min.css">
<script src="https://cdn.jsdelivr.net/npm/toastify-js"></script>
</head>