java/nekurak.net-web/web/WEB-INF/casti/uvod.jsp
changeset 145 0efefbf5f8b6
parent 107 e8371105fcc8
child 154 bf21a4abea9b
     1.1 --- a/java/nekurak.net-web/web/WEB-INF/casti/uvod.jsp	Sat Jun 19 14:37:11 2010 +0200
     1.2 +++ b/java/nekurak.net-web/web/WEB-INF/casti/uvod.jsp	Sun Jun 20 14:46:47 2010 +0200
     1.3 @@ -1,54 +1,54 @@
     1.4  <?xml version="1.0" encoding="UTF-8"?>
     1.5  <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
     1.6 -	  xmlns:c="http://java.sun.com/jsp/jstl/core"
     1.7 -	  xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
     1.8 -	  xmlns:fn="http://java.sun.com/jsp/jstl/functions"
     1.9 -	  xmlns:nk="urn:jsptagdir:/WEB-INF/tags/nekurak"
    1.10 -	  version="2.0">
    1.11 +		  xmlns:c="http://java.sun.com/jsp/jstl/core"
    1.12 +		  xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
    1.13 +		  xmlns:fn="http://java.sun.com/jsp/jstl/functions"
    1.14 +		  xmlns:nk="urn:jsptagdir:/WEB-INF/tags/nekurak"
    1.15 +		  version="2.0">
    1.16  
    1.17 -    <jsp:useBean id="uvod" class="cz.frantovo.nekurak.web.Uvod" scope="request"/>
    1.18 +	<jsp:useBean id="uvod" class="cz.frantovo.nekurak.web.Uvod" scope="request"/>
    1.19  
    1.20 -    <nk:stranka>
    1.21 +	<nk:stranka>
    1.22  
    1.23 -	<p><fmt:message key="uvod.naposledyPridanePodniky"/>:</p>
    1.24 +		<p><fmt:message key="uvod.naposledyPridanePodniky"/>:</p>
    1.25  
    1.26 -	<script type="text/javascript" src="js/fotkyPodniku.js"></script>
    1.27 +		<script type="text/javascript" src="js/fotkyPodniku.js"></script>
    1.28  
    1.29 -	<c:forEach var="p" items="${uvod.podniky}">
    1.30 -	    <div class="podnik">
    1.31 -		<!-- Tři bloky vedle sebe -->
    1.32 +		<c:forEach var="p" items="${uvod.podniky}">
    1.33 +			<div class="podnik">
    1.34 +				<!-- Tři bloky vedle sebe -->
    1.35  
    1.36 -		<!-- Název a adresa podniku -->
    1.37 -		<div class="adresa">
    1.38 -		    <h2><a href="?akce=detail&amp;amp;podnik=${p.id}"><c:out value="${p.nazev}"/></a></h2>
    1.39 -		    <p><c:out value="${p.popis}"/></p>
    1.40 -		    <p>
    1.41 -			<fmt:message key="uvod.adresa"/>:<br/>
    1.42 -			<c:out value="${p.ulice}"/>&amp;#160;
    1.43 -			<c:out value="${p.cisloPopisne}"/><br/>
    1.44 -			<c:out value="${p.mesto}"/>
    1.45 -		    </p>
    1.46 -		    <c:if test="${p.url != null}">
    1.47 -			<p><a href="${fn:escapeXml(p.url)}"><fmt:message key="uvod.www"/></a></p>
    1.48 -		    </c:if>
    1.49 -		</div>
    1.50 +				<!-- Název a adresa podniku -->
    1.51 +				<div class="adresa">
    1.52 +					<h2><a href="?akce=detail&amp;amp;podnik=${p.id}"><c:out value="${p.nazev}"/></a></h2>
    1.53 +					<p><c:out value="${p.popis}"/></p>
    1.54 +					<p>
    1.55 +						<fmt:message key="uvod.adresa"/>:<br/>
    1.56 +						<c:out value="${p.ulice}"/>&amp;#160;
    1.57 +						<c:out value="${p.cisloPopisne}"/><br/>
    1.58 +						<c:out value="${p.mesto}"/>
    1.59 +					</p>
    1.60 +					<c:if test="${p.url != null}">
    1.61 +						<p><a href="${fn:escapeXml(p.url)}"><fmt:message key="uvod.www"/></a></p>
    1.62 +					</c:if>
    1.63 +				</div>
    1.64  
    1.65 -		<!-- Hlasování a graf -->
    1.66 -		<div class="hlasovani">
    1.67 -		    <nk:hlasovani podnik="${p.id}"/>
    1.68 -		</div>
    1.69 +				<!-- Hlasování a graf -->
    1.70 +				<div class="hlasovani">
    1.71 +					<nk:hlasovani podnik="${p.id}"/>
    1.72 +				</div>
    1.73  
    1.74 -		<!-- Fotky podniku -->
    1.75 -		<div class="fotky">
    1.76 -		    <nk:fotkyPodniku podnik="${p}"/>
    1.77 -		</div>
    1.78 +				<!-- Fotky podniku -->
    1.79 +				<div class="fotky">
    1.80 +					<nk:fotkyPodniku podnik="${p}"/>
    1.81 +				</div>
    1.82  
    1.83 -	    </div>
    1.84 -	</c:forEach>
    1.85 +			</div>
    1.86 +		</c:forEach>
    1.87  
    1.88 -	<!-- konec obtékaných bloků -->
    1.89 -	<div class="cistic"></div>
    1.90 +		<!-- konec obtékaných bloků -->
    1.91 +		<div class="cistic"></div>
    1.92  
    1.93 -    </nk:stranka>
    1.94 +	</nk:stranka>
    1.95  
    1.96  </jsp:root>