Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Themes\ShiXun\Control\Index\IndexSubjectBy.ascx
??<%@ Control Language="C#" Inherits="AVA.ResourcesPlatform.WebUI.Control.Index.IndexSubjectBy" %> <% if (this.ListSubject != null && this.ListSubject.Count > 0) { %> <ul> <% foreach (var subject in this.ListSubject) { var status = "no-ico"; if (subject.Status == 2 ) { status = " ico ico-progressing-ico"; } else if (subject.Status == 3) { status = " ico ico-complete-ico"; } %> <li class=""> <div class="video-photo"> <%if(subject.STEnable) { %> <%= new HtmlAnchor( new HtmlImg(SettingGroup.SubjectCover(subject), subject.Name) { OnErrorImg=SettingGroup.DefaultImg} ) { Title = subject.Name, Target = "_blank", Href = WebUrl.SubjectView(subject.Guid) }%> <%} else { %> <a data-toggle="modal" data-target="#sharedModal" data-guid="" class="add-item-by-modal<%=subject.Guid %>" href="#"><%=new HtmlImg(SettingGroup.SubjectCover(subject), subject.Name) { OnErrorImg=SettingGroup.DefaultImg} %></a> <% } %> <%= new HtmlAnchor(new HtmlSpan() { Class=status}){ Title = subject.Name, Target = "_blank", Href = WebUrl.SubjectView(subject.Guid) } %> </div> <div class="video-infos"> <div class="title"> <%if(subject.STEnable) { %> <%= new HtmlAnchor(subject.Name) { Title = subject.Name, Target = "_blank", Href = WebUrl.SubjectView(subject.Guid), TextLength=22, Suffix="..." }%> <%}else { %> <a data-toggle="modal" data-target="#sharedModal" data-guid="" class="add-item-by-modal<%=subject.Guid %>" href="#"><%= subject.Name %></a> <script type="text/javascript"> $(function () { $(".add-item-by-modal<%=subject.Guid %>").click(function () { var url = "/ShiXunWorkView.aspx?Guid=<%= subject.Guid%>"; $("#sharedModal #sharedModalLabel").html("?????????"); $(".modal-body").css("height", $(window).height() * .7); $("#sharedModal").width($(window).width() * .8) .css("margin-left", -$("#sharedModal").width() / 2) .css("margin-top", -$("#sharedModal").height() / 2); $("#iframeControl").attr("src", url).css("width", "100%").css("min-height", $(".modal-body").height()); $(document).on("ChildPageLoad", function (e, param) { $("#iframeControl").css("min-height", param.height); }); }) }); </script> <% } %> </div> <!--.baseinfo--> <ul class="baseinfo" style="height:15px;"> <li class="statinfo"> <div class="state"> <dl class="view_times" title="?????"> <dd class="ico"></dd> <dt class="num"> <%= subject.VideoView%></dt> </dl> <dl class="comments" title="???"> <dd class="ico"></dd> <dt class="num"> <%= subject.CommentCount%></dt> </dl> </div> </li> </ul> <p class="others-info"> <span class="author"> <%= new HtmlAnchor(new HtmlSpan(){Class="ico ico-who-ico"}+subject.ParentUser.TrueName) { Href = WebUrl.Show(subject.ParentUser.ParentDomain.Code, subject.ParentUser.UserName), Title = subject.ParentUser.ParentDomain.Name }%> </span> </p> <p class="others-info"> <span class="date" style="margin-right:0px;"><%= new HtmlSpan(){Class="ico ico-clock-ico"} %> <%= subject.BeginTime.ToString("yy/MM/dd") %> ?? <%= subject.EndTime.ToString("yy/MM/dd") %></span> </p> <p class="others-info"> <span class="date activty-enddate" style="margin-right: 0px;"><%= new HtmlSpan(){Class="ico ico-clock-ico"} %> ?????????<%= subject.CutoffTime.ToString("yy/MM/dd") %></span> </p> <table class="baseinfo-table hidden"> <tr class=""> <td class="area"> <label class="label"> ???: </label> </td> <td> <%= new HtmlAnchor(subject.ParentUser.ParentDomain.Name) { Target = "_blank", Href = new UrlExecute() { ParentDomain = subject.ParentUser.ParentDomain.Guid }.ToUrl(SearchType.Subject) }%> </td> </tr> <tr class=""> <td class="area "> <label class="label"> ?????: </label> </td> <td> <%= subject.Compere %> </td> </tr> <tr> <td class="ratingstar"> <label class="label"> <%= Define.Get("Nav_Subject_??????????")%>: </label> </td> <td class="ratingstar"> <span class="rating"><em class="num"> <%= subject.BeginTime.ToShortDate() %></em></span> </td> </tr> <tr> <td class="ratingstar"> <label class="label"><%= Define.Get("Nav_Subject_?????????")%>:</label> </td> <td class="ratingstar error"> <%= subject.CutoffTime %> </td> </tr> <tr> <td class="ratingstar"> <label class="label"> <%= Define.Get("Nav_Subject_?????????")%>: </label> </td> <td class="ratingstar info"> <span class="rating"><em class="num"> <%= subject.EndTime %></em></span> </td> </tr> </table> <!--.baseinfo--> </div> </li> <% } %> <li class="left_fix"> </li> <li class="left_fix"> </li> <li class="left_fix"> </li> <li class="left_fix"> </li> <li class="left_fix"> </li> </ul> <% } else { %> <div class="alert">??????</div> <%} %>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de