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