<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Article_Recycle.aspx.cs" Inherits="TotCms.Web.Admin.Article_Recycle" %>

<%@ Register src="UI/main_top.ascx" tagname="main_top" tagprefix="uc1" %>

<%@ 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">
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>文章审核</title>
    <link href="style/global.css" rel="stylesheet" type="text/css" />
    <script src="js/common.js" type="text/javascript"></script>
    
</head>

<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div>
    
      <uc1:main_top ID="main_top1" runat="server" />
    
    </div>
    <table cellpadding="0" cellspacing="1" border="0" width="100%">
      <tr>
        <td colspan="6" class="topic">
        文章审核 <a href="Article_Add.aspx">添加</a></td>
      </tr>   
      <asp:Repeater ID="ArticleList" runat="server">
        <HeaderTemplate>
          <tr class="suphead">
              <td> </td>
              <td>标题</td>
              <td>点击</td>
              <td>审核</td>
              <td>日期</td>
              <td>操作</td>
          </tr>
        </HeaderTemplate>
        <ItemTemplate>
          <tr class="lines">
            <td>
              <asp:UpdatePanel ID="UpdatePanel1" runat="server">
              <ContentTemplate>
              <asp:CheckBox ID="ChkId" runat="server" Checked="false" />
              </ContentTemplate>
              <Triggers>
              <asp:AsyncPostBackTrigger ControlID="BtnSelect" EventName="Click" /> 
              </Triggers>
              </asp:UpdatePanel>
              <asp:TextBox ID="ChkTxt" runat="server" CssClass="hidden" Text='<%# Eval("id") %>'></asp:TextBox>
              
              </td>
            <td><div align="left">&nbsp;<a href="<%# Eval("OutLinkUrl") %>" target="_blank"><%# Eval("Title")%></a></div></td>
            <td><%# Eval("Hits")%></td>
            <td><%# Convert.ToInt32(Eval("Checked")) == 0 ? "否" : "是"%></td>
            <td><%# Eval("ModDate")%></td>
            <td>
            <asp:LinkButton ID="LinkButton1" runat="server" CommandName="edit" CommandArgument='<%# Eval("id") %>'>编辑</asp:LinkButton>
						|
						<asp:LinkButton ID="LinkButton2" OnLoad="Delete_Load" runat="server" CommandName="delete" CommandArgument='<%# Eval("id") %>'>删除</asp:LinkButton>            </td>
          </tr>
         </ItemTemplate>
         </asp:Repeater>
         <tr>
          <td colspan="6" align="center">
            <asp:Button ID="BtnSelect" runat="server" Text="反选" onclick="BtnSelect_Click" />
            <asp:DropDownList ID="BatRunType" runat="server">
            <asp:ListItem Text="==选择操作选项==" Value="" ></asp:ListItem>
            <asp:ListItem Text="还原" Value="reset"></asp:ListItem>
            <asp:ListItem Text="删除" Value="delete"></asp:ListItem>
            </asp:DropDownList>
            <asp:Label ID="CategoryTitle" runat="server" Text="移动到栏目" CssClass="hidden"></asp:Label>
            <asp:TextBox ID="CategoryId" runat="server" CssClass="hidden"></asp:TextBox>
            <input id="Button1" type="button" value="..." class="hidden" onclick="popupWindow('Category_Tree.aspx','category_tree',400,300,1)" />
            <asp:Button ID="BtnRun" runat="server" Text="执行操作" onclick="BtnRun_Click" OnClientClick="return confirm('确定执行吗?')" />
          </td>
         </tr>
      
    </table>
    <cc1:Pager ID="Pager1" runat="server" GenerateFirstLastSection="True" 
      GenerateGoToSection="True" GenerateHiddenHyperlinks="False" 
      QueryStringParameterName="CurrentPage" OnCommand="pager_Command" 
      GoToStyle="text" OfClause="/" PageClause="页" PageSize="15" />
    </form>
</body>
</html>
