<? if(!defined('UC_ROOT')) exit('Access Denied');?>
<? include $this->gettpl('header');?>
<? if(empty($_REQUEST['inajax'])) { ?>
	<div class="container">
		<div class="ajax rtninfo">
			<div class="ajaxbg">
				<h4>提示信息:</h4>
				<p><?=$message?></p>
				<? if($redirect == 'BACK') { ?>
					<p><a href="###" onclick="history.back();">点击这里返回</a></p>
				<? } elseif($redirect) { ?>
					<p><a href="<?=$redirect?>">页面将在 3 秒后自动跳转到下一页，点击这里直接跳转...</a></p>
					<script type="text/javascript">
					function redirect(url, time) {
						setTimeout("window.location='" + url + "'", time * 1000);
					}
					redirect('<?=$redirect?>', 3);
					</script>
				<? } ?>
			</div>
		</div>
	</div>
<? } else { ?>
	<?=$message?>
<? } ?>
<? include $this->gettpl('footer');?>