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-strutsx.tld" prefix="strutsx" %> |
||
6 | <html> |
||
7 | |||
8 | <head> |
||
9 | <meta http-equiv="expires" content="0"> |
||
10 | <title>Пьянка XP</title> |
||
11 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
||
12 | </head> |
||
13 | |||
14 | <body> |
||
15 | |||
16 | <h1>Пьянка XP</h1> |
||
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 | |||
977 | dev | 29 | <table border=0 cellspacing=0 cellpadding=4 width=860> |
16 | dev | 30 | <tr> |
977 | dev | 31 | <th class="headerCell">Название</th> |
32 | <th class="headerCell">Место/город</th> |
||
33 | <th class="headerCell">Начало</th> |
||
34 | <th class="headerCell">Окончание</th> |
||
35 | <th class="headerCell">Регистрация разрешена</th> |
||
16 | dev | 36 | </tr> |
37 | |||
38 | <logic:iterate name="events" id="e"> |
||
39 | <tr> |
||
977 | dev | 40 | <td class="listCell"> |
974 | dev | 41 | <html:link action="/event/show" paramId="id" paramName="e" paramProperty="id"> |
16 | dev | 42 | <bean:write name="e" property="name" /> |
974 | dev | 43 | </html:link> |
16 | dev | 44 | </td> |
977 | dev | 45 | <td class="listCell"><bean:write name="e" property="place" /> </td> |
46 | <td class="listCell"><bean:write name="e" property="start" format="dd.MM.yyyy" /> </td> |
||
47 | <td class="listCell"><bean:write name="e" property="stop" format="dd.MM.yyyy" /> </td> |
||
48 | <td class="listCell"> |
||
16 | dev | 49 | <logic:equal name="e" property="registrationAvailable" value="true">да</logic:equal> |
50 | <logic:notEqual name="e" property="registrationAvailable" value="true">нет</logic:notEqual> |
||
51 | </td> |
||
52 | </tr> |
||
53 | </logic:iterate> |
||
977 | dev | 54 | <tr> |
55 | <td colspan=5> </td> |
||
56 | </tr> |
||
16 | dev | 57 | </table> |
58 | |||
977 | dev | 59 | <!-- footer begin --> |
60 | <table border=0 cellspacing=0 cellpadding=4> |
||
61 | <tr> |
||
62 | <td colspan=2><img src="<strutsx:root />/images/line.gif" alt=""></td> |
||
63 | </tr> |
||
64 | <tr> |
||
65 | <td> </td> |
||
66 | <td align=right valign=top style="text-align: right; "> |
||
67 | <html:link page="/admin"><img src="<strutsx:root />/images/admin.gif" alt="Администрирование" border=0></html:link> |
||
68 | </td> |
||
69 | </tr> |
||
18 | dev | 70 | |
977 | dev | 71 | <%@ include file="/copyright.jsp" %> |
72 | </table> |
||
73 | <!-- footer end --> |
||
74 | |||
16 | dev | 75 | </body> |
76 | |||
77 | </html> |