Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\Gzzztj\SchoolTheme\Index.aspx
??<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="AVA.ResourcesPlatform.WebUI.SchoolTheme.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"> <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 class="school-theme"> <%= new BrowserTipInstance(this) { }.ToHtml() %> <% if (!string.IsNullOrEmpty(CreateInstance.DomainInfoDao.THIS().MinLogo)) { %> <%--<style type="text/css"> #header .header-top { background: url('<%= SettingGroup.DomainInfoMinLogo(CreateInstance.DomainInfoDao.THIS()) %>') repeat-x scroll left top transparent; } </style>--%> <% } %> <div class="affix flash_messages-wrapper" data-spy="affix" data-offset-top="0"> <div class="flash_messages alert alert-box" style="display: none;"> <button type="button" class="close" data-dismiss="alert">×</button> <h4><i class="icon-info-sign"></i></h4> <p>message-here</p> </div> </div> <header id="top"> <div id="header"> <div class=" header-top "> <!-- container --> <div class="container"> <div class=" row "> <!-- span16 --> <div class=" span5 "> <a href="<%= WebUrl.Index()%>" class="banner"> <%= new HtmlImg(SettingGroup.DomainInfoMaxLogo(CreateInstance.DomainInfoDao.Where(l => l.ParentDomain == this.Domain)), "")%> </a> </div> <div class="span4"> <div class="inline_panel search_panel"> <asp:PlaceHolder ID="HeaderSearch" runat="server" /> </div> </div> <div class="span3"> <div style="" class="logpre"> <% if (SettingGroup.LoginNewPage) { %> <a href="<%= WebUrl.Login()%>" style="cursor: pointer">???</a> <% } else { %> <a data-toggle="modal" class="clickAndShowLoginModal" data-target="#sharedModal" data-guid="" id="clickAndShowLoginModal" style="cursor: pointer">???</a> <% } %> | <% if (SettingGroup.SignupNewPage) { %> <a href="<%= WebUrl.Signup()%>" style="cursor: pointer">???</a> <% } else { %> <a data-toggle="modal" class="clickAndShowSignupModal" data-target="#sharedModal" data-guid="" id="clickAndShowSignupModal" style="cursor: pointer">???</a> <% } %> | <%= new HtmlAnchor("???") { Href = WebUrl.Help(), Target = "_blank" }%> <%-- <%= new HtmlAnchor("???") { Href = WebUrl.Login(), ID="headerLogin",Class=""}%> | <%= new HtmlAnchor("???") { Href= WebUrl.Signup(),Class=""}%>--%> <script> $(function () { $(document).on("click", ".clickAndShowLoginModal", function () { var pageRecordSize = 12 var param = "PageIndex=" + 1; param += "&PageRecordSize=" + pageRecordSize + "&SRC=<%= this.Request.RawUrl%>"; Global.HtmlControl('<%= ControlPath("/User/Login_Header")%>', param, null, function (json) { $("#sharedModal .modal-body").html(json.Html); $("#sharedModal #sharedModalLabel").html("???"); }); }) $(document).on("click", ".clickAndShowSignupModal", function () { var pageRecordSize = 12 var param = "PageIndex=" + 1; param += "&PageRecordSize=" + pageRecordSize + "&SRC=<%= this.Request.RawUrl%>"; Global.HtmlControl('<%= ControlPath("/User/Signup_Header")%>', param, null, function (json) { $("#sharedModal .modal-body").html(json.Html); $("#sharedModal #sharedModalLabel").html("???"); }); }) }); </script> </div> <div class="logafter " style="display: none;"> <div class="user_name"> <%= new HtmlAnchor(this.UserName) { Href = WebUrl.My(), TextLength = 5, Suffix = "..", Class = "uname" }%>(<%= new HtmlAnchor("...") { Title = "???", Href = WebUrl.MyMessage(), Class = "msgNum f-red bold" }%>) | <%= new HtmlAnchor("???") { Href = WebUrl.Logout() }%> | <%= new HtmlAnchor("???") { Href = WebUrl.Help(), Target = "_blank" }%> </div> </div> </div> <script type="text/javascript"> $(function () { //?????????? if ($.cookie("UserCode<%= SettingGroup.CookieSuffix%>") != null && $.cookie("ParentCode<%= SettingGroup.CookieSuffix%>") != null) { // $(".login_panel").show(); // $("#bulletin_Board .body").css("height", 186); $(".logpre").hide(); $(".logafter").show(); $(".logafter .uname").html($.cookie("UserName<%= SettingGroup.CookieSuffix%>")); Global.HtmlControl('<%= ControlPath("/MsgNum")%>', "", null, function (json) { if (json != null) { $(".logafter .msgNum").html(json.Html); } }); $("#liHeaderMy").show(); } else { // $(".login_panel").hide(); // $("#bulletin_Board .body").css("height", 286); $(".logafter").hide(); $(".logpre").show(); } }); </script> </div> </div> <div class=""> <div class=""> <!-- span16 --> <div class="navbar"> <div class="navbar-inner blue"> <div class="container" style="width:1225px;height:40px;"> <a data-target=".nav-collapse" data-toggle="collapse" class="btn btn-navbar"><span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span></a> <div class="nav-collapse"> <ul id="HeaderMenuData" class="nav"> <li class='active'> <a href="<%=WebUrl.Index() %>"><span class="ico ico-home-ico"></span> ???</a> </li> <li class=''> <a href="<%=WebUrl.Video(new List<AVA.ResourcesPlatform.Config.UrlParam>().AddOnly("OrderBy",((int)AVA.ResourcesPlatform.Config.OrderType.???????????????).ToString()).AddOnly("ParentDomain",this.Domain.Guid)) %>"><span class="ico ico-home-ico"></span> ??????</a> </li> <li class=''> <a href="<%=WebUrl.Album(new List<AVA.ResourcesPlatform.Config.UrlParam>().AddOnly("ParentDomain",this.Domain.Guid)) %>"><span class="ico ico-home-ico"></span> <%= Define.Get("Client_???")%>???</a> </li> </ul> <script> $(function () { $('[data-hover="dropd own"]').dropdownHover(); }); </script> </div> <!-- /.nav-collapse --> </div> </div> <!-- /navbar-inner --> </div> </div> </div> </div> </div> </header> <script> $(document).load(function () { $('.flash_messages').affix(); }); </script> <%--<%= new HeaderInstance(this) { HeaderItem=HeaderItem.Index, ReplaceItems = new ReplaceItems().Add("HeaderSearch", ReplaceTypeEnum.Html,new SearchVideoMaxInstance(this){}.ToHtml()), TransferControl="/Header_Virtual" }.ToHtml()%>--%> <% var categoriesList = CreateInstance.CategoryDao.Where(l => l.ParentCategory == null) .OrderBy(l => l.SortNumber) .ToList(); %> <%-- <div class="content white"> <div class="navbar sub-navbar"> <div class="navbar-inner gray"> <div class="container"> <ul class="nav"> <% for (var i = 0; i < categoriesList.Count; i++) { var cate = categoriesList[i]; %> <li class="divider">|</li> <li class=""> <%= new HtmlAnchor(cate.Name) { Href = WebUrl.Video(new List<AVA.ResourcesPlatform.Config.UrlParam>().AddOnly("ParentCategory", cate.Guid)) }%></li> <% } %> </ul> </div> </div> </div> </div>--%> <div class="content white"> <div class="container"> <div class="row"> <div class="span12 m-t20"> <%--<%= new NavInstance(this) { }.Add(Define.Get("???"),WebUrl.Index()).ToHtml()%>--%> </div> <!-- /span16 --> </div> <div class="row"> <div class="span8"> <div class="flat metro metro-grid orange"> <div class="body"> <div class="videos_with_mask"> <ul class="thumbnails thumbnails-body only-photo"> <li class="span4"> <ul class="thumbnails"> <% //????????????????? bool videoRangeControl = SettingGroup.Setting().VideoRangeControl; %> <%= new IndexVideoByInstance(this) { TransferControl = "/Index/indexvideobycategory2", PageSize = 1, ParentDomain = this.Domain.Guid, SchoolPageView = videoRangeControl == false ? "" : ((int)AVA.ResourcesPlatform.Model.Pub.VideoViewRangeSchoolPageViewEnum.???).ToString() }.ToHtml()%> </ul> <div class=""> <div class="head"> <div class="title">?????</div> </div> <div class="body orders-list video-orders-list"> <%= new IndexVideoByInstance(this) { PageSize = 3, OrderBy = AVA.ResourcesPlatform.Config.OrderType.??????, TransferControl = "/Index/IndexVideoByHot_orders_tv", ParentDomain = this.Domain.Guid, SchoolPageView = videoRangeControl == false ? "" : ((int)AVA.ResourcesPlatform.Model.Pub.VideoViewRangeSchoolPageViewEnum.???).ToString() }.ToHtml()%> </div> </div> </li> <li class="span4 "> <ul class="thumbnails"> <%= new IndexVideoByInstance(this) { TransferControl = "/Index/indexvideobycategory", PageSize = 6, SkipNum = 1, ParentDomain = this.Domain.Guid, SchoolPageView = videoRangeControl == false ? "" : ((int)AVA.ResourcesPlatform.Model.Pub.VideoViewRangeSchoolPageViewEnum.???).ToString() }.ToHtml()%> </ul> </li> </ul> </div> </div> </div> </div> <div class="span4"> <div class="notice-hots-lives"> <ul class="nav nav-tabs "> <li class="active"><a href="#lives" data-toggle="tab"><span class="ico ico-live-ico"></span>??????</a></li> <li class=""><a href="#hots" data-toggle="tab"><span class="ico ico-document-ico"></span>??????</a></li> <li class=""><a href="#notices" data-toggle="tab"><span class="ico ico-graphy-ico"></span>???</a></li> </ul> <div class="tab-content orders-list"> <div class=" tab-pane " id="notices"> <ul class="orders"> <%= new IndexNoticeByInstance(this) { PageSize = 9, DomainGuid = this.Domain.Guid }.ToHtml()%> </ul> </div> <div class="tab-pane " id="hots"> <ul class="orders"> <% var listVideo = CreateInstance.VideoDao.DayViewCount(new AVA.ResourcesPlatform.Config.TotalParameter() { TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.???, DomainGuid = this.Domain.Guid, ResultCount = 9, VideoRangeType = "AreaPageView", VideoViewRange = videoRangeControl ? ((int)AVA.ResourcesPlatform.Model.Pub.VideoViewRangeAreaPageViewEnum.???).ToString() : null }); for (int i = 0; i < listVideo.Count; i++) { var video = listVideo[i]; if (i < 3) { %> <li> <a class="nums" title="<%=video.Name%>" target="_blank" href="<%=WebUrl.VideoPlay(video.Guid)%>"> <label class=" hots">0<%= i + 1%></label><%= new HtmlSpan(video.Name) { Class = "text", TextLength = 16, Suffix = ".." }%><span class="total_num"> <%--<%= CreateInstance.PVHistoryDao.DayViewCount(1, "Video", AVA.ResourcesPlatform.Config.TotalTypeEnum.???, video.Guid, this.Domain.Guid)%></span></a>--%> <%= video.VideoView%></span></a> </li> <% } else { if (i + 1 < 10) { %> <li> <a class="nums" title="<%=video.Name%>" target="_blank" href="<%=WebUrl.VideoPlay(video.Guid)%>"> <label class=" ">0<%= i + 1%></label><%= new HtmlSpan(video.Name) { Class = "text", TextLength = 16, Suffix = ".." }%><span class="total_num"> <%--<%= CreateInstance.PVHistoryDao.DayViewCount(1, "Video", AVA.ResourcesPlatform.Config.TotalTypeEnum.???, video.Guid, this.Domain.Guid)%></span></a>--%> <%= video.VideoView%></span></a> </li> <% } else { %> <li> <a class="nums" title="<%=video.Name%>" target="_blank" href="<%=WebUrl.VideoPlay(video.Guid)%>"> <label class=" "><%= i + 1%></label><%= new HtmlSpan(video.Name) { Class = "text", TextLength = 16, Suffix = ".." }%><span class="total_num"> <%--<%= CreateInstance.PVHistoryDao.DayViewCount(1, "Video", AVA.ResourcesPlatform.Config.TotalTypeEnum.???, video.Guid, this.Domain.Guid)%></span></a>--%> <%= video.VideoView%></span></a> </li> <% } } } %> </ul> </div> <div class="tab-pane active" id="lives"> <%= new IndexLiveByInstance(this) { PageSize = 9, OrderBy = AVA.ResourcesPlatform.Config.OrderType.??????, StartTime = DateTime.Now.Date, EndTime = DateTime.Now.Date.AddDays(1), TransferControl = "/Index/IndexLiveByHot", ParentDomain = this.Domain.Guid }.ToHtml()%> </div> </div> </div> </div> </div> </div> </div> <div class="content white"> <div class="container"> <div class="row"> <div class="span8"> <div class="flat"> <div class="head"> <div class="title"> <a>???????</a> </div> </div> <div class="body"> <div class="videolist"> <%= new IndexVideoByInstance(this) { TransferControl = "/Index/indexvideobyhot", PageSize = 8, ParentDomain = this.Domain.Guid, SchoolPageView = videoRangeControl == false ? "" : ((int)AVA.ResourcesPlatform.Model.Pub.VideoViewRangeSchoolPageViewEnum.???).ToString() }.ToHtml()%> </div> </div> </div> </div> <div class="span4"> <div class="flat"> <div class="head"> <div class="title"> <a>??????</a> </div> <div class="more"> <ul class="nav nav-tabs"> <li class="active"> <a href="#weekOrders" data-toggle="tab">?????</a> </li> <li>/ </li> <li> <a href="#monthOrders" data-toggle="tab">?????</a> </li> <li>/ </li> <li> <a href="#yearOrders" data-toggle="tab">?????</a> </li> </ul> </div> </div> <div class="body"> <div class="tab-content orders-list"> <div class="tab-pane active" id="weekOrders"> <%= new IndexVideoByInstance(this) { PageSize = 10, OrderBy = AVA.ResourcesPlatform.Config.OrderType.??????, TransferControl = "/Index/IndexVideoByHot_orders", ParentDomain = this.Domain.Guid, SchoolPageView = videoRangeControl == false ? "" : ((int)AVA.ResourcesPlatform.Model.Pub.VideoViewRangeSchoolPageViewEnum.???).ToString() }.ToHtml()%> </div> <div class="tab-pane" id="monthOrders"> <%= new IndexVideoByInstance(this) { PageSize = 10, OrderBy = AVA.ResourcesPlatform.Config.OrderType.??????, TransferControl = "/Index/IndexVideoByHot_orders", ParentDomain = this.Domain.Guid, SchoolPageView = videoRangeControl == false ? "" : ((int)AVA.ResourcesPlatform.Model.Pub.VideoViewRangeSchoolPageViewEnum.???).ToString() }.ToHtml()%> </div> <div class="tab-pane" id="yearOrders"> <%= new IndexVideoByInstance(this) { PageSize = 10, OrderBy = AVA.ResourcesPlatform.Config.OrderType.??????, TransferControl = "/Index/IndexVideoByHot_orders", ParentDomain = this.Domain.Guid, SchoolPageView = videoRangeControl == false ? "" : ((int)AVA.ResourcesPlatform.Model.Pub.VideoViewRangeSchoolPageViewEnum.???).ToString() }.ToHtml()%> </div> </div> </div> </div> </div> </div> </div> <div class="content white"> <div class="container"> <div class="row"> <div class="span8"> <div class="flat"> <div class="head"> <div class="title"> <a>????<%= Define.Get("Client_???")%></a> </div> </div> <div class="body"> <div class="videolist"> <%= new IndexAlbumByInstance(this) { TransferControl = "/Index/indexalbumbyhot", PageSize = 8, ParentDomain = this.Domain.Guid }.ToHtml()%> </div> </div> </div> </div> <div class="span4"> <div class="flat"> <div class="head"> <div class="title"> <a>???????</a> </div> </div> <div class="body"> <div class="avatar-list avatar-list-heng "><%= new IndexTeacherByInstance(this) { ParentDomain = this.Domain.Guid }.ToHtml()%></div> </div> </div> </div> </div> </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