forked from antsstyle/nftcryptoblocker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patherror.php
34 lines (31 loc) · 997 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
<?php
require __DIR__ . '/vendor/autoload.php';
use Antsstyle\NFTCryptoBlocker\Core\Core;
use Antsstyle\NFTCryptoBlocker\Core\Config;
$defaultMessage = "You are not logged in. Go back to the homepage to sign in.";
$errorMessage = filter_input(INPUT_POST, "errormsg", FILTER_SANITIZE_STRING);
?>
<html>
<head>
<link rel="stylesheet" href="main.css" type="text/css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<title>
NFT Artist & Cryptobro Blocker
</title>
<body>
<div class="main">
<?php Core::echoSideBar(); ?>
<h1>NFT Artist & Cryptobro Blocker</h1>
<?php
$hp = Config::HOMEPAGE_URL;
if ($errorMessage !== false && !is_null($errorMessage)) {
echo $errorMessage;
} else {
echo $defaultMessage;
}
?>
</div>
</body>
<script src="Collapsibles.js"></script>
</html>