Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Themes\AreaJiaXin\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/libs/jquery-1.7.1.min.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")%> <%= new HeadInstance(this) { }.ToHtml() %> </head> <body> <%= new BrowserTipInstance(this) { }.ToHtml() %> <%= new HeaderInstance(this) { Local="Index", ReplaceItems = new ReplaceItems().Add("HeaderSearch", ReplaceTypeEnum.Html,new SearchVideoMaxInstance(this){CacheEnable = 60*60}.ToRenderHtml()) }.ToHtml()%> <div class="main-wrap" style="margin-top:5px;"> <div id="leftlist" class="fl"> <div id="login"> <div id="login-out" style="overflow:hidden"> <ul class="item" style="text-align:center;list-style:none;margin:78px 0 0 0;"> <li style="margin-bottom:10px"> <%= new HtmlAnchor( new HtmlImg( SettingGroup.UserHeadPortrait( CreateInstance.UserDao.Get(this.UserCode)),"??????") { Class="", Width=80, Height=80,OnError="this.src='"+Import.CSSFile("img/user_32.png")+"'"}) { Title="??????", Href= WebUrl.Basic() }%> </li> <li ><%= new HtmlAnchor("?????????") { Href= WebUrl.My(),Class="btn"}%> </li> <li> <br/></li> <li > <%= new HtmlAnchor("???") { Href = WebUrl.Logout() ,Class="btn"}%> </li> </ul> </div> <div class="forms " id="login-lol" style="overflow: hidden;"> <form action="" onsubmit="return false;" id="frmLogin"> <div class="items"> <div class="item" style="display:none;"> <label class="lbl">????????</label> <select name="DomainGuid"><option value="AVA" realvalue="AVA" selected="selected">?????????</option></select> <%-- = new HtmlSelect("DomainGuid", "Name", "Guid", "Guid") { Option = this.ListDomain, SelectedValue = CookieGroup.DomainGuid } --%> <%= new HtmlYKTip("DomainGuid")%> </div> <div class="item"> <label class="lbl">??????</label> <%= new HtmlText("UserName", null)%> <%= new HtmlYKTip("UserName") %> </div> <div class="item"> <label class="lbl">?????</label> <%= new HtmlPassword("Password") %> <%= new HtmlYKTip("Password") %> </div> <div class="item"><label class="lbl">??????</label><%= new HtmlText("CheckCode", null, 4) { Width = 60, Class = "input-border", OnFocus = "this.value='';" }.Style(new { Text_Transform = "uppercase" })%> <img id="checkCodeIMG" alt="???????????" src="" style="display:none" onclick="changeCheckCode();" /> </div> <div class="item indent" style=""> <%-- = new HtmlHidden("Src",this.Src) --%> <ul> <li class="login-btn"> <%= new HtmlSubmit("???","Login","LoginClient(this);") %></li> <li class="login-btn"> <%= new HtmlAnchor("???") { Href=WebUrl.Signup() }%></li> <li class="forgetkeyword"><%= new HtmlAnchor("??????") { Href = WebUrl.FindPWD() }%></li> </ul> </div> </div> </form> </div> </div> <script type="text/javascript"> //?????????? if ($.cookie("UserCode<%= SettingGroup.CookieSuffix %>") != null && $.cookie("ParentCode<%= SettingGroup.CookieSuffix %>") != null) { $("#login-lol").hide(); $("#login-out").show(); $("#login-out .uname").html($.cookie("UserName<%= SettingGroup.CookieSuffix %>")); } else { $("#login-out").hide(); $("#login-lol").show(); } </script> <script type="text/javascript"> //?????? $.validator.initConfig({ validatorGroup: "Login", form: "#frmLogin", alertMessage: true, showMessage: false }); //????? $("#frmLogin [name=UserName]").formValidator({ validatorGroup: "Login", rules: { required: null }, message: { required: "?????????" } }); //?????? $("#frmLogin [name=Password]").formValidator({ validatorGroup: "Login", rules: { required: null }, message: { required: "???????????" } }); </script> <script type="text/javascript"> function LoginClient(send) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.Login", data: Global.GetFormValue($("#frmLogin")), async: true, dataType: 'json', success: function (result) { $(send).val("??????"); window.location.href = "<%= WebUrl.Index() %>"; $("#login-lol").hide(); $("#login-out").show(); Global.Disabled(send, false); }, beforeSend: function () { $(send).val("??????..."); Global.Disabled(send, true); }, complete: function () { }, error: function (XMLHttpRequest, textStatus, errorThrown) { $(send).val("???"); Global.Disabled(send, false); var message = XMLHttpRequest.responseText; Global.Error(message); } }); } //????????????? // if (txtCheckCode != null) { // var checkCode = $.cookie("checkCode"); // if (checkCode != null && txtCheckCode.value.toUpperCase() != checkCode) { //alert('<%= Define.Get("User_?????????").ToScriptChar() %>'); // txtCheckCode.value = ""; // txtCheckCode.focus(); // } // } function changeCheckCode() { document.getElementById("checkCodeIMG").src = "checkcode.aspx?rnd=" + Math.random(); document.getElementById("checkCodeIMG").style.display = ""; } changeCheckCode(); function clearCookie() { var keys = document.cookie.match(/[^ =;]+(?=\=)/g); if (keys) { for (var i = keys.length; i--;) document.cookie = keys[i] + '=0;expires=' + new Date(0).toUTCString() } } //clearCookie(); </script> <div id="sys-anu"> <div id="sysanu-lol"> <%= new IndexNoticeByInstance(this) { ListNoticeCount=9, FirstString=40 }.ToHtml()%> </div> </div> <div ><a href="http://www.cern.net.cn" id="index-ad1">???????????</a></div> <div ><a href="http://www.cbern.gov.cn" id="index-ad2">??????????????</a></div> <div ><a href="http://cctv.ksedu.cn" id="index-ad3">????????????</a></div> </div> <div id="rightlist"> <div id="show"> <%= new IndexAlbumByInstance(this) { PageSize = 6, OrderBy = AVA.ResourcesPlatform.Config.OrderType.???????????????????????, TransferControl = "/Index/IndexAlbumByHotDay" }.ToHtml()%> </div> <div id="newest-v"> <div class="more"><%= new HtmlAnchor("???>>") { Class="blue", Href=WebUrl.Video() }%></div> <div> <%= new IndexAlbumByInstance(this) { PageSize = 4, OrderBy = AVA.ResourcesPlatform.Config.OrderType.???????????????????????, TransferControl = "/Index/IndexAlbumByShort" }.ToHtml()%> </div> </div> <div id="hotest-v"> <div class="more"> <%= new HtmlAnchor("???>>") { Class="blue", Href=WebUrl.Video() }%> </div> <div> <%= new IndexAlbumByInstance(this) { PageSize = 4, OrderBy = AVA.ResourcesPlatform.Config.OrderType.??????, TransferControl = "/Index/IndexAlbumByShort" }.ToHtml()%> </div> </div> </div> </div> <div class="content" role="main" style="display:none;"> <div class="container"> <div class="row"> <div class="span10"> <div class="box"> <%-- = new IndexAlbumByInstance(this) { PageSize = 6, OrderBy = AVA.ResourcesPlatform.Config.OrderType.???????????????????????, TransferControl = "/Index/IndexAlbumByHotDay" }.ToHtml() --%> </div> </div> <div class="span6"> <div id="bulletin_Board" class="box mbox "> <div class="head"> <%= new HtmlAnchor("??????") { Class="title", Href=WebUrl.NoticeList() }%> <span class="more"> <%= new HtmlAnchor("???...") { Class="title", Href=WebUrl.NoticeList() }%></span> </div> <div class="body "> <%= new IndexNoticeByInstance(this) { ListNoticeCount=9, FirstString=40 }.ToHtml()%> </div> </div> </div> </div> <% if (SettingGroup.HasDomain == false) { //???????????????????? //???????????????????????? var firstUserType = CreateInstance.UserTypeDao.Where(l => l.ParentDomain.Guid == CookieGroup.DomainGuid && 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(firstUserType.Name + "???") { 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 "> <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=10, OrderBy= AVA.ResourcesPlatform.Config.OrderType.???????????????????????, TransferControl="/Index/IndexAlbumByHot" }.ToHtml() %> </div> <div class="clearFloat"></div> </div> </div> </div> <% } %> <% if (SettingGroup.HasSubject == true) { %> <div class="row"> <div class="span16"> <div class="box mbox visible-desktop"> <div class="head"> <div class="title "> <%= new HtmlAnchor("??????") { Href="#" }%> </div> <div class="more"> <%= new HtmlAnchor("???...") { Class="blue", Href=WebUrl.Subject() }%> </div> </div> <div class="videolist body clearfix"> <%= new IndexSubjectByInstance(this) { PageSize=20, ParentIsNull = true, OrderBy= AVA.ResourcesPlatform.Config.OrderType.?????? }.ToHtml() %> </div> <div class="clearFloat"></div> </div> </div> <!-- /span --> </div> <% } %> <% if (SettingGroup.HasMeeting == true) { %> <div class="row"> <div class="span16"> <div class="box mbox visible-desktop"> <div class="head"> <div class="title "> <%= new HtmlAnchor("??????") { Href="#" }%> </div> <div class="more"> <%= new HtmlAnchor("???...") { Class="blue", Href=WebUrl.Meeting() }%> </div> </div> <div class="videolist body clearfix"> <%= new IndexMeetingByInstance(this) { PageSize=20, OrderBy= AVA.ResourcesPlatform.Config.OrderType.??????, Stale=false }.ToHtml() %> </div> <div class="clearFloat"></div> </div> </div> <!-- /span --> </div> <% } %> <% if (SettingGroup.HasLive == true) { %> <div class="row"> <div class="span16"> <div class="box mbox visible-desktop"> <div class="head"> <div class="title "> <%= new HtmlAnchor("??????") { Href="#" }%> </div> <div class="more"> <%= new HtmlAnchor("???...") { Class="blue", Href=WebUrl.Live() }%> </div> </div> <div class="videolist body clearfix"> <%= new IndexLiveByInstance(this) { PageSize = 20 }.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