miniMVC/app/errors/error_general.php

19 lines
383 B
PHP

<!DOCTYPE HTML>
<html>
<head>
<title>Error</title>
<style type="text/css">
div{position:relative; margin:0.5em auto; padding:0.5em; width:95%; border:1px solid #924949; background: #f3e6e6;}
</style>
</head>
<body>
<div class="message error">
<?php if(isset($title)) : ?>
<h1><?php echo $title ?></h1>
<?php endif ?>
<?php echo $message; ?>
</div>
</body>
</html>