<!DOCTYPE>
<html>
<head>
	<title>Internal Server Error</title>
	<style type="text/css">
	body
	{
		margin:0px;
		font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
		font-size:14px;
		line-height:1.42857143;
	}

	.title
	{
		background-color:#f2dede;
		color:#a94442;
		padding:8px;
		padding-left:32px;
	}

	.title h1
	{
		margin:0px;
	}

	.message
	{
		background-color:#333;
		color:#fff;
		padding:8px;
		padding-left:32px;
	}

	.trace
	{
		background-color:#ececec;
		padding:8px;
		padding-left:32px;
		margin-bottom:8px;
	}

	.trace pre
	{
		margin:0px;
	}

	.context
	{
		background-color:#ececec;
		padding:8px;
		padding-left:32px;
	}

	.context pre
	{
		margin:0px;
	}
	</style>
</head>

<body>

<div class="title">
	<h1><?php echo $title; ?></h1>
</div>

<div class="message">
	<?php echo $message; ?>
</div>

<?php if(!empty($trace)): ?>
<div class="trace">
	<pre><?php echo $trace; ?></pre>
</div>
<?php endif; ?>

<?php if(!empty($context)): ?>
<div class="context">
	<pre><?php echo $context; ?></pre>
</div>
<?php endif; ?>

</body>
</html>
