Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Themes\QTQY\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"> <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() %> <style type="text/css"> .slider-banner2 { position: relative; width: 100%; overflow: hidden; height: 328px; background: #F0F0F0; } .slider-banner2 ul { list-style: none; margin-left: 0; } .slider-banner2 ul li { position: relative; text-align: center; } .slider-banner2 .banner-inner { position: absolute; top: 45%; left: 20%; margin: auto; text-align: center; display: none; } .slider-banner2 .dots img { height: 100%; } .slider-banner2 .dots { position: absolute; left: 0; right: 0; bottom: 20px; width: 100%; margin: 0; text-align: center; } .slider-banner2 .dots li { display: inline-block; *display: inline; zoom: 1; width: 10px; height: 10px; line-height: 10px; margin: 0 4px; text-indent: -999em; *text-indent: 0; border: 2px solid #fff; border-radius: 6px; cursor: pointer; opacity: .4; -webkit-transition: background .5s, opacity .5s; -moz-transition: background .5s, opacity .5s; transition: background .5s, opacity .5s; } .slider-banner2 .dots li.active { background: #fff; opacity: 1; } .notice-hots-lives .nav-tabs li { width: 50%; } .appfloat { position: fixed; right: -152px; bottom: 30%; background: url("/help/0.6bg.png"); padding: 10px; text-align: center; border-radius: 5px; transition: all .6s; } .appfloat:hover { right: 0; } .appfloat p { color: #fff; font-size: 1.2em; margin-bottom: 0; float: left; width: 26px; margin-top: 10px; margin-right: 10px; } .appfloat img { margin: 0px auto 0px auto; height: 140px; float: left; } .tj, .zz { width: 135px; height: 55px; display: inline-block; *display: inline; *zoom: 1; margin: 0 15px 0 0; } </style> </head> <body class="ks-theme"> <%= new BrowserTipInstance(this) { }.ToHtml() %> <%= new HeaderInstance(this) { HeaderItem=HeaderItem.Index, ReplaceItems = new ReplaceItems().Add("HeaderSearch", ReplaceTypeEnum.Html,new SearchVideoMaxInstance(this){}.ToRenderHtml()) }.ToHtml()%> <div class="big-banner"> <div class="banner-tables"> <div class="container"> <div class="row"> <div class="banner-tabs span3 offset9"> <div class="bg-opacity7"></div> <div class="banner-tabs-body"> <ul class="nav nav-tabs "> <li class="active"><a href="#hots" data-toggle="tab">???</a></li> <li class=""><a href="#lives" data-toggle="tab">???</a></li> <li class=""><a href="#notices" data-toggle="tab">???</a></li> </ul> <div class="tab-content"> <div class=" tab-pane " id="notices"> <ul class="orders"> <%= new IndexNoticeByInstance(this){}.ToHtml() %> </ul> </div> <div class="tab-pane active" id="hots"> <ul class="nav nav-pills "> <li class="active"><a href="#week-hots" data-toggle="pill">?????</a></li> <li class=""><a href="#year-hots" data-toggle="pill">?????</a></li> </ul> <div class="tab-pane active" id="week-hots"> <ul class="orders"> <% var listVideo = CreateInstance.VideoDao.DayViewCount(new AVA.ResourcesPlatform.Config.TotalParameter() { TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.??, ResultCount = 10 }); 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) %>" onclick="<%= video.Share == (int)AVA.ResourcesPlatform.Model.Pub.VideoShareEnum.?????? ? "return VideoShareWithLogined();" : "" %>"> <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,CookieGroup.DomainGuid) %></span></a> </li> <% } else { if (i + 1 < 10) { %> <li> <a class="nums" title="<%=video.Name %>" target="_blank" href="<%=WebUrl.VideoPlay(video.Guid) %>" onclick="<%= video.Share == (int)AVA.ResourcesPlatform.Model.Pub.VideoShareEnum.?????? ? "return VideoShareWithLogined();" : "" %>"> <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,CookieGroup.DomainGuid) %></span></a> </li> <% } else { %> <li> <a class="nums" title="<%=video.Name %>" target="_blank" href="<%=WebUrl.VideoPlay(video.Guid) %>" onclick="<%= video.Share == (int)AVA.ResourcesPlatform.Model.Pub.VideoShareEnum.?????? ? "return VideoShareWithLogined();" : "" %>"> <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,CookieGroup.DomainGuid) %></span></a> </li> <% } } } %> </ul> </div> <div class="tab-pane " id="year-hots"> <ul class="orders"> <% listVideo = CreateInstance.VideoDao.DayViewCount(new AVA.ResourcesPlatform.Config.TotalParameter() { TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.??, ResultCount = 10 }); 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) %>" onclick="<%= video.Share == (int)AVA.ResourcesPlatform.Model.Pub.VideoShareEnum.?????? ? "return VideoShareWithLogined();" : "" %>"> <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,CookieGroup.DomainGuid) %></span></a> </li> <% } else { if (i + 1 < 10) { %> <li> <a class="nums" title="<%=video.Name %>" target="_blank" href="<%=WebUrl.VideoPlay(video.Guid) %>" onclick="<%= video.Share == (int)AVA.ResourcesPlatform.Model.Pub.VideoShareEnum.?????? ? "return VideoShareWithLogined();" : "" %>"> <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,CookieGroup.DomainGuid) %></span></a> </li> <% } else { %> <li> <a class="nums" title="<%=video.Name %>" target="_blank" href="<%=WebUrl.VideoPlay(video.Guid) %>" onclick="<%= video.Share == (int)AVA.ResourcesPlatform.Model.Pub.VideoShareEnum.?????? ? "return VideoShareWithLogined();" : "" %>"> <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,CookieGroup.DomainGuid) %></span></a> </li> <% } } } %> </ul> </div> </div> <div class="tab-pane" id="lives"> <%= new IndexLiveByInstance(this) { PageSize=10, OrderBy = AVA.ResourcesPlatform.Config.OrderType.??????, StartTime=DateTime.Now.Date,EndTime=DateTime.Now.Date.AddDays(1) , TransferControl="/Index/IndexLiveByHot"}.ToHtml()%> </div> </div> </div> </div> </div> </div> </div> <%= new IndexVideoByInstance(this) { PageSize = 5, OrderBy = AVA.ResourcesPlatform.Config.OrderType.???????????????, TransferControl = "/Index/IndexVideoBySlider" }.ToHtml()%> </div> <div class="content gray"> <div class="container"> <div class="row"> <div class="span12"> <div class="flat metro head-dot m-t20 metro-suck orange"> <div class="head "> <div class="title gray">??????</div> </div> <div class="body"> <div class=" marquee-box school-srollbox"> <a href="#" class="scrollbox-backward btn " data-target="#scrollbox-container2"><span class="org_bot_cor " ></span></a> <a href="#"class="scrollbox-forward btn" data-target="#scrollbox-container2" ><span class="org_bot_cor inverse"></span></a> <%-- <a href="#" data-target="#scrollbox-container2" class="scrollbox-backward btn"><</a>--%> <%--<a href="#" data-target="#scrollbox-container2" class="scrollbox-forward btn"><</a>--%> <%--<a href="#"class="scrollbox-forward btn" onclick="GetDomainData();">></a>--%> <input type="hidden" value="2" id="SchoolPageIndex" /> <div class="scrollbox scrollbox-vert" id="scrollbox-container2"> <%= new IndexSchoolByInstance(this) {PageSize = 12}.ToHtml()%> </div> <script type="text/ecmascript"> function GetDomainData() { var pageIndex = $("#SchoolPageIndex").val(); var params = "PageIndex=" + pageIndex + "&CacheEnable=3600"; Global.HtmlControl('<%= ControlPath("/Index/IndexSchoolBy")%>', params, null, function (json) { if (json != null && json.Html != "") { $("#scrollbox-container2").html(json.Html); } }); pageIndex = parseInt(pageIndex) + 1; $("#SchoolPageIndex").val(pageIndex); } </script> </div> </div> </div> </div> </div> </div> </div> <div class="content white"> <div class="container"> <div class="row"> <div class="span12"> <div class="flat metro metro-grid head-bottom-line "> <div class="head "> <div class="title">??????</div> <div style="float:right;padding-top:10px;"><%= new HtmlAnchor("???...") { Href = WebUrl.Video()}%></div> </div> <div class="body"> <div class="videos_with_mask"> <ul class="thumbnails thumbnails-body"> <li class="span4"> <ul class="thumbnails"> <%= new IndexVideoByInstance(this) { TransferControl = "/Index/indexvideobycategory2", PageSize=1}.ToHtml()%> </ul> </li> <li class="span8"> <ul class="thumbnails"> <%= new IndexVideoByInstance(this) { TransferControl = "/Index/indexvideobycategory", PageSize=9, SkipNum = 1 }.ToHtml()%> </ul> </li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="content white"> <div class="container"> <div class="row"> <div class="span6"> <div class="flat metro head-bottom-line "> <div class="head "> <div class="title">??????</div> <div style="float:right;padding-top:10px;"><%= new HtmlAnchor("???...") { Href = WebUrl.Live()}%></div> </div> <div class="body"> <%= new IndexOnlineByInstance(this) { PageSize=5, TransferControl = "/Index/indexOnlineBySlider" }.ToHtml() %> <%-- <div class=" orders-list"> <%= new IndexOnlineByInstance(this) { PageSize=3, TransferControl = "/Index/indexOnlineByHot_orders" }.ToHtml() %> </div>--%> </div> </div> </div> <div class="span6 "> <div class="flat metro head-bottom-line "> <div class="head"> <div class="title">??????</div> <div style="float:right;padding-top:10px;"><%= new HtmlAnchor("???...") { Href = WebUrl.Meeting()}%></div> </div> <div class="body "> <div class=" triangle-box"> <%= new IndexMeetingByInstance(this) { PageSize=3, OrderBy= AVA.ResourcesPlatform.Config.OrderType.??????, Stale=false, TransferControl = "/Index/IndexMeetingBy_triangle" }.ToHtml() %> </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