Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\Bsk\Control\SubjectView\SubjectViewInfo.ascx
??<%@ Control Language="C#" Inherits="AVA.ResourcesPlatform.WebUI.Control.SubjectView.SubjectViewInfo" %> <div class="showInfo"> <h3 style="font-size: 140%;" title="<%= this.Subject.Name %>" class="headline">??????: <%= this.Subject.Name %> <%= new PVHistoryCollectInstance(this) { PKId= this.Subject.Guid,PVTarget="Subject" }.ToHtml() %> <span class="pub"> <%= ((AVA.ResourcesPlatform.Model.Pub.SubjectStatusEnum)this.Subject.Status).Define() %></span></h3> <div class="clear"> </div> <%--<div class="subtitle"> Kung Fu Panda 2 </div>--%> <!--.subtitle--> <%=new HtmlImg(SettingGroup.SubjectCover(this.Subject), this.Subject.Name) { Class = "vi-img",Width=140, Height=88, OnErrorImg=SettingGroup.DefaultImg}.Style(new { margin_top = "20px" }) %> <ul class="baseinfo"> <li class="area"> <label class="label"> ???: </label> <%= new HtmlAnchor(this.Subject.ParentUser.ParentUserType.ParentDomain.Name) { Target = "_blank", Href = new UrlExecute() { ParentDomain = this.Subject.ParentUser.ParentUserType.ParentDomain.Guid }.ToUrl(SearchType.Subject) }%> </li> <% if (this.Subject.ParentSubject != null) { %> <li class="area"> <label class="label"> ???????: </label> <%= new HtmlAnchor(this.Subject.ParentSubject.Name) { Title = this.Subject.ParentSubject.Name, Target = "_blank", Href = WebUrl.SubjectView(this.Subject.ParentSubject.Guid) }%> </li> <% } %> <li class="area"> <label class="label"> ?????: </label> <%= this.Subject.Compere %> </li> <% if (this.ListCategory.Count > 0) { %> <li class="stattype"> <label class="label"> ???: </label> <% foreach (var category in this.ListCategory) { %> <%= new HtmlAnchor(category.Name) { Target = "_blank", Href = new UrlExecute() { ParentChannel = category.Guid }.ToUrl(SearchType.Subject) }%> <% } %></li> <% } %> <% if (this.ListChannel.Count > 0) { %> <li class="stattype"> <label class="label"> ???: </label> <% foreach (var channel in this.ListChannel) { %> <%= new HtmlAnchor(channel.Name) { Target = "_blank", Href = new UrlExecute() { ParentChannel = channel.Guid }.ToUrl(SearchType.Subject) }%> <% } %></li> <% } %> <% if (this.ListSubjectTag.Count > 0) { %> <li class="stattype"> <label class="label"> ???: </label> <% foreach (var tag in this.ListSubjectTag) { %> <%= new HtmlAnchor(tag.Title) { Target = "_blank", Href = new UrlExecute() { TagTitle = tag.Title }.ToUrl(SearchType.Subject) }%> <% } %> </li> <% } %> <li class="ratingstar"> <label class="label"> ???????: </label> <span class="rating"><em class="num"> <%= this.Subject.BeginTime %></em></span></li> <li class="ratingstar"> <label class="label"> ??????: </label> <span class="rating"><em class="num"> <%= this.Subject.EndTime %></em></span></li> <li class="ratingstar"> <label class="label">?????????:</label> <%= this.Subject.CutoffTime %> </li> </ul> <!--.baseinfo--> <ul class="baseinfo"> <li class="statinfo"> <div class="state"> <span>?????:</span><span class="num"> <%= this.Subject.VideoView%></span> <span>???:</span><span class="num"> <%= this.Subject.CommentCount%></span> <%--<span>???:</span><span class="num"> <%= this.Subject.CollectCount%></span>--%> </div> <div class="clear"> </div> </li> </ul> <!--.baseinfo--> <div class="clear"> </div> <div style="margin: 20px; margin-left: 150px;"> <% //??? if ((this.Subject.Status == (int)AVA.ResourcesPlatform.Model.Pub.SubjectStatusEnum.??? || this.Subject.Status == (int)AVA.ResourcesPlatform.Model.Pub.SubjectStatusEnum.???) && this.Subject.CutoffTime >= DateTime.Now ) { //????????????/?????????????????? if (this.SubjectUser != null) { %> <%= new HtmlButton("???????????????") { Title = "???????????????..", OnClick = "return false;" }%> <% } else { %> <table border="0"> <tr> <td> <%= new HtmlButton("?????????...") { Title = "??????...", OnClick = "SubjectUserApplySignupClient(this,'" + SetKey(this.Subject.Guid, this.Subject.Version) + "');return false;" }%> </td> </tr> </table> <script type="text/javascript"> function SubjectUserApplySignupClient(send, pkid) { if (confirm("?????????????????????")) { //var applyRemark = window.prompt("?????????????", ""); var applyRemark = "??????"; $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.SubjectUserApplySignup", data: "key=" + pkid + "&applyRemark=" + encodeURIComponent(applyRemark), async: true, dataType: 'json', success: function (result) { alert("?????????"); Global.Disabled(send, false); }, beforeSend: function () { Global.Disabled(send, true); }, complete: function () { }, error: function (XMLHttpRequest, textStatus, errorThrown) { Global.Disabled(send, false); var message = XMLHttpRequest.responseText; Global.Error(message); } }); } } </script> <% } } %> <div class="clear"> </div> </div> <% if (!string.IsNullOrEmpty(this.Subject.Ad) && FileExists(SettingGroup.SubjectUploadPath, this.Subject.Ad)) { %> <!--.showinfobtn--> <div class="statdesc"> <span class="short"> <%= new HtmlImg(SettingGroup.SubjectAd(this.Subject)).Style(new { Max_Width="560px" })%> </span> </div> <% } %> <!--.showinfobtn--> <div class="statdesc"> <span class="short" id="show_info_short"> <%= this.Subject.Description.RestoreHtml() %> </span> </div> <!--.statdesc--> <div class="clear"> </div> <%--<div class="more"> <a onclick="QOfficial.odinfo.toggleInfo(this);" id="handleTagA" class="handle">??????</a></div>--%> <!--.more--> </div>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de