<%@ Page Language="C#" MasterPageFile="../Admin.master" AutoEventWireup="true" Inherits="Ruiao.WebSite.Public.Admin.ChannelManage" Codebehind="ChannelManage.aspx.cs" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="MyContent" ContentPlaceHolderID="cphMain" Runat="Server">

    <fieldset class="ContentBox">
    <div class="Head" onclick="BoxSwitch('mc_BloggerNotice','si_BloggerNotice')"><div class="Title"><%=MyTitle %></div><div id="si_BloggerNotice" class="SwitchIcon_Up"></div></div>
    <div class="Body" id="mc_BloggerNotice">
        <div class="ContentItem_03"><div class="ContentItem_03a" style="width:120px"><strong>注意事项：</strong></div><div class="ContentItem_03b" style="width:649px">
        <ul class="NotesMessage">
        <li>博客频道是博客子系统的统一分类，为会员博客及其发表的日志进行归类，博客频道将作为本站博客门户的栏目与信息聚合的分类，在这里可以管理他们。</li>
        </ul>
        </div></div>
    </div>
    <div class="Bottom"></div>
	</fieldset>
	<div class="ContentBox_Separator"></div>
	
	<table id="MemberList" class="MainContentTable" cellspacing="1">
	<tr class="HeadTR">
		<td class="HeadTD" style="width:100px;">目录名称</td>
		<td class="HeadTD" style="width:100px;">显示名称</td>
		<td class="HeadTD" style="width:auto;">描述</td>
		<td class="HeadTD" style="width:60px;">显示</td>
		<td class="HeadTD" style="width:60px;">聚合</td>
		<td class="HeadTD" style="width:80px;">操作</td>
	</tr>
    <asp:Repeater ID="rpChannelList" runat="server" OnItemCreated="rpChannelList_ItemCreated">
    <ItemTemplate>
    <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
        <td class="ItemTD"><%# DataBinder.Eval(Container, "DataItem.Name") %></td>
		<td class="ItemTD"><%# DataBinder.Eval(Container, "DataItem.DisplayName") %></td>
		<td class="ItemTD" style="text-align:left"><%# DataBinder.Eval(Container, "DataItem.Description") %></td>
		<td class="ItemTD"><%# ((bool)DataBinder.Eval(Container, "DataItem.Visible"))?"显示":"隐藏" %></td>
		<td class="ItemTD"><%# ((bool)DataBinder.Eval(Container, "DataItem.IsAggregated")) ? "是" : "否"%></td>
		<td class="ItemTD">
		<a href="<%=AppUrl %>/Admin/Channel/ChannelEdit<%=ExtensionName %>?ChannelID=<%# DataBinder.Eval(Container, "DataItem.ID") %>">编辑</a> | <a href="<%=AppUrl %>/Admin/Channel/ChannelDelete<%=ExtensionName %>?ChannelID=<%# DataBinder.Eval(Container, "DataItem.ID") %>">删除</a>
		</td>
	</tr>
    </ItemTemplate>
    </asp:Repeater>
    
    <tr class="ItemTR">
    <td class="ItemTD" colspan="8" style="text-align:left;">
    <webdiyer:AspNetPager ID="Pager" runat="server" OnPageChanged="Pager_PageChanged" AlwaysShow="True" UrlPaging="False" />
    </td>
    </tr>
    
    </table>
</asp:Content>