Subversion Repositories general

Rev

Rev 979 | Details | Compare with Previous | Last modification | View Log | RSS feed

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