<%@ include file="defines/defines.jsp" %> <%@ page import="java.text.SimpleDateFormat" %> <%@ page import="java.util.Date" %> <% String resetModule = request.getParameter("mod"); if (resetModule != null) session.setAttribute("ActiveDevo", mgr.getModuleByName(resetModule)); SWModule activeDevo = (SWModule) session.getAttribute("ActiveDevo"); if (activeDevo == null) activeDevo = mgr.getModuleByName("SME"); SimpleDateFormat formatter; %>

Daily Devotionals:

    <% for (int i = 0; i < modInfo.length; i++) { if (modInfo[i].type.equals(SwordOrb.LEXDICT)) { SWModule module = mgr.getModuleByName(modInfo[i].name); if ("Daily Devotional".equals(module.getConfigEntry("Category"))) { %>
  • "><%= module.getDescription().replaceAll("&", "&") %>
  • <% } } } formatter = new SimpleDateFormat("MM.dd"); activeDevo.setKeyText(formatter.format(new Date())); %>
<% formatter = new SimpleDateFormat("EEEE, MMM dd"); %>

Today's Devotion (<%= formatter.format(new Date()) %>)


From:

» <%= activeDevo.getDescription().replaceAll("&", "&") + " (" + activeDevo.getName() + ")" %>


<%= new String(activeDevo.getRenderText().getBytes(), "UTF-8") %>