Support Center / Downloads
<% //for (int i = 0; i < numIcon ; i ++) LinkedList iconTypes = DownloadUtil.getAllIcons(); for (ListIterator li = iconTypes.listIterator(); li.hasNext() ;) { Icon icon = (Icon) li.next(); %>| <%= icon.getDesc() %> |
|
<% int tmpCnt = 0; //for (int i = 0; i < numCat ; i ++) LinkedList categories = DownloadUtil.getAllCategoriesWithDownloads(); for (ListIterator li = categories.listIterator(); li.hasNext() ;) { Category cat = (Category) li.next(); %> <%=cat.getCategory() %> <% if (tmpCnt == 2) { tmpCnt = 0; %> <% } else if (tmpCnt < categories.size() - 1) { tmpCnt++; %> | <% } } %> |
|
<% //System.out.println("cat " + (i+1) + " : " + j + " downloads"); } %>
<%
tmpCnt = 0;
for (ListIterator li = categories.listIterator(); li.hasNext() ;)
{
Category cat = (Category) li.next();
%>
<%=cat.getCategory() %>
<%
if (tmpCnt == 2)
{
tmpCnt = 0;
%>
<% } else if (tmpCnt < categories.size() - 1) { tmpCnt++; %> | <% } } %>
<% } else if (tmpCnt < categories.size() - 1) { tmpCnt++; %> | <% } } %>
