<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %> <%@ page import="hms.content.pagemappings.ContentManager" %> <% String contentType = request.getParameter("contentType"); ContentManager manager = ContentManager.getInstance(profile.getLocale()); %> <%=manager.getProperty("MLHome_"+contentType, request.getParameter("articleId"), "title", "DefaultTitle", true)%> "/> "/>
<% if (response.getWriter().checkError()) return; %> <% if (response.getWriter().checkError()) return; %>
<% if (response.getWriter().checkError()) return; %> <% if (response.getWriter().checkError()) return; %>
<% String includeDirectory = null; String includeFilePath = null; String footerClass = null; if ("ck".equalsIgnoreCase(contentType)){ includeDirectory = "cleverkitchen"; footerClass = "ck"; } else if ("ed".equalsIgnoreCase(contentType)){ includeDirectory = "easydecor"; footerClass = "ed"; } else if ("cl".equalsIgnoreCase(contentType)){ includeDirectory = "celebrateliving"; footerClass = "cl"; } else if ("op".equalsIgnoreCase(contentType)){ includeDirectory = "outsidepleasure"; footerClass = "op"; } else if ("li".equalsIgnoreCase(contentType)){ includeDirectory = "cleverkitchen"; footerClass = "li"; }else if ("spl".equalsIgnoreCase(contentType)){ includeDirectory = "simplesolutions"; footerClass = "spl"; }else if ("ss".equalsIgnoreCase(contentType)){ includeDirectory = "simplesolutions"; footerClass = "ss"; } else { //default to ol includeDirectory = "organisedlife"; footerClass = "ol"; contentType = "ol"; } //includeFilePath = "/en_US/nonbranded/" + includeDirectory + "/articlesArchive/" + contentType + "_" + request.getParameter("articleId") + ".htm"; includeFilePath = manager.getProperty("MLHome_"+contentType, request.getParameter("articleId"), "filepath", "DefaultFilePath", true); //System.out.println("File Path ===== :"+includeFilePath ); %> <% if (response.getWriter().checkError()) return; %> <% if (response.getWriter().checkError()) return; %>
<% if("tar001".equals(request.getParameter("articleId"))){ %>
Share on Facebook     print print related music related music
<% } else if("li".equals(request.getParameter("contentType"))){ //Nothing to do } else { %>
" class="body_<%=footerClass%>_text_footer" title="View All Past Articles" alt="View All Past Articles">View All Past Articles Share on Facebook     print print
<%}%>
<% if (response.getWriter().checkError()) return; %> <% if (response.getWriter().checkError()) return; %>