alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  
<td width="100%" nowrap> <a class="nav" href="<%=indexUrl%>"> »  <a class="nav" href="index">Admin CP »  <a class="nav" href="usermanagement">User Management »  Member: <a class="nav" href="viewmember?memberid=<%=memberBean.getMemberID()%>"><%=memberBean.getMemberName()%> »  View Member Information </td> </tr> </table> <br/> <table class="tborder" width="95%" align="center" cellpadding="3" cellspacing="1"> <tr class="pagedesc"> <td width="150" align="center" valign="middle"> <% if (memberBean.getMemberAvatar().length() > 0) { String avatar = memberBean.getMemberAvatar_processed(); if (avatar.startsWith("getavatar")) { avatar = userUrl + "/" + avatar;// it is from the user area, not admin area } %> <img src="<%=avatar%>" border="0" alt="" title=""> <% } else { %> <img src="<%=contextPath%>/mvnplugin/mvnforum/images/user/no_picture.gif" border="0" alt="" title=""> <% } %> </td> <td valign="top"> <a class="command" href="editmember?memberid=<%=memberBean.getMemberID()%>">Edit Member Informations
<% if (MVNForumConfig.getEnableAdminCanChangePassword() && memberBean.getMemberID()!= MVNForumConstant.MEMBER_ID_OF_ADMIN) {%> <a class="command" href="changepassword?memberid=<%=memberBean.getMemberID()%>">Change Member Password
<% } %> <a class="command" href="editmembertitle?memberid=<%=memberBean.getMemberID()%>">Edit Member Title
<a class="command" href="resetsignatureprocess?memberid=<%=memberBean.getMemberID()%>">Reset Member Signature
<a class="command" href="resetavatarprocess?memberid=<%=memberBean.getMemberID()%>">Reset Member Avatar
<a class="command" href="resetactivationprocess?memberid=<%=memberBean.getMemberID()%>">Reset Member Activation
</td> <td valign="top"> <% if (watchCount > 0) { %> <a class="command" href="deletewatch?memberid=<%=memberBean.getMemberID()%>">Delete All Watches (<%=watchCount%> watches)
<% } %> <a class="command" href="editmemberpermission?memberid=<%=memberBean.getMemberID()%>">Edit Global Member Permissions
<a class="command" href="assignforumtomember?memberid=<%=memberBean.getMemberID()%>">Edit Forum-Specific Member Permissions
<a class="command" href="viewmemberpermissions?memberid=<%=memberBean.getMemberID()%>">View Member Permissions
<% if ((memberBean.getMemberID()!=MVNForumConstant.MEMBER_ID_OF_ADMIN) && (memberBean.getMemberID()!=0) && (memberBean.getMemberID()!=MVNForumConstant.MEMBER_ID_OF_GUEST) && (memberBean.getMemberPostCount()==0)) { %> <a class="command" href="deletemember?memberid=<%=memberBean.getMemberID()%>">Delete this Member (no posts) [Warning!!!]
<% } %> <span class="messageTextBold"> <span style="color:blue">Member Status: <%if (memberBean.getMemberStatus() == MemberBean.MEMBER_STATUS_ENABLE) {%> <span style="color:#008000"> Enabled <%} else {%> <span style="color:#FF0080"> Disabled <%}%> </span> <% if ( memberBean.getMemberStatus() == MemberBean.MEMBER_STATUS_ENABLE ) {%> <% if (memberBean.getMemberID()!=MVNForumConstant.MEMBER_ID_OF_ADMIN) {%> <a class="command" href="changememberstatusprocess?memberid=<%=memberBean.getMemberID()%>&status=<%=MemberBean.MEMBER_STATUS_DISABLE%>&viewmember=true"> (Disable this member) <% } %> <% } else {//disabled%> <a class="command" href="changememberstatusprocess?memberid=<%=memberBean.getMemberID()%>&status=<%=MemberBean.MEMBER_STATUS_ENABLE%>&viewmember=true"> (Enable this member) <% } %> </td> </tr> </table> <br/> <form action="viewmember"> <input name="memberid" type="hidden" value="<%=memberBean.getMemberID()%>"/> <table class="tborder" width="95%" align="center" cellpadding="3" cellspacing="1"> <tr class="theader"> <td colspan="2">Message Statistics Information: </tr> <tr class="trow1"> <td width="25%">From Date <td> <input type="text" size="2" name="fromDay"/ value="<%=ParamUtil.getParameter(request, "fromDay")%>"> - <input type="text" size="2" name="fromMonth"/ value="<%=ParamUtil.getParameter(request, "fromMonth")%>"> - <input type="text" size="4" name="fromYear"/ value="<%=ParamUtil.getParameter(request, "fromYear")%>"> (dd-mm-yyyy) </td> </tr> <tr class="trow2"> <td width="25%">To Date <td> <input type="text" size="2" name="toDay" value="<%=ParamUtil.getParameter(request, "toDay")%>"/> - <input type="text" size="2" name="toMonth" value="<%=ParamUtil.getParameter(request, "toMonth")%>"/> - <input type="text" size="4" name="toYear" value="<%=ParamUtil.getParameter(request, "toYear")%>"/> (dd-mm-yyyy) </td> </tr> <tr class="trow1"> <td width="25%">Total Sent Messages <td><%= request.getAttribute("FromMessageCount") %> </tr> <tr class="trow2"> <td width="25%">Total Received Messages <td><%= request.getAttribute("ToMessageCount") %> </tr> <tr class="trowfinal"> <td colspan="2" align="center"> </tr> </table> </form> <br/> <table class="tborder" width="95%" align="center" cellpadding="3" cellspacing="1"> <tr class="theader"> <td colspan="2">Member Information: </tr> <tr class="trow1"> <td width="25%">Member ID <td> <b><%=memberBean.getMemberName()%> <%if ( memberBean.getMemberTitle().length()>0 ) {%>(<%=EnableMVNCodeFilter.filter(memberBean.getMemberTitle())%>)<%}%> <%if ( onlineUserManager.isUserOnline(memberBean.getMemberName()) ) {%>(Online)<%} else {%>(Offline)<%}%> <%if (memberBean.getMemberActivateCode()!=null && memberBean.getMemberActivateCode().length()>0 ) { if (memberBean.getMemberActivateCode().equals("activated")) {%> <span style="color:#008000">(Activated) <%} else {%> <span style="color:blue">(Pending) <%}%> <%} else {%> <span style="color:red">(Not Activated) <%}%> </td> </tr> <tr class="trow2"> <td>First Name <td><%=memberBean.getMemberFirstname()%> </tr> <tr class="trow1"> <td>Last Name <td><%=memberBean.getMemberLastname()%> </tr> <tr class="trow2"> <td>E-mail <td> <%if ((memberBean.getMemberID()==0) || (memberBean.getMemberID()==MVNForumConstant.MEMBER_ID_OF_GUEST)) {%> N/A <%} else {%> <a href="mailto:<%=memberBean.getMemberEmail()%>"><%=memberBean.getMemberEmail()%> <% if (memberBean.getMemberEmail().equalsIgnoreCase(memberBean.getMemberFirstEmail()) == false) {%> (<fmt:message key="mvnforum.common.member.first_email"/>: <%=memberBean.getMemberFirstEmail()%>) <% } }%> </td> </tr> <tr class="trow1"> <td>Show Email <td> <%if ((memberBean.getMemberID()==0) || (memberBean.getMemberID()==MVNForumConstant.MEMBER_ID_OF_GUEST)) {%> N/A <%} else {%> <img src="<%=contextPath%>/mvnplugin/mvnforum/images/icon/<%=memberBean.getMemberEmailVisible()==1 ? "yes" : "no"%>.gif"> <%}%> </td> </tr> <tr class="trow2"> <td>Name Visible <td>.gif"> </tr> <%if ((memberBean.getMemberID()!=0) && (memberBean.getMemberID()!=MVNForumConstant.MEMBER_ID_OF_GUEST)) {%> <tr class="trow1"> <td>Address <td><%=memberBean.getMemberAddress()%> </tr> <tr class="trow2"> <td>City <td><%=memberBean.getMemberCity()%> </tr> <tr class="trow1"> <td>State <td><%=memberBean.getMemberState()%> </tr> <tr class="trow2"> <td>Country <td><%=memberBean.getMemberCountry()%> </tr> <tr class="trow1"> <td>Gender <td> <%if (memberBean.getMemberGender() == 1) {%> <img src="<%=contextPath%>/mvnplugin/mvnforum/images/icon/male.gif" border="0" alt="Male"> Male <%} else {%> <img src="<%=contextPath%>/mvnplugin/mvnforum/images/icon/female.gif" border="0" alt="Female"> Female <%}%> </td> </tr> <tr class="trow2"> <td>Birthday <td><%=onlineUser.getGMTDateFormat(memberBean.getMemberBirthday(), false)%> </tr> <tr class="trow1"> <td>Career <td><%=memberBean.getMemberCareer()%> </tr> <tr class="trow2"> <td>Home page <td><%=memberBean.getMemberHomepage()%> </tr> <tr class="trow1"> <td>Cool Link 1 <td><%=memberBean.getMemberCoolLink1()%> </tr> <tr class="trow2"> <td>Cool Link 2 <td><%=memberBean.getMemberCoolLink2()%> </tr> <tr class="trow1"> <td>Yahoo ID <td><%if (memberBean.getMemberYahoo().length() > 0) {%><%=memberBean.getMemberYahoo()%>   <%=memberBean.getMemberYahoo()%><%}%> </tr> <tr class="trow2"> <td>AOL ID <td><%if (memberBean.getMemberAol().length() > 0) {%><%=memberBean.getMemberAol()%>   <%=memberBean.getMemberAol()%><%}%> </tr> <tr class="trow1"> <td>ICQ ID <td><%if (memberBean.getMemberIcq().length() > 0) {%><%=memberBean.getMemberIcq()%>   <%=memberBean.getMemberIcq()%><%}%> </tr> <tr class="trow2"> <td>MSN ID <td><%=memberBean.getMemberMsn()%> </tr> <%} /*if (!guest)*/%> <tr class="trow1"> <td>Signature <td><%=memberBean.getMemberSignature()%> </tr> <tr class="trow2"> <td>Join Date <td><%=onlineUser.getGMTTimestampFormat(memberBean.getMemberCreationDate())%> </tr> <tr class="trow1"> <td>Last Login <td><%=onlineUser.getGMTTimestampFormat(memberBean.getMemberLastLogon())%> </tr> <tr class="trow2"> <td>Last profile update <td><%=onlineUser.getGMTTimestampFormat(memberBean.getMemberModifiedDate())%> </tr> <tr class="trow1"> <td>Posts <td><%=memberBean.getMemberPostCount()%> </tr> <tr class="trow2"> <td>Views <td><%=memberBean.getMemberViewCount()%> </tr> <%if (permission.canAdminSystem()) {%> <tr class="trow1"> <td> <td><%=memberBean.getMemberFirstIP()%> </tr> <tr class="trow2"> <td> <td><%=memberBean.getMemberLastIP()%> </tr> <%}%> </table> <%-- @todo: show these information MemberOption, MemberStatus, MemberMessageCount, MemberMessageOption MemberWarnCount, MemberVoteCount, MemberVoteTotalStars, MemberRewardPoints, MemberTitle MemberTimeZone, MemberSkin, MemberLanguage, MemberPhone, MemberMobile, MemberFax, not available to public: MemberPostsPerPage --%> <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/admin/viewmember.jsp,v 1.67.2.1 2005/06/17 17:02:25 minhnn Exp $
 - $Author: minhnn $
 - $Revision: 1.67.2.1 $
 - $Date: 2005/06/17 17:02:25 $
 -
 - ====================================================================
 -
 - 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
 - @author: Igor Manic   imanic@users.sourceforge.net
 --%>
<%@ page contentType="text/html;charset=utf-8" %>
<%@ page errorPage="fatalerror.jsp"%>
<%@ page import="net.myvietnam.mvncore.filter.EnableMVNCodeFilter" %>
<%@ page import="com.mvnforum.db.*" %>
<%@ page import="com.mvnforum.MVNForumConstant" %>
<%@ page import="net.myvietnam.mvncore.util.ParamUtil" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ include file="inc_common.jsp"%>
<fmt:bundle basename="mvnForum_i18n">
<html>
<head>
  <title> - View Member Information
<%@ 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/>

<%
MemberBean memberBean = (MemberBean)request.getAttribute("MemberBean");
int watchCount = ((Integer)request.getAttribute("WatchCount")).intValue();
%>

<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.