<?php defined('ByFeiWa') or exit('Access Invalid!');?>
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET;?>">
<title><?php echo $output['html_title'];?></title>
<meta name="keywords" content="<?php echo $output['setting_config']['site_keywords']; ?>" />
<meta name="description" content="<?php echo $output['setting_config']['site_description']; ?>" />
<meta name="author" content="FeiWa">
<meta name="copyright" content="FeiWa   All Rights Reserved">
<link href="<?php echo DELIVERY_TEMPLATES_URL;?>/css/layout.css" rel="stylesheet" type="text/css">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
      <script src="<?php echo RESOURCE_SITE_URL;?>/js/html5shiv.js"></script>
      <script src="<?php echo RESOURCE_SITE_URL;?>/js/respond.min.js"></script>
<![endif]-->
<style type="text/css">
body { background: #637159 url(<?php echo DELIVERY_TEMPLATES_URL;?>/images/login_bg.png) no-repeat center top;}
.msg {filter:progid:DXImageTransform.Microsoft.gradient(enabled='true',startColorstr='#7F000000', endColorstr='#7F000000');background:rgba(0,0,0,0.5); font: 20px/100px "Microsoft YaHei"; color: #FFC; width: 400px; text-align: center; margin: 200px auto; border-radius: 5px;
}
</style>
</head>
<body>
<div class="content">
      <?php if($output['msg_type'] == 'error'){ ?>
      <p class="msg defeated">
        <?php }else { ?>
      <p class="msg success">
        <?php } ?>
        <span>
        <?php require_once($tpl_file);?>
        </span> </p>
</div>
<script type="text/javascript">
<?php if (!empty($output['url'])){
?>
	window.setTimeout("javascript:location.href='<?php echo $output['url'];?>'", <?php echo $time;?>);
<?php
}else{
?>
	window.setTimeout("javascript:history.back()", <?php echo $time;?>);
<?php
}?>
</script>
<?php require_once(BASE_DELIVERY_TEMPLATES_URL.'/layout/footer.php');?>
</body>
</html>
