miniMVC/app/errors/error_general.php

28 lines
415 B
PHP
Raw Normal View History

2012-01-03 16:36:46 -05:00
<!DOCTYPE HTML>
<html>
<head>
<title>Error</title>
<style type="text/css">
.message{
position:relative;
margin:0.5em auto;
padding:0.5em;
width:95%;
}
.error{
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>