Subversion Repositories general

Rev

Rev 974 | Rev 979 | 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-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>

<%@ 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" />&nbsp;
                </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" />&nbsp;
                        </logic:notEmpty>
                </td>
        </tr>
</logic:iterate>
        <tr>
                <td colspan=2>&nbsp;</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" />&nbsp;</td>
                <td class="listCell"><bean:write name="p" property="name" />&nbsp;</td>
                <td class="listCell">
                        <logic:equal name="p" property="emailPublic" value="true">
                                <bean:write name="p" property="email"   />
                        </logic:equal>
                        &nbsp;
                </td>
                <td class="listCell"><bean:write name="p" property="phone" />&nbsp;</td>
                <td class="listCell"><bean:write name="p" property="freeSleep" />&nbsp;</td>
                <td class="listCell"><bean:write name="p" property="sleepComment" />&nbsp;</td>
        </tr>
</logic:iterate>
        <tr>
                <td colspan=6>&nbsp;</td>
        </tr>
</table>

<%@ include file="/footer.jsp" %>

</body>

</html>