%@ page import="org.apache.commons.lang.StringUtils" %>
<%@ page import="br.org.cip.bo.MP3BO" %>
<%@ page import="br.org.cip.models.DownloadItem" %>
<%@ page import="br.org.cip.models.CategoriaDownload" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="java.util.Iterator" %>
<%
String rootFolder = request.getParameter("root");
if (StringUtils.isEmpty(rootFolder))
rootFolder = "..";
%>
|
|
|
|

|
<%
MP3BO dnBO = new MP3BO();
ArrayList cats = dnBO.carregarCategorias();
Iterator itCats = cats.iterator();
while (itCats.hasNext())
{
CategoriaDownload cat = itCats.next();
ArrayList dnItems = dnBO.carregarPorCategoria(cat.getId());
if (dnItems.size() > 0)
{
%>
<%= cat.getTitulo() %>
Clique aqui para ler o texto
transliterado
ou em hebraico.
<%
Iterator itItems = dnItems.iterator();
int i = 0;
while (itItems.hasNext())
{
DownloadItem item = itItems.next();
%>
<%= item.getDescricao() %>
This text will be replaced by the flash music player.
|
<% } %>
<% }
}
%>
|
|
|
|