Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
16 | dev | 1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
||
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
||
4 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
||
5 | <%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
||
6 | <%@ taglib uri="/WEB-INF/ak-kickup.tld" prefix="kickup" %> |
||
7 | <html> |
||
8 | |||
9 | <head> |
||
10 | <meta http-equiv="expires" content="0"> |
||
11 | <title>Пьянка XP - <bean:write name="event" property="name" /> - Где переночивать</title> |
||
12 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
||
13 | </head> |
||
14 | |||
15 | <body> |
||
16 | |||
973 | dev | 17 | <%@ include file="/header.jsp" %> |
16 | dev | 18 | |
19 | <strutsx:errorsIterator id="errors" /> |
||
20 | <strutsx:notEmpty name="errors"> |
||
21 | <div class="error">Ошибки: |
||
22 | <ul> |
||
23 | <logic:iterate name="errors" id="error"> |
||
24 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
||
25 | </logic:iterate> |
||
26 | </ul> |
||
27 | </div> |
||
28 | </strutsx:notEmpty> |
||
29 | |||
30 | <h2>Гостиницы в округе</h2> |
||
31 | |||
973 | dev | 32 | <table border=0 cellspacing=0 cellpadding=4 width=860> |
16 | dev | 33 | |
34 | <logic:iterate name="apartments" id="a"> |
||
35 | <tr> |
||
973 | dev | 36 | <td style="font-size: 12pt; font-weight: bold;" width=400> |
37 | <logic:empty name="a" property="apartment.url"> |
||
38 | <bean:write name="a" property="apartment.name" /> |
||
39 | </logic:empty> |
||
16 | dev | 40 | <logic:notEmpty name="a" property="apartment.url"> |
973 | dev | 41 | <a href="<bean:write name="a" property="apartment.url" />"><bean:write name="a" property="apartment.name" /></a> |
16 | dev | 42 | </logic:notEmpty> |
43 | </td> |
||
973 | dev | 44 | <td rowspan=3 class="listCell"> |
45 | <kickup:write name="a" property="apartment.address" filterBr="true" /> |
||
16 | dev | 46 | </td> |
973 | dev | 47 | </tr> |
48 | <tr> |
||
16 | dev | 49 | <td> |
973 | dev | 50 | <logic:empty name="a" property="apartment.price"> |
51 | [цена не известна] |
||
52 | </logic:empty> |
||
53 | <logic:notEmpty name="a" property="apartment.price"> |
||
54 | <bean:write name="a" property="apartment.price" format="0.00" /> |
||
55 | евро за ночь на одного |
||
56 | </logic:notEmpty> |
||
16 | dev | 57 | </td> |
973 | dev | 58 | </tr> |
59 | <tr> |
||
60 | <td class="listCell"> |
||
61 | <logic:empty name="a" property="distance"> |
||
62 | [расстояние не известно] |
||
63 | </logic:empty> |
||
64 | <logic:notEmpty name="a" property="distance"> |
||
65 | <bean:write name="a" property="distance" /> |
||
66 | </logic:notEmpty> |
||
16 | dev | 67 | </td> |
68 | </tr> |
||
69 | </logic:iterate> |
||
973 | dev | 70 | <tr> |
71 | <td colspan=2> </td> |
||
72 | </tr> |
||
16 | dev | 73 | </table> |
74 | |||
75 | <h2>Свободные спальные места у участников</h2> |
||
76 | |||
973 | dev | 77 | <table border=0 cellspacing=0 cellpadding=4 width=860> |
16 | dev | 78 | <tr> |
973 | dev | 79 | <th class="headerCell">Ник</th> |
80 | <th class="headerCell">Имя</th> |
||
81 | <th class="headerCell">e-mail</th> |
||
82 | <th class="headerCell">Телефон</th> |
||
83 | <th class="headerCell">Свободных мест</th> |
||
84 | <th class="headerCell">Условия</th> |
||
16 | dev | 85 | </tr> |
86 | |||
87 | <logic:iterate name="participants" id="p"> |
||
88 | <tr> |
||
974 | dev | 89 | <td class="listCell"><bean:write name="p" property="nick" /> </td> |
90 | <td class="listCell"><bean:write name="p" property="name" /> </td> |
||
91 | <td class="listCell"> |
||
16 | dev | 92 | <logic:equal name="p" property="emailPublic" value="true"> |
93 | <bean:write name="p" property="email" /> |
||
94 | </logic:equal> |
||
95 | |
||
96 | </td> |
||
974 | dev | 97 | <td class="listCell"><bean:write name="p" property="phone" /> </td> |
98 | <td class="listCell"><bean:write name="p" property="freeSleep" /> </td> |
||
99 | <td class="listCell"><bean:write name="p" property="sleepComment" /> </td> |
||
16 | dev | 100 | </tr> |
101 | </logic:iterate> |
||
973 | dev | 102 | <tr> |
103 | <td colspan=6> </td> |
||
104 | </tr> |
||
16 | dev | 105 | </table> |
106 | |||
973 | dev | 107 | <%@ include file="/footer.jsp" %> |
16 | dev | 108 | |
109 | </body> |
||
110 | |||
111 | </html> |