<?php

/**
 *--------------------------------------
 * error tip
 *--------------------------------------
 * @project		: pfa
 * @author		: cblee
 * @created		: 2014-12-16
 * @copyright	: (c)2014 AsThis
 *--------------------------------------
 */

defined('PFA_PATH') or exit('Access Denied');
?>
<!DOCTYPE html>
<html>
<head>
<title>404</title>
<meta charset="utf-8"/>
<style>
body{font-family:'Microsoft YaHei',Verdana,Tahoma,Arial;font-size:16px;font-weight:300;line-height:1.5;background:#fff}
a{text-decoration:none;color:#3d6dcc}
a:hover{text-decoration:none;color:#f30}
.notice{margin:20px auto;padding:20px 40px;color:#666}
h2{border-bottom:1px solid #ddd;margin:0 0 5px;padding:8px 0;font-size:40px;font-weight:500}
</style>
</head>
<body>
<div class="notice">
	<h2>404</h2>
	<div>[ <a href="javascript:location.reload();"><?php echo L('_TRY_LATER_');?></a> ]<?php if(AServer::get_preUrl()) {?> [ <a href="javascript:history.go(-1);" target="_self"><?php echo L('_GO_BACK_');?></a> ]<?php }?> <?php echo L('_OR_');?> [ <a href="<?php echo __APP__;?>"><?php echo L('_GO_HOME_');?></a> ]</div>
	<p><?php
		if(!empty($error)) {
			echo $error;
		}
		else {
			echo L('_404_TIPS_');
		}
	?></p>
	<p style="color:#f30;margin:5pt">
		<?php echo APP_NAME;?> <sup style='color:gray;font-size:9pt'><?php echo date('Y');?></sup>
	</p>
</div>
</body>
</html>