Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Themes\Gzzztj\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: 369px; 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; } .tj { background: url('<%= Import.CSSFile("img/tj1.png")%>') no-repeat; } .tj:hover { background: url('<%= Import.CSSFile("img/tj_hover.png")%>') no-repeat; } .zz { background: url('<%= Import.CSSFile("img/zz2.png")%>') no-repeat; } .zz:hover { background: url('<%= Import.CSSFile("img/zz_hover.png")%>') no-repeat; } </style> </head> <body class="school-theme"> <%= new BrowserTipInstance(this) { }.ToHtml() %> <%= new HeaderInstance(this) { HeaderItem=HeaderItem.Index, ReplaceItems = new ReplaceItems().Add("HeaderSearch", ReplaceTypeEnum.Html,new SearchVideoMaxInstance(this){}.ToHtml()) }.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("ParentMasterCategory", 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"> <% //????????????????? bool videoRangeControl = SettingGroup.Setting().VideoRangeControl; %> <%= new IndexVideoByInstance(this) { PageSize = 5, OrderBy = AVA.ResourcesPlatform.Config.OrderType.???????????????, TransferControl = "/Index/IndexVideoBySlider_small", SchoolPageView = videoRangeControl == false ? "" : ((int)AVA.ResourcesPlatform.Model.Pub.VideoViewRangeSchoolPageViewEnum.???).ToString() }.ToHtml()%> </div> <div class="span4"> <div class="notice-hots-lives" style="overflow: hidden; height: 300px;"> <ul class="nav nav-tabs "> <%--<li class=""><a href="#hots" data-toggle="tab"><span class="ico ico-document-ico"></span>???</a></li>--%> <li class="active"><a href="#notices" data-toggle="tab"><span class="ico ico-graphy-ico"></span>??????</a></li> <li class=""><a href="#lives" data-toggle="tab"><span class="ico ico-live-ico"></span>??????</a></li> </ul> <div class="tab-content orders-list"> <div class="tab-pane active" id="notices"> <ul class="orders"> <%= new IndexNoticeByInstance(this){ListNoticeCount=9}.ToHtml() %> </ul> </div> <div class="tab-pane " 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"}.ToHtml()%> </div> </div> </div> <div> <div class="btn-group enter-btn" style="width: 100%; text-align: center; margin-left: 20px;"> <%-- <%= new HtmlAnchor("?????????") { Title="?????????", Target = "_blank", Href = WebUrl.SubjectView(""), TextLength=22,Suffix="...", Class="zz"}%> <%= new HtmlAnchor("?????????") { Title="?????????", Target = "_blank", Href = WebUrl.SubjectView(""), TextLength=22,Suffix="...", Class="tj" }%>--%> <%if (this.User != null) { %> <%= new HtmlAnchor("?????????") { Title="?????????", Target = "_blank", Href = WebUrl.MyVideoUpload("c24638e668ab417e87be3a6cfb9727c0"), TextLength=22,Suffix="...", Class="zz"}%> <%= new HtmlAnchor("?????????") { Title="?????????", Target = "_blank", Href = WebUrl.MyVideoUpload("357222c790c042608eade7a4b4d0dbe2"), TextLength=22,Suffix="...", Class="tj" }%> <% } %> </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, SchoolPageView = videoRangeControl == false ? "" : ((int)AVA.ResourcesPlatform.Model.Pub.VideoViewRangeSchoolPageViewEnum.???).ToString(), ParentAlbumGuid = CreateInstance.AlbumDao.Where(l=>l.Name == "???????????????").Select(l=>l.Guid).FirstResult() }.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="orders-list"> <div class="" id="weekOrders"> <%= new IndexVideoByInstance(this) { PageSize = 9, OrderBy = AVA.ResourcesPlatform.Config.OrderType.??????, TransferControl = "/Index/IndexVideoByHot_orders", 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>??????????</a> </div> </div> <div class="body"> <div class="videolist"> <%= new IndexVideoByInstance(this) { TransferControl = "/Index/indexvideobyhot", PageSize=8, ParentAlbumGuid = CreateInstance.AlbumDao.Where(l=>l.Name == "????????????").Select(l=>l.Guid).FirstResult(), 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"> <%=new HtmlAnchor("???...") { Href=WebUrl.SchoolResource(), Target="_blank"}%> </div> </div> <div class="body"> <div class="orders-list"> <div class="" id="weekOrders"> <% var ListDomain = CreateInstance.VideoDao.ListDomainResource().Take(9).ToList(); %> <% if (ListDomain.Count > 0) { %> <ul class="orders"> <% for (var i = 0; i < ListDomain.Count; i++) { var domain = ListDomain[i]; if (i < 3) { %> <li> <% var label = "0" + (i + 1); %> <%= new HtmlAnchor( new HtmlLabel("label",label){Class=" hots"}+"" + new HtmlSpan( domain.Name){ Class="text", TextLength=18,Suffix=".."}+""+ new HtmlSpan(domain.Count){Class="total_num"} ){ Class="nums", Title=domain.Name, Href = domain.WebSite }%> </li> <% } else { if (i + 1 < 10) { %> <li> <% var label = "0" + (i + 1); %> <%= new HtmlAnchor( new HtmlLabel("label",label){Class=" "}+ ""+ new HtmlSpan( domain.Name){ Class="text", TextLength=18,Suffix=".."}+""+ new HtmlSpan(domain.Count){Class="total_num"} ){ Class="nums", Title=domain.Name, Href = domain.WebSite }%> </li> <% } else { %> <li> <% var label = (i + 1).ToString(); %> <%= new HtmlAnchor( new HtmlLabel("label", label){Class=" "}+""+ new HtmlSpan( domain.Name){ Class="text", TextLength=18,Suffix=".."}+""+ new HtmlSpan(domain.Count){Class="total_num"} ){ Class="nums", Title=domain.Name, Href = domain.WebSite }%> </li> <% } } } %> </ul> <% } else { %> <div class="alert">??????</div> <% } %> </div> </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