<%@ Control Language="C#" Inherits="AVA.ResourcesPlatform.WebUI.Control.Search.SearchVideoList" %>
<% foreach (var video in this.ListVideo) { %> <% } %>
<%= new HtmlAnchor( new HtmlImg(SettingGroup.VideoCover(video), video.Name) { Width=140, Height=88, OnErrorImg=SettingGroup.DefaultImg} ) { Title = video.Name, Target = "_blank", Href = WebUrl.VideoPlay(video.Guid) }%> 课例:<%= new HtmlAnchor(WebUrl.Light(video.Name,this.SearchKeyWord)) { Title = video.Name, Target = "_blank", Href = WebUrl.VideoPlay(video.Guid) }%> <%= video.ParentCategory.Name %>
作者: <%= new HtmlAnchor(WebUrl.Light(video.Author,this.SearchKeyWord)) { Href = WebUrl.Show(video.ParentUser.ParentUserType.ParentDomain.Code, video.ParentUser.UserName), Title = video.ParentUser.ParentUserType.ParentDomain.Name }%> <%= new HtmlAnchor(video.ParentUser.ParentUserType.ParentDomain.Name){ Href=video.ParentUser.ParentUserType.ParentDomain.RouteWebSite} %> <% if (video.ParentLesson != null) { %>
出版社:<%= WebUrl.Light(video.ParentLesson.ParentTextbook.ParentPress.Name,this.SearchKeyWord) %>
年级:<%= WebUrl.Light(video.ParentLesson.ParentTextbook.ParentGrade.Name,this.SearchKeyWord) %>
单本:<%= WebUrl.Light(video.ParentLesson.ParentTextbook.Name,this.SearchKeyWord) %>
单元课:<%= WebUrl.Light(video.ParentLesson.Section,this.SearchKeyWord) %>
课文:<%= WebUrl.Light(video.ParentLesson.Name,this.SearchKeyWord) %> <% } %> <% if (!string.IsNullOrEmpty(video.Summary)) { %>
简介: <%= video.Summary.ToFirstString(100,"...",true) %> <% } %> <% var tagTitle = CreateInstance.VideoTagDao.Where(l => l.ParentVideo == video) .OrderBy(l => l.SortNumber) .ToList(); if (tagTitle != null && tagTitle.Count > 0) { %>
标签: <% foreach (var tag in tagTitle) { %> <%= WebUrl.Light(tag.Title,this.SearchKeyWord) %>   <% } } %>
<% var timeInfos = CreateInstance.VideoTimeInfoDao.Where(l => l.ParentVideo == video) .OrderBy(l => l.Seconds) .ThenBy(l => l.SecondsEnd) .ToList(); if (timeInfos != null && timeInfos.Count > 0) { %>
    <% foreach (var timeInfo in timeInfos) { %>
  • <%= new HtmlAnchor(WebUrl.Light(timeInfo.Description.ToFirstString(25, "...", true),this.SearchKeyWord)) { Target = "_blank", Href = WebUrl.VideoPlay(video.Guid, timeInfo.Seconds) }%> <%= AVA.ResourcesPlatform.Config.Helper.FormatSecond(timeInfo.Seconds / 1000) %>
  • <% } %>
<% } %>