Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Subject\guangwaiweike\control\Header.ascx
??<%@ Control Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.SubjectTheme.SubjectTemplate" %> <div class="nav_subject"> <div class="con_box" id="nav"> <ul style="margin:0 0 10px 0"> <%--<li class="<%= this.Param1=="???"?"now":"" %>"><a href="<%= WebUrl.Url("/subject/"+this.Subject.Theme+"/index") %>">??????</a></li>--%> <li class="<%= this.Param1=="???"?"now":"" %>"><a href="<%= WebUrl.Url("/subject/"+this.Subject.Theme+"/Index") %>">??????</a></li> <li class="<%= this.Param1=="???"?"now":"" %>"><a href="<%= WebUrl.Url("/subject/"+this.Subject.Theme+"/noticeslist") %>">??????</a></li> <li class="<%= this.Param1=="???"?"now":"" %>"><a href="<%= WebUrl.Url("/subject/"+this.Subject.Theme+"/detail") %>">??????</a></li> <li class="<%= this.Param1=="???"?"now":"" %>"><a href="<%= WebUrl.Url("/subject/"+this.Subject.Theme+"/award") %>">??????</a></li> <%--<li><a href="<%= WebUrl.AlbumView("153ccbe5a7ab47059f7543936f881ab5")%>">??????</a></li>--%> <%--<li><a href="#">??????</a></li>--%> <li><a href="<%= WebUrl.Url("/subject/"+this.Subject.Theme+"/index") %>">??????</a></li> <% if (this.UserCode != null) { %> <% //????????????????? if ((this.Subject.Status == (int)AVA.ResourcesPlatform.Model.Pub.SubjectStatusEnum.??? || this.Subject.Status == (int)AVA.ResourcesPlatform.Model.Pub.SubjectStatusEnum.???) && this.Subject.CutoffTime >= DateTime.Now && CreateInstance.STUserDao.Count(l=>l.ParentSubject == this.Subject && l.ParentUser == this.User) == 0 ) { //????????????/?????????????????? if (this.SubjectUser != null) { %> <li><%= new HtmlAnchor("??????") { Title = "??????", OnClick = "return false;" }%></li> <% } else { %> <li><%= new HtmlAnchor("??????") { Title = "??????", OnClick = "SubjectUserApplySignupClient(this,'" + SetKey(this.Subject.Guid, this.Subject.Version) + "');return false;" }%></li> <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("?????????"); window.location.href = "<%= WebUrl.MySubjectSignup() %>"; 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> <% } } %> <%} %> </ul> <% if (this.UserCode == null) { %> <ul class="pull-right" style="margin-right: 10px;background-color:orange;width:70px;text-align:center;"><a href="/login.aspx?returnURL=<%= WebUrl.Url("/subject/"+this.Subject.Theme+"/index") %>" style="color: #fcfcfc;">??????</a></ul> <% } else { %> <ul style="position: relative;margin-left:30px;" class=""> <% if (CreateInstance.STUserDao.Count(l => l.ParentUser == this.User && l.ParentSubject == this.Subject) > 0) { %> <a class="entrance" id="pinweiEnter_btn" style="cursor:pointer;">??????</a> <% } else if(this.SubjectUser !=null) { %> <a href="<%= WebUrl.MyVideoUpload() %>" class="upload"></a> <%--<a href="javascript:void(0);" onClick="alert('?????????????????????')" class="entrance">??????</a>--%> <% } %> <script> $(document).ready(function () { $('#pinweiEnter_btn').on("click", function (e) { if ('<%= this.Subject.CutoffTime > DateTime.Now%>' == 'True') { alert("???????????????<%= this.Subject.CutoffTime.ToShortDate() %>????????"); return; } else { window.location.href = "<%= WebUrl.MySubjectSTVideo(this.Subject.Guid)%>"; } //var now = new Date(); //var month = now.getUTCMonth() + 1, // year = now.getFullYear(), // date = now.getDate(); //var now = new Date(); //var month = now.getUTCMonth() + 1, // year = now.getFullYear(), // date = now.getDate(); //// ???????????? //var start_day = new Date(year + "/" + 11 + "/" + 25), // end_day = new Date(year + "/" + 12 + "/" + 30); //if (start_day > now || now > end_day) { // e.preventDefault(); // $('#message').fadeIn(); // setTimeout(function () { // $('#message').fadeOut(); // }, 5000); //} }) }) </script> </ul> <% } %> </div> </div>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de