<%@ Page Title="" Language="C#" MasterPageFile="~/BackStage/SiteMaster.Master" AutoEventWireup="true" CodeBehind="Frm_ZhuCeLoginInfo.aspx.cs" Inherits="AndroidSevice.Web.Reger.Frm_ZhuCeLoginInfo" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">
     function ShowDataHelp(_url, _title, _handler) {
         layer.open({
             type: 2,
             area: ['700px', '500px'],
             fix: false, //不固定
             maxmin: true,
             content: _url
         });
     }
     function sAlert(info) {
         var message = info;
         layer.alert(message, 8); //风格一，layer弹出层特效
     }
     function sAlertOut(info) {
         layer.alert(info, { closeBtn: 0
         }, function () {
             window.location.href = '../../default.aspx'; //刷新父页面
         });
     }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="content-header">
				<div class="btn-group">
				</div>
			</div>
	<div id="breadcrumb">
				<a href="#" title="Go to Home" class="tip-bottom"><i class="icon-home"></i>注册</a>
				<a href="#" class="current">登陆信息</a>
	</div>
	<div class="container-fluid">
				<div class="row-fluid">
					<div class="span12">
						<div class="widget-box">
							<div class="widget-title">
								<span class="icon">
									<i class="icon-th-list"></i>
								</span>
								<h5>登陆信息</h5>
                                </div>
							<div class="widget-content">
                              <span>
							  <span></span>
							 </span>
                              <table id="query" class="table table-bordered table-striped table-hover">
                                    <tbody>
                                    <tr>
											<td>用户名：<input type="text" class="inputwidth" name="username" id="username" value="<%=_username %>"/></td>
                                            <td>手机型号： <input type="text" class="inputwidth" name="telxno" id="telxno" value="<%=_telxno %>"/></td>
                                            <td>序列号： <input type="text" class="inputwidth" name="telnumber" id="telnumber" value="<%=_telnumber %>"/></td>
                                            <td>手机号： <input type="text" class="inputwidth" name="telno" id="telno" value="<%=_telno %>"/></td>
                                            <td><button type="submit" name="sub" value="sub" class="btn" >查询</button></td>
										</tr>
                                    </tbody>
							</table>
                             <table id="wew" class="table table-bordered table-striped table-hover">
                                    <thead>
										<tr>
                                            <th style=" width:30px">序号</th>
											<th>用户名</th>
											<th>手机型号</th>
											<th>手机号</th>
                                            <th>手机串号</th>
                                            <th>使用人</th>
                                            <th>最后登录时间</th>
                                            <th>解绑</th>
                                            <th>离职</th>
										</tr>
									</thead>
                                    <tbody>
                                    <%
                                        if (dtlist != null)
                                        {
                                            for (int i = 0; i < dtlist.Rows.Count; i++)
                                            {
                                    %>
                                    <tr>
                                            <td><%=i+1 %></td>
											<td><%=dtlist.Rows[i]["UserName"].ToString()%></td>
                                            <td><%=dtlist.Rows[i]["PhoneType"].ToString()%></td>
                                            <td><%=dtlist.Rows[i]["PhoneTel"].ToString()%></td>
                                            <td><%=dtlist.Rows[i]["Imie"].ToString()%></td>
                                            <td><%=dtlist.Rows[i]["UsePeople"].ToString()%></td>
                                            <td><%=dtlist.Rows[i]["logindate"].ToString() %></td>
                                            <td><a href="Frm_ZhuCeLoginInfo.aspx?subherf=del&jiebangstring=<%=dtlist.Rows[i]["Guid"].ToString()+","+dtlist.Rows[i]["UpID"].ToString()+","+dtlist.Rows[i]["Imie"].ToString()+","+dtlist.Rows[i]["UserName"].ToString() %>">解绑</a></td>
                                            <td><a href="Frm_ZhuCeLoginInfo.aspx?subherf=lz&jiebangstring=<%=dtlist.Rows[i]["Guid"].ToString()+","+dtlist.Rows[i]["UpID"].ToString()+","+dtlist.Rows[i]["Imie"].ToString()+","+dtlist.Rows[i]["UserName"].ToString() %>&delete=<%=dtlist.Rows[i]["deleted"].ToString() %>"><%=dtlist.Rows[i]["deleted"].ToString() == "0" ? "离职" : "恢复"%></a></td>
										</tr>
                                        <%
                                            }
                                        }
                                         %>
                                    </tbody>
							</table>
                            <div class="pager">
                            <webdiyer:AspNetPager ID="AspNetPager1" runat="server" FirstPageText="首页" LastPageText="尾页" PrevPageText="上一页" NextPageText="下一页" 
                            onpagechanging="AspNetPager1_PageChanging"
                            PageSize="20" AlwaysShow="True" />
                            </div>
							</div>
						</div>
					</div>
				</div>
			</div>
</asp:Content>