java/nekurak.net-web/web/WEB-INF/casti/uvod.jsp
author František Kučera <franta-hg@frantovo.cz>
Thu Feb 25 09:10:01 2010 +0100 (2010-02-25)
changeset 41 2c3451cc396c
parent 39 ea342cf8c15a
child 42 77c8271add7d
permissions -rw-r--r--
Formulářová autentizace + odhlašování.
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@39
    10
    <p>Naposledy přidané podniky:</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;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@39
    17
	    Adresa:<br/>
franta-hg@40
    18
		<c:out value="${p.ulice}"/>&amp;#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@40
    23
		<p><a href="${fn:escapeXml(p.url)}">www stránka</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>