<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="daiindex.aspx.cs" Inherits="jiaowu.app.daiindex" %>

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>周口新翔驾校-手机版</title>
    <meta name="viewport" content="initial-scale=1, maximum-scale=1">
    <link rel="shortcut icon" href="/favicon.ico">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <link rel="stylesheet" href="static/h5/css/sm.min.css">
    <link rel="stylesheet" href="static/h5/css/sm-extend.min.css">
    <link rel="stylesheet" href="static/h5/css/style.css">
    <link rel="stylesheet" type="text/css" href="static/h5/css/fonts-style.css">
</head>
<body>
    <form id="form1" runat="server">
   <div class="page-group">
    <div id="home-page" class="page">
        <header class="bar bar-nav regtitle">
            <a class="button button-link button-nav pull-left" href="#">
                <span class="icon icon-home fontcolor"></span>
            </a>
            <h1 class="title fontcolor">个人中心</h1>
        </header>
        <div class="content">
            <!-- 这里是页面内容区 -->
            <%string daixm = "";
              string daitel = "";
              string daicard = "";
              if (xxsoft_check.check.dailogin())
              {
                  string daiid = Request.Cookies["dai"]["id"].ToString();
                  System.Data.DataTable tb = SqlHelper.dataTable("select * from daiban where id="+daiid+"");
                  if (tb.Rows.Count > 0)
                  {
                      daixm = tb.Rows[0]["userxm"].ToString();
                      daitel = tb.Rows[0]["tel"].ToString();
                      daicard = tb.Rows[0]["card"].ToString();
                  }
              } 
             %>
            <div class="page-settings">
                <div class="list-block media-list person-card">
                    <ul>
                        <li>
                            <div href="#" class="item-content">
                                <div class="item-media"></div>
                                <div class="item-inner">
                                    <div class="item-title-row">
                                        <div class="item-title"><%=daixm %></div>
                                    </div>
                                    <div class="item-subtitle"><%=daitel %></div>
                                    <div class="item-text"></div>
                                </div>
                            </div>
                        </li>
                    </ul>
                </div>
                <div class="row text-center">
                    <div class="col-50">
                        <a href="daistuyuekao.aspx">
                            <h4><img src="static/h5/img/ico02.png" width="32"></h4>
                            <div class="color-gray">学员约考</div>
                        </a>
                    </div>
                    <div class="col-50">
                        <a href="news.aspx">
                            <h4><img src="static/h5/img/ico01.png" width="32"></h4>
                            <div class="color-gray">驾校通告</div>
                        </a>
                    </div>
                </div>
                <div class="list-block list">
                    <ul>
                      
                        <li>
                            <a href="daiinfo.aspx" class="item-link item-content">
                                <div class="item-media"><i class="icon icon-card"></i></div>
                                <div class="item-inner">
                                    <div class="item-title">个人资料</div>
                                </div>
                            </a>
                        </li>
                        <li>
                            <a href="daistu.aspx" class="item-link item-content">
                                <div class="item-media"><i class="icon icon-friends"></i></div>
                                <div class="item-inner">
                                    <div class="item-title">我的学员</div>
                                </div>
                            <a>
                        </li>
                    </ul>
                </div>
                <div class="content-block">
                    <a href="daiexit.aspx" data-transition="slide-out" class="button button-big button-fill button-danger">退出登录</a>
                </div>
            </div>
        </div>

    </div>
</div>
    </form>
<script type='text/javascript' src='static/h5/js/zepto.js' charset='utf-8'></script>
<script type='text/javascript' src='static/h5/js/config.js' charset='utf-8'></script>
<script type='text/javascript' src='static/h5/js/sm.min.js' charset='utf-8'></script>
<script type='text/javascript' src='static/h5/js/sm-extend.min.js' charset='utf-8'></script>
<script type='text/javascript' src='static/h5/js/agents.js' charset='utf-8'></script>
</body>
</html>
