<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Recyclebin.aspx.cs" Inherits="TopWinCMS.WebUI.Admin.Common.Recyclebin" %>

<%@ Register Src="../UC_AjaxLoading.ascx" TagName="UC_AjaxLoading" TagPrefix="uc2" %>
<%@ Register Assembly="TopWinCMS.WebControls" Namespace="TopWinCMS.WebControls" 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 runat="server">
    <title>回收站管理</title>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
    <meta content="no-cache" http-equiv="Pragma" />

    <script language="javascript" type="text/javascript" src="../TopWin.js"></script>

    <link href="../Style.css" rel="stylesheet" type="text/css" />

    <script language="javascript" src="../../Images/skysoft.js" type="text/javascript"></script>

</head>
<body>
    <form id="Form1" method="post" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdateProgress ID="UpdateProgress1" runat="server">
        <ProgressTemplate>
            <uc2:UC_AjaxLoading ID="UC_AjaxLoading1" runat="server" />
        </ProgressTemplate>
    </asp:UpdateProgress>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table id="NavigationPath" border="0" cellpadding="4" cellspacing="0" width="100%">
                <tr>
                    <td width="50%">
                        <img src="../../Images/arrow.gif" alt="" />
                        您现在的位置：<asp:Label ID="LB_Path" runat="server"></asp:Label>
                    </td>
                    <td width="50%">
                    </td>
                </tr>
            </table>
            <asp:GridView ID="GV_List" runat="server" AutoGenerateColumns="False" CssClass="GridView"
                OnRowCommand="GV_List_RowCommand" OnRowDeleting="GV_List_RowDeleting" DataKeyNames="ID">
                <Columns>
                    <asp:TemplateField HeaderText="选择">
                        <HeaderTemplate>
                            <input name="chkHeader" onclick="javascript:SelectAll(this);" type="checkbox" value="chkHeader" /></HeaderTemplate>
                        <ItemStyle HorizontalAlign="Center" Width="30px"></ItemStyle>
                        <ItemTemplate>
                            <asp:CheckBox ID="CheckBox1" runat="server" />
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="标题">
                        <ItemTemplate>
                            [<%# Eval("ClassName") %>]
                            <%# MyLink(Eval("ContentTitle").ToString(), 40, Eval("ID"),Eval("Hits"))%>
                            <%# Convert.ToBoolean(Eval("IncludePic"))==true?"<font color=#0066FF>[有图]</font>":"<font color=#CCCCCC>[无图]</font>" %>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField HeaderText="录入" DataField="Editor">
                        <ItemStyle Width="60px" HorizontalAlign="Center" />
                    </asp:BoundField>
                    <asp:CommandField ShowDeleteButton="True" HeaderText="删除">
                        <ItemStyle HorizontalAlign="Center" Width="40px" />
                    </asp:CommandField>
                    <asp:ButtonField CommandName="Disdeleted" HeaderText="还原" Text="还原">
                        <ItemStyle HorizontalAlign="Center" Width="40px" />
                    </asp:ButtonField>
                </Columns>
                <HeaderStyle CssClass="HeaderStyle" />
            </asp:GridView>
            <div class="WorkArea">
                <asp:Button ID="BT_DelSeletedID" runat="server" Text="删除选中" Style="cursor: hand"
                    OnClick="DelSeletedID_Click" EnableViewState="False" CssClass="btn"></asp:Button>
                &nbsp;&nbsp; |&nbsp;&nbsp;
                <asp:Button ID="BT_DelALL" runat="server" Text="清空回收站" Style="cursor: hand" OnClick="DelALL_Click"
                    EnableViewState="False" CssClass="btn"></asp:Button>
                &nbsp;&nbsp; |&nbsp;&nbsp;
                <asp:Button ID="BT_TrunSelectID" runat="server" Text="还原选中" Style="cursor: hand"
                    OnClick="TrunSelectID_Click" EnableViewState="False" CssClass="btn"></asp:Button>
                &nbsp;&nbsp; |&nbsp;&nbsp;
                <asp:Button ID="BT_TrunAll" runat="server" Text="还原所有" Style="cursor: hand" OnClick="TrunAll_Click"
                    EnableViewState="False" CssClass="btn"></asp:Button>
            </div>
            <div class="pagefield">
                <cc1:PageNavigation ID="PageNavigation1" runat="server" SubmitButtonClass="btn" 
               
                    onpagechanging="PageNavigation1_PageChanging">
                </cc1:PageNavigation>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
