%@ Control Language="C#" Inherits="AVA.ResourcesPlatform.WebUI.Control.Search.SearchLiveChannel" %>
<%
if (this.ListMasterChannel != null
&& this.ListMasterChannel.Count > 0)
{
%>
<%-- -
<%= new HtmlAnchor("全部") { Href = WebUrl.Live(this.ListUrlParam.Remove("ParentChannel")) }%>
--%>
-
<%
foreach (var channel in this.ListMasterChannel)
{
%>
-
<%= new HtmlAnchor(channel.Name) { Href=WebUrl.Live(this.ListUrlParam.AddOnly("ParentChannel",channel.Guid)) }%>
<%
var listChannel = this.ListChannel(channel);
if (listChannel.Count > 0)
{
%>
<%
foreach (var subChannel in listChannel)
{
%>
-
<%= new HtmlAnchor(subChannel.Name) { Href = WebUrl.Live(this.ListUrlParam.AddOnly("ParentChannel", subChannel.Guid)) }.Style(new { Padding_Left="28px" })%>
<%
}
}
}
%>
<%
}
%>