<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>发生系统错误</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<style>
body{font-family:'Microsoft Yahei', Verdana, arial, sans-serif;font-size:12px;background:#e5e5e5}
a{text-decoration:none;color:#3d6dcc}
a:hover{text-decoration:none;color:#f30}
.notice{position:absolute;top:50%;left:50%;padding:10px;margin-top:-240px;margin-left:-360px;width:720px;height:480px;color:#666; background:#fff;border:1px solid #ccc;box-shadow:2px 2px 2px rgba(0,0,0,0.1)}
h2{border-bottom:1px solid #ddd;margin:0 0 5px;padding:8px 0;font-size:20px}
.title{color:#f30;margin: 0}
.message, #trace{padding:0;border:0;margin:5px 0 10px;line-height:18px}
.red{color:red;font-weight:bold}
</style>
</head>
<body>
<div class="notice">
	<h2>发生系统错误</h2>
	<div>您可以 [ <a href="javascript:history.go(0);">重试</a> ] [ <a href="javascript:history.go(-1);">返回</a> ] 或者 [ <a href="<?php echo __APP__;?>">回到首页</a> ]</div>
	<?php if(isset($e['file'])){?>
	<p><strong>错误位置:</strong> 文件: <span class="red"><?php echo $e['file'] ;?></span> 行: <span class="red"><?php echo $e['line'];?></span></p>
	<?php }?>
	<p class="title">[ 错误信息 ]</p>
	<p class="message"><?php echo strip_tags($e['message']);?></p>
	<?php if(isset($e['trace'])){?>
	<p class="title">[ TRACE ]</p>
	<p id="trace">
	<?php echo nl2br($e['trace']);?>
	</p>
	<?php }?>
	<p align="center" style="color:#FF3300;margin:5pt;font-family:Verdana">
		PFA <sup style='color:gray;font-size:9pt'><?php echo PFA_VERSION;?></sup>
	</p>
</div>
</body>
</html>