Subversion Repositories general

Rev

Rev 979 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
979 dev 1
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
16 dev 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"   %>
980 dev 7
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
16 dev 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
 
973 dev 18
<%@ include file="/header.jsp" %>
16 dev 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
 
973 dev 33
<table border=0 cellspacing=0 cellpadding=4 width=860>
16 dev 34
 
35
<logic:iterate name="apartments" id="a">
36
	<tr>
973 dev 37
		<td style="font-size: 12pt; font-weight: bold;" width=400>
38
			<logic:empty name="a" property="apartment.url">
39
				<bean:write name="a" property="apartment.name" />
40
			</logic:empty>
16 dev 41
			<logic:notEmpty name="a" property="apartment.url">
973 dev 42
				<a href="<bean:write name="a" property="apartment.url" />"><bean:write name="a" property="apartment.name" /></a>
16 dev 43
			</logic:notEmpty>
44
		</td>
973 dev 45
		<td rowspan=3 class="listCell">
46
			<kickup:write name="a" property="apartment.address" filterBr="true" />&nbsp;
16 dev 47
		</td>
973 dev 48
	</tr>
49
	<tr>
16 dev 50
		<td>
973 dev 51
			<logic:empty name="a" property="apartment.price">
52
				[цена не известна]
53
			</logic:empty>
54
			<logic:notEmpty name="a" property="apartment.price">
55
				<bean:write name="a" property="apartment.price" format="0.00" />
56
				евро за ночь на одного
57
			</logic:notEmpty>
16 dev 58
		</td>
973 dev 59
	</tr>
60
	<tr>
61
		<td class="listCell">
62
			<logic:empty name="a" property="distance">
63
				[расстояние не известно]
64
			</logic:empty>
65
			<logic:notEmpty name="a" property="distance">
66
				<bean:write name="a" property="distance" />&nbsp;
67
			</logic:notEmpty>
16 dev 68
		</td>
69
	</tr>
70
</logic:iterate>
973 dev 71
	<tr>
72
		<td colspan=2>&nbsp;</td>
73
	</tr>
16 dev 74
</table>
75
 
76
<h2>Свободные спальные места у участников</h2>
77
 
973 dev 78
<table border=0 cellspacing=0 cellpadding=4 width=860>
16 dev 79
	<tr>
973 dev 80
		<th class="headerCell">Ник</th>
81
		<th class="headerCell">Имя</th>
82
		<th class="headerCell">e-mail</th>
83
		<th class="headerCell">Телефон</th>
84
		<th class="headerCell">Свободных мест</th>
85
		<th class="headerCell">Условия</th>
16 dev 86
	</tr>
87
 
88
<logic:iterate name="participants" id="p">
89
	<tr>
974 dev 90
		<td class="listCell"><bean:write name="p" property="nick" />&nbsp;</td>
91
		<td class="listCell"><bean:write name="p" property="name" />&nbsp;</td>
92
		<td class="listCell">
16 dev 93
			<logic:equal name="p" property="emailPublic" value="true">
94
				<bean:write name="p" property="email"   />
95
			</logic:equal>
96
			&nbsp;
97
		</td>
974 dev 98
		<td class="listCell"><bean:write name="p" property="phone" />&nbsp;</td>
99
		<td class="listCell"><bean:write name="p" property="freeSleep" />&nbsp;</td>
100
		<td class="listCell"><bean:write name="p" property="sleepComment" />&nbsp;</td>
16 dev 101
	</tr>
102
</logic:iterate>
973 dev 103
	<tr>
104
		<td colspan=6>&nbsp;</td>
105
	</tr>
16 dev 106
</table>
107
 
973 dev 108
<%@ include file="/footer.jsp" %>
16 dev 109
 
110
</body>
111
 
112
</html>