<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:67:"D:\AQBox\www\mycms\public/../application/admin\view\main_index.html";i:1554778298;s:70:"D:\AQBox\www\mycms\public/../application/admin\view\public_header.html";i:1496819543;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>管理中心</title>
    <script type="text/javascript" src="__PUBLIC__/js/jquery.min.js"></script><script type="text/javascript" src="__COMMON__/js/common.js"></script><script type="text/javascript" src="__PUBLIC__/js/global.js"></script><script type="text/javascript" src="__COMMON__/js/layer.js"></script><script type="text/javascript" src="__PUBLIC__/plugin/date/jquery.datetimepicker.js"></script><script type="text/javascript" src="__PUBLIC__/js/wang.js"></script>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/public.css" /><link rel="stylesheet" type="text/css" href="__PUBLIC__/css/admin.css" /><link rel="stylesheet" type="text/css" href="__PUBLIC__/plugin/date/jquery.datetimepicker.css" />
</head>


<div id="urHere"> 管理中心</div>
<div id="index" class="mainBox" style="padding-top:18px;height:auto!important;height:550px;min-height:550px;">
    <?php if($flag): ?>
    <div class="warning">您还没有删除 install 文件夹，出于安全的考虑，建议您删除 install 文件夹。</div>
    <?php endif; ?>

    <div id="douApi"></div>
    <div class="indexBox">
        <div class="boxTitle">单页面快速管理</div>
        <ul class="ipage">
            <?php if(is_array($single_page) || $single_page instanceof \think\Collection || $single_page instanceof \think\Paginator): $i = 0; $__LIST__ = $single_page;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$page): $mod = ($i % 2 );++$i;?>
            <a href="<?php echo url('page/edit',['id' => $page['id']]); ?>"><?php echo $page['name']; ?></a>
            <?php endforeach; endif; else: echo "" ;endif; ?>
            <div class="clear"></div>
        </ul>
    </div>
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="indexBoxTwo">
        <tr>
            <td width="65%" valign="top" class="pr">
                <div class="indexBox">
                    <div class="boxTitle">网站基本信息</div>
                    <ul>
                        <table width="100%" border="0" cellspacing="0" cellpadding="7" class="tableBasic">
                            <tr>
                                <td width="120">单页面数：</td>
                                <td><strong><?php echo $page_count; ?></strong></td>
                                <td width="100">文章总数：</td>
                                <td><strong><?php echo $article_count; ?></strong></td>
                            </tr>
                            <tr>
                                <td>产品总数：</td>
                                <td><strong><?php echo $product_count; ?></strong></td>
                                <td>系统语言：</td>
                                <td><strong>zh_cn</strong></td>
                            </tr>
                            <tr>
                                <td>PC端模板：</td>
                                <td><strong><?php echo $pc_theme; ?></strong></td>
                                <td> 版本：</td>
                                <td><strong>v1.2.0</strong></td>
                            </tr>
                             <tr>
                                <td>移动端模板：</td>
                                <td><strong><?php echo $mobile_theme; ?></strong></td>
                                <td>编码：</td>
                                <td><strong>UTF-8</strong></td>
                            </tr>
                            
                        </table>
                    </ul>
                </div>
            </td>
            <td valign="top" class="pl">
                <div class="indexBox">
                    <div class="boxTitle">管理员 登录记录</div>
                    <ul>
                        <table width="100%" border="0" cellspacing="0" cellpadding="7" class="tableBasic">
                            <tr>
                                <th width="45%">IP地址</th>
                                <th width="55%">操作时间</th>
                            </tr>
                            <?php if(is_array($login_list) || $login_list instanceof \think\Collection || $login_list instanceof \think\Paginator): $i = 0; $__LIST__ = $login_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                            <tr>
                                <td align="center"><?php echo $vo['ip']; ?></td>
                                <td align="center"><?php echo date('Y-m-d H:i:s',$vo['datetime']); ?></td>
                            </tr>
                            <?php endforeach; endif; else: echo "" ;endif; ?>

                        </table>
                    </ul>
                </div>
            </td>
        </tr>
    </table>
    <div class="indexBox">
        <div class="boxTitle">服务器信息</div>
        <ul>
            <table width="100%" border="0" cellspacing="0" cellpadding="7" class="tableBasic">
                <tr>
                    <td width="120" valign="top">PHP 版本：</td>
                    <td valign="top"><?php echo $software['php']; ?></td>
                    <td width="100" valign="top">MySQL 版本：</td>
                    <td valign="top"><?php echo $software['mysql']; ?></td>
                    <td width="100" valign="top">服务器操作系统：</td>
                    <td valign="top"><?php echo $software['os']; ?></td>
                </tr>
                <tr>
                    <td valign="top">文件上传限制：</td>
                    <td valign="top">2M</td>
                    <td valign="top">GD 库支持：</td>
                    <td valign="top"><?php echo $software['gd']; ?></td>
                    <td valign="top">Web 服务器：</td>
                    <td valign="top"><?php echo $software['env']; ?></td>
                </tr>
            </table>
        </ul>
    </div>
    <div class="indexBox">
        <div class="boxTitle">系统开发</div>
        <ul>
            <table width="100%" border="0" cellspacing="0" cellpadding="7" class="tableBasic">
                <tr>
                    <td width="120"> 官方网站：</td>
                    <td><a href="http://www.zhmykj.com" target="_blank">http://www.zhmykj.com</a></td>
                </tr>
                <tr>
                    <td> 开发者：</td>
                    <td> 明易科技 QQ763809988</td>
                </tr>
                <tr>
                    <td> 使用协议：</td>
                    <td> 珠海明易科技有限公司依法独立拥有 明易内容管理系统(简称MyCMS) 产品著作权，MyCMS著作权受到法律和国际公约保护。使用者：无论个人或组织、盈利与否、用途如何，均需在安装时仔细阅读MyCMS 软件最终用户授权协议，在理解、同意、并遵守该协议的全部条款后，方可开始使用 MyCMS 软件。 </td>
                </tr>
            </table>
        </ul>
    </div>

</div>