Rev 979 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 979 | Rev 980 | ||
---|---|---|---|
1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
- | |
2 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
3 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
4 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
5 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
4 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
6 | <%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
5 | <%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
- | 6 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
|
7 | <html> |
7 | <html> |
8 | 8 | ||
9 | <head> |
9 | <head> |
10 | <meta http-equiv="expires" content="0"> |
10 | <meta http-equiv="expires" content="0"> |
11 | <title>Пьянка XP</title> |
11 | <title>Пьянка XP</title> |
12 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
12 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
13 | </head> |
13 | </head> |
14 | 14 | ||
15 | <body> |
15 | <body> |
16 | 16 | ||
17 | <h1>Пьянка XP</h1> |
17 | <h1>Пьянка XP</h1> |
18 | 18 | ||
19 | <strutsx:errorsIterator id="errors" /> |
19 | <strutsx:errorsIterator id="errors" /> |
20 | <strutsx:notEmpty name="errors"> |
20 | <strutsx:notEmpty name="errors"> |
21 | <div class="error">Ошибки: |
21 | <div class="error">Ошибки: |
22 | <ul> |
22 | <ul> |
23 | <logic:iterate name="errors" id="error"> |
23 | <logic:iterate name="errors" id="error"> |
24 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
24 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
25 | </logic:iterate> |
25 | </logic:iterate> |
26 | </ul> |
26 | </ul> |
27 | </div> |
27 | </div> |
28 | </strutsx:notEmpty> |
28 | </strutsx:notEmpty> |
29 | 29 | ||
30 | <table border=0 cellspacing=0 cellpadding=4 width=860> |
30 | <table border=0 cellspacing=0 cellpadding=4 width=860> |
31 | <tr> |
31 | <tr> |
32 | <th class="headerCell">Название</th> |
32 | <th class="headerCell">Название</th> |
33 | <th class="headerCell">Место/город</th> |
33 | <th class="headerCell">Место/город</th> |
34 | <th class="headerCell">Начало</th> |
34 | <th class="headerCell">Начало</th> |
35 | <th class="headerCell">Окончание</th> |
35 | <th class="headerCell">Окончание</th> |
36 | <th class="headerCell">Регистрация разрешена</th> |
36 | <th class="headerCell">Регистрация разрешена</th> |
37 | </tr> |
37 | </tr> |
38 | 38 | ||
39 | <logic:iterate name="events" id="e"> |
39 | <logic:iterate name="events" id="e"> |
40 | <tr> |
40 | <tr> |
41 | <td class="listCell"> |
41 | <td class="listCell"> |
42 | <html:link action="/event/show" paramId="id" paramName="e" paramProperty="id"> |
42 | <html:link action="/event/show" paramId="id" paramName="e" paramProperty="id"> |
43 | <bean:write name="e" property="name" /> |
43 | <bean:write name="e" property="name" /> |
44 | </html:link> |
44 | </html:link> |
45 | </td> |
45 | </td> |
46 | <td class="listCell"><bean:write name="e" property="place" /> </td> |
46 | <td class="listCell"><bean:write name="e" property="place" /> </td> |
47 | <td class="listCell"><bean:write name="e" property="start" format="dd.MM.yyyy" /> </td> |
47 | <td class="listCell"><bean:write name="e" property="start" format="dd.MM.yyyy" /> </td> |
48 | <td class="listCell"><bean:write name="e" property="stop" format="dd.MM.yyyy" /> </td> |
48 | <td class="listCell"><bean:write name="e" property="stop" format="dd.MM.yyyy" /> </td> |
49 | <td class="listCell"> |
49 | <td class="listCell"> |
50 | <logic:equal name="e" property="registrationAvailable" value="true">да</logic:equal> |
50 | <logic:equal name="e" property="registrationAvailable" value="true">да</logic:equal> |
51 | <logic:notEqual name="e" property="registrationAvailable" value="true">нет</logic:notEqual> |
51 | <logic:notEqual name="e" property="registrationAvailable" value="true">нет</logic:notEqual> |
52 | </td> |
52 | </td> |
53 | </tr> |
53 | </tr> |
54 | </logic:iterate> |
54 | </logic:iterate> |
55 | <tr> |
55 | <tr> |
56 | <td colspan=5> </td> |
56 | <td colspan=5> </td> |
57 | </tr> |
57 | </tr> |
58 | </table> |
58 | </table> |
59 | 59 | ||
60 | <!-- footer begin --> |
60 | <!-- footer begin --> |
61 | <table border=0 cellspacing=0 cellpadding=4> |
61 | <table border=0 cellspacing=0 cellpadding=4> |
62 | <tr> |
62 | <tr> |
63 | <td colspan=2><img src="<strutsx:root />/images/line.gif" alt=""></td> |
63 | <td colspan=2><img src="<strutsx:root />/images/line.gif" alt=""></td> |
64 | </tr> |
64 | </tr> |
65 | <tr> |
65 | <tr> |
66 | <td> </td> |
66 | <td> </td> |
67 | <td align=right valign=top style="text-align: right; "> |
67 | <td align=right valign=top style="text-align: right; "> |
68 | <html:link page="/admin"><img src="<strutsx:root />/images/admin.gif" alt="Администрирование" border=0></html:link> |
68 | <html:link page="/admin"><img src="<strutsx:root />/images/admin.gif" alt="Администрирование" border=0></html:link> |
69 | </td> |
69 | </td> |
70 | </tr> |
70 | </tr> |
71 | 71 | ||
72 | <%@ include file="/copyright.jsp" %> |
72 | <%@ include file="/copyright.jsp" %> |
73 | </table> |
73 | </table> |
74 | <!-- footer end --> |
74 | <!-- footer end --> |
75 | 75 | ||
76 | </body> |
76 | </body> |
77 | 77 | ||
78 | </html> |
78 | </html> |