<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index1.aspx.cs" Inherits="AgentManager.admin.index1" %>

<!DOCTYPE HTML>
<html>
 <head>
  <title>代理后台管理</title>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <link href="assets/css/dpl-min.css" rel="stylesheet" type="text/css" />
  <link href="assets/css/bui-min.css" rel="stylesheet" type="text/css" />
   <link href="assets/css/main-min.css" rel="stylesheet" type="text/css" />

 </head>
 <body>

  <div class="header" >
    


    <div class="dl-log">欢迎您，<span class="dl-log-user"><%=user %></span><a href="out.aspx" title="退出系统" class="dl-log-quit">[退出]</a>
    </div>
  </div>
   <div class="content">
    <div class="dl-main-nav">
      <div class="dl-inform"><div class="dl-inform-title">贴心小秘书<s class="dl-inform-icon dl-up"></s></div></div>
      <ul id="J_Nav"  class="nav-list ks-clear">
        <li class="nav-item dl-selected"><div class="nav-item-inner nav-home">首页</div></li>
       
      </ul>
    </div>
    <ul id="J_NavContent" class="dl-tab-conten">

    </ul>
   </div>
  <script type="text/javascript" src="assets/js/jquery-1.8.1.min.js"></script>
  <script type="text/javascript" src="./assets/js/bui.js"></script>
  <script type="text/javascript" src="./assets/js/config.js"></script>

  <script>

       //检测session存在
      
setInterval('refreshQuery()',2000); 
/* 刷新查询 */
function refreshQuery(){
    $.post("/admin/ajax/sessions.ashx", {}, function (msg) {
         if (msg == "ok") {
                    window.location.reload();
                } else if (msg != "no") {
                    alert(msg)
                     window.location.reload();
                }
    })
}
    BUI.use('common/main',function(){
      var config = [{
          id:'menu', 
          homePage : 'home',
          menu:[{
              text:'首页内容',
              items:[
                {id:'home',text:'代理首页',href:'/admin/home.aspx',closeable : false},
              
              ]
            },{
              text:'代理概况',
              items:[
                {id:'tbgk',text:'图表概况',href:'/admin/index.aspx'},
                {id:'jrgk',text:'今日概况',href:'/admin/agenttoday.aspx'} , 
                {id:'ykbb',text:'亏盈报表',href:'/admin/agentvictoryreport.aspx'} , 
                {id:'lsbb',text:'流水报表',href:'/admin/agentincomereport.aspx'},
                {id:'xjlsbb',text:'直属代理流水报表',href:'/admin/agentport.aspx'}  
              ]
            },{
              text:'代理页面',
              items:[
                {id:'addxjhy',text:'添加下级会员',href:'loweradd.aspx'},
                {id:'updatepwd',text:'修改密码',href:'updatepwd.aspx'},
                {id:'hylb',text:'下级会员列表',href:'lowerlist.aspx'},
                {id:'xzjl',text:'下级会员下注记录',href:'lowerbetdata.aspx'},
                {id:'czjl',text:'下级会员充值记录',href:'lowercreditdata.aspx'},
                {id:'txjl',text:'下级会员提现记录',href:'lowershowdata.aspx'},
                {id:'zzjl',text:'下级会员转账记录',href:'lowerrecodedata.aspx'},
                {id:'zzjl',text:'下级会员反水记录',href:'lowerfsdata.aspx'}
                
              ]
            }]
          }];
      new PageUtil.MainPage({
        modulesConfig : config
      });
      });

     

  </script>
 </body>
</html>
