Subversion Repositories general

Compare Revisions

Ignore whitespace Rev 992 → Rev 1003

/kickup/tags/release-1.0/webapp/admin/participant/list.jsp
0,0 → 1,124
<%@ 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" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<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">
<script type="text/javascript">
function confirmDelete()
{
return confirm("Вы уверены, что хотите удалить этого участника?");
}
</script>
</head>
 
<body>
 
<h1>Пьянка XP - Администрирование - Участники пьянки "<bean:write name="event" property="name" />"</h1>
 
<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>
 
<div style="float:right; width:200px; background-color:#EDD9F1; padding: 1em; ">
<!-- legend begin -->
<logic:empty name="event" property="price">
<div>Размер оплаты участия в этой пьянке еще не определен, поэтому статус оплаты не показан.</div>
</logic:empty>
<logic:notEmpty name="event" property="price">
<table border=0 width="100%">
<tr><th colspan=2>Легенда</th></tr>
<tr><td class="payedNone" style="width:50px;">&nbsp;</td><td>Не заплатил</td></tr>
<tr><td class="payedLess">&nbsp;</td><td>Недоплатил</td></tr>
<tr><td class="payedExactly">&nbsp;</td><td>Все точно</td></tr>
<tr><td class="payedMore">&nbsp;</td><td>Переплатил</td></tr>
<tr><td colspan=2>&nbsp;</td></tr>
</table>
</logic:notEmpty>
<!-- legend end -->
 
<table border=0 width="100%">
<tr><th colspan=2>Статистика</th></tr>
<tr><td>Всего заявок</td><td><bean:write name="event" property="participantCount" /></td></tr>
<tr><td>Всего участников</td><td><bean:write name="event" property="personCount" /></td></tr>
</table>
</div>
 
<table border=0 cellspacing=0 cellpadding=4>
<tr>
<th class="subHeader">Кодовый номер</th>
<th class="subHeader">Ник</th>
<th class="subHeader">e-mail</th>
<th class="subHeader">Имя</th>
<th class="subHeader">Количество</th>
<th class="subHeader">Оплачено, евро</th>
<th class="subHeader" width=50>&nbsp;</th>
<th class="subHeader">&nbsp;</th>
<th class="subHeader">&nbsp;</th>
</tr>
 
<logic:iterate name="participants" id="p">
<tr>
<td class="<logic:equal name="p" property="payedStatus" value="0"
>payedNull</logic:equal><logic:equal name="p" property="payedStatus" value="1"
>payedNone</logic:equal><logic:equal name="p" property="payedStatus" value="2"
>payedLess</logic:equal><logic:equal name="p" property="payedStatus" value="3"
>payedExactly</logic:equal><logic:equal name="p" property="payedStatus" value="4"
>payedMore</logic:equal>" style="border-bottom: 1px solid #C0C0C0; ">
<bean:write name="p" property="ident" />
</td>
<td class="listCell">
<bean:write name="p" property="nick" />&nbsp;
</td>
<td class="listCell">
<a href="mailto:<bean:write name="p" property="email" />"><bean:write name="p" property="email" /></a>
</td>
<td class="listCell">
<bean:write name="p" property="name" />&nbsp;
</td>
<td class="listCell">
<bean:write name="p" property="persons" />&nbsp;
</td>
<td class="listCell">
<bean:write name="p" property="payed" format="0.00" />&nbsp;
</td>
 
<td class="listCell">&nbsp;</td>
<td class="listCell">
<kickup:link action="/admin/participant/edit" paramId="id" paramName="p" paramProperty="id" paramId2="event" paramName2="event" paramProperty2="id" backpath="true"><img src="<strutsx:root />/images/edit.gif" alt="Редактировать" border=0></kickup:link>
</td>
<td class="listCell">
<backpath:link action="/admin/participant/delete" paramId="id" paramName="p" paramProperty="id" onclick="return confirmDelete();"><img src="<strutsx:root />/images/delete.gif" alt="Удалить" border=0></backpath:link>
</td>
</tr>
</logic:iterate>
<tr>
<td colspan=9>&nbsp;</td>
</tr>
</table>
 
<div>
<backpath:link action="/admin/participant/edit" paramId="event" paramName="event" paramProperty="id"><img src="<strutsx:root />/images/add.gif" alt="Добавить участника" border=0></backpath:link>
<backpath:notEmpty><backpath:backlink><img src="<strutsx:root />/images/back-small.gif" alt="Назад" border=0></backpath:backlink></backpath:notEmpty>
</div>
 
<%@ include file="/admin/footer.jsp" %>
 
</body>
 
</html>
/kickup/tags/release-1.0/webapp/admin/participant/edit.jsp
0,0 → 1,146
<%@ 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" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<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>
 
<h1>Пьянка XP - Администрирование - Участник пьянки "<bean:write name="event" property="name" />"</h1>
 
<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>
 
<html:form action="/admin/participant/submit">
<backpath:current />
<html:hidden property="id" />
<html:hidden property="event" />
 
<table border=0 cellspacing=0 cellpadding=4>
<tr class="even">
<th>Кодовый номер</th>
<td colspan=2 width=300><bean:write name="participant" property="ident" />&nbsp;</td>
</tr>
<tr class="odd">
<th>Ник</th>
<td colspan=2><html:text property="nick" style="width:100%" maxlength="255" /></td>
</tr>
<tr class="even">
<th>e-mail</th>
<td colspan=2><html:text property="email" style="width:100%" maxlength="255" /></td>
</tr>
<tr class="odd">
<th>Показ e-mail разрешен</th>
<td colspan=2><html:checkbox property="emailPublic" /></td>
</tr>
<tr class="even">
<th>Имя</th>
<td colspan=2><html:text property="name" style="width:100%" maxlength="255" /></td>
</tr>
<tr class="odd">
<th>Телефон</th>
<td colspan=2><html:text property="phone" style="width:100%" maxlength="255" /></td>
</tr>
<tr class="even">
<th>Количество человек</th>
<td colspan=2><html:text property="persons" style="width:100%" maxlength="10" /></td>
</tr>
<tr class="odd">
<th>Выезд из PLZ</th>
<td colspan=2><html:text property="fromZip" style="width:100%" maxlength="10" /></td>
</tr>
<tr class="even">
<th>Выезд из города</th>
<td colspan=2><html:text property="fromCity" style="width:100%" maxlength="100" /></td>
</tr>
<tr class="odd">
<th>Время отправления</th>
<td colspan=2><html:text property="departure" style="width:100%" maxlength="100" /></td>
</tr>
<tr class="even">
<th>Свободных мест в машине</th>
<td colspan=2><html:text property="freeTransport" style="width:100%" maxlength="10" /></td>
</tr>
<tr class="odd">
<th>Условия транспортировки</th>
<td colspan=2><html:textarea property="transportComment" cols="40" rows="8" style="width:100%" /></td>
</tr>
<tr class="even">
<th>Свободных спальных мест</th>
<td colspan=2><html:text property="freeSleep" style="width:100%" maxlength="10" /></td>
</tr>
<tr class="odd">
<th>Условия ночевки</th>
<td colspan=2><html:textarea property="sleepComment" cols="40" rows="8" style="width:100%" /></td>
</tr>
<tr class="even">
<th>Дополнительная информация</th>
<td colspan=2><html:textarea property="comment" cols="40" rows="8" style="width:100%" /></td>
</tr>
<tr class="odd">
<th>Оплачено, евро</th>
<td><html:text property="payed" style="width:100%" maxlength="10" /></td>
<td>
<logic:notEmpty name="participant" property="mustPay">
(должен заплатить: <bean:write name="participant" property="mustPay" format="0.00" />)
</logic:notEmpty>
</td>
</tr>
<tr class="even">
<th>Комментарии организаторов</th>
<td colspan=2><html:textarea property="privateComment" cols="40" rows="8" style="width:100%" /></td>
</tr>
 
<logic:notEmpty name="actList" property="objects">
<tr>
<th colspan=3><div class="smallHeader">Участвует в</div></th>
</tr>
<tr>
<td class="subHeader">Название</td>
<td class="subHeader">Включить</td>
<td class="subHeader">Дополнительно</td>
</tr>
<logic:iterate name="ParticipantEditForm" property="acts" id="acts" indexId="iid">
<tr>
<td>
<bean:write name="actList" property='<%= "objects[" + iid + "].act.name" %>' />
<html:hidden name="acts" property="actId" indexed="true" />
</td>
<td><html:checkbox name="acts" property="selected" indexed="true" /></td>
<td><html:text name="acts" property="comment" indexed="true" style="width:100%" /></td>
</tr>
</logic:iterate>
</logic:notEmpty>
 
<tr>
<td colspan=3>
<html:submit>Сохранить</html:submit>
<backpath:notEmpty><backpath:backlink>Отменить</backpath:backlink></backpath:notEmpty>
</td>
</tr>
</table>
 
</html:form>
 
<%@ include file="/admin/footer.jsp" %>
 
</body>
 
</html>
/kickup/tags/release-1.0/webapp/admin/event/edit.jsp
0,0 → 1,153
<%@ 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" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 
<head>
<meta http-equiv="expires" content="0">
<title>Пьянка XP - Администрирование - Редактирование пьянки</title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>
 
<body>
 
<h1>Пьянка XP - Администрирование - Редактирование пьянки</h1>
 
<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>
 
<html:form action="/admin/event/submit">
<backpath:current />
<html:hidden property="id" />
 
<table border=0 cellspacing=0 cellpadding=4>
<tr class="even">
<th>Название</th>
<td colspan=3><html:text property="name" style="width:100%" maxlength="255" /></td>
</tr>
<tr class="odd">
<th>Контактный e-mail</th>
<td colspan=3><html:text property="email" style="width:100%" maxlength="255" /></td>
</tr>
<tr class="even">
<th>Организаторы</th>
<td colspan=3><html:text property="admins" style="width:100%" maxlength="255" /></td>
</tr>
<tr class="odd">
<th>Контактные телефоны</th>
<td colspan=3><html:text property="phones" style="width:100%" maxlength="255" /></td>
</tr>
<tr class="even">
<th>Место/город</th>
<td colspan=3><html:text property="place" style="width:100%" maxlength="255" /></td>
</tr>
<tr class="odd">
<th>Точный адрес</th>
<td colspan=3><html:textarea property="address" cols="40" cols="40" rows="8" style="width:100%" /></td>
</tr>
<tr class="even">
<th>Описание проезда</th>
<td colspan=3><html:textarea property="transport" cols="40" rows="8" style="width:100%" /></td>
</tr>
<tr class="odd">
<th>Начало</th>
<td colspan=3><html:text property="start" style="width:100%" maxlength="100" /></td>
</tr>
<tr class="even">
<th>Окончание</th>
<td colspan=3><html:text property="stop" style="width:100%" maxlength="100" /></td>
</tr>
<tr class="odd">
<th>Дата окончания регистрации</th>
<td colspan=3><html:text property="lastreg" style="width:100%" maxlength="100" /></td>
</tr>
<tr class="even">
<th>Последний срок отказа</th>
<td colspan=3><html:text property="lastunreg" style="width:100%" maxlength="100" /></td>
</tr>
<tr class="odd">
<th>Цена с человека</th>
<td colspan=3><html:text property="price" style="width:100%" maxlength="10" /></td>
</tr>
<tr class="even">
<th>Счет для перевода денег</th>
<td colspan=3><html:textarea property="account" cols="40" rows="8" style="width:100%" /></td>
</tr>
<tr class="odd">
<th>Открыть доступ</th>
<td colspan=3><html:checkbox property="enabled" /></td>
</tr>
<tr class="even">
<th>Описание</th>
<td colspan=3><html:textarea property="comment" cols="40" rows="8" style="width:100%" /></td>
</tr>
 
<tr>
<th colspan=4><div class="smallHeader">Планируемые мероприятия</div></th>
</tr>
<tr>
<td class="subHeader">Название</td>
<td class="subHeader">Включить</td>
<td class="subHeader">Дополнительная информация</td>
<td class="subHeader">&nbsp;</td>
</tr>
<logic:iterate name="EventEditForm" property="acts" id="acts" indexId="iid">
<tr>
<td>
<bean:write name="actList" property='<%= "objects[" + iid + "].name" %>' />
<html:hidden name="acts" property="actId" indexed="true" />
</td>
<td><html:checkbox name="acts" property="selected" indexed="true" /></td>
<td><html:text name="acts" property="comment" indexed="true" style="width:100%" /></td>
<td>&nbsp;</td>
</tr>
</logic:iterate>
 
<tr>
<th colspan=4><div class="smallHeader">Ближайшие гостиницы</div></th>
</tr>
<tr>
<td class="subHeader">Название</td>
<td class="subHeader">Включить</td>
<td class="subHeader">Дополнительная информация</td>
<td class="subHeader">Расстояние до местa (км)</td>
</tr>
<logic:iterate name="EventEditForm" property="apartments" id="apartments" indexId="iid2">
<tr>
<td>
<bean:write name="apartmentList" property='<%= "objects[" + iid2 + "].name" %>' />
<html:hidden name="apartments" property="apartmentId" indexed="true" />
</td>
<td><html:checkbox name="apartments" property="selected" indexed="true" /></td>
<td><html:text name="apartments" property="comment" indexed="true" style="width:100%" /></td>
<td><html:text name="apartments" property="distance" indexed="true" style="width:100%" maxlength="10" /></td>
</tr>
</logic:iterate>
 
<tr>
<td colspan=4>
<html:submit>Сохранить</html:submit>
<backpath:notEmpty><backpath:backlink>Отменить</backpath:backlink></backpath:notEmpty>
</td>
</tr>
</table>
 
</html:form>
 
<%@ include file="/admin/footer.jsp" %>
 
</body>
 
</html>
/kickup/tags/release-1.0/webapp/admin/event/list.jsp
0,0 → 1,91
<%@ 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" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 
<head>
<meta http-equiv="expires" content="0">
<title>Пьянка XP - Администрирование - Пьянки</title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
<script type="text/javascript">
function confirmDelete()
{
return confirm("Вы уверены, что хотите удалить эту пьянку со всеми участниками?");
}
</script>
</head>
 
<body>
 
<h1>Пьянка XP - Администрирование - Пьянки</h1>
 
<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>
 
<table border=0 cellspacing=0 cellpadding=4>
<tr>
<th class="subHeader">Название</th>
<th class="subHeader">Место/город</th>
<th class="subHeader">Начало</th>
<th class="subHeader">Окончание</th>
<th class="subHeader">В открытом доступе</th>
<th class="subHeader">Заявок</th>
<th class="subHeader">Участников</th>
<th class="subHeader" width=50>&nbsp;</th>
<th class="subHeader">&nbsp;</th>
<th class="subHeader">&nbsp;</th>
<th class="subHeader">&nbsp;</th>
</tr>
 
<logic:iterate name="events" id="e">
<tr>
<td class="listCell"><bean:write name="e" property="name" /></td>
<td class="listCell"><bean:write name="e" property="place" />&nbsp;</td>
<td class="listCell"><bean:write name="e" property="start" format="dd.MM.yyyy" />&nbsp;</td>
<td class="listCell"><bean:write name="e" property="stop" format="dd.MM.yyyy" />&nbsp;</td>
<td align=center class="listCell">
<logic:equal name="e" property="enabled" value="true">да</logic:equal>
<logic:notEqual name="e" property="enabled" value="true">нет</logic:notEqual>
</td>
<td align=right class="listCell"><bean:write name="e" property="participantCount" /></td>
<td align=right class="listCell"><bean:write name="e" property="personCount" /></td>
 
<td class="listCell">&nbsp;</td>
<td class="listCell">
<backpath:link action="/admin/event/edit" paramId="id" paramName="e" paramProperty="id"><img src="<strutsx:root />/images/edit.gif" alt="Редактировать" border=0></backpath:link>
</td>
<td class="listCell">
<backpath:link action="/admin/event/delete" paramId="id" paramName="e" paramProperty="id" onclick="return confirmDelete();"><img src="<strutsx:root />/images/delete.gif" alt="Удалить" border=0></backpath:link>
</td>
<td class="listCell">
<backpath:link action="/admin/participant/list" paramId="event" paramName="e" paramProperty="id"><img src="<strutsx:root />/images/participants-small.gif" alt="Участники" border=0></backpath:link>
</td>
</tr>
</logic:iterate>
<tr>
<td colspan=11>&nbsp;</td>
</tr>
</table>
 
<div>
<backpath:link action="/admin/event/edit"><img src="<strutsx:root />/images/add.gif" alt="Добавить пьянку" border=0></backpath:link>
<backpath:notEmpty><backpath:backlink><img src="<strutsx:root />/images/back-small.gif" alt="Назад" border=0></backpath:backlink></backpath:notEmpty>
</div>
 
<%@ include file="/admin/footer.jsp" %>
 
</body>
 
</html>
/kickup/tags/release-1.0/webapp/admin/apartment/list.jsp
0,0 → 1,71
<%@ 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" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 
<head>
<meta http-equiv="expires" content="0">
<title>Пьянка XP - Администрирование - Гостиницы</title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
<script type="text/javascript">
function confirmDelete()
{
return confirm("Вы уверены, что хотите удалить эту гостиницу?");
}
</script>
</head>
 
<body>
 
<h1>Пьянка XP - Администрирование - Гостиницы</h1>
 
<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>
 
<table border=0 cellspacing=0 cellpadding=4>
<tr>
<th class="subHeader">Название</th>
<th class="subHeader" width=50>&nbsp;</th>
<th class="subHeader">&nbsp;</th>
<th class="subHeader">&nbsp;</th>
</tr>
 
<logic:iterate name="apartments" id="a">
<tr>
<td class="listCell"><bean:write name="a" property="name" /></td>
<td class="listCell">&nbsp;</td>
<td class="listCell">
<backpath:link action="/admin/apartment/edit" paramId="id" paramName="a" paramProperty="id"><img src="<strutsx:root />/images/edit.gif" alt="Редактировать" border=0></backpath:link>
</td>
<td class="listCell">
<backpath:link action="/admin/apartment/delete" paramId="id" paramName="a" paramProperty="id" onclick="return confirmDelete();"><img src="<strutsx:root />/images/delete.gif" alt="Удалить" border=0></backpath:link>
</td>
</tr>
</logic:iterate>
<tr>
<td colspan=4>&nbsp;</td>
</tr>
</table>
 
<div>
<backpath:link action="/admin/apartment/edit"><img src="<strutsx:root />/images/add.gif" alt="Добавить гостиницу" border=0></backpath:link>
<backpath:notEmpty><backpath:backlink><img src="<strutsx:root />/images/back-small.gif" alt="Назад" border=0></backpath:backlink></backpath:notEmpty>
</div>
 
<%@ include file="/admin/footer.jsp" %>
 
</body>
 
</html>
/kickup/tags/release-1.0/webapp/admin/apartment/edit.jsp
0,0 → 1,70
<%@ 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" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 
<head>
<meta http-equiv="expires" content="0">
<title>Пьянка XP - Администрирование - Редактирование гостиницы</title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>
 
<body>
 
<h1>Пьянка XP - Администрирование - Редактирование гостиницы</h1>
 
<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>
 
<html:form action="/admin/apartment/submit">
<backpath:current />
<html:hidden property="id" />
 
<table border=0 cellspacing=0 cellpadding=4>
<tr class="even">
<th>Название</th>
<td><html:text property="name" style="width:100%" maxlength="255" /></td>
</tr>
<tr class="odd">
<th>Адрес и телефоны</th>
<td><html:textarea property="address" cols="40" rows="8" style="width:200px;" /></td>
</tr>
<tr class="even">
<th>Цена ночевки на одного человека</th>
<td><html:text property="price" style="width:100%" maxlength="10" /></td>
</tr>
<tr class="odd">
<th>URL домашней странички</th>
<td><html:text property="url" style="width:100%" maxlength="4000" /></td>
</tr>
<tr class="even">
<th>Описание</th>
<td><html:textarea property="comment" cols="40" rows="8" style="width:200px;" /></td>
</tr>
<tr>
<td colspan=2>
<html:submit>Сохранить</html:submit>
<backpath:notEmpty><backpath:backlink>Отменить</backpath:backlink></backpath:notEmpty>
</td>
</tr>
</table>
 
</html:form>
 
<%@ include file="/admin/footer.jsp" %>
 
</body>
 
</html>
/kickup/tags/release-1.0/webapp/admin/act/list.jsp
0,0 → 1,71
<%@ 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" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 
<head>
<meta http-equiv="expires" content="0">
<title>Пьянка XP - Администрирование - Мероприятия</title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
<script type="text/javascript">
function confirmDelete()
{
return confirm("Вы уверены, что хотите удалить это мероприятие?");
}
</script>
</head>
 
<body>
 
<h1>Пьянка XP - Администрирование - Мероприятия</h1>
 
<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>
 
<table border=0 cellspacing=0 cellpadding=4>
<tr>
<th class="subHeader">Название</th>
<th class="subHeader" width=50>&nbsp;</th>
<th class="subHeader">&nbsp;</th>
<th class="subHeader">&nbsp;</th>
</tr>
 
<logic:iterate name="acts" id="a">
<tr>
<td class="listCell"><bean:write name="a" property="name" /></td>
<td class="listCell">&nbsp;</td>
<td class="listCell">
<backpath:link action="/admin/act/edit" paramId="id" paramName="a" paramProperty="id"><img src="<strutsx:root />/images/edit.gif" alt="Редактировать" border=0></backpath:link>
</td>
<td class="listCell">
<backpath:link action="/admin/act/delete" paramId="id" paramName="a" paramProperty="id" onclick="return confirmDelete();"><img src="<strutsx:root />/images/delete.gif" alt="Удалить" border=0></backpath:link>
</td>
</tr>
</logic:iterate>
<tr>
<td colspan=4>&nbsp;</td>
</tr>
</table>
 
<div>
<backpath:link action="/admin/act/edit"><img src="<strutsx:root />/images/add.gif" alt="Добавить мероприятие" border=0></backpath:link>
<backpath:notEmpty><backpath:backlink><img src="<strutsx:root />/images/back-small.gif" alt="Назад" border=0></backpath:backlink></backpath:notEmpty>
</div>
 
<%@ include file="/admin/footer.jsp" %>
 
</body>
 
</html>
/kickup/tags/release-1.0/webapp/admin/act/edit.jsp
0,0 → 1,58
<%@ 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" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 
<head>
<meta http-equiv="expires" content="0">
<title>Пьянка XP - Администрирование - Редактирование мероприятия</title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>
 
<body>
 
<h1>Пьянка XP - Администрирование - Редактирование мероприятия</h1>
 
<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>
 
<html:form action="/admin/act/submit">
<backpath:current />
<html:hidden property="id" />
 
<table border=0 cellspacing=0 cellpadding=4>
<tr class="even">
<th>Название</th>
<td><html:text property="name" style="width:100%" maxlength="255" /></td>
</tr>
<tr class="odd">
<th>Описание</th>
<td><html:textarea property="comment" cols="40" rows="8" style="width:200px;" /></td>
</tr>
<tr>
<td colspan=2>
<html:submit>Сохранить</html:submit>
<backpath:notEmpty><backpath:backlink>Отменить</backpath:backlink></backpath:notEmpty>
</td>
</tr>
</table>
 
</html:form>
 
<%@ include file="/admin/footer.jsp" %>
 
</body>
 
</html>
/kickup/tags/release-1.0/webapp/admin/footer.jsp
0,0 → 1,6
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!-- footer begin -->
<table border=0 cellspacing=0 cellpadding=4 width=840>
<%@ include file="/copyright.jsp" %>
</table>
<!-- footer end -->
/kickup/tags/release-1.0/webapp/admin/index.jsp
0,0 → 1,31
<%@ 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" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 
<head>
<meta http-equiv="expires" content="0">
<title>Пьянка XP - Администрирование</title>
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
</head>
 
<body>
 
<h1>Пьянка XP - Администрирование</h1>
 
<ul>
<li><backpath:link action="/admin/act/list">Мероприятия</backpath:link></li>
<li><backpath:link action="/admin/apartment/list">Гостиницы</backpath:link></li>
<li><backpath:link action="/admin/event/list">Пьянки</backpath:link></li>
<li><html:link page="/">На сайт</html:link></li>
</ul>
 
<%@ include file="/admin/footer.jsp" %>
 
</body>
 
</html>
/kickup/tags/release-1.0/webapp/admin/index.do