alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  
<td width="100%" nowrap> <a class="nav" href="index"> »  <fmt:message key="mvnforum.user.viewmember.title"/>: <%=memberBean.getMemberName()%> </td> </tr> </table> <table width="95%" align="center"> <% if (MVNForumConfig.getEnableAvatar()) { %> <tr> <td align="center"> <% if (memberBean.getMemberAvatar().length() > 0) { %> <img src="<%=memberBean.getMemberAvatar_processed()%>" border="0" alt="" title=""> <% } else { %> <img src="<%=contextPath%>/mvnplugin/mvnforum/images/user/no_picture.gif" border="0" alt="" title=""> <% } %> </td> </tr> <% } //enable avatar%> <tr> <td align="center"> <a href="searchprocess?member=<%=Encoder.encodeURL(memberBean.getMemberName())%>" class="command"> </td> </tr> </table> <br/> <table class="tborder" width="95%" cellspacing="1" cellpadding="5" align="center"> <tr class="theader"> <td colspan="2" align="center"> <%=memberBean.getMemberViewCount()%> <%=memberBean.getMemberPostCount()%> </tr> <tr class="trow1"> <td width="25%"> <td> <b><%=memberBean.getMemberName()%> <%if ( memberBean.getMemberTitle().length()>0 ) {%> (<%=EnableMVNCodeFilter.filter(memberBean.getMemberTitle())%>) <%}%> <%boolean enableInvisible = MVNForumConfig.getEnableInvisibleUsers(); boolean invisible = memberBean.isInvisible(); boolean online = onlineUserManager.isUserOnline(memberBean.getMemberName()); if ( online && (!enableInvisible || !invisible) ) {%> <%-- (S)he is online now, the "online" text show only when the Invisible feature is disabled or his status is visible ( not invisable ). Otherwise, show "offline" text --%> <font color="#008000"> (<fmt:message key="mvnforum.common.member.online"/>) </font> <%} else if (online && permission.canAdminSystem()) {%> <font color="#008000"> (<fmt:message key="mvnforum.common.member.online.invisible_member"/>) </font> <%} else {%> (<fmt:message key="mvnforum.common.member.offline"/>) <%}%> <% if (MVNForumConfig.getEnablePrivateMessage()) { %> <a href="addmessage?MessageToList=<%=Encoder.encodeURL(memberBean.getMemberName())%>"><fmt:message key=" title=""> <%}%> </td> </tr> <tr class="trow2"> <td> <td><%=memberBean.getMemberFirstname()%> </tr> <tr class="trow1"> <td> <td><%=memberBean.getMemberLastname()%> </tr> <tr class="trow2"> <td> <td> <%if (memberBean.showEmail()) { if ( onlineUser.isGuest() ) {%> <fmt:message key="mvnforum.common.member.email.hidden_to_guest"/> <%} else {%> <a href="mailto:<%=memberBean.getMemberEmail()%>"><%=memberBean.getMemberEmail()%> <%}// end of online user is not a guest %> <%} else if (permission.canAdminSystem()) {// // end of show email%> <a href="mailto:<%=memberBean.getMemberEmail()%>"><%=memberBean.getMemberEmail()%> <%} else {%> <fmt:message key="mvnforum.common.member.email.dont_want_to_show"/> <%}// end outer if struct %> <% if (permission.canAdminSystem() && (memberBean.getMemberEmail().equalsIgnoreCase(memberBean.getMemberFirstEmail()) == false) ) {%> (<fmt:message key="mvnforum.common.member.first_email"/>: <%=memberBean.getMemberFirstEmail()%>) <% } // let to show the first email%> </td> </tr> <tr class="trow1"> <td> <td> <%if (memberBean.getMemberGender() == 1) {%> <img src="<%=contextPath%>/mvnplugin/mvnforum/images/icon/male.gif" border="0" alt="" title=""> <%} else {%> <img src="<%=contextPath%>/mvnplugin/mvnforum/images/icon/female.gif" border="0" alt="" title=""> <%}%> </td> </tr> <tr class="trow2"> <td> <td><%=memberBean.getMemberCity()%> </tr> <tr class="trow1"> <td> <td><%=memberBean.getMemberCountry()%> </tr> <tr class="trow2"> <td> <td><%=onlineUser.getGMTDateFormat(memberBean.getMemberBirthday(), false)%> </tr> <tr class="trow1"> <td> <td><%=memberBean.getMemberCareer()%> </tr> <tr class="trow2"> <td> <td><%=memberBean.getMemberHomepage()%> </tr> <tr class="trow1"> <td> 1 <td><%=memberBean.getMemberCoolLink1()%> </tr> <tr class="trow2"> <td> 2 <td><%=memberBean.getMemberCoolLink2()%> </tr> <tr class="trow1"> <td> <td><%if (memberBean.getMemberYahoo().length() > 0) {%><%=memberBean.getMemberYahoo()%>   <%=memberBean.getMemberYahoo()%><%}%> </tr> <tr class="trow2"> <td> <td><%if (memberBean.getMemberAol().length() > 0) {%><%=memberBean.getMemberAol()%>   <%=memberBean.getMemberAol()%><%}%> </tr> <tr class="trow1"> <td> <td><%if (memberBean.getMemberIcq().length() > 0) {%><%=memberBean.getMemberIcq()%>   <%=memberBean.getMemberIcq()%><%}%> </tr> <tr class="trow2"> <td> <td><%=memberBean.getMemberMsn()%> </tr> <tr class="trow1"> <td> <td><%=onlineUser.getGMTTimestampFormat(memberBean.getMemberCreationDate())%> </tr> <tr class="trow2"> <td> <td><%=onlineUser.getGMTTimestampFormat(memberBean.getMemberLastLogon())%> </tr> <%if (permission.canAdminSystem()) {%> <tr class="trow1"> <td> <td><%=memberBean.getMemberFirstIP()%> </tr> <tr class="trow2"> <td> <td><%=memberBean.getMemberLastIP()%> </tr> <%}%> </table> <br/>
</fmt:bundle> <%@ include file="footer.jsp"%> </body> </html>

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

<%--
 - $Header: /cvsroot/mvnforum/mvnforum/srcweb/mvnplugin/mvnforum/user/viewmember.jsp,v 1.51 2005/02/21 18:33:47 minhnn Exp $
 - $Author: minhnn $
 - $Revision: 1.51 $
 - $Date: 2005/02/21 18:33:47 $
 -
 - ====================================================================
 -
 - Copyright (C) 2002-2005 by MyVietnam.net
 -
 - This program is free software; you can redistribute it and/or
 - modify it under the terms of the GNU General Public License
 - as published by the Free Software Foundation; either version 2
 - of the License, or any later version.
 -
 - All copyright notices regarding mvnForum MUST remain intact
 - in the scripts and in the outputted HTML.
 - The "powered by" text/logo with a link back to
 - http://www.mvnForum.com and http://www.MyVietnam.net in the
 - footer of the pages MUST remain visible when the pages
 - are viewed on the internet or intranet.
 -
 - This program is distributed in the hope that it will be useful,
 - but WITHOUT ANY WARRANTY; without even the implied warranty of
 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 - GNU General Public License for more details.
 -
 - You should have received a copy of the GNU General Public License
 - along with this program; if not, write to the Free Software
 - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 -
 - Support can be obtained from support forums at:
 - http://www.mvnForum.com/mvnforum/index
 -
 - Correspondence and Marketing Questions can be sent to:
 - info@MyVietnam.net
 -
 - @author: Minh Nguyen  minhnn@MyVietnam.net
 - @author: Mai  Nguyen  mai.nh@MyVietnam.net
 --%>
<%@ page contentType="text/html;charset=utf-8" %>
<%@ page errorPage="fatalerror.jsp"%>
<%@ page import="net.myvietnam.mvncore.filter.EnableMVNCodeFilter" %>
<%@ page import="net.myvietnam.mvncore.security.Encoder" %>
<%@ page import="com.mvnforum.db.*" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ include file="inc_common.jsp"%>
<fmt:bundle basename="mvnForum_i18n">
<%
MemberBean memberBean = (MemberBean)request.getAttribute("MemberBean");
%>
<html 
<head>
  <title> - : <%=memberBean.getMemberName()%>
<%@ include file="/mvnplugin/mvnforum/meta.jsp"%>
<link href="<%=onlineUser.getCssPath()%>" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0">
<%@ include file="header.jsp"%>
<br/>

<table width="95%" align="center">
  <tr class="nav">
    <td>
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.