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