author | František Kučera <franta-hg@frantovo.cz> |
Tue, 23 Mar 2010 16:11:07 +0100 | |
changeset 85 | 063871cec626 |
parent 73 | 34c7eb5f2fae |
child 106 | 6209f3d550c5 |
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@58 | 6 |
xmlns:nk="urn:jsptagdir:/WEB-INF/tags/nekurak" |
franta-hg@37 | 7 |
version="2.0"> |
franta-hg@37 | 8 |
|
franta-hg@39 | 9 |
<jsp:useBean id="uvod" class="cz.frantovo.nekurak.web.Uvod" scope="request"/> |
franta-hg@39 | 10 |
|
franta-hg@73 | 11 |
<nk:stranka> |
franta-hg@39 | 12 |
|
franta-hg@73 | 13 |
<p><fmt:message key="uvod.naposledyPridanePodniky"/>:</p> |
franta-hg@58 | 14 |
|
franta-hg@73 | 15 |
<script type="text/javascript" src="js/fotkyPodniku.js"></script> |
franta-hg@58 | 16 |
|
franta-hg@73 | 17 |
<c:forEach var="p" items="${uvod.podniky}"> |
franta-hg@73 | 18 |
<div class="podnik"> |
franta-hg@73 | 19 |
<!-- Tři bloky vedle sebe --> |
franta-hg@73 | 20 |
|
franta-hg@73 | 21 |
<!-- Název a adresa podniku --> |
franta-hg@73 | 22 |
<div class="adresa"> |
franta-hg@73 | 23 |
<h2><a href="?akce=detail&amp;podnik=${p.id}"><c:out value="${p.nazev}"/></a></h2> |
franta-hg@73 | 24 |
<p><c:out value="${p.popis}"/></p> |
franta-hg@73 | 25 |
<p> |
franta-hg@73 | 26 |
<fmt:message key="uvod.adresa"/>:<br/> |
franta-hg@73 | 27 |
<c:out value="${p.ulice}"/>&#160; |
franta-hg@73 | 28 |
<c:out value="${p.cisloPopisne}"/><br/> |
franta-hg@73 | 29 |
<c:out value="${p.mesto}"/> |
franta-hg@73 | 30 |
</p> |
franta-hg@73 | 31 |
<c:if test="${p.url != null}"> |
franta-hg@73 | 32 |
<p><a href="${fn:escapeXml(p.url)}"><fmt:message key="uvod.www"/></a></p> |
franta-hg@73 | 33 |
</c:if> |
franta-hg@73 | 34 |
</div> |
franta-hg@73 | 35 |
|
franta-hg@73 | 36 |
<!-- Hlasování a graf --> |
franta-hg@73 | 37 |
<div class="hlasovani"> |
franta-hg@73 | 38 |
<nk:hlasovani podnik="${p.id}"/> |
franta-hg@73 | 39 |
</div> |
franta-hg@73 | 40 |
|
franta-hg@73 | 41 |
<!-- Fotky podniku --> |
franta-hg@73 | 42 |
<div class="fotky"> |
franta-hg@73 | 43 |
<nk:fotkyPodniku podnik="${p}"/> |
franta-hg@73 | 44 |
</div> |
franta-hg@73 | 45 |
|
franta-hg@58 | 46 |
</div> |
franta-hg@73 | 47 |
</c:forEach> |
franta-hg@58 | 48 |
|
franta-hg@73 | 49 |
<!-- konec obtékaných bloků --> |
franta-hg@73 | 50 |
<div class="cistic"></div> |
franta-hg@58 | 51 |
|
franta-hg@73 | 52 |
</nk:stranka> |
franta-hg@58 | 53 |
|
franta-hg@37 | 54 |
</jsp:root> |