<?php
if(!defined('IN_PHPUP')) {
	exit('Access Denied');
}
?>
<?php include ROOT_PATH.'/views/admin/header.php';?>

<body>
<style type="text/css">
	html{_overflow-y:scroll}
</style>
<div id="main_frameid" class="pad-10 display" style="_margin-right:-12px;_width:98.9%;display:block;">

<div class="col-2 lf mr10" style="width:48%">
	<h6>我的个人信息</h6>
	<div class="content adtyhz">
	您好，<?php  echo $userinfo['username']; ?><br />
	所属角色：<?php echo $GLOBALS['usertype'][$userinfo['usertype']];?> <br />
	<div class="bk20 hr"><hr/></div>
	<TABLE style="width:98%;line-height:23px;">
	<TR>
		<th style="text-align:left;">操作</th>
		<th>操作ip</th>
		<th>操作时间</th>
		<th>用户名</th>
	</TR>
	<?php if($logs){foreach($logs as $k=>$v){?>
	<TR>
		<TD><?php echo $v['lastdo'];?></TD>
		<TD style="text-align:center;"><?php echo $v['lastip'];?></TD>
		<TD style="text-align:center;"><?php echo date('Y-m-d H:i:s',$v['lasttime']);?></TD>
		<TD style="text-align:center;"><?php echo $v['username'];?></TD>
	</TR>
	<?php } }  ?>
	</TABLE>
	</div>
</div>
<div class="col-2 col-auto">
	<h6>系统信息</h6>
	<div class="content adtyhz">
	LHT程序版本：<?php echo VERSION;?>   [<a href="http://bbs.lhaitun.com/forum-2-1.html" target="_blank">查看最新版本</a>]<br />
	操作系统：<?php echo PATH_SEPARATOR==':'?'Linux/Unix':'windows';?> <br />

	服务器软件：<?php echo $_SERVER['SERVER_SOFTWARE'];?> <?php echo PHP_VERSION;?> <br />
	MySQL 版本：<?php echo $GLOBALS['db']->version();?><br />
	上传文件：<?php echo get_cfg_var('upload_max_filesize');?><br />	
	</div>
</div>
<div class="bk10"></div>
<div class="col-2 lf mr10" style="width:48%">
	<h6>统计信息</h6>
	<div class="content adtyhz" id="admin_panel">
	网站信息：允许采集：<?php echo $count['sitecount']['isallowed'];?> 不允许采集：<?php echo $count['sitecount']['noallowed'];?><br/>
	团购信息：已审核：<?php echo $count['group']['ispassed'];?> 未审核：<?php echo $count['group']['nopassed'];?><br/>
	会员信息：站长：<?php echo $count['usercount']['siteuser'];?> 普通会员：<?php echo $count['usercount']['normaluser'];?><br/>
	采集信息：<A HREF="index.php?con=<?php echo ADMIN_ROOT;?>&act=listtempsite" style="color:#336699;">等待入库</A>：<strong style="color:#ff0000;"><?php echo $count['temp'];?></strong>
	</div>
</div>


<div class="col-2 lf mr10" style="width:48%">
	<h6>LHT_4.X开发团队</h6>
	<div class="content adtyhz">
	版权所有：蓝海豚(LHT)项目组<br />
	项目经理：<A HREF="http://weibo.com/dayuntuan" style="color:#3A6EA5;"  target="_blank">沙狼先生</A><br />
	开发与支持团队：<A HREF="http://weibo.com/phpup" style="color:#3A6EA5;" target="_blank">李孟琦</a>、<A HREF="http://weibo.com/1695267302" style="color:#3A6EA5;" target="_blank">枫叶的忧伤</a><br />
	UI/美工设计：Salong<br />
	官方网站：<a href="http://www.lhaitun.com/" target="_blank">http://www.lhaitun.com/</a> <br />

	官方论坛：<a href="http://bbs.lhaitun.com/" target="_blank">http://bbs.lhaitun.com/</a> 
	</div>
</div>
<div class="bk10"></div>
<div class="col-2 col-auto" style="width:710px">
	<h6>授权信息</h6>
	<div class="content" id="code">
		<iframe style="height:417px;width:699px;" scrolling="no" id="version" frameborder="0" src="http://trade.lhaitun.com/index.php?noscroll=1&domain=<?php echo str_replace('/','',str_replace('http://','',SITE_ROOT));?>"></iframe>
	</div>
	
</div>

    <div class="bk10"></div>
</div>

</body></html>