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