<%@ page language="C#" autoeventwireup="true" inherits="diary_inoutdiary, zhifakaohe_deploy" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <style type="text/css">
.STYLE1 {font-size: 12px}
.STYLE3 {font-size: 12px; font-weight: bold; }
        
        .style8
        {
            color: #03515d;
            font-size: 12px;
            width: 65px;
        }
        
        .STYLE4 {
	color: #03515d;
	font-size: 12px;
}
        
        a:link                       {font-size: 9pt;color: #2F6589; text-decoration: none;}
            .style11
        {
            width: 56px;
        }
        
        .style9
        {
            width: 155px;
        }
                
            .style7
         {
             color: #03515d;
             font-size: 12px;
             width: 373px;
         }
        .style12
        {
            width: 512px;
        }
        .style14
        {
            width: 88px;
        }
        .style15
        {
            width: 199px;
        }
        .style16
        {
            width: 53px;
        }
    </style>
     <link href="../css/common.css" rel="stylesheet" type="text/css" />
    <script language="javascript" src="../js/calc.js" charset="gb2312"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    <div>
    
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="30" 
          background="../images/tab_05.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12" height="30">
            <img src="../images/tab_03.gif" 
                width="12" height="30" /></td>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td valign="middle" class="style12">&nbsp;</td>
            <td align="middle" class="style8"><span class="center_title_1">&nbsp;<asp:CheckBox ID="CheckBox2" runat="server" Text="全选" 
                            oncheckedchanged="CheckBox2_CheckedChanged"  AutoPostBack="True" />
            </span></td>
            <td width="28" align="middle" class="STYLE4">
                <img height="14" src="../images/083.gif" 
      width="14" /></td>
            <td class="STYLE4" width="27">
                        <asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click" OnClientClick="return confirm('确定删除吗？无法恢复！')">删除</asp:LinkButton>
                        </td>
            <td width="20" align="middle" class="STYLE4">
                <img height="14" src="../images/outExcel.gif" 
      width="14" /></td>
            <td class="STYLE4" width="66">
                <asp:LinkButton ID="LinkButton2" runat="server" onclick="LinkButton2_Click1">导出EXCEL</asp:LinkButton>
              </td>
          </tr>
        </table></td>
        <td width="16">
            <img src="../images/tab_07.gif" 
                width="16" height="30" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8" 
              background="../images/tab_12.gif">&nbsp;</td>
        <td>
    <div>
         <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate> <table width="100%"  border="0" bgcolor="#B8E4FF" class="STYLE1">
            <tr bgcolor="#FFFFFF">
              <td class="style11"><span lang="zh-cn">登录人</span></td>
              <td class="style9">
                  <asp:DropDownList ID="ddlUser" runat="server" AppendDataBoundItems="True">
                      <asp:ListItem Value="0">全部人员</asp:ListItem>
                  </asp:DropDownList>
                </td>
              <td class="style14"><span lang="zh-cn">时间</span></td>
              <td class="style15">
                  <asp:TextBox ID="txtstar" runat="server" onfocus="HS_setDate(this)" 
                      Width="85px"></asp:TextBox>
                  <span lang="zh-cn">至<asp:TextBox ID="txtend" runat="server" 
                      onfocus="HS_setDate(this)" Width="85px"></asp:TextBox>
                  </span>
                </td>
                <td class="style16">
                    <span lang="zh-cn">事件</span></td>
                <td>
                    <asp:RadioButtonList ID="rbldo" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="1">登录</asp:ListItem>
                        <asp:ListItem Value="0">退出</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr bgcolor="#FFFFFF" align="center">
              <td colspan="6">
                  <asp:Button ID="ButtonSel" runat="server" onclick="ButtonSel_Click" Text="搜索" />
                  <span class="center_title_1"><span class="STYLE1">&nbsp;<input name="Submit" 
                      type="reset" value="重 置" /> </span></span></td>
              </tr>
          </table>
        <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
            AutoGenerateColumns="False" EmptyDataText="没有或没有符合条件的登录日志信息！" 
            Font-Size="Small"  
            OnRowDeleting="GridView1_RowDeleting" Width="100%" CssClass="GridViewStyle" PageSize="20" 
            >
            <Columns>
                <asp:TemplateField HeaderText="全选">
                   <ItemTemplate>
                   <asp:CheckBox ID="CheckBox1" runat="server" />
                    </ItemTemplate>
                 </asp:TemplateField>
                <asp:BoundField DataField="id" HeaderText="ID" InsertVisible="False" 
                    ReadOnly="True" />
                <asp:BoundField DataField="userxm" HeaderText="姓名" />
                <asp:TemplateField HeaderText="事件">
                    <ItemTemplate>
                       <%# Eval("doing").ToString()=="1"?"<font color=green>登录</font>":"<font color=red>退出</fong>" %>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="shijian" HeaderText="时间"/>
                <asp:BoundField DataField="ip" HeaderText="IP" />
                <asp:CommandField HeaderText="删除" ShowDeleteButton="True" 
                    ShowHeader="True"  
                    DeleteText="&lt;div id=&quot;de&quot; onclick=&quot;JavaScript:return confirm('确定删除考核记录吗？无法恢复！')&quot;&gt;删除&lt;/div&gt; "/>
            </Columns>
            <HeaderStyle CssClass="HeaderStyle" />
            <PagerStyle CssClass="PagerStyle" /> 
            <RowStyle CssClass="RowStyle" />
            <PagerSettings Visible=false />
        </asp:GridView>
    </div>        </ContentTemplate>
            </asp:UpdatePanel>
            
          </td>
        <td width="8" 
              background="../images/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="35" 
          background="../images/tab_19.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12" height="35">
            <img src="../images/tab_18.gif" 
                width="12" height="35" /></td>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td class="style7">&nbsp;&nbsp;<asp:Label ID="LblRecordCount" runat="server"></asp:Label>
                                            <span lang="zh-cn">每页页<asp:DropDownList ID="pgsize" runat="server" 
                                                AutoPostBack="True" onselectedindexchanged="pgsize_SelectedIndexChanged">
                                                <asp:ListItem>10</asp:ListItem>
                                                <asp:ListItem>15</asp:ListItem>
                                                <asp:ListItem Selected="True">20</asp:ListItem>
                                                <asp:ListItem>30</asp:ListItem>
                                                <asp:ListItem>40</asp:ListItem>
                                                <asp:ListItem>50</asp:ListItem>
                                                <asp:ListItem>100</asp:ListItem>
                                                <asp:ListItem>150</asp:ListItem>
                                                <asp:ListItem>200</asp:ListItem>
                                                <asp:ListItem>300</asp:ListItem>
                                                <asp:ListItem>400</asp:ListItem>
                                                <asp:ListItem>500</asp:ListItem>
                                            </asp:DropDownList>
                                            条，</span><asp:Label ID="LblCurrentIndex" runat="server"></asp:Label>
                        <asp:Label ID="LblPageCount" runat="server"></asp:Label>
                        </td>
            <td class="STYLE4"><asp:LinkButton ID="btnFirst" CommandArgument="first" OnClick="PagerButtonClick"
                            runat="server">首 页</asp:LinkButton>&nbsp;<asp:LinkButton ID="btnPrev" CommandArgument="prev" OnClick="PagerButtonClick" runat="server">上一页</asp:LinkButton>
                        <asp:LinkButton ID="btnNext" CommandArgument="next" OnClick="PagerButtonClick" runat="server">下一页</asp:LinkButton>
                        <asp:LinkButton ID="btnLast" CommandArgument="last" OnClick="PagerButtonClick" runat="server">尾 页</asp:LinkButton>
                        
跳转到第<asp:DropDownList ID="ddlCurrentPage" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"> 
</asp:DropDownList>页</td>
          </tr>
        </table></td>
        <td width="16">
            <img src="../images/tab_20.gif" 
                width="16" height="35" /></td>
      </tr>
    </table></td>
  </tr>
</table>

        

    </div>
    
    </div>
    </form>
</body>
</html>
