<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="renderer" content="webkit">
    <title><?=C('webname')?><?=C('webkey')?></title>
    <meta name="keywords" content="24H离线秒赞,秒赞平台,秒赞网,离线CQY">
    <meta name="description" content="离线秒赞助手，可以让你24H不间断秒赞好友说说，好友更多QQ空间辅助功能！快速提高空间人气！"> 
	<link href="/style/css/bootstrap.min.css?v=3.4.0" rel="stylesheet">
    <link rel="stylesheet" href="/style/css/font-awesome/css/font-awesome.min.css?v=4.4.0">
    <!-- Morris -->
    <link href="/style/css/plugins/morris/morris-0.4.3.min.css" rel="stylesheet">
    <!-- Gritter -->
    <link href="/style/css/js/plugins/gritter/jquery.gritter.css" rel="stylesheet">
    <link href="/style/css/animate.css" rel="stylesheet">
    <link href="/style/css/style.css?v=2.2.0" rel="stylesheet">
	<link href="jquery.msgbox.css" rel="stylesheet">

</head>
<body id="body">
    <div id="wrapper">
        <nav class="navbar-default navbar-static-side" role="navigation" style="position:fixed;top:0;left:0;">
            <div class="sidebar-collapse">
                <ul class="nav" id="side-menu">
                    <li class="nav-header">
                        <div class="dropdown profile-element">
							<span><img alt="image" class="img-circle" src="//q4.qlogo.cn/headimg_dl?dst_uin=<?=$userrow[qq]?>&spec=100" style="width:60px;" /></span>
                            <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                            <span class="clear"> <span class="block m-t-xs"> <strong class="font-bold"><?=$userrow[user]?></strong></span>
							<span class="text-muted text-xs block"><?php if(get_isvip($userrow[vip],$userrow[vipend])){ echo "<font color='green'>VIP用户</font>";}else{echo"<font color='gray'>不是VIP</font>";}?> UID：<?=$userrow[uid]?><b class="caret"></b></span> </span>
                            </a>
							<ul class="dropdown-menu animated fadeInRight m-t-xs">
                                <li><a href="vipifmt.php">个人资料</a></li>
								<li><a href="uset.php">修改密码</a></li>
                                <li><a href="rmb.php">开通VIP</a></li>
                                <li class="divider"></li>
                                <li><a href="logout.php">安全退出</a></li>
                            </ul>
                        </div>
                    </li>
					<li >
                        <a href="#"><i class="fa fa-home"></i> <span class="nav-label">用户中心</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
						<li><a href="/mgmt">用户中心</a></li>
                            <?php if($userrow[active]==9){echo'<li><a href="/admin">站长后台</a></li>';}?>
			<?php if($userrow[daili]){echo'<li><a href="daili.php">代理后台</a></li>';}?>
			<?php if($userrow[fuzhan]){echo'<li><a href="/deputy">副站后台</a></li>';}?>
			<li><a href="fun.php">功能中心</a></li>
			<li><a href="/">网站首页</a></li>
                        </ul>
                    </li>
					
					<li >
                        <a href="#"><i class="fa fa-shopping-cart"></i> <span class="nav-label">用户商城</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li>
					<a href="shop.php">自助购买</a>
					</li>
					<li>
					<a href="rmb.php">在线充值</a>
					</li>
                        </ul>
                    </li>
					<li >
                        <a href="#"><i class="fa fa-user"></i> <span class="nav-label">用户资料</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li>
					<a href="uset.php">资料修改</a>
					</li>
					<li>
					<a href="vipifmt.php">我的资料</a>
					</li>
                        </ul>
                    </li>
					<li class="active">
                        <a href="add.php"><i class="fa fa-qq"></i> <span class="nav-label">QQ列表</span><span class="label label-danger pull-right"><?=get_count('qqs',"uid='$userrow[uid]'",'qid')?></span></a>
                        <ul class="nav nav-second-level">
						<?php if($rows=$db->get_results("select * from ".C('DB_PREFIX')."qqs where uid='$userrow[uid]' order by qid desc")){ foreach($rows as $row){?>
					<li><a href="qqlist.php?qid=<?=$row[qid]?>"># <?=$row[qq]?><?php if($row[skeyzt]){echo'<span class="label label-warning pull-right">SKEY过期</span>';}else{echo'<span class="label label-success pull-right">正常</span>';}?></a></li>
				<?php }}?>
<a class="btn btn-success btn-rounded btn-block" href="add.php">添加QQ</a>                   </ul>
                    </li>
					
					<li class="active">
                        <a href="#"><i class="fa fa-qq"></i> <span class="nav-label">QQ管理</span><span class="label label-danger pull-right"></span></a>
                        <ul class="nav nav-second-level">
                            <li>
					<a href="qq.php">我的QQ</a>
					</li>
					<li>
					<a href="add.php">添加QQ</a>
					</li>
					<li>
					<a href="mzlist.php">QQ秒赞墙</a>
					</li>
					<li>
					<a href="xzdm.php">协助打码</a>
					</li>
                        </ul>
                    </li>
			<li><a href="logout.php" onClick="if(!confirm('确认退出登录吗？')){return false;}"><i class="fa fa-power-off"></i><span class="nav-label">退出</span></a></li>
                </ul>

            </div>
        </nav>

        <div id="page-wrapper" class="gray-bg dashbard-1">
            <div class="row border-bottom">
                <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
                    <div class="navbar-header">
                        <a class="navbar-minimalize minimalize-styl-2 btn btn-primary " ><i class="fa fa-bars"></i></a>
                    </div>
                    <ul class="nav navbar-top-links navbar-right">
						<li>
                            <a href="/mgmt" title="返回首页"><i class="fa fa-home"></i>首页</a>
                        </li>
                        <li>
                            <a href="fun.php" title="用户中心功能"><i class="fa fa-qq"></i>功能</a>
                        </li>
                        <li>
                            <a href="logout.php" title="退出系统" onClick="if(!confirm('确认退出登录吗？')){return false;}"><i class="fa fa-qq"></i>退出</a>
                        </li>
                    </ul>
                </nav>
            </div>