<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="daiinfo.aspx.cs" Inherits="jiaowu.app.daiinfo" %>
<!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">
          
            <div class="page-settings">
                <div class="list-block">
                    <ul>
  <!-- 这里是页面内容区 -->
            <%string daixm = "";
              string daitel = "";
              string daicard = "";
              string xb = "";
              string csny = "";
              string beizhu = "";
              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();                      
             %>
                        <li class="item-content">
                            <div class="item-inner">
                                <div class="item-title">姓名</div>
                                <div class="item-after"><%=daixm %></div>
                            </div>
                        </li>
                        <li>
                            <a href="#" class="item-content">
                                <div class="item-inner">
                                    <div class="item-title">身份证号码</div>
                                    <div class="item-after"><%=daicard %></div>
                                </div>
                            </a>
                        </li>
                        <li>
                            <a href="#" class="item-content">
                                <div class="item-inner">
                                    <div class="item-title">手机号码</div>
                                    <div class="item-after"><%=daitel %></div>
                                </div>
                            </a>
                        </li>
                           <li class="item-content">
                            <div class="item-inner">
                                <div class="item-title">上次登录时间</div>
                                <div class="item-after"><%=tb.Rows[0]["lastlogintime"].ToString()%></div>
                            </div>
                        </li>
                        <li class="item-content">
                            <div class="item-inner">
                                <div class="item-title">上次登录IP</div>
                                <div class="item-after"><%=tb.Rows[0]["lastloginip"].ToString()%></div>
                            </div>
                        </li>
                        <li class="item-content">
                            <div class="item-inner">
                                <div class="item-title">本次登录时间</div>
                                <div class="item-after"><%=tb.Rows[0]["thislogintime"].ToString()%></div>
                            </div>
                        </li>
                        <li>
                            <a href="#" class="item-content">
                                <div class="item-inner">
                                    <div class="item-title">本次登录IP</div>
                                    <div class="item-after"><%=tb.Rows[0]["thisloginip"].ToString()%></div>
                                </div>
                            </a>
                        </li>
                        <li>
                            <a href="#" class="item-content">
                                <div class="item-inner">
                                    <div class="item-title">登录次数</div>
                                    <div class="item-after"><%=tb.Rows[0]["logintimes"].ToString()%></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/agents.js' charset='utf-8'></script>
</body>
</html>
