Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Themes\DefaultTheme\Control\My\MyMenu.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyMenu.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyMenu" %> <div class="app-sidebar"> <div class="control_panel"> <div class="avatar"> <% if (CreateInstance.UserDao.Get(this.UserCode).HeadPortrait != null) { //?????? %> <%= new HtmlAnchor(new HtmlImg(SettingGroup.UserHeadPortrait(CreateInstance.UserDao.Get(this.UserCode)),"??????") { Class="avatar img-circle", Width=80, Height=80}) { Title="??????", Href= WebUrl.Basic() }%> <% } else { //???????? %> <%= new HtmlAnchor( new HtmlImg(SettingGroup.DefauteUserImg, "?????") { ID = "imgHeadPortrait",Class="avatar img-circle", Width=80, Height=80 }) { Title="??????", Href= WebUrl.Basic() }%> <% } %> <div class="my_name"> <%= new HtmlAnchor(this.User.TrueName) { Target = "_blank", Href = WebUrl.Show(this.User.ParentDomain.Code, this.User.UserName), Title = this.User.ParentUserType.Name , Suffix="..", TextLength=3 }%> <%= new HtmlAnchor("[???]") { Href = WebUrl.Logout() }%> <br /> <%= new HtmlAnchor("???("+CreateInstance.MessageDao.Count(this.User)+")") { Href= WebUrl.MyMessage() }%><br /> </div> </div> <ul class="nav nav-list"> <li class="<%= this.MyMenuItem ==MyMenuItem.My ? "active" : "" %>"> <%= new HtmlAnchor(new HtmlSpan() { Class= "icon icon-home"} + Define.Get("Client_??????") + new HtmlSpan() { Class = "icon icon-arrow" }) { Title= Define.Get("Client_??????"), Href = WebUrl.My() }%> </li> <% if (this.User.ParentUserType.HeadMasterEnable == true) { %> <li class="<%= this.MyMenuItem == MyMenuItem.HeadMasterEnable ? "active" : "" %>"> <%= new HtmlAnchor(new HtmlSpan() { Class= "icon icon-statis"}+ Define.Get("Client_??????") + new HtmlSpan() { Class = "icon icon-arrow" } ) { Title=Define.Get("Client_??????"), Href= WebUrl.MasterIndex() }%> </li> <% } %> <% if (this.User.ParentUserType.VideoEnable == true) { %> <li class="<%= this.MyMenuItem == MyMenuItem.VideoEnable ? "active" : "" %>"> <%= new HtmlAnchor(new HtmlSpan() { Class= "icon icon-video"}+ Define.Get("Client_??????") + new HtmlSpan() { Class = "icon icon-arrow" } ) {Title=Define.Get("Client_??????"), Href= WebUrl.MyVideo() }%> </li> <% } %> <% if (this.User.ParentUserType.StudentEbable == true) { %> <li class="<%= this.MyMenuItem == MyMenuItem.StudentEbable ? "active" : "" %>"> <%= new HtmlAnchor(new HtmlSpan() { Class= "icon icon-question"}+ Define.Get("Client_??????") + new HtmlSpan() { Class = "icon icon-arrow" }) { Title=Define.Get("Client_??????"),Href = WebUrl.MyStudentAsk() }%> </li> <% } %> <%-- <% if (this.User.ParentUserType.TeacherEbable == true) { %> <li class="<%= this.MyMenuItem == MyMenuItem.TeacherEbable ? "active" : "" %>"> <%= new HtmlAnchor(new HtmlSpan() { Class= "icon icon-askreplay"}+ Define.Get("Client_??????") + new HtmlSpan() { Class = "icon icon-arrow" }) {Title=Define.Get("Client_??????"), Href = WebUrl.MyVideoAskReplay() }%> </li> <% } %>--%> <%-- <% if (this.User.ParentUserType.AlbumEnable == true) { %> <li class="<%= this.MyMenuItem == MyMenuItem.AlbumEnable ? "active" : "" %>"> <%= new HtmlAnchor(new HtmlSpan() { Class= "icon icon-album"}+ Define.Get("Client_??????") + new HtmlSpan() { Class = "icon icon-arrow" } ) { Title=Define.Get("Client_??????"), Href= WebUrl.MyAlbum() }%> </li> <% } %>--%> <% if (this.User.ParentUserType.ApplicationEnable == true) { %> <li class="<%= this.MyMenuItem == MyMenuItem.ApplicationEnable ? "active" : "" %>"> <%= new HtmlAnchor(new HtmlSpan() { Class= "icon icon-live"}+ Define.Get("Client_??????") + new HtmlSpan() { Class = "icon icon-arrow" } ) { Title=Define.Get("Client_??????"), Href= WebUrl.MyApplication() }%> </li> <% } %> <% if (this.User.ParentUserType.GrowUp == true && SettingGroup.HasST) { %> <li class="<%= this.MyMenuItem == MyMenuItem.GrowUp ? "active" : "" %>"> <%= new HtmlAnchor(new HtmlSpan() { Class= "icon icon-growup"}+ Define.Get("Client_??????") + new HtmlSpan() { Class = "icon icon-arrow" } ) {Title=Define.Get("Client_??????"), Href= WebUrl.MyGrowthPath() }%> </li> <% } %> <% if (this.User.ParentUserType.InstructorEnable == true && SettingGroup.HasLiveListen) { %> <li class="<%= this.MyMenuItem == MyMenuItem.InstructorEnable ? "active" : "" %>"> <%= new HtmlAnchor(new HtmlSpan() { Class= "icon icon-studio"}+ Define.Get("Client_?????????") + new HtmlSpan() { Class = "icon icon-arrow" } ) { Title=Define.Get("Client_?????????"),Href= WebUrl.MyListenLesson() }%> </li> <% } %> <% if (this.User.ParentUserType.SubjectEnable == true && SettingGroup.HasSubject) { %> <li class="<%= this.MyMenuItem == MyMenuItem.SubjectEnable ? "active" : "" %>"> <%= new HtmlAnchor(new HtmlSpan() { Class= "icon icon-subject"}+ Define.Get("Client_?????????") + new HtmlSpan() { Class = "icon icon-arrow" } ) { Title=Define.Get("Client_?????????"), Href= WebUrl.MySubject() }%> </li> <% } %> <%--<% if (this.User.ParentUserType.SubjectUserEnable == true && SettingGroup.HasSubject) { %> <li class="<%= this.MyMenuItem == MyMenuItem.SubjectUserEnable ? "active" : "" %>"> <%= new HtmlAnchor(new HtmlSpan() { Class= "icon icon-subject-user"}+ Define.Get("Client_?????????") + new HtmlSpan() { Class = "icon icon-arrow" } ) { Title= Define.Get("Client_?????????"), Href= WebUrl.MySubjectParticipate() }%> </li> <% } %>--%> <% if (this.User.ParentUserType.MeetingEnable == true && SettingGroup.HasMeeting == true) { %> <li class="<%= this.MyMenuItem == MyMenuItem.MeetingEnable ? "active" : "" %>"> <%= new HtmlAnchor(new HtmlSpan() { Class= "icon icon-meeting"}+ Define.Get("Client_?????????") + new HtmlSpan() { Class = "icon icon-arrow" } ) { Title=Define.Get("Client_?????????") ,Href= WebUrl.MyMeeting() }%> </li> <% } %> <% if (this.User.ParentUserType.MeetingUserEnable == true && SettingGroup.HasMeeting == true) { %> <li class="<%= this.MyMenuItem == MyMenuItem.MeetingUserEnable ? "active" : "" %>"> <%= new HtmlAnchor(new HtmlSpan() { Class= "icon icon-meeting-user"}+ Define.Get("Client_?????????") + new HtmlSpan() { Class = "icon icon-arrow" } ) { Title=Define.Get("Client_?????????"), Href= WebUrl.MyMeetingParticipate() }%> </li> <% } %> <%-- <% if (this.User.ParentUserType.CourseLive == true && SettingGroup.HasVideoMonitoring) { %> <li class="<%= this.MyMenuItem == MyMenuItem.CourseLive ? "active" : "" %>"> <%= new HtmlAnchor(new HtmlSpan() { Class= "icon icon-course-live"}+ Define.Get("Client_????¤?") + new HtmlSpan() { Class = "icon icon-arrow" } ) {Title=Define.Get("Client_????¤?"), Href= WebUrl.MyCourseLive() }%> </li> <% } %>--%> <li class="<%= this.MyMenuItem == MyMenuItem.MyCollect ? "active" : "" %>"> <%= new HtmlAnchor(new HtmlSpan() { Class= "icon icon-favour"}+ Define.Get("Client_??????") + new HtmlSpan() { Class = "icon icon-arrow" } ) { Title=Define.Get("Client_??????"), Href= WebUrl.MyCollect() }%> </li> <li class="<%= this.MyMenuItem == MyMenuItem.MyComment ? "active" : "" %>"> <%= new HtmlAnchor(new HtmlSpan() { Class= "icon icon-comment"}+ Define.Get("Client_??????") + new HtmlSpan() { Class = "icon icon-arrow" } ) { Title=Define.Get("Client_??????"), Href= WebUrl.MyComment() }%> </li> <% if (this.User.ParentUserType.CommentManager == true) { %> <li class="<%= this.MyMenuItem == MyMenuItem.MyCommentManager ? "active" : "" %>"> <%= new HtmlAnchor(new HtmlSpan() { Class= "icon icon-comment-manage"}+ Define.Get("Client_??????") + new HtmlSpan() { Class = "icon icon-arrow" } ) { Title=Define.Get("Client_??????"), Href= WebUrl.MyCommentManager() }%> </li> <% } %> <% if (CreateInstance.UserGroupDao.Count(l => l.ParentMasterUser == this.User) > 0) { %> <li class="<%= this.MyMenuItem == MyMenuItem.Group ? "active" : "" %>"> <%= new HtmlAnchor(new HtmlSpan() { Class= "icon icon-comment-manage"}+ Define.Get("Client_????????") + new HtmlSpan() { Class = "icon icon-arrow" } ) { Title=Define.Get("Client_????????"), Href = WebUrl.MyGroupUser() }%> </li> <% } %> <%--<% if (CreateInstance.UserGroupDao.Count(l => l.ParentMasterUser == this.User) > 0) { %> <li><a data-target="#collapse-group" data-toggle="collapse" href="#group"><%=new HtmlSpan() { Class= "icon icon-favour"}+ Define.Get("Client_??????") + new HtmlSpan() { Class = "icon icon-arrow" } %><span class="caret caret-plus">+</span></a> <ul class="nav nav-list sub_menus <%= (this.MyMenuItem == MyMenuItem.GroupUser || this.MyMenuItem == MyMenuItem.GroupVideo || this.MyMenuItem == MyMenuItem.GroupAlbum || this.MyMenuItem == MyMenuItem.GroupMeeting || this.MyMenuItem == MyMenuItem.GroupSubject || this.MyMenuItem == MyMenuItem.GroupApplication ? "in" : "collapse") %>" id="collapse-group"> <li class="<%= (this.MyMenuItem == MyMenuItem.GroupUser ? "active" : "") %>"> <%= new HtmlAnchor(Define.Get("Client_????????")) { Title=Define.Get("Client_????????"), Href = WebUrl.MyGroupUser() }%> </li> <li class="<%= (this.MyMenuItem == MyMenuItem.GroupVideo ? "active" : "") %>"> <%= new HtmlAnchor(Define.Get("Client_?????")) { Title=Define.Get("Client_?????"), Href = WebUrl.MyGroupVideo() }%> </li> <li class="<%= (this.MyMenuItem == MyMenuItem.GroupAlbum ? "active" : "") %>"> <%= new HtmlAnchor(Define.Get("Client_?????")) { Title=Define.Get("Client_?????"), Href = WebUrl.MyGroupAlbum() }%> </li> <% if (SettingGroup.HasMeeting == true) { %> <li class="<%= (this.MyMenuItem == MyMenuItem.GroupMeeting ? "active" : "") %>"> <%= new HtmlAnchor(Define.Get("Client_?????")) { Title=Define.Get("Client_?????"), Href = WebUrl.MyGroupMeeting() }%> </li> <% } %> <li class="<%= (this.MyMenuItem == MyMenuItem.GroupSubject ? "active" : "") %>"> <%= new HtmlAnchor(Define.Get("Client_?????")) { Title=Define.Get("Client_?????"), Href = WebUrl.MyGroupSubject() }%> </li> <% if (SettingGroup.HasLive == true) { %> <li class="<%= (this.MyMenuItem == MyMenuItem.GroupApplication ? "active" : "") %>"> <%= new HtmlAnchor(Define.Get("Client_?????")) { Title=Define.Get("Client_?????"), Href = WebUrl.MyGroupApplication() }%> </li> <% } %><%= (this.MyMenuItem == MyMenuItem.GroupApplication ? "active" : "") %> </ul> </li> <% } %>--%> <li class=""> <%= new HtmlAnchor(new HtmlSpan() { Class= "icon icon-favour"}+ "?????????" + new HtmlSpan() { Class = "icon icon-arrow" } ) { Title="?????????", Href="#info-group" }.AddAttribute("data-target","#info-group").AddAttribute("data-toggle","collapse")%> <ul class="nav nav-list sub_menus <%= (this.MyMenuItem == MyMenuItem.Password||this.MyMenuItem == MyMenuItem.Basic ? "in" : "collapse") %> " id="info-group"> <li class="<%= (this.MyMenuItem == MyMenuItem.BasicInfo ? "active" : "") %> "> <%= new HtmlAnchor(new HtmlSpan() { Class= ""}+ "?????????" + new HtmlSpan() { Class = "icon icon-arrow" } ) { Title="?????????", Href=WebUrl.BasicInfo() }%> </li> <li class="<%= (this.MyMenuItem == MyMenuItem.Password ? "active" : "") %> "> <%= new HtmlAnchor(new HtmlSpan() { Class= ""}+ "??????" + new HtmlSpan() { Class = "icon icon-arrow" } ) { Title="??????", Href=WebUrl.Password() }%> </li> </ul> </li> </ul> </div> </div>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de