<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Action_List.aspx.cs" Inherits="TotCms.Web.Office.Module.Action_List" %>
<%@ Register assembly="TotCms.Controls" namespace="TotCms.Controls" 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>    
    <link href="../style/global.css" rel="stylesheet" type="text/css" />
    <link href="../../js/jquery-ui-1.8.10/css/ui-lightness/jquery-ui-1.8.10.custom.css" rel="stylesheet" type="text/css" />
    <script src="../../js/jquery-1.5.1.min.js" type="text/javascript"></script>
    <script src="../../js/jquery-ui-1.8.10/js/jquery.ui.core.min.js" type="text/javascript"></script>
    <script src="../../js/jquery-ui-1.8.10/js/jquery.ui.widget.min.js" type="text/javascript"></script>
    <script src="../../js/jquery-ui-1.8.10/js/jquery.ui.datepicker.min.js" type="text/javascript"></script>
    <script src="../../js/jquery-ui-1.8.10/js/i18n/jquery.ui.datepicker-zh-CN.js" type="text/javascript"></script>
    <script type="text/javascript">
      $(function () {
        $('.dates').datepicker($.datepicker.regional["zh-CN"]);
      });
    </script>
    </head>
<body>
    <form id="form1" runat="server">
     <div class="br"></div>
    <div>
        <table style="width: 100%;" border="0" cellpadding="0" cellspacing="1" class="border">
            <tr class="suphead">
                <td>
                    操作明细</td>
            </tr>
            <tr>
                <td height="30">从：<asp:TextBox ID="tbStartDate" runat="server" CssClass="dates"></asp:TextBox>
                    到：<asp:TextBox ID="tbEndDate" runat="server" CssClass="dates"></asp:TextBox>
                    <asp:Button ID="btnGo" runat="server" Text="查询" onclick="btnGo_Click" />                
                
                </td>
            </tr>
        </table>
    </div>
    <div class="br"></div>    
    <div>
        <asp:ListView ID="lvList" runat="server" ItemPlaceholderID="items" OnItemCommand="lvList_ItemCommand" OnItemDataBound="lvList_ItemDataBound" DataKeyNames="id">
            <LayoutTemplate>
                <table cellpadding="0" cellspacing="1" border="0" width="100%" class="border">
                    <tr class="suphead">                        
                        <td width="25%">
                            姓名
                        </td>
                        <td style="text-align:left; padding-left:5px;">
                            标题
                        </td>    
                        <td style="text-align:left; padding-left:5px;">内容</td>                    
                        <td>时间</td>                        
                    </tr>
                    <asp:PlaceHolder runat="server" ID="items"></asp:PlaceHolder>
                </table>
            </LayoutTemplate>
            <ItemTemplate>
                <tr class="lines">                    
                    <td>
                        <%# Eval("UserName")%>
                    </td>
                    <td style="text-align:left; padding-left:5px;">
                        <%# Eval("Title")%>
                    </td>
                    <td style="text-align:left; padding-left:5px;">
                        <%# Eval("Content")%>
                    </td>                                   
                    <td>
                        <%#Eval("PubDate")%>
                    </td>
                    
                </tr>
            </ItemTemplate>
            <EmptyDataTemplate>
                <table cellpadding="0" cellspacing="1" border="0" width="100%" class="border">
                    <tr class="suphead">
                        <td>
                           暂时没有数据
                        </td>
                    </tr>
                </table>
            </EmptyDataTemplate>
        </asp:ListView>
        <cc1:Pager ID="Pager1" runat="server" GenerateFirstLastSection="True" 
      GenerateGoToSection="True" GenerateHiddenHyperlinks="False" 
      QueryStringParameterName="CurrentPage" OnCommand="pager_Command" 
      GoToStyle="text" OfClause="/" PageClause="页" PageSize="15" />
    </div>
    </form>
</body>
</html>
