-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy patherror.php
More file actions
28 lines (25 loc) · 765 Bytes
/
error.php
File metadata and controls
28 lines (25 loc) · 765 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
27
28
<!DOCTYPE html>
<html lang="en">
<head>
<?php
require_once ('partials/widgets.php');
HeaderWidget('Error');
?>
</head>
<body class="d-flex flex-column">
<?php
session_start();
Navbar();
?>
<div class="d-flex align-items-center text-center vh-100">
<div class="container-fluid">
<?php
if (isset($_SESSION['error']))
echo "<p>" . htmlspecialchars($_SESSION['error']) . ".</p>";
?>
<p><a role="button" class="btn btn-danger" href="index.php">Main Page</a></p>
</div>
</div>
<?php FooterWidget('images/beatyLogo.png'); ?>
</body>
</html>