<%-- 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 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved. Contributor(s): --%> <%@ page import = "java.net.URLEncoder" %> <%@ 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.*" %> <% BaseJSPData basedat = BaseJSPData.retrieve(request); Variables.failIfNull(basedat); UserContext user = Variables.getUserContext(application,request,session); RenderData rdat = RenderConfig.createRenderData(application,request,response); String header_font = rdat.getStdFontTag(ColorSelectors.TITLE_FOREGROUND,3); String header_link_hilite = ""; String stdfont = rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2); String leftfont = rdat.getStdFontTag(ColorSelectors.LEFT_FOREGROUND,2); String smallfont = rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,1); String partial_tgt, foo; %> <%= rdat.getTitleTag(basedat.getTitle(rdat)) %> <%= rdat.getStdBaseFontTag(3) %> " TYPE="text/css"> <% if (rdat.noSmartTags()) { %> <% } // end if %> <% if (rdat.useHTMLComments()) { %><% } %> <% if (rdat.useHTMLComments()) { %><% } %>
<% if (rdat.useHTMLComments()) { %><% } %> <%= rdat.getSiteImageTag(2,2) %> <%= header_font %> <% if (rdat.useHTMLComments()) { %><% } %> "><%= header_link_hilite %>Front Page

<%= header_link_hilite %>Help |  "><%= header_link_hilite %>Find

<% if (rdat.useHTMLComments()) { %><% } %> <% basedat.renderBannerAd(out,rdat); %>
<%= header_font %> <% if (user.isLoggedIn()) { %> You are logged in as <%= StringUtil.encodeHTML(user.getUserName()) %> <% if (basedat.displayLoginLinks()) { %> <% partial_tgt = "account?tgt=" + URLEncoder.encode(basedat.getLocation()) + "&cmd="; foo = rdat.getEncodedServletPath(partial_tgt + "L"); %>  - <%= header_link_hilite %>Log Out <% foo = rdat.getEncodedServletPath(partial_tgt + "P"); %>  | <%= header_link_hilite %>Profile <% } // end if %> <% } else { %> You are not logged in <% if (basedat.displayLoginLinks()) { %> <% partial_tgt = "account?tgt=" + URLEncoder.encode(basedat.getLocation()) + "&cmd="; foo = rdat.getEncodedServletPath(partial_tgt + "L"); %>  - <%= header_link_hilite %>Log In <% foo = rdat.getEncodedServletPath(partial_tgt + "C"); %>  | <%= header_link_hilite %>Create Account <% } // end if %> <% } // end if %>
<% if (rdat.useHTMLComments()) { %><% } %>
<% if (rdat.useHTMLComments()) { %><% } %> <% if (rdat.useHTMLComments()) { %><% } %>
<%= leftfont %> <% if (rdat.useHTMLComments()) { %><% } %> <% basedat.renderMenu(session,out,rdat); %>
 
<%= leftfont %> <% if (rdat.useHTMLComments()) { %><% } %> <% basedat.renderFixedMenu(out,rdat); %>
<% if (rdat.useHTMLComments()) { %><% } %> <% basedat.renderContent(application,out,rdat); %> <% if (rdat.useHTMLComments()) { %><% } %>