<?php defined('ByFeiWa') or exit('Access Invalid!');?>
<?php require READS_BASE_TPL_PATH.'/layout/top.php';?>
<?php require READS_BASE_TPL_PATH.'/layout/nav.php';?>
<div class="warp-all"><div class="no-content-b"><i class="article"></i><?php require_once($tpl_file);?></div></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 READS_BASE_TPL_PATH.'/layout/footer.php';?>
