<%@ page language="C#" masterpagefile="~/Admin/MasterPage/Main.master" autoeventwireup="true" inherits="admin_Pub_logsList, App_Web_oq0yyit1" title="无标题页" %>
<%@ Register TagName="FenYe" TagPrefix="Uc1" Src="~/ascx/fenYe.ascx" %>
<%@ Register Src="~/Admin/Controls/CurrTool_Panel.ascx" TagName="CurrTool" TagPrefix="html" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
  <link rel="stylesheet" type="text/css" href="../../css/fenye.css" />
  <script src="../../js/calendar.js" type="text/javascript" charset="gb2312"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
  <div class="divTools">
    <div class="tool-nav">
      <div class="title"> 导航栏</div>
    </div>
    <html:CurrTool ID="CurrTool1" Title=" 查看操作日志" Version="120402" runat="server"/>
    <div class="clear"> </div>
    <div class="tool-search" runat="server" id="proSeach">
      <div class="title"></div>
      <div class="search-content">
        <div>
        <asp:DropDownList ID="DropHeadFlag" runat="server" Enabled="false" AutoPostBack="true" OnSelectedIndexChanged="DropHeadFlag_SelectedIndexChanged">
            <asp:ListItem Value="0">全部</asp:ListItem>
            <asp:ListItem Value="1">会员组</asp:ListItem>
            <asp:ListItem Value="2">员工组</asp:ListItem>
        </asp:DropDownList>
          搜索字：<asp:TextBox runat="server" ID="txtSeach"></asp:TextBox>
          日志时间
          从&nbsp;
          <input runat="server" class="textDate" value="" size="10" id="startdate" onclick="calendar(this)" />
          到&nbsp;
          <input runat="server" class="textDate" value="" size="10" id="enddate" onclick="calendar(this)" />
          &nbsp;&nbsp;
          
          <asp:Button runat="server" ID="butSeach" Text = "搜  索" CssClass="button" OnClick="butSeach_Click" />
        </div>
      </div>
    </div>
    <div class="hr" runat="server" id="hr1"> </div>
  </div>
  <div class="clear"> </div>
  <div class="divContent"> 
    <!-- 列表显示开始  -->
    <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
      <ContentTemplate>
    <div id="divList" runat="server">
      <div class="divth" style="margin-bottom:5px;" runat="server" id="divTool">
          <asp:Button ID="BtnDelete" Text="删除选中项" runat="server" CssClass="button" OnClick="BtnDelete_Click" />
          <asp:Button ID="btnAll" Text=" 全 选 " runat="server" CssClass="button" OnClick="BtnAll_Click" />
          <asp:Button ID="btnInverse" Text=" 反 选 " runat="server" CssClass="button" OnClick="btnInverse_Click" />
      </div>
      <div class="hr" runat="server" id="hr2"> </div>
      <asp:DataGrid ID="DataGrid1" runat="server" AutoGenerateColumns="False" CssClass="content-table"
                    CellPadding="0" GridLines="None" Width="100%"
                    OnSelectedIndexChanged="DataGrid1_SelectedIndexChanged">
        <ItemStyle CssClass="BotDas" HorizontalAlign="Left" />
        <HeaderStyle CssClass="tableTitle" />
        <SelectedItemStyle CssClass="linkDown" />
        <Columns>
          <asp:TemplateColumn HeaderText=" 选中 " ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="40px">
            <ItemTemplate>
              <asp:CheckBox runat="server" ID="ChkSelect" />
            </ItemTemplate>
          </asp:TemplateColumn>
        <asp:TemplateColumn HeaderText="选择">
          <ItemTemplate>
            <asp:LinkButton ID="LinkButton1" runat="server" CommandName="Select" CausesValidation="False" Text="选择"></asp:LinkButton>
          </ItemTemplate>
        </asp:TemplateColumn>
        <asp:BoundColumn DataField="Logtype" HeaderText="日志类型" />
        <asp:BoundColumn DataField="UserName" HeaderText="操作人" />
        <asp:BoundColumn DataField="LogFileName" HeaderText="文件名" />
        <asp:BoundColumn DataField="LogContent" HeaderText="日志内容" />
        <asp:BoundColumn DataField="LogTime" HeaderText="日志生成时间" />
        <asp:TemplateColumn HeaderText="变量" ItemStyle-Width="2px" HeaderStyle-Width="2px" Visible="false">
          <ItemTemplate>
            <asp:Literal runat="server" Visible="false" ID="Uid" Text='<%#DataBinder.Eval(Container.DataItem,"Uid") %>'></asp:Literal>
          </ItemTemplate>
        </asp:TemplateColumn>
        <asp:TemplateColumn HeaderText=" " ItemStyle-Width="2px">
          <ItemTemplate> &nbsp; </ItemTemplate>
        </asp:TemplateColumn>
        </Columns>
      </asp:DataGrid>
      <div class="divth">
        <Uc1:FenYe runat="server" ID="FenYe" />
      </div>
    </div>
      </ContentTemplate>
    </asp:UpdatePanel>
    <!-- 列表显示结束 --> 
  </div>
  <asp:HiddenField ID="hide1" runat="server" />
</asp:Content>
