<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="teaindex.aspx.cs" Inherits="jiaowu.app.teaindex" %>
<!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="http://www.xxjxkh.com/">
                <span class="icon icon-home fontcolor"></span>
            </a>
            <h1 class="title fontcolor">教练中心</h1>
        </header>
        <div class="content">
         <%string xm = "";
              string tel = "";
              string card = "";
              string xb = "";
              string photo = "";
              string beizhu = "";
              string chexing = "";
              if (xxsoft_check.check.tealogin())
              {
                  string daiid = Request.Cookies["tea"]["id"].ToString();
                  System.Data.DataTable tb = SqlHelper.dataTable("select * from teacher where id="+daiid+"");
                  if (tb.Rows.Count > 0)
                  {
                      xm = tb.Rows[0]["userxm"].ToString();
                      tel = tb.Rows[0]["tel"].ToString();
                      card = tb.Rows[0]["card"].ToString();
                      xb = tb.Rows[0]["xb"].ToString();   
                      photo = tb.Rows[0]["photo"].ToString();                                             
                  }
              } 
             %>
            <!-- 这里是页面内容区 -->
            <div class="page-settings">
                <div class="list-block media-list person-card">
                    <ul>
                        <li>
                            <div href="#" class="item-content">
                                <div class="item-media"><img src="<%=photo %>" width="80" style="height: 80px"></div>
                                <div class="item-inner">
                                    <div class="item-title-row">
                                        <div class="item-title"><%=xm %></div>
                                    </div>
                                    <div class="item-subtitle"><%=card %></div>
                                </div>
                            </div>
                        </li>
                    </ul>
                </div>
                <div class="row text-center">
                                   
                    <div class="col-50">
                        <a href="stujishi.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="teainfo.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="kecheng.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="stuyueche.aspx" class="item-link item-content">
                                <div class="item-media"><i class="icon icon-message"></i></div>
                                <div class="item-inner">
                                    <div class="item-title">练车记录</div>
                                </div>
                            </a>
                        </li>
                        <li>
                            <a href="teastu.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>
                       
                        <li>
                            <a href="teastuyuekao.aspx" class="item-link item-content">
                                <div class="item-media"><i class="icon icon-message"></i></div>
                                <div class="item-inner">
                                    <div class="item-title">学员约考</div>
                                </div>
                            </a>
                        </li>
                    </ul>
                </div>
                <div class="content-block">
                    <a href="teaexit.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/teacher.js' charset='utf-8'></script>
</body>
