Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Themes\Hunanlinda\Index.aspx
??<%@ Page Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.Index" %> <!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, ReplaceItems = new ReplaceItems().Add("HeaderSearch", ReplaceTypeEnum.Html,new SearchVideoMaxInstance(this){}.ToHtml()) }.ToHtml()%> <div class="content" role="main"> <div class="container"> <div class="row"> <div class="span12"> <div class="box slider_player"> <%= new IndexVideoByInstance(this) { PageSize = 5, OrderBy = AVA.ResourcesPlatform.Config.OrderType.??????, TransferControl = "/Index/IndexVideoByHotDay" }.ToHtml()%> </div> </div> <div class="span4"> <div id="bulletin_Board" class="box mbox "> <div class="body "> <ul class="nav nav-tabs tabs tabs_thick"> <li class="active"> <a href="#paihang" data-toggle="tab"> <%= Define.Get("Client_??????") %> </a> </li> <li class=""> <a href="#live_table" data-toggle="tab">???????</a> </li> <%-- <li class="active"> <a href="#notic" 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 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()%> --%> </div> <div class="tab-pane active" id="paihang"> <% var listVideo = CreateInstance.VideoDao.DayViewCount(new AVA.ResourcesPlatform.Config.TotalParameter() { TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.??, ResultCount = 6 }); %> <ul class="orders orange-square"> <% for (int i = 0; i < listVideo.Count; i++) { var video = listVideo[i]; %> <li> <%-- <a class="nums" title="<%=video.Name %>" target="_blank" href="<%=WebUrl.VideoPlay(video.Guid) %>"> <label class=" hots">0<%= i + 1 %></label><span class="text"><%= video.Name %></span><span class="total_num"> <%= CreateInstance.PVHistoryDao.DayViewCount(1,"Video",AVA.ResourcesPlatform.Config.TotalTypeEnum.??,video.Guid,CookieGroup.DomainGuid) %></span></a>--%> <% 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) }%> <p class="author"> ????:<%= video.Author %> </p> </li> <% } %> </ul> <%-- <%= new IndexVideoByInstance(this) { PageSize=6, TransferControl="/Index/IndexVideoByHot_orders",OrderBy= AVA.ResourcesPlatform.Config.OrderType.?????? }.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 short-head"> <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=10,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 indexbox short-head"> <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=5, 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 indexbox short-head"> <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=5, 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