<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="stuindex.aspx.cs" Inherits="jiaowu.app.stuindex" %>
<!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 stuxm = "";
              string tel = "";
              string photo = "";
              string jindu = "";
              string daiid = "0";
              string teaid = "0";
              if (xxsoft_check.check.stulogin())
              {
                  string stuid = Request.Cookies["stu"]["id"].ToString();
                  System.Data.DataTable tb = SqlHelper.dataTable("select * from vstudent where id=" + stuid + "");
                  if (tb.Rows.Count > 0)
                  {
                      stuxm = tb.Rows[0]["stuxm"].ToString();
                      tel = tb.Rows[0]["tel"].ToString();
                      photo= tb.Rows[0]["photo"].ToString();
                      daiid= tb.Rows[0]["daibanid"].ToString();                      
                       teaid= tb.Rows[0]["teaid"].ToString();                     
                      jindu=xxsoft_user.userclass.strzt(tb.Rows[0]["lcid"].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"><%=stuxm %></div>
                                    </div>
                                    <div class="item-subtitle"><%=tel %></div>
                                    <div class="item-text">进度：<strong><%=jindu %></strong></div>
                                </div>
                            </div>
                        </li>
                    </ul>
                </div>
                <div class="row text-center">
                    <div class="col-25">
                        <a href="jishiadd.aspx">
                            <h4><img src="static/h5/img/booking-ico.png" width="32"></h4>
                            <div class="color-gray">练车计时</div>
                        </a>
                    </div>
                    <div class="col-25">
                        <a href="yueche.aspx">
                            <h4><img src="static/h5/img/train-ico.png" width="32"></h4>
                            <div class="color-gray">练车记录</div>
                        </a>
                    </div>
                    <div class="col-25">
                        <a href="yuekaoadd.aspx">
                            <h4><img src="static/h5/img/ico04.png" width="32"></h4>
                            <div class="color-gray">在线约考</div>
                        </a>
                    </div>
                    <div class="col-25">
                        <a href="yuekao.aspx">
                            <h4><img src="static/h5/img/ico03.png" width="32"></h4>
                            <div class="color-gray">约考记录</div>
                        </a>
                    </div>
                </div>
                <div class="list-block list">
                    <ul>
                        <li>
                            <a href="stuinfo.aspx" class="item-link item-content">
                                <div class="item-media"><i class="icon icon-me"></i></div>
                                <div class="item-inner">
                                    <div class="item-title">个人资料</div>
                                </div>
                            </a>
                        </li>
                        <li>
                            <a href="yuecheadd.aspx" class="item-link item-content">
                                <div class="item-media"><i class="icon icon-emoji"></i></div>
                                <div class="item-inner">
                                    <div class="item-title">练车预约</div>
                                </div>
                            </a>
                        </li>
                        <li>
                            <a href="teaview.aspx?id=<%=teaid %>" 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="daiview.aspx?id=<%=daiid %>" class="item-link item-content">
                                <div class="item-media"><i class="icon icon-emoji"></i></div>
                                <div class="item-inner">
                                    <div class="item-title">业务代办</div>
                                </div>
                            </a>
                        </li>
                        <li>
                            <a href="news.aspx" class="item-link item-content">
                                <div class="item-media"><i class="icon icon-browser"></i></div>
                                <div class="item-inner">
                                    <div class="item-title">驾校公告</div>
                                </div>
                            </a>
                        </li>
                       
                    </ul>
                </div>
                <div class="content-block">
                    <a href="exit.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/base.js' charset='utf-8'></script>
</body>
</html>