willy.club/views/errors/500.php

28 lines
622 B
PHP
Raw Normal View History

2022-11-29 12:49:29 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2023-01-29 12:35:00 +00:00
<title>500 Internal Server Error</title>
2022-11-29 12:49:29 +00:00
</head>
<body>
<style>
body {
margin: 1rem;
background: tomato;
line-height: 1.75;
font-family: "Comic Sans MS", sans-serif;
}
.error {
padding: 1rem;
margin-bottom: 1rem;
background: white;
border: .1rem solid black;
}
</style>
<h1>Error!!1 (××)</h1>
<?php foreach($error_messages as $error_message): ?>
<div class="error"><?=$error_message?></div>
<?php endforeach; ?>
</body>
</html>