%@ Page Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.Index" %>
<%= new IndexVideoByInstance(this) { PageSize = 5, OrderBy = AVA.ResourcesPlatform.Config.OrderType.先置顶后推荐再播放量, TransferControl = "/Index/IndexVideoBySlider_nothumb" }.ToHtml()%>
" />
<%= new IndexAlbumByInstance(this){PageSize=6,TransferControl="/index/IndexAlbumByOrders_listName"}.ToHtml() %>
<%= new IndexNoticeByInstance(this){PageSize=12}.ToHtml() %>
<%= new FooterInstance(this) { }.ToHtml() %>
<%}
else
{ %>
<%= new BrowserTipInstance(this) { }.ToHtml() %> <%= new HeaderInstance(this) { TransferControl="/Header_frontPage", HeaderItem=HeaderItem.Index, ReplaceItems = new ReplaceItems().Add("HeaderSearch", ReplaceTypeEnum.Html,new SearchVideoMaxInstance(this){}.ToHtml()) }.ToHtml()%>
<%
var categoriesList = CreateInstance.CategoryDao.Where(l => l.ParentCategory == null)
.OrderBy(l => l.SortNumber)
.ToList();
%>
<% for (var i = 0; i < categoriesList.Count; i++)
{
var cate = categoriesList[i];
%>
- |
-
<%= new HtmlAnchor(cate.Name) { Href = WebUrl.Video(new List().AddOnly("ParentMasterCategory", cate.Guid)) }%>
<%
} %>
<%= new IndexVideoByInstance(this) { PageSize = 5, OrderBy = AVA.ResourcesPlatform.Config.OrderType.先置顶后推荐再播放量, TransferControl = "/Index/IndexVideoBySlider_nothumb" }.ToHtml()%>
<%--<%= new NavInstance(this) { }.Add(Define.Get("首页"),WebUrl.Index()).ToHtml()%>--%>
<%= new IndexVideoByInstance(this) { TransferControl = "/Index/IndexVideoByHot_infos", PageSize=2}.ToHtml()%>
<%= new IndexAlbumByInstance(this){PageSize=8,TransferControl="/index/indexAlbumBy_list"}.ToHtml() %>
<%= new IndexNoticeByInstance(this){PageSize=12}.ToHtml() %>
<%= new FooterInstance(this) { }.ToHtml() %>
<%} %>