Rev 990 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 990 | Rev 1003 | ||
---|---|---|---|
1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
4 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
4 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
5 | <%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
5 | <%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
6 | <%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
6 | <%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
7 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
7 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
8 | <html> |
8 | <html> |
9 | 9 | ||
10 | <head> |
10 | <head> |
11 | <meta http-equiv="expires" content="0"> |
11 | <meta http-equiv="expires" content="0"> |
12 | <title>Пьянка XP - Администрирование - Редактирование пьянки</title> |
12 | <title>Пьянка XP - Администрирование - Редактирование пьянки</title> |
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 - Администрирование - Редактирование пьянки</h1> |
18 | <h1>Пьянка XP - Администрирование - Редактирование пьянки</h1> |
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> |
24 | <logic:iterate name="errors" id="error"> |
24 | <logic:iterate name="errors" id="error"> |
25 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
25 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
26 | </logic:iterate> |
26 | </logic:iterate> |
27 | </ul> |
27 | </ul> |
28 | </div> |
28 | </div> |
29 | </strutsx:notEmpty> |
29 | </strutsx:notEmpty> |
30 | 30 | ||
31 | <html:form action="/admin/event/submit"> |
31 | <html:form action="/admin/event/submit"> |
32 | <backpath:current /> |
32 | <backpath:current /> |
33 | <html:hidden property="id" /> |
33 | <html:hidden property="id" /> |
34 | 34 | ||
35 | <table border=0 cellspacing=0 cellpadding=4> |
35 | <table border=0 cellspacing=0 cellpadding=4> |
36 | <tr class="even"> |
36 | <tr class="even"> |
37 | <th>Название</th> |
37 | <th>Название</th> |
38 | <td colspan=3><html:text property="name" style="width:100%" maxlength="255" /></td> |
38 | <td colspan=3><html:text property="name" style="width:100%" maxlength="255" /></td> |
39 | </tr> |
39 | </tr> |
40 | <tr class="odd"> |
40 | <tr class="odd"> |
41 | <th>Контактный e-mail</th> |
41 | <th>Контактный e-mail</th> |
42 | <td colspan=3><html:text property="email" style="width:100%" maxlength="255" /></td> |
42 | <td colspan=3><html:text property="email" style="width:100%" maxlength="255" /></td> |
43 | </tr> |
43 | </tr> |
44 | <tr class="even"> |
44 | <tr class="even"> |
45 | <th>Организаторы</th> |
45 | <th>Организаторы</th> |
46 | <td colspan=3><html:text property="admins" style="width:100%" maxlength="255" /></td> |
46 | <td colspan=3><html:text property="admins" style="width:100%" maxlength="255" /></td> |
47 | </tr> |
47 | </tr> |
48 | <tr class="odd"> |
48 | <tr class="odd"> |
49 | <th>Контактные телефоны</th> |
49 | <th>Контактные телефоны</th> |
50 | <td colspan=3><html:text property="phones" style="width:100%" maxlength="255" /></td> |
50 | <td colspan=3><html:text property="phones" style="width:100%" maxlength="255" /></td> |
51 | </tr> |
51 | </tr> |
52 | <tr class="even"> |
52 | <tr class="even"> |
53 | <th>Место/город</th> |
53 | <th>Место/город</th> |
54 | <td colspan=3><html:text property="place" style="width:100%" maxlength="255" /></td> |
54 | <td colspan=3><html:text property="place" style="width:100%" maxlength="255" /></td> |
55 | </tr> |
55 | </tr> |
56 | <tr class="odd"> |
56 | <tr class="odd"> |
57 | <th>Точный адрес</th> |
57 | <th>Точный адрес</th> |
58 | <td colspan=3><html:textarea property="address" cols="40" cols="40" rows="8" style="width:100%" /></td> |
58 | <td colspan=3><html:textarea property="address" cols="40" cols="40" rows="8" style="width:100%" /></td> |
59 | </tr> |
59 | </tr> |
60 | <tr class="even"> |
60 | <tr class="even"> |
61 | <th>Описание проезда</th> |
61 | <th>Описание проезда</th> |
62 | <td colspan=3><html:textarea property="transport" cols="40" rows="8" style="width:100%" /></td> |
62 | <td colspan=3><html:textarea property="transport" cols="40" rows="8" style="width:100%" /></td> |
63 | </tr> |
63 | </tr> |
64 | <tr class="odd"> |
64 | <tr class="odd"> |
65 | <th>Начало</th> |
65 | <th>Начало</th> |
66 | <td colspan=3><html:text property="start" style="width:100%" maxlength="100" /></td> |
66 | <td colspan=3><html:text property="start" style="width:100%" maxlength="100" /></td> |
67 | </tr> |
67 | </tr> |
68 | <tr class="even"> |
68 | <tr class="even"> |
69 | <th>Окончание</th> |
69 | <th>Окончание</th> |
70 | <td colspan=3><html:text property="stop" style="width:100%" maxlength="100" /></td> |
70 | <td colspan=3><html:text property="stop" style="width:100%" maxlength="100" /></td> |
71 | </tr> |
71 | </tr> |
72 | <tr class="odd"> |
72 | <tr class="odd"> |
73 | <th>Дата окончания регистрации</th> |
73 | <th>Дата окончания регистрации</th> |
74 | <td colspan=3><html:text property="lastreg" style="width:100%" maxlength="100" /></td> |
74 | <td colspan=3><html:text property="lastreg" style="width:100%" maxlength="100" /></td> |
75 | </tr> |
75 | </tr> |
76 | <tr class="even"> |
76 | <tr class="even"> |
77 | <th>Последний срок отказа</th> |
77 | <th>Последний срок отказа</th> |
78 | <td colspan=3><html:text property="lastunreg" style="width:100%" maxlength="100" /></td> |
78 | <td colspan=3><html:text property="lastunreg" style="width:100%" maxlength="100" /></td> |
79 | </tr> |
79 | </tr> |
80 | <tr class="odd"> |
80 | <tr class="odd"> |
81 | <th>Цена с человека</th> |
81 | <th>Цена с человека</th> |
82 | <td colspan=3><html:text property="price" style="width:100%" maxlength="10" /></td> |
82 | <td colspan=3><html:text property="price" style="width:100%" maxlength="10" /></td> |
83 | </tr> |
83 | </tr> |
84 | <tr class="even"> |
84 | <tr class="even"> |
85 | <th>Счет для перевода денег</th> |
85 | <th>Счет для перевода денег</th> |
86 | <td colspan=3><html:textarea property="account" cols="40" rows="8" style="width:100%" /></td> |
86 | <td colspan=3><html:textarea property="account" cols="40" rows="8" style="width:100%" /></td> |
87 | </tr> |
87 | </tr> |
88 | <tr class="odd"> |
88 | <tr class="odd"> |
89 | <th>Открыть доступ</th> |
89 | <th>Открыть доступ</th> |
90 | <td colspan=3><html:checkbox property="enabled" /></td> |
90 | <td colspan=3><html:checkbox property="enabled" /></td> |
91 | </tr> |
91 | </tr> |
92 | <tr class="even"> |
92 | <tr class="even"> |
93 | <th>Описание</th> |
93 | <th>Описание</th> |
94 | <td colspan=3><html:textarea property="comment" cols="40" rows="8" style="width:100%" /></td> |
94 | <td colspan=3><html:textarea property="comment" cols="40" rows="8" style="width:100%" /></td> |
95 | </tr> |
95 | </tr> |
96 | 96 | ||
97 | <tr> |
97 | <tr> |
98 | <th colspan=4><div class="smallHeader">Планируемые мероприятия</div></th> |
98 | <th colspan=4><div class="smallHeader">Планируемые мероприятия</div></th> |
99 | </tr> |
99 | </tr> |
100 | <tr> |
100 | <tr> |
101 | <td class="subHeader">Название</td> |
101 | <td class="subHeader">Название</td> |
102 | <td class="subHeader">Включить</td> |
102 | <td class="subHeader">Включить</td> |
103 | <td class="subHeader">Дополнительная информация</td> |
103 | <td class="subHeader">Дополнительная информация</td> |
104 | <td class="subHeader"> </td> |
104 | <td class="subHeader"> </td> |
105 | </tr> |
105 | </tr> |
106 | <logic:iterate name="EventEditForm" property="acts" id="acts" indexId="iid"> |
106 | <logic:iterate name="EventEditForm" property="acts" id="acts" indexId="iid"> |
107 | <tr> |
107 | <tr> |
108 | <td> |
108 | <td> |
109 | <bean:write name="actList" property='<%= "objects[" + iid + "].name" %>' /> |
109 | <bean:write name="actList" property='<%= "objects[" + iid + "].name" %>' /> |
110 | <html:hidden name="acts" property="actId" indexed="true" /> |
110 | <html:hidden name="acts" property="actId" indexed="true" /> |
111 | </td> |
111 | </td> |
112 | <td><html:checkbox name="acts" property="selected" indexed="true" /></td> |
112 | <td><html:checkbox name="acts" property="selected" indexed="true" /></td> |
113 | <td><html:text name="acts" property="comment" indexed="true" style="width:100%" /></td> |
113 | <td><html:text name="acts" property="comment" indexed="true" style="width:100%" /></td> |
114 | <td> </td> |
114 | <td> </td> |
115 | </tr> |
115 | </tr> |
116 | </logic:iterate> |
116 | </logic:iterate> |
117 | 117 | ||
118 | <tr> |
118 | <tr> |
119 | <th colspan=4><div class="smallHeader">Ближайшие гостиницы</div></th> |
119 | <th colspan=4><div class="smallHeader">Ближайшие гостиницы</div></th> |
120 | </tr> |
120 | </tr> |
121 | <tr> |
121 | <tr> |
122 | <td class="subHeader">Название</td> |
122 | <td class="subHeader">Название</td> |
123 | <td class="subHeader">Включить</td> |
123 | <td class="subHeader">Включить</td> |
124 | <td class="subHeader">Дополнительная информация</td> |
124 | <td class="subHeader">Дополнительная информация</td> |
125 | <td class="subHeader">Расстояние до местa (км)</td> |
125 | <td class="subHeader">Расстояние до местa (км)</td> |
126 | </tr> |
126 | </tr> |
127 | <logic:iterate name="EventEditForm" property="apartments" id="apartments" indexId="iid2"> |
127 | <logic:iterate name="EventEditForm" property="apartments" id="apartments" indexId="iid2"> |
128 | <tr> |
128 | <tr> |
129 | <td> |
129 | <td> |
130 | <bean:write name="apartmentList" property='<%= "objects[" + iid2 + "].name" %>' /> |
130 | <bean:write name="apartmentList" property='<%= "objects[" + iid2 + "].name" %>' /> |
131 | <html:hidden name="apartments" property="apartmentId" indexed="true" /> |
131 | <html:hidden name="apartments" property="apartmentId" indexed="true" /> |
132 | </td> |
132 | </td> |
133 | <td><html:checkbox name="apartments" property="selected" indexed="true" /></td> |
133 | <td><html:checkbox name="apartments" property="selected" indexed="true" /></td> |
134 | <td><html:text name="apartments" property="comment" indexed="true" style="width:100%" /></td> |
134 | <td><html:text name="apartments" property="comment" indexed="true" style="width:100%" /></td> |
135 | <td><html:text name="apartments" property="distance" indexed="true" style="width:100%" maxlength="10" /></td> |
135 | <td><html:text name="apartments" property="distance" indexed="true" style="width:100%" maxlength="10" /></td> |
136 | </tr> |
136 | </tr> |
137 | </logic:iterate> |
137 | </logic:iterate> |
138 | 138 | ||
139 | <tr> |
139 | <tr> |
140 | <td colspan=4> |
140 | <td colspan=4> |
141 | <html:submit>Сохранить</html:submit> |
141 | <html:submit>Сохранить</html:submit> |
142 | <backpath:notEmpty><backpath:backlink>Отменить</backpath:backlink></backpath:notEmpty> |
142 | <backpath:notEmpty><backpath:backlink>Отменить</backpath:backlink></backpath:notEmpty> |
143 | </td> |
143 | </td> |
144 | </tr> |
144 | </tr> |
145 | </table> |
145 | </table> |
146 | 146 | ||
147 | </html:form> |
147 | </html:form> |
148 | 148 | ||
149 | <%@ include file="/admin/footer.jsp" %> |
149 | <%@ include file="/admin/footer.jsp" %> |
150 | 150 | ||
151 | </body> |
151 | </body> |
152 | 152 | ||
153 | </html> |
153 | </html> |