Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
16 | 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-backpath.tld" prefix="backpath" %> |
||
6 | <%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
||
7 | <%@ taglib uri="/WEB-INF/ak-kickup.tld" prefix="kickup" %> |
||
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 | |||
969 | dev | 18 | <!-- header begin --> |
19 | <table border=0> |
||
20 | <tr> |
||
21 | <td align=left valign=top> |
||
22 | <div class="eventName"><bean:write name="event" property="name" /></div> |
||
23 | </td> |
||
24 | <td align=right valign=top colspan=2> |
||
25 | <div class="eventDate"> |
||
26 | <logic:empty name="event" property="start">(дата еще неизвестна)</logic:empty> |
||
27 | <logic:notEmpty name="event" property="start"> |
||
28 | <bean:write name="event" property="start" format="d MMM yyyy" /> |
||
29 | <logic:notEmpty name="event" property="stop">- <bean:write name="event" property="stop" format="d MMM yyyy" /></logic:notEmpty> |
||
30 | </logic:notEmpty> |
||
31 | </div> |
||
32 | <div class="eventPlace"><bean:write name="event" property="place" /></div> |
||
33 | </td> |
||
34 | </tr> |
||
35 | <tr> |
||
36 | <td align=left valign=bottom colspan=2> |
||
37 | Уже зарегистрированно <span class="personCount"><bean:write name="event" property="personCount" /></span> участников |
||
38 | </td> |
||
39 | <td align=right valign=bottom> |
||
40 | <logic:equal name="event" property="registrationAvailable" value="true"> |
||
41 | <backpath:link action="/participant/register" paramId="event" paramName="event" paramProperty="id"><img src="<strutsx:root />/images/register.gif" alt="Зарегистрироваться" border=0></backpath:link> |
||
42 | </logic:equal> |
||
43 | </td> |
||
44 | </tr> |
||
45 | <tr> |
||
46 | <td colspan=3> </td> |
||
47 | </tr> |
||
48 | <tr> |
||
49 | <td align=left valign=top colspan=2> |
||
50 | <kickup:currentLink action="/event/show" paramId="id" paramName="event" paramProperty="id"><img src="<strutsx:root />/images/show.gif" alt="Программа" border=0></kickup:currentLink> |
||
51 | <kickup:currentLink action="/apartment/list" paramId="event" paramName="event" paramProperty="id"><img src="<strutsx:root />/images/apartments.gif" alt="Программа" border=0></kickup:currentLink> |
||
52 | <kickup:currentLink action="/transport/list" paramId="event" paramName="event" paramProperty="id"><img src="<strutsx:root />/images/transport.gif" alt="Программа" border=0></kickup:currentLink> |
||
53 | <kickup:currentLink action="/participant/list" paramId="event" paramName="event" paramProperty="id"><img src="<strutsx:root />/images/participants.gif" alt="Программа" border=0></kickup:currentLink> |
||
54 | </td> |
||
55 | <td align=right valign=top> |
||
56 | <kickup:currentLink action="/participant/ident" paramId="event" paramName="event" paramProperty="id"><img src="<strutsx:root />/images/ident.gif" alt="Программа" border=0></kickup:currentLink> |
||
57 | </td> |
||
58 | </tr> |
||
59 | <tr> |
||
60 | <td colspan=3><img src="<strutsx:root />/images/line.gif" alt=""></td> |
||
61 | </tr> |
||
62 | </table> |
||
63 | <!-- header end --> |
||
16 | dev | 64 | |
65 | <strutsx:errorsIterator id="errors" /> |
||
66 | <strutsx:notEmpty name="errors"> |
||
67 | <div class="error">Ошибки: |
||
68 | <ul> |
||
69 | <logic:iterate name="errors" id="error"> |
||
70 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
||
71 | </logic:iterate> |
||
72 | </ul> |
||
73 | </div> |
||
74 | </strutsx:notEmpty> |
||
75 | |||
76 | <p><kickup:write name="event" property="comment" filterBr="true" /></p> |
||
77 | |||
78 | <h2>Место проведения</h2> |
||
79 | |||
969 | dev | 80 | <div class="eventPlace"><bean:write name="event" property="place" /></div> |
81 | <div class="eventAddress"><kickup:write name="event" property="address" filterBr="true" /></div> |
||
16 | dev | 82 | |
83 | <h2>Планируемые мероприятия</h2> |
||
84 | |||
85 | <ul> |
||
86 | <logic:iterate name="acts" id="a"> |
||
968 | dev | 87 | <li><bean:write name="a" property="act.name" /> |
969 | dev | 88 | <kickup:link action="/act/list" paramId="event" paramName="event" paramProperty="id" paramId2="act" paramName2="a" paramProperty2="act.id"><span class="actParticipants">[участники]</span></kickup:link></li> |
16 | dev | 89 | </logic:iterate> |
90 | </ul> |
||
91 | |||
92 | <h2>Стоимость</h2> |
||
93 | |||
94 | <p> |
||
95 | <logic:empty name="event" property="price">пока не определена</logic:empty> |
||
96 | <logic:notEmpty name="event" property="price"> |
||
97 | <bean:write name="event" property="price" format="0.00" /> евро с носа |
||
98 | </logic:notEmpty> |
||
99 | </p> |
||
100 | |||
969 | dev | 101 | <!-- footer begin --> |
102 | <table border=0> |
||
103 | <tr> |
||
104 | <td colspan=2><img src="<strutsx:root />/images/line.gif" alt=""></td> |
||
105 | </tr> |
||
106 | <tr> |
||
107 | <td>По всем вопросам обращайтесь к организаторам: <span class="eventAdmins"><bean:write name="event" property="admins" /></span></td> |
||
108 | <td align=right valign=top> |
||
109 | <html:link page="/admin"><img src="<strutsx:root />/images/admin.gif" alt="Администрирование" border=0></html:link> |
||
110 | </td> |
||
111 | </tr> |
||
112 | <tr> |
||
113 | <td>Контактный e-mail: <a href="mailto:<bean:write name="event" property="email" />"><bean:write name="event" property="email" /></a></td> |
||
114 | <td align=right valign=top> |
||
115 | <html:link page="/"><img src="<strutsx:root />/images/list.gif" alt="Администрирование" border=0></html:link> |
||
116 | </td> |
||
117 | <tr> |
||
118 | </table> |
||
119 | <!-- footer end --> |
||
16 | dev | 120 | |
121 | </body> |
||
122 | |||
123 | </html> |