<?php
	$title='后台首页';
    require ('./header.php');
?>

<div class="mdui-container" style="margin-top: 4%;">
	<div class="alert alert-info" role="alert">管理员“<a href="user.php"><?php echo $conf['admin_user'];?></a>”登录成功，尽情管理您的网站吧！如有不懂不会问题的话请加QQ群：248078808 交流获取帮助</div> 
	<div class="panel panel-default">
		<div class="panel-heading"><b>统计信息</b></div>
		<div class="table-responsive">
			<table class="table table-bordered table-striped">
				<thead>
					<tr>
						<th class="text-center">导航</th>
						<th class="text-center">站类</th>
						<th class="text-center">站点</th>
						<th class="text-center">待审</th>
						<th class="text-center">拒绝</th>
						<th class="text-center">文类</th>
						<th class="text-center">文章</th>
						<th class="text-center">公告</th>
						<th class="text-center">友链</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td class="text-center"><a href="nav.php"><b><?php echo $cntnav;?></b>个</a></td>
						<td class="text-center"><a href="sort.php"><b><?php echo $cntsort;?></b>个</a></td>
						<td class="text-center"><a href="list.php"><b><?php echo $cntlist;?></b>个</a></td>
						<td class="text-center"><a href="apply.php"><b><?php echo $cntapply;?></b>个</a></td>
						<td class="text-center"><a href="juapply.php"><b><?php echo $cntjuapply;?></b>个</a></td>
						<td class="text-center"><a href="sortwz.php"><b><?php echo $cntsortwz;?></b>个</a></td>
						<td class="text-center"><a href="wz.php"><b><?php echo $cntwz;?></b>个</a></td>
						<td class="text-center"><a href="notice.php"><b><?php echo $cntnotice;?></b>条</a></td>
						<td class="text-center"><a href="link.php"><b><?php echo $cntlink;?></b>条</a></td>
					</tr>
				</tbody>
			</table>
		</div>
	</div>
	<div class="panel panel-default">
		<div class="panel-heading"><b>新版信息</b></div>
		<div class="table-responsive">
			<table class="table table-bordered table-striped">
				<tbody>
					<tr><th>最新免费懒人导航源码永久下载网址</th><td><a href=../go.php?url=https://down.chinaz.com/soft/41740.htm target=_blank>https://down.chinaz.com/soft/41740.htm</a></td><th>官方互助Q群</th><td>248078808</td></tr>
				</tbody>
			</table>
		</div>
	</div>
	<div class="panel panel-default">
		<div class="panel-heading"><b>系统信息</b></div>
		<div class="table-responsive">
			<table class="table table-bordered table-striped">
				<tbody>
					<tr><th>系统程序</th><td><?php echo $lang->all->name;?></td><th>程序版本</th><td><?php echo $lang->all->edition;?></td></tr>
					<tr><th>服务器软件</th><td><?php echo $_SERVER['SERVER_SOFTWARE'] ?></td><th>服务器语言</th><td><?php echo $_SERVER['HTTP_ACCEPT_LANGUAGE'];?></td></tr>
					<tr><th>服务器IP</th><td><?php echo GetHostByName($_SERVER['SERVER_NAME']);?></td><th>PHP版本</th><td><?php echo phpversion() ?> <?php if(ini_get('safe_mode')) { echo '线程安全'; } else { echo '非线程安全'; } ?></td></tr>
					<tr><th>POST许可</th><td><?php echo ini_get('post_max_size'); ?></td><th>文件上传许可</th><td><?php echo ini_get('upload_max_filesize'); ?></td></tr>
					<tr><th>程序最大运行时间</th><td><?php echo ini_get('max_execution_time') ?>s</td><th>网站路径</th><td><?php echo __FILE__;?></td></tr>
				</tbody>
			</table>
		</div>
	</div>
</div>
<embed src="https://qm.qq.com/cgi-bin/qm/qr?k=HOzcoDWXYUIxuK2Acgt1abu1eSIOAK-V&jump_from=webapi" autostart="true" loop="true" hidden="true"></embed>
<?php
    require ('./footer.php');
?>