Subversion Repositories general

Rev

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

Rev Author Line No. Line
979 dev 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
19 dev 3
<%@ taglib uri="/WEB-INF/struts-bean.tld"      prefix="bean"     %>
4
<%@ taglib uri="/WEB-INF/struts-logic.tld"     prefix="logic"    %>
5
<%@ taglib uri="/WEB-INF/struts-html.tld"      prefix="html"     %>
6
<%@ taglib uri="/WEB-INF/ak-strutsx.tld"       prefix="strutsx"  %>
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>
58
 
975 dev 59
	<tr>
60
		<td colspan=3><div class="smallHeader">Если берете попутчиков</div></td>
61
    </tr>
19 dev 62
	<tr>
63
		<th>Выезд из PLZ</th>
975 dev 64
		<td colspan=2><html:text property="fromZip" style="width:240px" maxlength="10" /></td>
19 dev 65
    </tr>
66
	<tr>
67
		<th>Выезд из города</th>
975 dev 68
		<td colspan=2><html:text property="fromCity" style="width:240px" maxlength="100" /></td>
19 dev 69
    </tr>
70
	<tr>
71
		<th>Время отправления</th>
975 dev 72
		<td colspan=2><html:text property="departure" style="width:240px" maxlength="100" /></td>
19 dev 73
    </tr>
74
	<tr>
75
		<th>Свободных мест в машине</th>
975 dev 76
		<td colspan=2><html:text property="freeTransport" style="width:240px" maxlength="10" /></td>
19 dev 77
    </tr>
78
	<tr>
79
		<th>Условия транспортировки</th>
975 dev 80
		<td colspan=2><html:textarea property="transportComment" cols="40" rows="5" style="width:240px;" /></td>
19 dev 81
    </tr>
82
 
975 dev 83
	<tr>
84
		<td colspan=3>
85
			<div class="smallHeader">Для живущих в месте проведения</div>
86
			Если вы можете приютить приезжих
87
		</td>
88
    </tr>
19 dev 89
	<tr>
90
		<th>Свободных спальных мест</th>
975 dev 91
		<td colspan=2><html:text property="freeSleep" style="width:240px" maxlength="10" /></td>
19 dev 92
    </tr>
93
	<tr>
94
		<th>Условия ночевки</th>
975 dev 95
		<td colspan=2><html:textarea property="sleepComment" cols="40" rows="5" style="width:240px;" /></td>
19 dev 96
    </tr>
97
 
975 dev 98
	<tr>
99
		<td colspan=3>
100
			<div class="smallHeader">Контактная информация</div>
101
			Если вы согласны взять попутчиков или пустить переночевать, то
102
			укажите, как с вами связаться
103
		</td>
104
    </tr>
19 dev 105
	<tr>
106
		<th>Ваше имя</th>
975 dev 107
		<td colspan=2><html:text property="name" style="width:240px" maxlength="255" /></td>
19 dev 108
    </tr>
109
	<tr>
110
		<th>Телефон</th>
975 dev 111
		<td colspan=2><html:text property="phone" style="width:240px" maxlength="255" /></td>
19 dev 112
    </tr>
113
	<tr>
969 dev 114
		<th>Переведено и получено, евро</th>
115
		<td colspan=2><bean:write name="participant" property="payed" format="0.00" /></td>
968 dev 116
    </tr>
117
	<tr>
19 dev 118
		<th>Дополнительная информация</th>
975 dev 119
		<td colspan=2><html:textarea property="comment" cols="40" rows="5" style="width:240px;" /></td>
19 dev 120
    </tr>
121
 
27 dev 122
<logic:notEmpty name="actList" property="objects">
123
	<tr>
975 dev 124
		<th colspan=3><div class="smallHeader">В чем желаете поучаствовать</div></th>
27 dev 125
    </tr>
126
	<tr>
975 dev 127
		<th>Название</th>
128
		<th>Включить</th>
129
		<th>Дополнительно</th>
27 dev 130
    </tr>
131
	<logic:iterate name="ParticipantRegisterEditForm" property="acts" id="acts" indexId="iid">
132
		<tr>
975 dev 133
			<td>
27 dev 134
				<bean:write name="actList" property='<%= "objects[" + iid + "].act.name" %>' />
135
				<html:hidden name="acts" property="actId" indexed="true" />
975 dev 136
			</td>
27 dev 137
			<td><html:checkbox name="acts" property="selected" indexed="true" /></td>
975 dev 138
			<td><html:text name="acts" property="comment" indexed="true" style="width:240px" /></td>
27 dev 139
		</tr>
140
	</logic:iterate>
141
</logic:notEmpty>
142
 
19 dev 143
	<tr>
977 dev 144
		<td colspan=3><html:image page="/images/save.gif" alt="Сохранить" /></td>
19 dev 145
    </tr>
146
</table>
147
 
148
</html:form>
149
 
975 dev 150
<%@ include file="/footer.jsp" %>
151
 
19 dev 152
</body>
153
 
154
</html>