Rev 979 | 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-strutsx.tld" prefix="strutsx" %>
<%@ taglib uri="/WEB-INF/ak-kickup.tld" prefix="kickup" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<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>
<%@ include file="/header.jsp" %>
<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=0 cellspacing=0 cellpadding=4 width=860>
<logic:iterate name="apartments" id="a">
<tr>
<td style="font-size: 12pt; font-weight: bold;" width=400>
<logic:empty name="a" property="apartment.url">
<bean:write name="a" property="apartment.name" />
</logic:empty>
<logic:notEmpty name="a" property="apartment.url">
<a href="<bean:write name="a" property="apartment.url" />"><bean:write name="a" property="apartment.name" /></a>
</logic:notEmpty>
</td>
<td rowspan=3 class="listCell">
<kickup:write name="a" property="apartment.address" filterBr="true" />
</td>
</tr>
<tr>
<td>
<logic:empty name="a" property="apartment.price">
[цена не известна]
</logic:empty>
<logic:notEmpty name="a" property="apartment.price">
<bean:write name="a" property="apartment.price" format="0.00" />
евро за ночь на одного
</logic:notEmpty>
</td>
</tr>
<tr>
<td class="listCell">
<logic:empty name="a" property="distance">
[расстояние не известно]
</logic:empty>
<logic:notEmpty name="a" property="distance">
<bean:write name="a" property="distance" />
</logic:notEmpty>
</td>
</tr>
</logic:iterate>
<tr>
<td colspan=2> </td>
</tr>
</table>
<h2>Свободные спальные места у участников</h2>
<table border=0 cellspacing=0 cellpadding=4 width=860>
<tr>
<th class="headerCell">Ник</th>
<th class="headerCell">Имя</th>
<th class="headerCell">e-mail</th>
<th class="headerCell">Телефон</th>
<th class="headerCell">Свободных мест</th>
<th class="headerCell">Условия</th>
</tr>
<logic:iterate name="participants" id="p">
<tr>
<td class="listCell"><bean:write name="p" property="nick" /> </td>
<td class="listCell"><bean:write name="p" property="name" /> </td>
<td class="listCell">
<logic:equal name="p" property="emailPublic" value="true">
<bean:write name="p" property="email" />
</logic:equal>
</td>
<td class="listCell"><bean:write name="p" property="phone" /> </td>
<td class="listCell"><bean:write name="p" property="freeSleep" /> </td>
<td class="listCell"><bean:write name="p" property="sleepComment" /> </td>
</tr>
</logic:iterate>
<tr>
<td colspan=6> </td>
</tr>
</table>
<%@ include file="/footer.jsp" %>
</body>
</html>