Rev 16 | Rev 974 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %>
<%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %>
<%@ taglib uri="/WEB-INF/ak-kickup.tld" prefix="kickup" %>
<html>
<head>
<meta http-equiv="expires" content="0">
<title>Пьянка XP - <bean:write name="event" property="name" /> - Где переночивать</title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>
<body>
<h1>Пьянка XP - <bean:write name="event" property="name" /> - Где переночивать</h1>
<strutsx:errorsIterator id="errors" />
<strutsx:notEmpty name="errors">
<div class="error">Ошибки:
<ul>
<logic:iterate name="errors" id="error">
<li><strutsx:message name="error" property="key" valuesProperty="values" /></li>
</logic:iterate>
</ul>
</div>
</strutsx:notEmpty>
<h2>Гостиницы в округе</h2>
<table border=1>
<tr>
<th>Название</th>
<th>Сайт</th>
<th>Цена за ночь на одного, евро</th>
<th>Расстояние до места</th>
<th>Адрес</th>
</tr>
<logic:iterate name="apartments" id="a">
<tr>
<td>
<bean:write name="a" property="apartment.name" />
</td>
<td>
<logic:notEmpty name="a" property="apartment.url">
<a href="<bean:write name="a" property="apartment.url" />"><bean:write name="a" property="apartment.url" /></a>
</logic:notEmpty>
</td>
<td>
<bean:write name="a" property="apartment.price" format="0.00" />
</td>
<td>
<bean:write name="a" property="distance" />
</td>
<td>
<kickup:write name="a" property="apartment.address" filterBr="true" />
</td>
</tr>
</logic:iterate>
</table>
<h2>Свободные спальные места у участников</h2>
<table border=1>
<tr>
<th>Ник</th>
<th>Имя</th>
<th>e-mail</th>
<th>Телефон</th>
<th>Свободных мест</th>
<th>Условия</th>
</tr>
<logic:iterate name="participants" id="p">
<tr>
<td><bean:write name="p" property="nick" /> </td>
<td><bean:write name="p" property="name" /> </td>
<td>
<logic:equal name="p" property="emailPublic" value="true">
<bean:write name="p" property="email" />
</logic:equal>
</td>
<td><bean:write name="p" property="phone" /> </td>
<td><bean:write name="p" property="freeSleep" /> </td>
<td><bean:write name="p" property="sleepComment" /> </td>
</tr>
</logic:iterate>
</table>
<br>
<backpath:notEmpty><backpath:backlink>Назад</backpath:backlink></backpath:notEmpty>
</body>
</html>