<%--
--%>
<%= new HtmlAnchor("更多...") { Href = WebUrl.NoticeList() }%>
<%= new IndexNoticeByInstance(this) { ListNoticeCount=9, FirstString=40 }.ToHtml()%>
<%--
<%= new HtmlAnchor(Define.Get("Client_课程表...")) { Href = WebUrl.Live() }%>
--%> <%= new IndexNoticeByInstance(this) { ListNoticeCount=9, FirstString=40, NoticeType=1 }.ToHtml()%> <%-- <%= new IndexLiveByInstance(this) { PageSize=3, StartTime=DateTime.Now.Date,EndTime=DateTime.Now.Date.AddDays(1) }.ToHtml()%> --%>
<%
var listVideo = CreateInstance.VideoDao.DayViewCount(new AVA.ResourcesPlatform.Config.TotalParameter()
{
TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.周,
ResultCount = 6
});
%>
-
<%
for (int i = 0; i < listVideo.Count; i++)
{
var video = listVideo[i];
%>
- <%-- <%= video.Name %> <%= CreateInstance.PVHistoryDao.DayViewCount(1,"Video",AVA.ResourcesPlatform.Config.TotalTypeEnum.周,video.Guid,CookieGroup.DomainGuid) %>--%> <% var label = "" + (i + 1); %> <%= new HtmlAnchor( new HtmlLabel("label",label){Class=" hots"}+"" + new HtmlSpan( video.Name){ Class="text", TextLength=18,Suffix=".."}+""+ //new HtmlSpan(CreateInstance.PVHistoryDao.DayViewCount(1,"Video",AVA.ResourcesPlatform.Config.TotalTypeEnum.周,video.Guid,CookieGroup.DomainGuid) ){Class="total_num"} new HtmlSpan(video.VideoView ){Class="total_num"} ){ Class="nums", Title=video.Name, Href=WebUrl.VideoPlay(video.Guid) }%> <% } %>
<%= new HtmlAnchor("推荐课程") { Href="#" }%>
<%= new HtmlAnchor("更多...") { Class="blue", Href=WebUrl.Album() }%>
<%= new IndexAlbumByInstance(this) { PageSize=10,ParentUserType = firstUserType.Guid, OrderBy= AVA.ResourcesPlatform.Config.OrderType.月播放量 }.ToHtml() %>
<%= new HtmlAnchor("推荐课程") { Class="blue", Href=WebUrl.Album() }%>
<%= new HtmlAnchor("更多...") { Class="blue", Href=WebUrl.Album() }%>
<%= new IndexAlbumByInstance(this) { PageSize=5, OrderBy= AVA.ResourcesPlatform.Config.OrderType.只按推荐, TransferControl="/Index/IndexAlbumByHot" }.ToHtml() %>
<%= new HtmlAnchor("最新发布") { Href=WebUrl.Video()}%>
<%= new HtmlAnchor("更多...") { Class="blue", Href=WebUrl.Video() }%>
<%= new IndexVideoByInstance(this) { PageSize=5,
TransferControl="/Index/IndexVideoByHot" }.ToHtml() %>
<%= new HtmlAnchor(Define.Get("Client_优课评比研究")) { Href="#" }%>
<%= new HtmlAnchor("更多...") { Class="blue", Href=WebUrl.Subject() }%>
<%= new IndexSubjectByInstance(this) { PageSize=8, ParentIsNull = true, OrderBy= AVA.ResourcesPlatform.Config.OrderType.时间倒序 }.ToHtml() %>
<%= new HtmlAnchor(Define.Get("Client_教研互动")) { Href="#" }%>
<%= new HtmlAnchor("更多...") { Class="blue", Href=WebUrl.Meeting() }%>
<%= new IndexMeetingByInstance(this) { PageSize=8, OrderBy= AVA.ResourcesPlatform.Config.OrderType.月播放量, Stale=false }.ToHtml() %>
<%= new HtmlAnchor(Define.Get("Client_直播课堂")) { Href="#" }%>
<%= new HtmlAnchor("更多...") { Class="blue", Href=WebUrl.Live() }%>
<%= new IndexLiveByInstance(this) { PageSize = 8 }.ToHtml()%>