-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patherror.php
46 lines (33 loc) · 822 Bytes
/
error.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html lang="en">
<?php
$err_msg = filter_input(INPUT_GET, 'err_msg', FILTER_SANITIZE_STRING);
$back_link = filter_input(INPUT_GET, 'back_link', FILTER_SANITIZE_STRING);
?>
<head>
<?php readfile("./html/header.html"); ?>
<style>
.jumbotron {
background-image: url("./img/sm_colormap-blur.png");
}
</style>
</head>
<body>
<?php
$currentPage = '';
include './html/navbar.php';
?>
<div class="jumbotron">
<div class="container text-center">
<h2>...something went wrong :(</h2>
</div>
</div>
<div class="container border rounded bg-3">
<h5>error log:</h5>
<pre><?php echo $err_msg;?></pre>
<p><a href="<?php echo $back_link;?>">Back</a></p>
</div>
<?php readfile("./html/footer.html"); ?>
<?php readfile("./html/js_src.html"); ?>
</body>
</html>