Subversion Repositories general

Rev

Rev 980 | 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" %>
19 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"  %>
980 dev 6
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
19 dev 7
<html>
8
 
9
<head>
10
	<meta http-equiv="expires" content="0">
11
	<title>Пьянка XP - <bean:write name="event" property="name" /> - Редактирование</title>
12
	<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
13
</head>
14
 
15
<body>
16
 
974 dev 17
<%@ include file="/header.jsp" %>
19 dev 18
 
19
<strutsx:errorsIterator id="errors" />
20
<strutsx:notEmpty name="errors">
21
	<div class="error">Ошибки:
22
		<ul>
23
		<logic:iterate name="errors" id="error">
24
			<li><strutsx:message name="error" property="key" valuesProperty="values" /></li>
25
		</logic:iterate>
26
		</ul>
27
	</div>
28
</strutsx:notEmpty>
29
 
30
<html:form action="/participant/update">
31
<html:hidden property="event" />
32
<html:hidden property="ident" />
33
 
975 dev 34
<table border=0 cellspacing=0 cellpadding=4 width=860>
35
	<tr>
36
		<td colspan=3><div class="smallHeader">Идентификация</div></td>
37
    </tr>
19 dev 38
	<tr>
39
		<th>Ваш номер</th>
27 dev 40
		<td colspan=2><bean:write name="participant" property="ident" /></td>
19 dev 41
    </tr>
42
	<tr>
43
		<th>Ник на форуме</th>
27 dev 44
		<td colspan=2><bean:write name="participant" property="nick" /></td>
19 dev 45
    </tr>
46
	<tr>
47
		<th>Ваш e-mail</th>
27 dev 48
		<td colspan=2><bean:write name="participant" property="email" /></td>
19 dev 49
    </tr>
50
	<tr>
51
		<th>Разрешить показ e-mail'а</th>
27 dev 52
		<td colspan=2><html:checkbox property="emailPublic" /></td>
19 dev 53
    </tr>
54
	<tr>
55
		<th>Сколько вас</th>
975 dev 56
		<td colspan=2><html:text property="persons" style="width:240px" maxlength="10" /></td>
19 dev 57
    </tr>
1428 dev 58
	<tr>
59
		<th>Дополнительная информация,<br>видимая всем</th>
60
		<td colspan=2><html:textarea property="comment" cols="40" rows="5" style="width:240px;" /></td>
61
    </tr>
62
	<tr>
63
		<th>Дополнительная информация,<br>видимая только организаторам</th>
64
		<td colspan=2><html:textarea property="protectedComment" cols="40" rows="5" style="width:240px;" /></td>
65
    </tr>
19 dev 66
 
975 dev 67
	<tr>
68
		<td colspan=3><div class="smallHeader">Если берете попутчиков</div></td>
69
    </tr>
19 dev 70
	<tr>
71
		<th>Выезд из PLZ</th>
975 dev 72
		<td colspan=2><html:text property="fromZip" style="width:240px" maxlength="10" /></td>
19 dev 73
    </tr>
74
	<tr>
75
		<th>Выезд из города</th>
975 dev 76
		<td colspan=2><html:text property="fromCity" style="width:240px" maxlength="100" /></td>
19 dev 77
    </tr>
78
	<tr>
79
		<th>Время отправления</th>
975 dev 80
		<td colspan=2><html:text property="departure" style="width:240px" maxlength="100" /></td>
19 dev 81
    </tr>
82
	<tr>
83
		<th>Свободных мест в машине</th>
975 dev 84
		<td colspan=2><html:text property="freeTransport" style="width:240px" maxlength="10" /></td>
19 dev 85
    </tr>
86
	<tr>
87
		<th>Условия транспортировки</th>
975 dev 88
		<td colspan=2><html:textarea property="transportComment" cols="40" rows="5" style="width:240px;" /></td>
19 dev 89
    </tr>
90
 
975 dev 91
	<tr>
92
		<td colspan=3>
93
			<div class="smallHeader">Для живущих в месте проведения</div>
94
			Если вы можете приютить приезжих
95
		</td>
96
    </tr>
19 dev 97
	<tr>
98
		<th>Свободных спальных мест</th>
975 dev 99
		<td colspan=2><html:text property="freeSleep" style="width:240px" maxlength="10" /></td>
19 dev 100
    </tr>
101
	<tr>
102
		<th>Условия ночевки</th>
975 dev 103
		<td colspan=2><html:textarea property="sleepComment" cols="40" rows="5" style="width:240px;" /></td>
19 dev 104
    </tr>
105
 
975 dev 106
	<tr>
107
		<td colspan=3>
108
			<div class="smallHeader">Контактная информация</div>
109
			Если вы согласны взять попутчиков или пустить переночевать, то
110
			укажите, как с вами связаться
111
		</td>
112
    </tr>
19 dev 113
	<tr>
114
		<th>Ваше имя</th>
975 dev 115
		<td colspan=2><html:text property="name" style="width:240px" maxlength="255" /></td>
19 dev 116
    </tr>
117
	<tr>
118
		<th>Телефон</th>
975 dev 119
		<td colspan=2><html:text property="phone" style="width:240px" maxlength="255" /></td>
19 dev 120
    </tr>
121
	<tr>
969 dev 122
		<th>Переведено и получено, евро</th>
123
		<td colspan=2><bean:write name="participant" property="payed" format="0.00" /></td>
968 dev 124
    </tr>
19 dev 125
 
27 dev 126
<logic:notEmpty name="actList" property="objects">
127
	<tr>
975 dev 128
		<th colspan=3><div class="smallHeader">В чем желаете поучаствовать</div></th>
27 dev 129
    </tr>
130
	<tr>
975 dev 131
		<th>Название</th>
132
		<th>Включить</th>
133
		<th>Дополнительно</th>
27 dev 134
    </tr>
135
	<logic:iterate name="ParticipantRegisterEditForm" property="acts" id="acts" indexId="iid">
136
		<tr>
975 dev 137
			<td>
27 dev 138
				<bean:write name="actList" property='<%= "objects[" + iid + "].act.name" %>' />
139
				<html:hidden name="acts" property="actId" indexed="true" />
975 dev 140
			</td>
27 dev 141
			<td><html:checkbox name="acts" property="selected" indexed="true" /></td>
975 dev 142
			<td><html:text name="acts" property="comment" indexed="true" style="width:240px" /></td>
27 dev 143
		</tr>
144
	</logic:iterate>
145
</logic:notEmpty>
146
 
19 dev 147
	<tr>
977 dev 148
		<td colspan=3><html:image page="/images/save.gif" alt="Сохранить" /></td>
19 dev 149
    </tr>
150
</table>
151
 
152
</html:form>
153
 
975 dev 154
<%@ include file="/footer.jsp" %>
155
 
19 dev 156
</body>
157
 
158
</html>