<%-- The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. The Original Code is the Venice Web Community System. The Initial Developer of the Original Code is Eric J. Bowersox , for Silverwrist Design Studios. Portions created by Eric J. Bowersox are Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved. Contributor(s): --%> <%@ page import = "java.util.*" %> <%@ page import = "com.silverwrist.util.StringUtil" %> <%@ page import = "com.silverwrist.venice.core.*" %> <%@ page import = "com.silverwrist.venice.servlets.Variables" %> <%@ page import = "com.silverwrist.venice.servlets.format.*" %> <% UserProfileData data = UserProfileData.retrieve(request); Variables.failIfNull(data); UserProfile prof = data.getUserProfile(); RenderData rdat = RenderConfig.createRenderData(application,request,response); String tmp; %> <% if (rdat.useHTMLComments()) { %><% } %> <% rdat.writeContentHeader(out,"User Profile:",prof.getUserName()); %> <% tmp = prof.getDescription(); %> <% if (!(StringUtil.isStringEmpty(tmp))) { %> <% } // end if %>
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,1) %> <%= data.getPhotoTag(rdat) %>

<% Date tmpd = prof.getCreateDate(); %> <% if (tmpd!=null) { %> Account created:
<%= StringUtil.encodeHTML(rdat.formatDateForDisplay(tmpd)) %>
<% } // end if %> <% tmpd = prof.getLastLoginDate(); %> <% if (tmpd!=null) { %> Last login:
<%= StringUtil.encodeHTML(rdat.formatDateForDisplay(tmpd)) %>
<% } // end if %> <% tmpd = prof.getLastUpdate(); %> <% if (tmpd!=null) { %> Profile last updated:
<%= StringUtil.encodeHTML(rdat.formatDateForDisplay(tmpd)) %>
<% } // end if %>
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %> <%= StringUtil.encodeHTML(data.getFullName()) %>
<% tmp = prof.getEmail(); %> <% if (!(StringUtil.isStringEmpty(tmp))) { %> E-mail: <%= StringUtil.encodeHTML(tmp) %>
<% } // end if %> <% tmp = prof.getURL(); %> <% if (!(StringUtil.isStringEmpty(tmp))) { %> URL: <%= StringUtil.encodeHTML(tmp) %>
<% } // end if %>
<% tmp = prof.getCompany(); %> <% if (!(StringUtil.isStringEmpty(tmp))) { %><%= StringUtil.encodeHTML(tmp) %>
<% } %> <% tmp = prof.getAddressLine1(); %> <% if (!(StringUtil.isStringEmpty(tmp))) { %><%= StringUtil.encodeHTML(tmp) %>
<% } %> <% tmp = prof.getAddressLine2(); %> <% if (!(StringUtil.isStringEmpty(tmp))) { %><%= StringUtil.encodeHTML(tmp) %>
<% } %> <% tmp = data.getAddressLastLine(); %> <% if (!(StringUtil.isStringEmpty(tmp))) { %><%= StringUtil.encodeHTML(tmp) %>
<% } %> <% tmp = prof.getFullCountry(); %> <% if (!(StringUtil.isStringEmpty(tmp))) { %><%= StringUtil.encodeHTML(tmp) %>
<% } %> <% tmp = prof.getPhone(); %> <% if (!(StringUtil.isStringEmpty(tmp))) { %>Phone: <%= StringUtil.encodeHTML(tmp) %>
<% } %> <% tmp = prof.getFax(); %> <% if (!(StringUtil.isStringEmpty(tmp))) { %>Fax: <%= StringUtil.encodeHTML(tmp) %>
<% } %> <% tmp = prof.getMobile(); %> <% if (!(StringUtil.isStringEmpty(tmp))) { %>Mobile: <%= StringUtil.encodeHTML(tmp) %>
<% } %>
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %> <%= StringUtil.encodeHTML(tmp) %>
<% if (prof.canSendQuickEmail()) { %>
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>Send Quick E-Mail To <%= prof.getUserName() %>:
">
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>Subject:
" NAME="send" ALT="Send E-Mail" WIDTH=80 HEIGHT=24 BORDER=0>
<% } // end if %>