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