miniMVC/app/errors/error_general.php

19 lines
369 B
PHP
Raw Normal View History

2012-01-13 11:58:06 -05:00
<!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)) : ?>
2012-04-30 16:52:38 -04:00
<h1><?= $title ?></h1>
2012-01-13 11:58:06 -05:00
<?php endif ?>
2012-04-30 16:52:38 -04:00
<?= $message; ?>
2012-01-13 11:58:06 -05:00
</div>
</body>
</html>