<%@ Page Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.Index" %> <%= this.Title %> <%= Import.CSS("js", "/JQueryUI/css/redmond/jquery-ui-1.8.9.custom.css")%> <%= Import.ScriptTheme("js/libs/jquery-1.7.1.min.js")%> <%= Import.Script("/URL/jquery.url.js")%> <%= Import.Script("/JsonCookie/json2.js")%> <%= Import.Script("/JsonCookie/jquery.cookie.js")%> <%= Import.Script("/JsonCookie/jquery.jsoncookie.js")%> <%= Import.ScriptTheme("js/jquery-ui.min.js")%> <%= Import.Script("js", "/YK_Validate/YK_Validate.js")%> <%= Import.Script("js", "/YK_Validate/YK_ValidateRegex.js")%> <%= Import.CSS("js", "/YK_Validate/validator.css")%> <%= Import.Script("/global.aspx")%> <%= Import.Script("js", "/global.js")%> <%= new HeadInstance(this) { }.ToHtml() %> <%= new BrowserTipInstance(this) { }.ToHtml() %> <%= new HeaderInstance(this) { Local="Index", ReplaceItems = new ReplaceItems().Add("HeaderSearch", ReplaceTypeEnum.Html,new SearchVideoMaxInstance(this){CacheEnable = 60*60}.ToRenderHtml()) }.ToHtml()%>
  • <%= new HtmlAnchor( new HtmlImg( SettingGroup.UserHeadPortrait( CreateInstance.UserDao.Get(this.UserCode)),"我的头像") { Class="", Width=80, Height=80,OnError="this.src='"+Import.CSSFile("img/user_32.png")+"'"}) { Title="我的头像", Href= WebUrl.Basic() }%>
  • <%= new HtmlAnchor("进入个人空间") { Href= WebUrl.My(),Class="btn"}%>

  • <%= new HtmlAnchor("注销") { Href = WebUrl.Logout() ,Class="btn"}%>
<%-- = new HtmlSelect("DomainGuid", "Name", "Guid", "Guid") { Option = this.ListDomain, SelectedValue = CookieGroup.DomainGuid } --%> <%= new HtmlYKTip("DomainGuid")%>
<%= new HtmlText("UserName", null)%> <%= new HtmlYKTip("UserName") %>
<%= new HtmlPassword("Password") %> <%= new HtmlYKTip("Password") %>
<%= new HtmlText("CheckCode", null, 4) { Width = 60, Class = "input-border", OnFocus = "this.value='';" }.Style(new { Text_Transform = "uppercase" })%> 点击更换验证码
<%-- = new HtmlHidden("Src",this.Src) --%>
  • <%= new HtmlSubmit("登录","Login","LoginClient(this);") %>
  • <%= new HtmlAnchor("注册") { Href=WebUrl.Signup() }%>
  • <%= new HtmlAnchor("忘记密码") { Href = WebUrl.FindPWD() }%>
<%= new IndexNoticeByInstance(this) { ListNoticeCount=9, FirstString=40 }.ToHtml()%>
中国教育资源网
国家基础教育资源网
央视百科影像辞典
<%= new IndexAlbumByInstance(this) { PageSize = 6, OrderBy = AVA.ResourcesPlatform.Config.OrderType.先当天上传播放量后再当天播放量, TransferControl = "/Index/IndexAlbumByHotDay" }.ToHtml()%>
<%= new HtmlAnchor("更多>>") { Class="blue", Href=WebUrl.Video() }%>
<%= new IndexAlbumByInstance(this) { PageSize = 4, OrderBy = AVA.ResourcesPlatform.Config.OrderType.先当天上传播放量后再当天播放量, TransferControl = "/Index/IndexAlbumByShort" }.ToHtml()%>
<%= new HtmlAnchor("更多>>") { Class="blue", Href=WebUrl.Video() }%>
<%= new IndexAlbumByInstance(this) { PageSize = 4, OrderBy = AVA.ResourcesPlatform.Config.OrderType.月播放量, TransferControl = "/Index/IndexAlbumByShort" }.ToHtml()%>
<%-- = new IndexAlbumByInstance(this) { PageSize = 6, OrderBy = AVA.ResourcesPlatform.Config.OrderType.先当天上传播放量后再当天播放量, TransferControl = "/Index/IndexAlbumByHotDay" }.ToHtml() --%>
<%= new HtmlAnchor("系统公告") { Class="title", Href=WebUrl.NoticeList() }%> <%= new HtmlAnchor("更多...") { Class="title", Href=WebUrl.NoticeList() }%>
<%= new IndexNoticeByInstance(this) { ListNoticeCount=9, FirstString=40 }.ToHtml()%>
<% if (SettingGroup.HasDomain == false) { //没有平台说明是列当前学校的 //取出第一个显示,基本显示在第二个 var firstUserType = CreateInstance.UserTypeDao.Where(l => l.ParentDomain.Guid == CookieGroup.DomainGuid && l.IsManager == (int)AVA.ResourcesPlatform.Model.Pub.UserTypeIsManagerEnum.否 && l.Status == (int)AVA.ResourcesPlatform.Model.Pub.UserTypeStatusEnum.有效) .OrderBy(l => l.SortNumber) .Take(1) .ToList() .FirstResult(); if (firstUserType != null) { %>
<%= new HtmlAnchor(firstUserType.Name + "专辑") { Href="#" }%>
<%= new HtmlAnchor("更多...") { Class="blue", Href=WebUrl.Album() }%>
<%= new IndexAlbumByInstance(this) { PageSize=10,ParentUserType = firstUserType.Guid, OrderBy= AVA.ResourcesPlatform.Config.OrderType.月播放量 }.ToHtml() %>
<% } } else { //列平台的 %>
<%= new HtmlAnchor("最新专辑") { Class="blue", Href=WebUrl.Album() }%>
<%= new HtmlAnchor("更多...") { Class="blue", Href=WebUrl.Album() }%>
<%= new IndexAlbumByInstance(this) { PageSize=10, OrderBy= AVA.ResourcesPlatform.Config.OrderType.先当天上传播放量后再当天播放量, TransferControl="/Index/IndexAlbumByHot" }.ToHtml() %>
<% } %> <% if (SettingGroup.HasSubject == true) { %>
<%= new HtmlAnchor("专题研究") { Href="#" }%>
<%= new HtmlAnchor("更多...") { Class="blue", Href=WebUrl.Subject() }%>
<%= new IndexSubjectByInstance(this) { PageSize=20, ParentIsNull = true, OrderBy= AVA.ResourcesPlatform.Config.OrderType.时间倒序 }.ToHtml() %>
<% } %> <% if (SettingGroup.HasMeeting == true) { %>
<%= new HtmlAnchor("教研互动") { Href="#" }%>
<%= new HtmlAnchor("更多...") { Class="blue", Href=WebUrl.Meeting() }%>
<%= new IndexMeetingByInstance(this) { PageSize=20, OrderBy= AVA.ResourcesPlatform.Config.OrderType.月播放量, Stale=false }.ToHtml() %>
<% } %> <% if (SettingGroup.HasLive == true) { %>
<%= new HtmlAnchor("直播课堂") { Href="#" }%>
<%= new HtmlAnchor("更多...") { Class="blue", Href=WebUrl.Live() }%>
<%= new IndexLiveByInstance(this) { PageSize = 20 }.ToHtml()%>
<% } %>
<%= new FooterInstance(this) { }.ToHtml() %>