<?php (!defined('IN_ADMIN') || !defined('IN_MUDDER')) && exit('Access Denied'); ?>
<div id="body">
    <? if($install_exists || !$php_gd) { ?>
    <div class="space">
    <table class="maintable" border="0" cellspacing="0" cellpadding="0">
        <tr><td><span class="font_4"><?=$install_exists?'注意：请尽快删除系统目录下的 install.php 和 install 目录，以免被他人非法利用。<br />':''?><?=!$php_gd?'<span class="font_4">注意：您的系统未加载GD库，将无法处理图片，强烈建议您在PHP.INI中加载。':''?></span></td></tr>
    </table>
    </div>
    <? } ?>
    <div class="space">
        <div class="subtitle">后台在线用户</div>
        <table class="maintable" border="0" cellspacing="0" cellpadding="0">
            <tr class="altbg1">
                <td width="30%">用户名称</td>
                <td width="40%">IP地址</td>
                <td width="30%">最后活动时间</td>
            </tr>
            <? if($adminsessions && is_array($adminsessions)) foreach($adminsessions as $session) { ?>
            <?if($session['adminname']==$admin->adminname){?><tr style="background:#F0FFF8;"><?}else{?><tr><?}?>
                <td><?=$session['adminname']?></td>
                <td><?=$session['ip']?></td>
                <td><?=$session['dateline']?></td>
            </tr>
            <? } ?>
        </table>
    </div>
    <div class="space">
        <div class="subtitle">系统信息</div>
        <table class="maintable" border="0" cellspacing="0" cellpadding="0">
            <tr id="trNewversion" style="display:none;"><td colspan="2">---</td></tr>
            <tr><td class="altbg1">程序版本:</td><td><?=$_VERSION['version']?> Build <?=$_VERSION['build']?> &nbsp;[&nbsp;<a href="http://www.modoer.com/bbs/forumdisplay.php?fid=4" target="_blank">查看最新版本</a>&nbsp;]&nbsp;<span id="mo_user"></span></td></tr>
            <tr><td class="altbg1">服务器解译引擎:</td><td><?=$server['software']?></td></tr>
            <tr><td width="200" class="altbg1">服务器时间:</td><td><?=$server['time']?></td></tr>
            <tr><td class="altbg1">文件上传:</td><td><?=$server['upfile']?></td></tr>
            <tr><td class="altbg1">全局变量 register_globals:</td><td><?=$server['register_globals']?></td></tr>
            <tr><td class="altbg1">安全模式 safe_mode:</td><td><?=$server['safe_mode']?></td></tr>
            <tr><td class="altbg1">图形处理 GD Library:</td><td><?=$server['gd']?></td></tr>
            <tr><td class="altbg1">内存占用:</td><td><?=$server['memory']?> KB</td></tr>
        </table>
    </div>
    <div class="space">
        <div class="subtitle">数据统计</div>
        <table class="maintable" border="0" cellspacing="0" cellpadding="0">
          <tr><td width="200" class="altbg1">会员数量:</td><td><?=$system['members']?></td></tr>
          <tr><td class="altbg1">商铺数量:</td><td><?=$system['shops']?>&nbsp;(会员登记:<?=$system['shops_mbpost']?>)</td></tr>
          <tr><td class="altbg1">点评总量:</td><td><?=$system['reviews']?></td></tr>
          <tr><td class="altbg1">回应总量:</td><td><?=$system['respond']?></td></tr>
          <tr><td class="altbg1">短信息数:</td><td><?=$system['pmsgs']?></td></tr>
          <tr><td class="altbg1">总收藏数:</td><td><?=$system['favorites']?></td></tr>
        </table>
    </div>
    <div>
        <div class="subtitle"><?=$_VERSION['name']?> 开发团队</div>
        <table class="maintable" border="0" cellspacing="0" cellpadding="0">
            <tr><td width="200" class="altbg1">版权所有:</td><td>Moufer Studio</td></tr>
            <tr><td class="altbg1">程序开发:</td><td><a href="http://www.modoer.com/bbs/space-uid-1.html" target="_blank">moufer</a></td></tr>
            <tr><td class="altbg1">美工设计:</td><td><a href="http://www.modoer.com/bbs/space-uid-1.html" target="_blank">moufer</a></td></tr>
            <tr><td class="altbg1">官方网站:</td><td><a href="http://www.modoer.com/" target="_blank">http://www.modoer.com/</a></td></tr>
            <tr><td class="altbg1">技术支持论坛:</td><td><a href="http://bbs.modoer.com/" target="_blank">http://bbs.modoer.com/</a></td></tr>
        </table>
    </div>
</div>
<script type="text/javascript" src="http://www.modoer.com/mo_user.php?v=<?=$_VERSION['version']?>&b=<?=$_VERSION['build']?>&w=<?=rawurlencode($server['software'])?>&m=<?=rawurlencode($db->version())?>&d=<?=rawurlencode($_config['siteurl'])?>&t=<?=rawurlencode($_config['sitename'])?>&c=<?=$charset?>&p=<?=rawurlencode(phpversion())?>"></script>