<%-- 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 Communities 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-2004 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved. Contributor(s): --%> <%@ page import = "com.silverwrist.util.StringUtil" %> <%@ page import = "com.silverwrist.venice.core.*" %> <%@ page import = "com.silverwrist.venice.ui.view.FindView" %> <%@ page import = "com.silverwrist.venice.ui.view.JSPView" %> <%@ taglib uri="/tlds/util" prefix="util" %> <%@ taglib uri="/tlds/global" prefix="global" %> <%@ taglib uri="/tlds/user" prefix="user" %> <%@ taglib uri="/tlds/community" prefix="comm" %> <% JSPView view = JSPView.get(request); CommunityContext comm = view.getCommunity(); String tmp; %> Profile for community # <%= comm.getName() %>
<%= view.getRequestAttribute("community.logo").toString() %>
<% java.util.Date tmpd = comm.getCreationDate(); %> <% if (tmpd!=null) { %> Community created:
<%= view.formatDate(tmpd) %>
<% } // end if %> <% tmpd = comm.getLastAccessDate(); %> <% if (tmpd!=null) { %> Last accessed:
<%= view.formatDate(tmpd) %>
<% } // end if %> <% tmpd = comm.getLastUpdateDate(); %> <% if (tmpd!=null) { %> Profile last updated:
<%= view.formatDate(tmpd) %>
<% } // end if %>
comm/join.js.vs?cc= comm/invite.js.vs?cc=
Public Community Private Community
Category: <% CategoryDescriptor cat = (CategoryDescriptor)(view.getRequestAttribute("category")); %> <% for (int i=0; i <% if (i>0) { %>: <% } %> find.js.vs?disp=<%= FindView.FD_COMMUNITIES %>&cat=<%= cat.getIDAtLevel(i) %> <%= cat.getTitleAtLevel(i) %> <% } // end for %>

<% UserProfile prof = (UserProfile)(view.getRequestAttribute("host.profile")); %> Host: user/<%= prof.getUserName() %> <%= prof.getUserName() %>
<% ContactInfo ci = (ContactInfo)(view.getRequestAttribute("contact.info")); %> Location:
<% tmp = ci.getCompany(); %> <% if (!(StringUtil.isStringEmpty(tmp))) { %><%= tmp %>
<% } %> <% tmp = ci.getAddressLine1(); %> <% if (!(StringUtil.isStringEmpty(tmp))) { %><%= tmp %>
<% } %> <% tmp = ci.getAddressLine2(); %> <% if (!(StringUtil.isStringEmpty(tmp))) { %><%= tmp %>
<% } %> <% tmp = view.getRequestAttribute("address.lastline").toString(); %> <% if (!(StringUtil.isStringEmpty(tmp))) { %><%= tmp %>
<% } %> <% tmp = view.getRequestAttribute("address.country").toString(); %> <% if (!(StringUtil.isStringEmpty(tmp))) { %><%= tmp %>
<% } %>
<% tmp = comm.getLanguageFullName(); %> <% if (!(StringUtil.isStringEmpty(tmp))) { %>Primary Language: <%= tmp %>
<% } %> <% tmp = comm.getRules(); %> <% if (!(StringUtil.isStringEmpty(tmp))) { %>Standards of Conduct: <%= tmp %>
<% } %> <% tmp = ci.getURL(); %> <% if (!(StringUtil.isStringEmpty(tmp))) { %>Homepage: <%= tmp %>
<% } %>

<%-- EOF --%>