<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="__STATIC__/others/showerr.css">
<title>出错提示</title>
<meta http-equiv="X-UA-Compatible" content="IE=8"><!-- 强制ie8,for 360 -->
<meta charset="utf-8">
<script type="text/javascript" src="__STATIC__/js/core/jquery.min.js"></script>
</head>
<body>
<div class="TopContainer">
	<div class="TopBox">
		<div class="logo"><a href="/"><img src="__STATIC__/index/default/logo.png"></a></div>
		<div class="MoreAct">
			<a href="/" class="home">网站首页</a>			
			{notempty name="userdb.uid"}
			<a href="{:get_url('member')}" class='member'>会员中心</a> 
			<a href="{:get_url('quit')}" class='quit'>退出</a>
			{else /}
			<a href="{:get_url('login')}" class='login'>登录</a> 
			<a href="{:get_url('reg')}" class='reg'>注册</a>
			{/notempty}
		</div>
	</div>
</div>
<div class="MainContainer">
	<div class="MainBox">
		<div class="LeftBox">
			<div class="showerrBox">
				<ul class="incont">
					<ol class="cont">
						<div class="showerrMsg">
							<div class="MsgBox"><?php echo(strip_tags($msg));?></div>
						</div>
					</ol>
					<li class="butter">
						<a id="href" href="<?php echo($url);?>">页面自动跳转(<em id="wait"><?php echo($wait);?></em>)</a>
					</li>
				</ul>
			</div> 
		</div>
		<div class="RightBox">
			{notempty name="userdb.uid"}
			<div class="UserBox">
				<div class="h">我的资料</div>
				<div class="icon">
					<a href="{:get_url('user')}?uid={$userdb.uid}" target="_blank" class="img"><span><img src="{$userdb.icon|tempdir}" onerror="this.src='__STATIC__/images/nobody.gif'"/></span></a>
					<a href="{:get_url('user')}?uid={$userdb.uid}" target="_blank" class="t">{$userdb.username}</a>
				</div>
				<div class="text">
					<div>级别: <span>{$userdb.groupid|getGroupByid}</span></div>
					<div>积分: <em>{$userdb.money}</em> 个</div>
					<div>注册日期: {$userdb.regdate|format_time}</div>
				</div>
			</div>
			{else /}
			<div class="UserBox">
				<div class="h">登录通行证</div>
            	<form name="form1" method="post" action="{:get_url('login')}">
					<ul class="logins">
						<li class="name"><input type="text" name="username" minlength="3" maxlength="20" placeholder="请输入帐号" required/></li>
						<li class="pass"><input type="password" name="password" minlength="3" maxlength="30" placeholder="请输入密码" required /></li>
						<li class="word"><a href="{:get_url('getpassword')}">忘记密码？</a></li>
					</ul>
					<div class="submit"><input type="submit" value="登录"/></div>
					<div class="mores">还没有通行证?<a href="{:get_url('reg')}">立即注册</a></div>
            	</form>
			</div>
			{/notempty}
		</div>
	</div>
</div>
<div class="FootContainer">
	Copyright@http://www.php168.com all rights reserved 京ICP备050453号
Powered by qibosoft Code © 2003-2018
</div>
<script>
(function(){
    var wait = document.getElementById('wait'),
        href = document.getElementById('href').href;
    var interval = setInterval(function(){
        var time = --wait.innerHTML;
        if(time <= 0) {
            location.href = href;
            clearInterval(interval);
        };
    }, 1000);
})();
if( window.top == window.self ){
   $('.TopContainer').show();
   $('.FootContainer').show();
   $('.RightBox').show();
}else{
   $('.TopContainer').hide();
   $('.FootContainer').hide();
   $('.RightBox').hide();
}
</script>
</body>
</html>
