Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\NewtonTheme\Control\My\MyAlbumPublic.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyAlbumPublic.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyAlbumPublic" %> <div class="flat data-box"> <div class="head"> <span class="title">?????<%= this.Query.RecordCount %>?????<%= Define.Get("Client_???")%></span> </div> <div class="dataControl "> <form id="frmAlbumPublicSearch" method="post" action="<%= WebUrl.Proxy() %>"> ????? <%= new HtmlText("Name", this.Name) { Width = 120 }%> ????? <%= new HtmlText("CreateTimeBegin", this.CreateTimeBegin.ToShortDate()) { Width = 80 }%> ?? <%= new HtmlText("CreateTimeEnd", this.CreateTimeEnd.ToShortDate()) { Width = 80 }%> <%= new HtmlHidden("Key","MyAlbumPublic") %> <%= new HtmlSubmit("???") %> <%= new HtmlReset("???") { Class="btn"}%> </form> <script type="text/javascript"> $(function () { $("#frmAlbumPublicSearch [name=CreateTimeBegin]").datepicker({ maxDate: new Date($("#frmAlbumPublicSearch [name=CreateTimeEnd]").val()), onClose: function () { $("#frmAlbumPublicSearch [name=CreateTimeEnd]").datepicker("option", "minDate", new Date(this.value)); } }); $("#frmAlbumPublicSearch [name=CreateTimeEnd]").datepicker({ minDate: new Date($("#frmAlbumPublicSearch [name=CreateTimeBegin]").val()), onClose: function () { $("#frmAlbumPublicSearch [name=CreateTimeBegin]").datepicker("option", "maxDate", new Date(this.value)); } }); }); </script> </div> <div id="MyAlbumPublicData" class="data"> <div class=""> <table cellspacing="0" cellpadding="0" width="100%"> <tbody> <tr id="dataHead" class="dataHead"> <td >??? </td> <td >???</td> <td >????</td> <td >??? </td> <td >?????? </td> <td >??? </td> </tr> <!--??? ????? ????? ?? ??????? ????? ????????? ????????? class="firstLine lastLine"--> <% for (int i = 0; i <= this.ListAlbumPublic.Count - 1; i++) { var album = this.ListAlbumPublic[i]; //?????????????? %> <tr class='<%= i == 0 ? "firstLine" : "" %> <%= i == this.ListAlbumPublic.Count - 1 ? "lastLine" : "" %>'> <td class="v min-video-photo-td"> <div class="min-video-photo"><%= new HtmlAnchor( new HtmlImg(SettingGroup.AlbumCover(album), album.Name) { OnErrorImg=SettingGroup.DefaultImg}) { Href = WebUrl.MyAlbumVideo(album.Guid), Title=album.Name }%></div> </td> <td> <p> <%= new HtmlAnchor(album.Name) { Href = WebUrl.MyAlbumVideo(album.Guid) }%> <%-- <br /> <span class="pass"> <%= album.ParentAlbumLevel.Name %> </span> <br /> <br /> ?????<%= album.VideoView%> ?????<%= album.CommentCount%>--%> </p> </td> <td> <% var classStatus = ""; if (album.Status == (int)AVA.ResourcesPlatform.Model.Pub.AlbumStatusEnum.???) { classStatus = "pass"; } else { classStatus = ""; } %> <span class="<%=classStatus %>"> <%= ((AVA.ResourcesPlatform.Model.Pub.AlbumStatusEnum)album.Status).Define() %> </span><br /> <% var classExamine = ""; if (album.Examine == (int)AVA.ResourcesPlatform.Model.Pub.AlbumExamineEnum.??????) { classExamine = "pass"; } else if (album.Examine == (int)AVA.ResourcesPlatform.Model.Pub.AlbumExamineEnum.????????) { } else { classExamine = ""; } %> <span class="<%=classExamine %>"> <%= ((AVA.ResourcesPlatform.Model.Pub.AlbumExamineEnum)album.Examine).Define() %> </span><br /> <% if (album.LockAlbum == (int)AVA.ResourcesPlatform.Model.Pub.AlbumLockAlbumEnum.???) { %> <%= new HtmlSpan("???") { Title = album.ParentLockUser.UserName + " " + album.LockDateTime + " " + album.LockDescription }.Style(new { Color = "Red" })%> <% } %> </td> <td> <%= album.CreateTime.ToDateTimeN().ToShortDate() %> </td> <td class="play"> <%= CreateInstance.AlbumVideoDao.Count(l=>l.ParentAlbum== album) %>??<br />[??<%= CreateInstance.AlbumVideoDao.Count(l=>l.ParentAlbum == album && l.ConfirmStatus == 0) %>???????? </td> <td class="action"> <%= new HtmlAnchor("???????????") { Href = WebUrl.MyAlbumVideo(album.Guid), Class="myAction" }%> </td> </tr> <% } %> </tbody> </table> </div> <script type="text/javascript"> $("#MyAlbumPublicData .trselall").click(function () { if (this.checked == true) { $("#MyAlbumPublicData .trsel").attr("checked", "checked"); } else { $("#MyAlbumPublicData .trsel").removeAttr("checked"); } }) function SelectMyAlbumPublicAll() { var bool = $("#MyAlbumPublicData .trselall").attr("checked"); bool = !bool; if (bool == true) { $("#MyAlbumPublicData .trsel").attr("checked", "checked"); $("#MyAlbumPublicData .trselall").attr("checked", "checked"); } else { $("#MyAlbumPublicData .trsel").removeAttr("checked"); $("#MyAlbumPublicData .trselall").removeAttr("checked"); } } </script> </div> <div> <a onclick="SelectMyAlbumPublicAll(); return false;" href="#">???? - ???</a> </div> <%= new PagerAjaxInstance(this) { RecordCount = this.Query.RecordCount, PageSize = this.Query.PageSize, PageIndex = this.Query.PageIndex, PageJsFn = WebUrl.MyVideo(int.MaxValue, this.Name, this.CreateTimeBegin.ToString(null), this.CreateTimeEnd.ToString(null)) }.ToHtml()%> </div>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de