Subversion Repositories general

Rev

Rev 968 | Rev 973 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld"      prefix="bean"     %>
<%@ taglib uri="/WEB-INF/struts-logic.tld"     prefix="logic"    %>
<%@ taglib uri="/WEB-INF/struts-html.tld"      prefix="html"     %>
<%@ taglib uri="/WEB-INF/ak-backpath.tld"      prefix="backpath" %>
<%@ taglib uri="/WEB-INF/ak-strutsx.tld"       prefix="strutsx"  %>
<%@ taglib uri="/WEB-INF/ak-kickup.tld"        prefix="kickup"   %>
<html>

<head>
        <meta http-equiv="expires" content="0">
        <title>Пьянка XP - <bean:write name="event" property="name" /></title>
        <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>

<body>

<!-- header begin -->
<table border=0>
        <tr>
                <td align=left valign=top>
                        <div class="eventName"><bean:write name="event" property="name" /></div>
                </td>
                <td align=right valign=top colspan=2>
                        <div class="eventDate">
                                <logic:empty name="event" property="start">(дата еще неизвестна)</logic:empty>
                                <logic:notEmpty name="event" property="start">
                                        <bean:write name="event" property="start" format="d MMM yyyy" />
                                        <logic:notEmpty name="event" property="stop">- <bean:write name="event" property="stop" format="d MMM yyyy" /></logic:notEmpty>
                                </logic:notEmpty>
                        </div>
                        <div class="eventPlace"><bean:write name="event" property="place" /></div>
                </td>
        </tr>
        <tr>
                <td align=left valign=bottom colspan=2>
                        Уже зарегистрированно <span class="personCount"><bean:write name="event" property="personCount" /></span> участников
                </td>
                <td align=right valign=bottom>
                        <logic:equal name="event" property="registrationAvailable" value="true">
                                <backpath:link action="/participant/register" paramId="event" paramName="event" paramProperty="id"><img src="<strutsx:root />/images/register.gif" alt="Зарегистрироваться" border=0></backpath:link>
                        </logic:equal>
                </td>
        </tr>
        <tr>
                <td colspan=3>&nbsp;</td>
        </tr>
        <tr>
                <td align=left valign=top colspan=2>
                        <kickup:currentLink action="/event/show" paramId="id" paramName="event" paramProperty="id"><img src="<strutsx:root />/images/show.gif" alt="Программа" border=0></kickup:currentLink>
                        <kickup:currentLink action="/apartment/list" paramId="event" paramName="event" paramProperty="id"><img src="<strutsx:root />/images/apartments.gif" alt="Программа" border=0></kickup:currentLink>
                        <kickup:currentLink action="/transport/list" paramId="event" paramName="event" paramProperty="id"><img src="<strutsx:root />/images/transport.gif" alt="Программа" border=0></kickup:currentLink>
                        <kickup:currentLink action="/participant/list" paramId="event" paramName="event" paramProperty="id"><img src="<strutsx:root />/images/participants.gif" alt="Программа" border=0></kickup:currentLink>
                </td>
                <td align=right valign=top>
                        <kickup:currentLink action="/participant/ident" paramId="event" paramName="event" paramProperty="id"><img src="<strutsx:root />/images/ident.gif" alt="Программа" border=0></kickup:currentLink>
                </td>
        </tr>
    <tr>
        <td colspan=3><img src="<strutsx:root />/images/line.gif" alt=""></td>
    </tr>
</table>
<!-- header end -->

<strutsx:errorsIterator id="errors" />
<strutsx:notEmpty name="errors">
        <div class="error">Ошибки:
                <ul>
                <logic:iterate name="errors" id="error">
                        <li><strutsx:message name="error" property="key" valuesProperty="values" /></li>
                </logic:iterate>
                </ul>
        </div>
</strutsx:notEmpty>

<p><kickup:write name="event" property="comment" filterBr="true" /></p>

<h2>Место проведения</h2>

<div class="eventPlace"><bean:write name="event" property="place" /></div>
<div class="eventAddress"><kickup:write name="event" property="address" filterBr="true" /></div>

<h2>Планируемые мероприятия</h2>

<ul>
<logic:iterate name="acts" id="a">
        <li><bean:write name="a" property="act.name" />
                <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>
</logic:iterate>
</ul>

<h2>Стоимость</h2>

<p>
<logic:empty name="event" property="price">пока не определена</logic:empty>
<logic:notEmpty name="event" property="price">
        <bean:write name="event" property="price" format="0.00" /> евро с носа
</logic:notEmpty>
</p>

<!-- footer begin -->
<table border=0>
    <tr>
        <td colspan=2><img src="<strutsx:root />/images/line.gif" alt=""></td>
    </tr>
        <tr>
                <td>По всем вопросам обращайтесь к организаторам: <span class="eventAdmins"><bean:write name="event" property="admins" /></span></td>
                <td align=right valign=top>
                        <html:link page="/admin"><img src="<strutsx:root />/images/admin.gif" alt="Администрирование" border=0></html:link>
                </td>
        </tr>
        <tr>
                <td>Контактный e-mail: <a href="mailto:<bean:write name="event" property="email" />"><bean:write name="event" property="email" /></a></td>
                <td align=right valign=top>
                        <html:link page="/"><img src="<strutsx:root />/images/list.gif" alt="Администрирование" border=0></html:link>
                </td>
    <tr>
</table>
<!-- footer end -->

</body>

</html>