miniMVC/app/errors/error_general.php
2012-04-30 16:52:38 -04:00

19 lines
369 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><?= $title ?></h1>
<?php endif ?>
<?= $message; ?>
</div>
</body>
</html>