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