
<aside class="lyear-layout-sidebar">
      
      <!-- logo -->
      <div id="logo" class="sidebar-header">
        <a href="../"><img src="../media/<?php echo $C_logo?>" title="<?php echo $C_title?>" alt="<?php echo $C_title?>" /></a>
      </div>
      <div class="lyear-layout-sidebar-scroll"> 
        
        <nav class="sidebar-main">
          <ul class="nav nav-drawer">
            <li class="nav-item "> <a href="index.php"><i class="mdi mdi-home"></i> 会员中心</a> </li>
            
            <li class="nav-item nav-item-has-subnav">
              <a href="javascript:void(0)"><i class="mdi mdi-link"></i> 生成短链</a>
              <ul class="nav nav-subnav">
                <li> <a href="creat.php">单个生成</a> </li>
                <li> <a href="urls.php">批量生成</a> </li>
              </ul>
            </li>

            <li class="nav-item nav-item-has-subnav">
              <a href="javascript:void(0)"><i class="mdi mdi-link-variant"></i> 短链管理</a>
              <ul class="nav nav-subnav">
                <li> <a href="myurl.php">我的短链</a> </li>
                <li> <a href="sort.php">短链分组</a> </li>
                <li> <a href="statistics.php">短链统计</a> </li>
              </ul>
            </li>
            
            <li class="nav-item nav-item-has-subnav">
              <a href="javascript:void(0)"><i class="mdi mdi-currency-cny"></i> 资金管理</a>
              <ul class="nav nav-subnav">
                <li> <a href="pay.php">帐号充值</a> </li>
                <li> <a href="orders.php">订单管理</a> </li>
              </ul>
            </li>
            <?php 
            if($C_vipprice>0){
              echo "<li class=\"nav-item\"> <a href=\"vip.php\"><i class=\"mdi mdi-vimeo\"></i> 开通VIP</a> </li>";
            }
            ?>
          
            <li class="nav-item "> <a href="edit.php"><i class="mdi mdi-settings"></i> 编辑信息</a> </li>
            <li class="nav-item "> <a href="login.php?action=unlogin"><i class="mdi mdi-logout"></i> 退出登录</a> </li>
            
          </ul>
        </nav>
      </div>
    </aside>

    <!--End 左侧导航-->
    
    <!--头部信息-->
    <header class="lyear-layout-header">
      
      <nav class="navbar navbar-default">
        <div class="topbar">
          
          <div class="topbar-left">
            <div class="lyear-aside-toggler">
              <span class="lyear-toggler-bar"></span>
              <span class="lyear-toggler-bar"></span>
              <span class="lyear-toggler-bar"></span>
            </div>
            
          </div>
          
          <ul class="topbar-right">
            <li class="dropdown dropdown-profile">
              <a href="javascript:void(0)" data-toggle="dropdown">
                <img class="img-avatar img-avatar-48 m-r-10" src="<?php echo pic2($M_head)?>" alt="<?php echo $M_login?>" />
                <span><?php echo $M_login?> <span class="caret"></span></span>
              </a>
              <ul class="dropdown-menu dropdown-menu-right">
                <li> <a href="../" target="_blank"><i class="mdi mdi-account"></i> 前往首页</a> </li>
                <li> <a href="login.php?action=unlogin"><i class="mdi mdi-logout-variant"></i> 退出登录</a> </li>
              </ul>
            </li>
            <!--切换主题配色-->
        <li class="dropdown dropdown-profile">余额：<?php echo $M_money;?>元 
            <a href="pay.php" class="btn btn-xs btn-info" style="padding:0px">充值</a></li>
            <!--切换主题配色-->
          </ul>
          
        </div>
      </nav>
      
    </header>