File: /var/www/vhosts/sethsawariyabizmart.com/httpdocs/masterAir/errorPage.php
<?php
function errorPage($err){
$blockedMessage = $err;
// Output the full HTML
echo <<<HTML
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>Error</title>
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
height: 100%;
background: linear-gradient(180deg, #7a0000 0%, #4a0000 100%);
font-family: Arial, sans-serif;
}
.center {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.cross {
width: 120px;
height: 120px;
position: relative;
margin: 0 auto 20px;
}
.cross::before,
.cross::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 100%;
height: 15%;
background: #fff;
transform: translate(-50%, -50%) rotate(45deg);
border-radius: 8px;
}
.cross::after {
transform: translate(-50%, -50%) rotate(-45deg);
}
.title {
color: #fff;
font-size: 10px;
font-weight: bold;
text-align: center;
}
</style>
</head>
<body>
<div class="center">
<div>
<div class="cross"></div>
<div class="title">$blockedMessage</div>
</div>
</div>
</body>
</html>
HTML;
}