Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Themes\DefaultTheme\Control\My\MyBasicInfo.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyBasicInfo.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyBasicInfo" %> <div class="box well"> <div class="p_title"> <span class="title">???????????</span> <%= this.User.UserName %> ???????? </div> <hr /> <form id="frmHeadPortrait" action="" onsubmit="return false;"> <div class="userInput"> <table border="0" style="margin: 0 auto; text-align: center;"> <tr> <td> <div class="personalHead"> <% if (this.HeadPortraitUrl != null) { //?????? %> <%= new HtmlImg(this.HeadPortraitUrl, this.User.TrueName + "?????") { ID = "imgHeadPortrait", Width=120, Height=120 }%> <% } else { //???????? %> <%= new HtmlImg(SettingGroup.DefauteUserImg, this.User.TrueName + "?????") { ID = "imgHeadPortrait", Width=120, Height=120 }%> <% } %> <%= new HtmlHidden("HeadPortrait", this.User.HeadPortrait)%> </div> </td> </tr> </table> </div> <div class="clear"> </div> </form> <hr /> <form action="" id="frmBasic" method="post" onsubmit="return false;"> <ul class="userInput user" id="info"> <li><span class="label">????????</span> <%= new HtmlLabel("TrueName", this.User.TrueName) { Class = "text" }%> </li> <li ><span class="label">????????</span> <ul style="vertical-align: top;width:290px;display:inline-block;*display:inline;*zoom:1;margin-left: 0;-moz-column-count:2; -webkit-column-count:2; column-count:2;"> <% var userCategory = CreateInstance.UserCategoryDao.Where(l => l.ParentUser.Guid == this.User.Guid).ToList(); if (userCategory.Count > 0) { var cateName = ""; for (var i = 0; i <= userCategory.Count - 1; i++) { var category = userCategory[i]; cateName += category.ParentCategory.Name+ ","; } if (cateName.Length > 0) { cateName = cateName.Substring(0, cateName.Length - 1); } %> <li><%= cateName %></li> <% } else { %> <li>?????????</li> <% } %> </ul> </li> <li> <%if(string.IsNullOrEmpty(this.User.Introduction)) { %> <span class="label">??????????</span> <%= new HtmlLabel("Introduction", this.User.Introduction) { Class = "text"}%> <% } else { %> <div style="float:left;"><span class="label">??????????</span></div> <div style="float:left;width:400px;"><%= new HtmlLabel("Introduction", this.User.Introduction) { Class = "text"}%></div> <% } %> </li> <li><span class="label">????????</span> <%= new HtmlLabel("MobilePhone", this.User.MobilePhone) { Class = "text" }%> </li> <li><span class="label">?????</span> <%= new HtmlLabel("Telephone", this.User.Telephone == null ? "??" : this.User.Telephone) { Class = "text" }%> </li> <li><span class="label">Email??</span> <%= new HtmlLabel("Email", this.User.Email == null ? "??" : this.User.Email) { Class = "text" }%> </li> <li><span class="label">?????????</span> <%= new HtmlLabel("IDCard", this.User.IDCard == null ? "??" : this.User.IDCard) { Class = "text" }%> </li> <li><span class="label">QQ??</span> <%= new HtmlLabel("QQ", this.User.QQ == null ? "??" : this.User.QQ) { Class = "text" }%> </li> <li><span class="label">MSN??</span> <%= new HtmlLabel("MSN", this.User.MSN == null ? "??" : this.User.MSN) { Class = "text" }%> </li> <li><span class="label">????????</span> <%= new HtmlLabel("Address", this.User.Address == null ? "??" : this.User.Address) { Class = "text" }%> </li> <li><span class="label">????????</span> <%= new HtmlLabel("PostalCode", this.User.PostalCode == null ? "??" : this.User.PostalCode) { Class = "text" }%> </li> <li class="action" style="margin-top:20px;"> <%= new HtmlButton("??????", "BasicEdit();") { Width = 100 }%> </li> </ul> </form> </div> <script type="text/javascript"> function BasicEdit() { window.location.href = "<%=WebUrl.Basic()%>"; } </script>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de