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

<!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">
    <!-- 单个page ,第一个.page默认被展示-->
    <div class="page page-current" id='user-info-page'>
        <header class="bar bar-nav regtitle">
               <a class="button button-link button-nav pull-left" href="javascript:history.back(-1)">
                <span class="icon icon-left fontcolor"></span>
            </a>
            <h1 class="title fontcolor">个人资料</h1>
        </header>

        <div class="content">
            <!-- 这里是页面内容区 -->
            <%string xm = "";
              string tel = "";
              string card = "";
              string xb = "";
              string photo = "";
              string beizhu = "";
              if (Request.QueryString["id"]!=null)
              {
                  string daiid = Request.QueryString["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();        
                      beizhu = tb.Rows[0]["content"].ToString();                                           
                  }
              } 
             %>
            <div class="page-settings">
                <div class="list-block">
                    <ul>
                        <li>
                            <a href="" class="item-content">
                                <div class="item-inner">
                                    <div class="item-title">头像</div>
                                    <div class="item-after" style="max-height: 2.4rem;"><img src="" width="80"></div>
                                </div>
                            </a>
                        </li>
                        <li class="item-content">
                            <div class="item-inner">
                                <div class="item-title">姓名</div>
                                <div class="item-after"><%=xm %></div>
                            </div>
                        </li>
                        <li>
                            <a href="#" class="item-content">
                                <div class="item-inner">
                                    <div class="item-title">手机号码</div>
                                    <div class="item-after">
                                       <%=tel %> </div>
                                </div>
                            </a>
                        </li>
                        <li class="item-content">
                            <div class="item-inner">
                                <div class="item-title">性别</div>
                                <div class="item-after"><%=xb %></div>
                            </div>
                        </li>
                        
                        <li>
                            <a href="#" class="item-content">
                                <div class="item-inner">
                                    <div class="item-title">简介</div>
                                    <div class="item-after"><%=beizhu %></div>
                                </div>
                            </a>
                        </li>
                    </ul>
                </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>
</html>
