Subversion Repositories general

Rev

Rev 17 | Rev 974 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 17 Rev 973
Line 13... Line 13...
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
<%@ include file="/header.jsp" %>
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>
Line 28... Line 28...
28
	</div>
28
	</div>
29
</strutsx:notEmpty>
29
</strutsx:notEmpty>
30
 
30
 
31
<h2>Гостиницы в округе</h2>
31
<h2>Гостиницы в округе</h2>
32
 
32
 
33
<table border=1>
-
 
34
	<tr>
-
 
35
		<th>Название</th>
-
 
36
		<th>Сайт</th>
-
 
37
		<th>Цена за ночь на одного, евро</th>
33
<table border=0 cellspacing=0 cellpadding=4 width=860>
38
		<th>Расстояние до места</th>
-
 
39
		<th>Адрес</th>
-
 
40
	</tr>
-
 
41
 
34
 
42
<logic:iterate name="apartments" id="a">
35
<logic:iterate name="apartments" id="a">
43
	<tr>
36
	<tr>
-
 
37
		<td style="font-size: 12pt; font-weight: bold;" width=400>
44
		<td>
38
			<logic:empty name="a" property="apartment.url">
45
			<bean:write name="a" property="apartment.name" />&nbsp;
39
				<bean:write name="a" property="apartment.name" />
46
		</td>
40
			</logic:empty>
47
		<td>
-
 
48
			<logic:notEmpty name="a" property="apartment.url">
41
			<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>
42
				<a href="<bean:write name="a" property="apartment.url" />"><bean:write name="a" property="apartment.name" /></a>
50
			</logic:notEmpty>
43
			</logic:notEmpty>
51
			&nbsp;
-
 
52
		</td>
44
		</td>
53
		<td>
45
		<td rowspan=3 class="listCell">
54
			<bean:write name="a" property="apartment.price" format="0.00" />&nbsp;
46
			<kickup:write name="a" property="apartment.address" filterBr="true" />&nbsp;
55
		</td>
47
		</td>
-
 
48
	</tr>
-
 
49
	<tr>
56
		<td>
50
		<td>
-
 
51
			<logic:empty name="a" property="apartment.price">
-
 
52
				[цена не известна]
-
 
53
			</logic:empty>
-
 
54
			<logic:notEmpty name="a" property="apartment.price">
57
			<bean:write name="a" property="distance" />&nbsp;
55
				<bean:write name="a" property="apartment.price" format="0.00" />
-
 
56
				евро за ночь на одного
-
 
57
			</logic:notEmpty>
58
		</td>
58
		</td>
-
 
59
	</tr>
59
		<td>
60
	<tr>
-
 
61
		<td class="listCell">
-
 
62
			<logic:empty name="a" property="distance">
-
 
63
				[расстояние не известно]
-
 
64
			</logic:empty>
-
 
65
			<logic:notEmpty name="a" property="distance">
60
			<kickup:write name="a" property="apartment.address" filterBr="true" />&nbsp;
66
				<bean:write name="a" property="distance" />&nbsp;
-
 
67
			</logic:notEmpty>
61
		</td>
68
		</td>
62
	</tr>
69
	</tr>
63
</logic:iterate>
70
</logic:iterate>
-
 
71
	<tr>
-
 
72
		<td colspan=2>&nbsp;</td>
-
 
73
	</tr>
64
</table>
74
</table>
65
 
75
 
66
<h2>Свободные спальные места у участников</h2>
76
<h2>Свободные спальные места у участников</h2>
67
 
77
 
68
<table border=1>
78
<table border=0 cellspacing=0 cellpadding=4 width=860>
69
	<tr>
79
	<tr>
70
		<th>Ник</th>
80
		<th class="headerCell">Ник</th>
71
		<th>Имя</th>
81
		<th class="headerCell">Имя</th>
72
		<th>e-mail</th>
82
		<th class="headerCell">e-mail</th>
73
		<th>Телефон</th>
83
		<th class="headerCell">Телефон</th>
74
		<th>Свободных мест</th>
84
		<th class="headerCell">Свободных мест</th>
75
		<th>Условия</th>
85
		<th class="headerCell">Условия</th>
76
	</tr>
86
	</tr>
77
 
87
 
78
<logic:iterate name="participants" id="p">
88
<logic:iterate name="participants" id="p">
79
	<tr>
89
	<tr>
80
		<td><bean:write name="p" property="nick" />&nbsp;</td>
90
		<td><bean:write name="p" property="nick" />&nbsp;</td>
Line 88... Line 98...
88
		<td><bean:write name="p" property="phone" />&nbsp;</td>
98
		<td><bean:write name="p" property="phone" />&nbsp;</td>
89
		<td><bean:write name="p" property="freeSleep" />&nbsp;</td>
99
		<td><bean:write name="p" property="freeSleep" />&nbsp;</td>
90
		<td><bean:write name="p" property="sleepComment" />&nbsp;</td>
100
		<td><bean:write name="p" property="sleepComment" />&nbsp;</td>
91
	</tr>
101
	</tr>
92
</logic:iterate>
102
</logic:iterate>
-
 
103
	<tr>
-
 
104
		<td colspan=6>&nbsp;</td>
-
 
105
	</tr>
93
</table>
106
</table>
94
 
107
 
95
<br>
-
 
96
<backpath:notEmpty><backpath:backlink>Назад</backpath:backlink></backpath:notEmpty>
108
<%@ include file="/footer.jsp" %>
97
 
109
 
98
</body>
110
</body>
99
 
111
 
100
</html>
112
</html>