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