author | František Kučera <franta-hg@frantovo.cz> |
Thu Feb 25 16:00:42 2010 +0100 (2010-02-25) | |
changeset 42 | 77c8271add7d |
parent 40 | 67d332d48562 |
child 47 | 10cd7f54f9f5 |
permissions | -rw-r--r-- |
franta-hg@37 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
franta-hg@37 | 2 |
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" |
franta-hg@37 | 3 |
xmlns:c="http://java.sun.com/jsp/jstl/core" |
franta-hg@37 | 4 |
xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" |
franta-hg@39 | 5 |
xmlns:fn="http://java.sun.com/jsp/jstl/functions" |
franta-hg@37 | 6 |
version="2.0"> |
franta-hg@37 | 7 |
|
franta-hg@39 | 8 |
<jsp:useBean id="uvod" class="cz.frantovo.nekurak.web.Uvod" scope="request"/> |
franta-hg@39 | 9 |
|
franta-hg@42 | 10 |
<p><fmt:message key="uvod.naposledyPridanePodniky"/>:</p> |
franta-hg@39 | 11 |
|
franta-hg@39 | 12 |
<c:forEach var="p" items="${uvod.podniky}"> |
franta-hg@40 | 13 |
<div class="podnik"> |
franta-hg@40 | 14 |
<a href="?akce=detail&amp;podnik=${p.id}"><h2><c:out value="${p.nazev}"/></h2></a> |
franta-hg@40 | 15 |
<p><c:out value="${p.popis}"/></p> |
franta-hg@40 | 16 |
<p> |
franta-hg@42 | 17 |
<fmt:message key="uvod.adresa"/>:<br/> |
franta-hg@40 | 18 |
<c:out value="${p.ulice}"/>&#160; |
franta-hg@40 | 19 |
<c:out value="${p.cisloPopisne}"/><br/> |
franta-hg@40 | 20 |
<c:out value="${p.mesto}"/> |
franta-hg@40 | 21 |
</p> |
franta-hg@40 | 22 |
<c:if test="${p.url != null}"> |
franta-hg@42 | 23 |
<p><a href="${fn:escapeXml(p.url)}"><fmt:message key="uvod.www"/></a></p> |
franta-hg@40 | 24 |
</c:if> |
franta-hg@40 | 25 |
</div> |
franta-hg@39 | 26 |
</c:forEach> |
franta-hg@37 | 27 |
|
franta-hg@37 | 28 |
</jsp:root> |