<?php
require_once('common.php');
C('webtitle','控制台');
C('pageid','control');
include_once 'common.head.php';
?>

    <div class="wrapper wrapper-content animated fadeInRight">
        
            <div class="ibox float-e-margins">
                <h4>功能中心</h4>
                <ul class="todo-list m-t">
                    <?php if($userrow[active]==9){echo'<li><a href="/admin" class="btn btn-success btn-sm btn-block"><i class="fa fa-home"></i><span class="nav-label">站长后台</span></a></li>';}?>
			<?php if($userrow[daili]){echo'<li><a href="daili.php" class="btn btn-success btn-sm btn-block"><i class="fa fa-home"></i><span class="nav-label">代理后台</span></a></li>';}?>
			<?php if($userrow[fuzhan]){echo'<li><a href="/vice" class="btn btn-success btn-sm btn-block"><i class="fa fa-home"></i><span class="nav-label">副站后台</span></a></li>';}?>
                    <li>
                        <a href="/control" class="btn btn-success btn-sm btn-block"><i class="fa fa-home"></i> <span class="nav-label">用户中心</span></a>
                    </li>					
					<li class="<?php if(C('pageid')=='shop'){ echo'active';}?>"><a href="shop.php" class="btn btn-success btn-sm btn-block"><i class="fa fa-bar-chart fa-fw"></i>自助商城</a></li>
					<li class="<?php if(C('pageid')=='rmb'){ echo'active';}?>"><a href="rmb.php" class="btn btn-success btn-sm btn-block"><i class="fa fa-database fa-fw"></i>在线充值</a></li>
			<li class="<?php if(C('pageid')=='uset'){ echo'active';}?>"><a href="uset.php" class="btn btn-success btn-sm btn-block"><i class="fa fa-map-marker fa-fw"></i>资料修改</a></li>
			<li class="<?php if(C('pageid')=='vipifmt'){ echo'active';}?>"><a href="vipifmt.php" class="btn btn-success btn-sm btn-block"><i class="fa fa-sliders fa-fw"></i>我的资料</a></li>
			<li class="<?php if(C('pageid')=='qq'){ echo'active';}?>"><a href="qq.php" class="btn btn-success btn-sm btn-block"><i class="fa fa-eject fa-fw"></i>我的QQ</a></li>
			<li class="<?php if(C('pageid')=='qq'){ echo'active';}?>"><a href="add.php" class="btn btn-success btn-sm btn-block"><i class="fa fa-eject fa-fw"></i>添加QQ</a></li>
			<li class="<?php if(C('pageid')=='qq'){ echo'active';}?>"><a href="mzlist.php" class="btn btn-success btn-sm btn-block"><i class="fa fa-eject fa-fw"></i>QQ秒赞墙</a></li>
			<li class="<?php if(C('pageid')=='qq'){ echo'active';}?>"><a href="xzdm.php" class="btn btn-success btn-sm btn-block"><i class="fa fa-eject fa-fw"></i>协助打码</a></li>
			<li><a href="logout.php" class="btn btn-success btn-sm btn-block"><i class="fa fa-eject fa-fw" class="btn btn-success btn-sm btn-block"></i>退出</a></li>
                </ul>
                
            
        </div>
    </div>
    <!-- Mainly scripts -->
<?php
include_once 'common.foot.php';
?>
</block>
