<%= new NavInstance(this) { Multithreading = true, CacheEnable = 60*60, }.Add(Define.Get("Client_优课点播"),WebUrl.Video()).AddRequiredValueEmpty("关键字:"+this.SearchKeyWord,this.SearchKeyWord).ToHtml()%>
<%--
<%= new SearchVideoCategoryInstance(this) { }.ToHtml() %>
--%>
<%= new SearchVideoGradeInstance(this) { Multithreading = true, CacheEnable = 60*60, }.ToHtml() %>
<%--
--%>
<%= new SearchVideoCategoryInstance(this) { Multithreading = true, CacheEnable = 60*60, TransferControl="/Search/SearchVideoCategoryPills"}.ToHtml() %>
<%--
<%= new SearchVideoChannelInstance(this) { Multithreading = true, CacheEnable = 60*60, }.ToHtml() %>
--%>
<%= new SearchVideoTagInstance(this) { Multithreading = true, CacheEnable = 60*60 }.ToHtml() %>
<%= new SearchVideoOrderInstance(this) { Multithreading = true, CacheEnable = 60*60, }.ToHtml() %>
<%
//是否开启了浏览范围控制
bool videoRangeControl = SettingGroup.Setting().VideoRangeControl;
if (this.Sort == 0)
{
%>
<%= new SearchVideoListInstance(this) { Multithreading = true, CacheEnable = SettingGroup.Demonstrate? 0: 60, PageSize = 100, AreaPageView = videoRangeControl == false ? "" : ((int)AVA.ResourcesPlatform.Model.Pub.VideoViewRangeAreaPageViewEnum.允许).ToString() }.ToHtml()%>
<%
}
else
{
%>
<%= new SearchVideoListInstance(this) { Multithreading = true, CacheEnable = SettingGroup.Demonstrate? 0: 60, PageSize = 25, TransferControl="/Search/SearchVideoListInfo", AreaPageView = videoRangeControl == false ? "" : ((int)AVA.ResourcesPlatform.Model.Pub.VideoViewRangeAreaPageViewEnum.允许).ToString() }.ToHtml()%>
<%
}
%>