<%@ page language="C#" autoeventwireup="true" inherits="SysManage_LogOperate, App_Web_imj1v1td" theme="Themes" stylesheettheme="Themes" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="cc1" %>
<!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>
        <script language="javascript" type="text/javascript" src="../datepicker/WdatePicker.js"></script>
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        #txtSTime
        {
            width: 100px;
        }
        #txtETime
        {
            width: 100px;
        }
        .style2
        {
            width: 77px;
        }
        .style3
        {
            width: 24px;
        }
        .style4
        {
            width: 78px;
        }
        .style5
        {
            width: 106px;
        }
        </style>
</head>
<body>
    <form id="form1" runat="server" defaultbutton="btnSearch">
    <div class="right_postion_bg" id="divTitle" runat="server">
        <span class="s_potion_font"><img src="../Images/homen.gif" class="pic_style" />   当前的位置：系统管理>关键操作日志</span>
    </div>
    
<div class="box">
<table width="100%" cellpadding="0" cellspacing="0">
    <tr>
         <td align="right">
             <table class="style1" bgcolor="white">
                 <tr>
                     <td align="left" class="style5">
                         操作时间范围:</td>
                     <td class="style2">
                        <input id="txtSTime" name="txtSTime" style="width:100px;" class="Wdate"  runat="server" type="text" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"/>
                       </td>
                     <td class="style3">
                         到</td>
                     <td class="style4">
                     <input id="txtETime" name="txtETime" style="width:100px;" class="Wdate"  runat="server" type="text" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"/>
                       </td>
                     <td align="left">
                         <asp:Button ID="btnSearch" runat="server" Text="查询" onclick="btnSearch_Click" />
                     </td>
                     <td>
                         &nbsp;</td>
                     <td>
                         &nbsp;</td>
                     <td>
                         &nbsp;</td>
                 </tr>
             </table>
         </td>
    </tr>
</table>
</div>
<div class="box">
 <asp:GridView ID="gvLogOperate" runat="server" AllowPaging="True" 
        AutoGenerateColumns="False" DataKeyNames="ID" 
        onrowdatabound="gvLogOperate_RowDataBound">
    <PagerSettings Visible="False" />
    
       <Columns>
      
		 <asp:BoundField DataField="Usercname" ItemStyle-Width="80px" HeaderText="用户" />
		 <asp:BoundField DataField="OperateName" HeaderText="操作名称" />
		 <asp:BoundField DataField="ObjectName" HeaderText="对象名称" />
		 <asp:BoundField DataField="OperateDateTime"  HeaderText="操作时间" />
		   <asp:TemplateField HeaderText="操作明细">
               <ItemTemplate>
                   <asp:Label ID="Label1" runat="server" Text='<%#  Common.CutString(Eval("OperateDetail").ToString(),200) %>'></asp:Label>
               </ItemTemplate>
             
               <ItemStyle Width="300px"  HorizontalAlign="Left" />
           </asp:TemplateField>
 </Columns>
   
</asp:GridView>
</div>
<div class="box">
    <cc1:AspNetPager ID="myAspNetPager" runat="server" AlwaysShow="True" CssClass="cut_pager" PageSize="10"
                                FirstPageText="首页&nbsp;&nbsp;" HorizontalAlign="Right" InputBoxStyle="width:20px;" 
                                LastPageText="尾页" NextPageText="&nbsp;&nbsp;下一页&nbsp;&nbsp;" NumericButtonTextFormatString="  {0}"
                                OnPageChanging="AspNetPager1_PageChanging" PrevPageText="上一页"  ShowCustomInfoSection="Left" CustomInfoTextAlign="Left"
                                ShowInputBox="Always">
                            </cc1:AspNetPager>
</div>
    </form>
</body>
</html>

