<!DOCTYPE html>
<html lang="en" style="overflow-y: hidden; height: 100%;">

<head>

    <meta charset="utf-8">
    <title><?php $webname=$user->webname?:$_SERVER['WEB_NAME'];echo $webname;?></title><script type="text/javascript">var doxcx_jspath = "/@system/";</script><script type="text/javascript" src="/@system/js/jquery.js"></script><script type="text/javascript" src="/@system/js/doxcxadapter.js"></script>
    <base target="mainFrame" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
   
    <link rel="apple-touch-icon-precomposed" href="/assets1/i/app-icon72x72@2x.png">

    <script src="/assets1/js/echarts.min.js"></script>
	<link href="/assets/stylesheets/bootstrap.min.css" rel="stylesheet" />
    <link rel="stylesheet" href="/assets1/css/amazeui.min.css" />
    <link rel="stylesheet" href="/assets1/css/amazeui.datatables.min.css" />
    <link rel="stylesheet" href="/assets1/css/app.css">
	<link href="/assets/stylesheets/font-awesome.min.css" rel="stylesheet" />
	<link href="/assets/stylesheets/style.min.css" rel="stylesheet" />
	<link href="/assets/stylesheets/font.css" rel="stylesheet" />
	<link href="/assets/stylesheets/leftmenu.css" rel="stylesheet" />
	<script type="text/javascript">
        var _speedMark = new Date(),
            www_version = <?php echo time(); ?>;

    </script>
    <style type="text/css">
    .main_contact{
    	position: relative;
    	cursor: pointer;
    }
    .main_contact:hover img{
    	display: block;
    }
    .main_contact img{
    	position: absolute;
    	bottom: -120px;
    	left: -4px;
    	width: 120px;
    	height: 120px;
    	display: none;
    }
    .tryTime_container span{
        color: #fff;
        background: #35b4ff;
        border-radius: 20px;
        padding: 3px 12px;
        margin-top: 16px;
        display: block;
        font-size: 12px;
    }
    .modal-dialog{
        margin-top: 110px !important;
    }
	.msg{
        margin-top: 40px !important;
    }
    ::-webkit-scrollbar{
    display:none;
    }
    	.header_h img{
    		width: 170px;
    		height: 32px;
    	}
        .tpl-content-wrapper{
            height: calc(100% - 56px);
        }
/*        .icon_h{
        	overflow: hidden;
        	line-height: 56px;
        }
        .icon_h i{
        	color: #999;
        	float: left;
        }
        .icon_h a{
        	float: left;
        }*/
        @media screen and (max-width: 1279px){
            .tryTime_container{
                display: none;
            }
        }
    	@media screen and (max-width: 1024px){
    		.tpl-content-wrapper{
    			margin-left: 180px !important;
    		}
    	}
		a:hover{
			text-decoration:none;
		}
		/*弹窗*/
        .home_Notice_container{
            position: absolute;
            z-index: 9999;
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
            background: rgb(0 0 0 / 50%);
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .home_Notice_content{
            width: 40%;
            background: #fff;
            padding:22px 22px 20px 22px;
        }
        .home_NoticeHeader_container{
            position: relative;
        }
        .home_NoticeHeader_container h2{
            font-size: 16px;
            color: #000;
            text-align: center;
            font-weight: 400;
            margin-bottom: 25px;
        }
        .home_NoticeHeader_container svg{
            position: absolute;
            right: 0;
            top: 0;
            width: 22px;
            height: 22px;
            cursor: pointer;
        }
        .home_NoticeMain_container{

        }
        .home_NoticeMain_container p{
            color: #555;
            font-size: 15px;
            margin-bottom: 10px;
        }
        .home_Noticefooter_container{
            display: flex;
            justify-content: flex-end;
        }
        .home_Noticefooter_container span{
            background: #2b9dff;
            color: #fff;
            font-size: 14px;
            padding:5px 15px;
            cursor: pointer;
        }
    </style>
</head>

<body data-type="index" style="height: 100%; background: #e9e9e9; position: relative;">
    <script src="/assets1/js/theme.js"></script>
    <div class="am-g tpl-g" style="height: 100%;">
        <input type="hidden" value="{$content}" id="hide">
        <!-- 头部 -->
        <header>
            <!-- logo -->
            <div class="am-fl tpl-header-logo header_h">
                <a href="javascript:;"><img src="<?php echo $user->logo;?>" alt=""></a>
            </div>
            <!-- 右侧内容 -->
            <div class="tpl-header-fluid">
                <div class="am-fl tryTime_container">
                    <span>
					{$user_type->typename} 剩余时间：{$dqtime} 
						{if $diff->y == 0}
                        {if $diff->m == 0}
                        {if $diff->d <= 7}                    
                            <a href="/admin/userCenter/myAccount.html" style="color: red">点击续费</a>                      
                        {/if}
                        {/if}
                        {/if}
					</span>
                </div>
                <div class="am-fr tpl-header-navbar">
                    <ul>
                        <!-- 欢迎语 -->
                        <li class="am-text-sm tpl-header-navbar-welcome">
                            <a href="/admin/userCenter/updatePwd.html">欢迎你, <span>{Session::get('yg_username')?Session::get('yg_username'):$user->un}</span> </a>
                        </li>
                        <li class="am-text-sm tpl-header-navbar-welcome icon_h main_contact">
                            <a><span class="am-icon-wechat"></span> 联系客服</a>
                            <img src="{$kefu->url}">
                        </li>
                        <li class="am-text-sm tpl-header-navbar-welcome icon_h">
                            <a href="{$help->url}"><span class="am-icon-book"></span> 帮助中心</a>
                        </li>
                        <li class="am-text-sm tpl-header-navbar-welcome icon_h">
                            <a href="/" target="_blank"><span class="am-icon-home"></span> 官网首页</a>
                        </li>
                      

                        
                        <li class="am-text-sm">
                            <a href="/logout.html" target="_self">
                                <span class="am-icon-sign-out"></span> 退出
                            </a>
                        </li>
                    </ul>
                </div>
            </div>

        </header>

        <!-- 侧边导航栏 -->
        <div class="left-sidebar">

            <ul class="sidebar-nav" style="overflow-x: hidden;
  overflow-y: scroll;
  height: 100%;">

				{loop $index as $key=>$ind}
				<li class="sidebar-nav-link">
                    <a href="<?php if ($ind['file']){ ?><?php echo resolve_admin($ind['file']); ?>.html<?php }else{ ?>javascript:;<?php } ?>" class="sidebar-nav-sub-title {$key}">
					<?php if (!$ind['file']){ ?>
                      <?php echo $ind['style']; ?>
                    <?php } ?>   
                         {$ind['name']}
                          <span class="am-icon-chevron-down am-fr am-margin-right-sm sidebar-nav-sub-ico"></span>
                    </a>
                    <ul class="sidebar-nav sidebar-nav-sub">
					{loop $ind['sub'] as $in}
                        <li class="sidebar-nav-link scende-sidebar-nav-link">
                            <a href="{resolve_admin($in['file'])}.html" {if $in['file']=='Addons/QyWechat/Admin/Datas/statistics'}class="scende-sidebar-nav-link-active"{/if}>
                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> {$in['name']}
                            </a>
                        </li>
					 {/loop}
                    </ul>
                </li>
				{/loop}
				
               

            </ul>
        </div>


        <!-- 内容区域 -->
        <iframe class="tpl-content-wrapper" id="mainFrame"
                                name="mainFrame"
                                src="/Addons/QyWechat/Admin/Datas/statistics.html"
                                frameborder="0"
                                height="100%"
                                width="100%"
                                style="background: url('/assets/images/loading2.gif') center no-repeat;width:calc(100% - 180px);border: 0;">

         
        </iframe>
    </div>
    </div>
    <!-- 弹窗提示 -->
    <div class="home_Notice_container" style="display: none;">
        <div class="home_Notice_content">
            <div class="home_NoticeHeader_container">
                <h2>公告</h2>
                <svg onclick="closeNotice()" t="1603873869361" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3395" width="200" height="200"><path d="M800 832c-8 0-16-3.2-22.4-9.6l-576-576c-12.8-12.8-12.8-32 0-44.8 12.8-12.8 32-12.8 44.8 0l576 576c12.8 12.8 12.8 32 0 44.8-6.4 6.4-14.4 9.6-22.4 9.6z m-576 0c-8 0-16-3.2-22.4-9.6-12.8-12.8-12.8-32 0-44.8l576-576c12.8-12.8 32-12.8 44.8 0 12.8 12.8 12.8 32 0 44.8l-576 576C240 828.8 232 832 224 832z" p-id="3396" fill="#bfbfbf"></path></svg>
            </div>
            <div class="home_NoticeMain_container">
                <p>{$content}</p>
            </div>
            <div class="home_Noticefooter_container">
                <span onclick="closeNotice()">我知道了</span>
            </div>
        </div>
    </div>
    <script src="/assets1/js/amazeui.min.js"></script>
    <script src="/assets1/js/amazeui.datatables.min.js"></script>
    <script src="/assets1/js/dataTables.responsive.min.js"></script>
    <script src="/assets1/js/app.js"></script>
    <script type="text/javascript">
    	window.onload= function(){
    		$('.sidebar-nav-sub-title:lt(10)').click();
    	}
    	$('.icon_h1').click(function(){
    			$('.tpl-skiner-toggle').click();
    		})
        $('.scende-sidebar-nav-link a').click(function(){
            $('.scende-sidebar-nav-link a').removeClass('scende-sidebar-nav-link-active');
            $(this).addClass('scende-sidebar-nav-link-active');
        });
    </script>
</body>

</html>