Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Index.aspx
??<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Index" %> <%--<% throw new Z.Core.Tools.ExceptionMessage(this.GetType().FullName + " page is undefined"); %>--%> <!DOCTYPE html > <html> <head> <title> <%= this.Title %></title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <%= Import.CSS("js", "/JQueryUI/css/redmond/jquery-ui-1.8.9.custom.css")%> <%= Import.ScriptTheme("js/jquery.1.9.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")%> <%= Import.CSS("Carousel.css")%> <%= new HeadInstance(this) { }.ToHtml() %> </head> <body> <%= new BrowserTipInstance(this) { }.ToHtml() %> <%= new HeaderInstance(this) { HeaderItem=HeaderItem.Index, CacheEnable = 60, ReplaceItems = new ReplaceItems().Add("HeaderSearch", ReplaceTypeEnum.Html,new SearchVideoMaxInstance(this){CacheEnable = 60*60}.ToRenderHtml()) }.ToHtml()%> <div class="content" role="main"> <div class="container"> <div class="row"> <div class="span10"> <div class="box slider_player"> <%= new IndexVideoByInstance(this) { PageSize = 5, OrderBy = AVA.ResourcesPlatform.Config.OrderType.???????????????, TransferControl = "/Index/IndexVideoByHotDay" }.ToHtml()%> </div> </div> <div class="span6"> <div id="bulletin_Board" class="box mbox " style="height: 292px"> <div class="body "> <ul class="nav nav-tabs tabs tabs_thick"> <li class="active"> <a href="#notic" data-toggle="tab"> <%= Define.Get("Client_??????") %> </a> </li> <% if (this.User != null && this.User.ParentUserType.LiveShow && SettingGroup.HasLive == true) { %> <li> <a href="#live_table" data-toggle="tab"><%= Define.Get("Client_??????") %></a> </li> <% } else if (this.User == null && SettingGroup.Setting().LiveShow && SettingGroup.HasLive == true) { %> <li> <a href="#live_table" data-toggle="tab"><%= Define.Get("Client_??????") %></a> </li> <% } %> </ul> <div class="tab-content"> <div class="tab-pane active" id="notic"> <h6><span class="more "> <%= new HtmlAnchor("???...") { Href = WebUrl.NoticeList() }%> </span></h6> <%= new IndexNoticeByInstance(this) { ListNoticeCount=9, FirstString=40 }.ToHtml()%> </div> <div class="tab-pane " id="live_table"> <h6><span class="more" > <%= new HtmlAnchor(Define.Get("Client_?????...")) { Href = WebUrl.Live() }%> </span></h6> <%= new IndexLiveByInstance(this) { PageSize=12, StartTime=DateTime.Now.Date,EndTime=DateTime.Now.Date.AddDays(1) }.ToHtml()%> </div> </div> </div> </div> </div> </div> <% if (SettingGroup.HasDomain == false && 1 == 2) { //????????????????????? //???????????????????????? var firstUserType = CreateInstance.UserTypeDao.Where(l => 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) { %> <div class="row"> <div class="span16"> <div class="box mbox "> <div class="head"> <div class="title "> <%= new HtmlAnchor("???????") { Href="#" }%> </div> <div class="more"> <%= new HtmlAnchor("???...") { Class="blue", Href=WebUrl.Album() }%> </div> </div> <div class="videolist body clearfix"> <%= new IndexAlbumByInstance(this) { PageSize=8,ParentUserType = firstUserType.Guid, OrderBy= AVA.ResourcesPlatform.Config.OrderType.?????? }.ToHtml() %> </div> </div> </div> <!-- /span --> </div> <% } } else { //?????? %> <div class="row"> <div class="span16"> <div class="box mbox "> <div class="head"> <div class="title "> <%= new HtmlAnchor("???????") { Class="blue", Href=WebUrl.Album() }%> </div> <div class="more"> <%= new HtmlAnchor("???...") { Class="blue", Href=WebUrl.Album() }%> </div> </div> <div class="videolist body clearfix"> <%= new IndexAlbumByInstance(this) { PageSize=8, OrderBy= AVA.ResourcesPlatform.Config.OrderType.??????, TransferControl="/Index/IndexAlbumByHot" }.ToHtml() %> </div> <div class="clearFloat"></div> </div> </div> </div> <% } %> <div class="row"> <div class="span16"> <div class="box mbox"> <div class="head"> <div class="title "> <%= new HtmlAnchor("?????????") { Href=WebUrl.Video()}%> </div> <div class="more"> <%= new HtmlAnchor("???...") { Class="blue", Href=WebUrl.Video() }%> </div> </div> <div class="videolist body clearfix"> <%= new IndexVideoByInstance(this) { PageSize=8, TransferControl="/Index/IndexVideoByHot" }.ToHtml() %> </div> <div class="clearFloat"></div> </div> </div> <!-- /span --> </div> <%-- <% if (SettingGroup.HasSubject == true) { if (this.UserCode == null || CreateInstance.UserDao.Get(this.UserCode).ParentUserType.Name == "???") { }else{ %> <div class="row"> <div class="span16"> <div class="box mbox visible-desktop"> <div class="head"> <div class="title "> <%= new HtmlAnchor(Define.Get("Client_?????????")) { Href="#" }%> </div> <div class="more"> <%= new HtmlAnchor("???...") { Class="blue", Href=WebUrl.Subject() }%> </div> </div> <div class="videolist body clearfix"> <%= new IndexSubjectByInstance(this) { PageSize=8, ParentIsNull = true, OrderBy= AVA.ResourcesPlatform.Config.OrderType.?????? }.ToHtml() %> </div> <div class="clearFloat"></div> </div> </div> <!-- /span --> </div> <% } } %> <% if (SettingGroup.HasMeeting == true) { if (this.UserCode == null || CreateInstance.UserDao.Get(this.UserCode).ParentUserType.Name == "???") { }else{ %> <div class="row"> <div class="span16"> <div class="box mbox visible-desktop"> <div class="head"> <div class="title "> <%= new HtmlAnchor(Define.Get("Client_??????")) { Href="#" }%> </div> <div class="more"> <%= new HtmlAnchor("???...") { Class="blue", Href=WebUrl.Meeting() }%> </div> </div> <div class="videolist body clearfix"> <%= new IndexMeetingByInstance(this) { PageSize=8, OrderBy= AVA.ResourcesPlatform.Config.OrderType.??????, Stale=false }.ToHtml() %> </div> <div class="clearFloat"></div> </div> </div> <!-- /span --> </div> <% } } %> <% if (SettingGroup.HasLive == true) { if (this.UserCode == null || CreateInstance.UserDao.Get(this.UserCode).ParentUserType.Name == "???") { }else{ %> <div class="row"> <div class="span16"> <div class="box mbox visible-desktop"> <div class="head"> <div class="title "> <%= new HtmlAnchor(Define.Get("Client_??????")) { Href="#" }%> </div> <div class="more"> <%= new HtmlAnchor("???...") { Class="blue", Href=WebUrl.Live() }%> </div> </div> <div class="videolist body clearfix"> <%= new IndexLiveByInstance(this) { PageSize = 8 }.ToHtml()%> </div> <div class="clearFloat"></div> </div> </div> <!-- /span --> </div> <% } } %> --%> </div> </div> <%= new FooterInstance(this) { }.ToHtml() %> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de