<%@ Page Language="C#" AutoEventWireup="true" Inherits="System_Delete_ColumNavigati, QianboCMS" EnableEventValidation="false" %>
<!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>
<link href="../Css/layout.css" type="text/css" rel="stylesheet" />
<script src="../../Js/Common.js" type="text/javascript"></script>
</head>

<body>
<form id="form1" runat="server">
  <table width="99%" cellspacing="1" cellpadding="0" class="wzdh" align="center">
    <tr>
      <td style="padding-left: 10px;"><img src="../Images/Skin/Default/you.gif" align="absmiddle" /> 您现在的位置：<a href="../SystemInfo.aspx">后台管理</a> &gt;&gt; <a href="ChannelList.aspx">频道管理</a> &gt;&gt; [<asp:Literal ID="litNav" runat="server"></asp:Literal>]栏目管理</td>
    </tr>
  </table>
  <table border="0" cellpadding="0" cellspacing="1" class="border" style="width: 99%;" align="center">
    <tr class="wzlist">
      <td><a href="SetColumn.aspx?ChId=<%=ChId %>">添加栏目</a> | <asp:HyperLink ID="hyperInfo" runat="server"></asp:HyperLink><img src="../Images/comment_add.gif" align="absmiddle" border="0" /> | <a href="ColumnToTemplate.aspx?ChId=<%=ChId %>">批量设置</a> | <a href="MoveColumn.aspx?ChId=<%=ChId %>">栏目移动</a></td>
    </tr>
  </table>
  <table width="99%" align="center" class="border" cellspacing="1" cellpadding="0">
    <asp:Repeater ID="repColumn" runat="server" OnItemCommand="rep_ItemCommand">
      <HeaderTemplate>
        <tr class="title">
          <td style="width: 60px;">编号</td>
          <td style="width: 210px;">栏目名称</td>
          <td>栏目描述</td>
          <td style="width: 60px;">栏目状态</td>
          <td style="width: 210px;">功能操作</td>
        </tr>
      </HeaderTemplate>
      <ItemTemplate>
        <tr class="tdbg" onmouseover="this.className='tdbgmouseover'" onmouseout="this.className='tdbg'">
          <td><asp:Label ID="lblColID" runat="server" Text='<%# Eval("ColId") %>' Visible="True"></asp:Label></td>
          <td align="left"><asp:LinkButton ID="linkbtnChar" runat="server" CommandName="emblme" ForeColor="Red" Font-Bold="True" Font-Size="Medium"></asp:LinkButton>
            <asp:Label ID="lblColParentId" runat="server" Text='<%# Eval("ColParentId") %>' Visible="False"></asp:Label>
            <a href="InfoList.aspx?ChId=<%#ChId %>&ColId=<%#Eval("ColId") %>"><%# Eval("ColName") %></a>
			<a href="<%#Url %>?ChId=<%#ChId %>&ColId=<%#Eval("ColId") %>"><img src="../Images/comment_add.gif" border="0" align="absmiddle" /></a></td>
          <td align="left"><%# Eval("Description") %></td>
          <td><%#GetIsOpened(Eval("IsOpened"))%></td>
          <td><a href="../Preview/PreColumn.aspx?ColId=<%#Eval("ColId") %>" target="_blank">预览</a> | <a href="SetColumn.aspx?ChId=<%#ChId %>&ChildColId=<%#Eval("ColId") %>">添加子栏目</a> | <a href="SetColumn.aspx?ChId=<%#ChId %>&ColId=<%#Eval("ColId") %>">修改</a> | <asp:LinkButton ID="btnDelete" runat="server" CommandName="DeleteOne" OnClientClick="return confirm('是否确定删除该栏目到回收站？\r\n注意：所属相关子栏目、内容也将同时删除。');">删除</asp:LinkButton></td>
        </tr>
        <asp:Repeater ID="repChildColumn" runat="server" OnItemCommand="repChidColumn_ItemCommand">
          <ItemTemplate>
            <tr class="tdbg" onmouseover="this.className='tdbgmouseover'" onmouseout="this.className='tdbg'">
              <td><asp:Label ID="lblColIDTwo" runat="server" Text='<%# Eval("ColId") %>' Visible="True"></asp:Label></td>
              <td align="left"><asp:Label ID="lblColIDZi" runat="server" Text='<%# Eval("ColId") %>' Visible="False"></asp:Label>
                <asp:Label ID="lblColParentIdTwo" runat="server" Text='<%# Eval("ColParentId") %>' Visible="False"></asp:Label>
                <a href="InfoList.aspx?ChId=<%#ChId %>&ColId=<%#Eval("ColId") %>"><%# Eval("ColName") %></a><a href="<%#Url %>?ChId=<%#ChId %>&ColId=<%#Eval("ColId") %>"><img src="../Images/comment_add.gif" align="absmiddle" border="0" /></a></td>
              <td align="left"><%# Eval("Description") %></td>
              <td><%#GetIsOpened(Eval("IsOpened"))%></td>
              <td align="center"><a href="../Preview/PreColumn.aspx?ColId=<%#Eval("ColId") %>" target="_blank">预览</a> | <a href="SetColumn.aspx?ChId=<%#ChId %>&ChildColId=<%#Eval("ColId") %>">添加子栏目</a> | <a href="SetColumn.aspx?ChId=<%#ChId %>&ColId=<%#Eval("ColId") %>">修改</a> | <asp:LinkButton ID="btnDeleteTwo" runat="server" CommandName="DeleteTwo" OnClientClick="return confirm('是否确定删除该栏目到回收站？\r\n注意：所属相关子栏目、内容也将同时删除。');">删除</asp:LinkButton></td>
            </tr>
          </ItemTemplate>
        </asp:Repeater>
      </ItemTemplate>
    </asp:Repeater>
  </table>
</form>
<br />
</body>
</html>