target='_blank'>
<%= currEntryName %>
<%= (currEntry.getCountry() != null) ? "
" : "" %>
<% if (currEntry.getLogo() != null) { %>
![<%= currEntryName %> <%= currCatDisplayName %> <%= currEntryName %> <%= currCatDisplayName %>](../images/<%= currEntry.getLogo() %>)
<% } %>
">
<%= currEntry.getInfo() %>
<%= (currEntry.getLongInfo() != null && !currEntry.getLongInfo().trim().startsWith("
")) ? "
" : "" %>
<%= currEntry.getLongInfo() %>
<%= (currEntry.getBrands() != null && !currEntry.getBrands().equals("NULL")) ? "
Våra klädmärken är: " + currEntry.getBrands() + "" : "" %>
<%
if (entryProducts != null && entryProducts.size() > 0) {
out.println("
Sök bland alla produkter från " + currEntryName + "");
out.println("
![](../images/base/dot.gif)
");
for (int i = 0; i < entryProducts.size() ; i++) {
Product tmpProd = (Product) entryProducts.get(i);
String altStr = tmpProd.getName() + " " + tmpProd.getPriceStr();
if (tmpProd.getProgramName() != null)
altStr = tmpProd.getProgramName() + " - " + altStr;
// Include the old price if it exists
if (tmpProd.getOldPrice() != null && tmpProd.getOldPrice().trim().length() > 0 && !tmpProd.getOldPrice().startsWith("0")) {
altStr += " (" + tmpProd.getOldPrice().trim() + ")";
}
String urlStr = tmpProd.getUrl(); // Direktlänk till butiken
out.println("
" +
"![" + altStr + " " + altStr + "](" + tmpProd.getImageUrl() + ")
");
}
}
%>
<% if (entryProducts == null || entryProducts.size() < 5) { // TODO fixx Fill out with spaces below page contents to make chrome render the page better %>
<% } %>
Kläder.nu kategori: <%= currCatDisplayName %>.