/kickup/trunk/webapp/admin/participant/edit.jsp |
---|
32,70 → 32,70 |
<html:hidden property="id" /> |
<html:hidden property="event" /> |
<table border=0 cellspacing=0 cellpadding=4> |
<tr class="even"> |
<table border=1> |
<tr> |
<th>Кодовый номер</th> |
<td colspan=2 width=300><bean:write name="participant" property="ident" /> </td> |
<td colspan=2><bean:write name="participant" property="ident" /> </td> |
</tr> |
<tr class="odd"> |
<tr> |
<th>Ник</th> |
<td colspan=2><html:text property="nick" style="width:100%" /></td> |
<td colspan=2><html:text property="nick" /></td> |
</tr> |
<tr class="even"> |
<tr> |
<th>e-mail</th> |
<td colspan=2><html:text property="email" style="width:100%" /></td> |
<td colspan=2><html:text property="email" /></td> |
</tr> |
<tr class="odd"> |
<tr> |
<th>Показ e-mail разрешен</th> |
<td colspan=2><html:checkbox property="emailPublic" /></td> |
</tr> |
<tr class="even"> |
<tr> |
<th>Имя</th> |
<td colspan=2><html:text property="name" style="width:100%" /></td> |
<td colspan=2><html:text property="name" /></td> |
</tr> |
<tr class="odd"> |
<tr> |
<th>Телефон</th> |
<td colspan=2><html:text property="phone" style="width:100%" /></td> |
<td colspan=2><html:text property="phone" /></td> |
</tr> |
<tr class="even"> |
<tr> |
<th>Количество человек</th> |
<td colspan=2><html:text property="persons" style="width:100%" /></td> |
<td colspan=2><html:text property="persons" /></td> |
</tr> |
<tr class="odd"> |
<tr> |
<th>Выезд из PLZ</th> |
<td colspan=2><html:text property="fromZip" style="width:100%" /></td> |
<td colspan=2><html:text property="fromZip" /></td> |
</tr> |
<tr class="even"> |
<tr> |
<th>Выезд из города</th> |
<td colspan=2><html:text property="fromCity" style="width:100%" /></td> |
<td colspan=2><html:text property="fromCity" /></td> |
</tr> |
<tr class="odd"> |
<tr> |
<th>Время отправления</th> |
<td colspan=2><html:text property="departure" style="width:100%" /></td> |
<td colspan=2><html:text property="departure" /></td> |
</tr> |
<tr class="even"> |
<tr> |
<th>Свободных мест в машине</th> |
<td colspan=2><html:text property="freeTransport" style="width:100%" /></td> |
<td colspan=2><html:text property="freeTransport" /></td> |
</tr> |
<tr class="odd"> |
<tr> |
<th>Условия транспортировки</th> |
<td colspan=2><html:textarea property="transportComment" cols="40" rows="8" style="width:100%" /></td> |
<td colspan=2><html:textarea property="transportComment" /></td> |
</tr> |
<tr class="even"> |
<tr> |
<th>Свободных спальных мест</th> |
<td colspan=2><html:text property="freeSleep" style="width:100%" /></td> |
<td colspan=2><html:text property="freeSleep" /></td> |
</tr> |
<tr class="odd"> |
<tr> |
<th>Условия ночевки</th> |
<td colspan=2><html:textarea property="sleepComment" cols="40" rows="8" style="width:100%" /></td> |
<td colspan=2><html:textarea property="sleepComment" /></td> |
</tr> |
<tr class="even"> |
<tr> |
<th>Дополнительная информация</th> |
<td colspan=2><html:textarea property="comment" cols="40" rows="8" style="width:100%" /></td> |
<td colspan=2><html:textarea property="comment" /></td> |
</tr> |
<tr class="odd"> |
<tr> |
<th>Оплачено, евро</th> |
<td><html:text property="payed" style="width:100%" /></td> |
<td><html:text property="payed" /></td> |
<td> |
<logic:notEmpty name="participant" property="mustPay"> |
(должен заплатить: <bean:write name="participant" property="mustPay" format="0.00" />) |
102,28 → 102,28 |
</logic:notEmpty> |
</td> |
</tr> |
<tr class="even"> |
<tr> |
<th>Комментарии организаторов</th> |
<td colspan=2><html:textarea property="privateComment" cols="40" rows="8" style="width:100%" /></td> |
<td colspan=2><html:textarea property="privateComment" /></td> |
</tr> |
<logic:notEmpty name="actList" property="objects"> |
<tr> |
<th colspan=3><div class="smallHeader">Участвует в</div></th> |
<th colspan=3>Участвует в</th> |
</tr> |
<tr> |
<td class="subHeader">Название</td> |
<td class="subHeader">Включить</td> |
<td class="subHeader">Дополнительно</td> |
<td>Название</td> |
<td>Включить</td> |
<td>Дополнительно</td> |
</tr> |
<logic:iterate name="ParticipantEditForm" property="acts" id="acts" indexId="iid"> |
<tr> |
<td> |
<th> |
<bean:write name="actList" property='<%= "objects[" + iid + "].act.name" %>' /> |
<html:hidden name="acts" property="actId" indexed="true" /> |
</td> |
</th> |
<td><html:checkbox name="acts" property="selected" indexed="true" /></td> |
<td><html:text name="acts" property="comment" indexed="true" style="width:100%" /></td> |
<td><html:text name="acts" property="comment" indexed="true" /></td> |
</tr> |
</logic:iterate> |
</logic:notEmpty> |
/kickup/trunk/webapp/admin/participant/list.jsp |
---|
11,12 → 11,6 |
<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> |
function confirmDelete() |
{ |
return confirm("Вы уверены, что хотите удалить этого участника?"); |
} |
</script> |
</head> |
<body> |
34,88 → 28,65 |
</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;"> </td><td>Не заплатил</td></tr> |
<tr><td class="payedLess"> </td><td>Недоплатил</td></tr> |
<tr><td class="payedExactly"> </td><td>Все точно</td></tr> |
<tr><td class="payedMore"> </td><td>Переплатил</td></tr> |
<tr><td colspan=2> </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> |
<!-- legend begin --> |
<div style="float:right; width:200px; background-color:#E0E0E0"> |
<logic:empty name="event" property="price"> |
<div style="margin: 1em; ">Размер оплаты участия в этой пьянке еще не определен, поэтому статус оплаты не показан.</div> |
</logic:empty> |
<logic:notEmpty name="event" property="price"> |
<table border=1 width=100%> |
<tr><th colspan=2>Легенда</th><tr> |
<tr><td class="payedNone" style="width:50px;"> </td><td>Не заплатил</td></tr> |
<tr><td class="payedLess"> </td><td>Недоплатил</td></tr> |
<tr><td class="payedExactly"> </td><td>Все точно</td></tr> |
<tr><td class="payedMore"> </td><td>Переплатил</td></tr> |
</table> |
</logic:notEmpty> |
</div> |
<!-- legend end --> |
<table border=0 cellspacing=0 cellpadding=4> |
<table border=1> |
<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> </th> |
<th class="subHeader"> </th> |
<th class="subHeader"> </th> |
<th>Кодовый номер</th> |
<th>Ник</th> |
<th>e-mail</th> |
<th>Имя</th> |
<th>Количество</th> |
<th>Оплачено, евро</th> |
<th> </th> |
<th> </th> |
</tr> |
<logic:iterate name="participants" id="p"> |
<tr> |
<td class="<logic:equal name="p" property="payedStatus" value="0" |
<tr 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 dotted black;"> |
<bean:write name="p" property="ident" /> |
>payedMore</logic:equal>"> |
<td><bean:write name="p" property="ident" /></td> |
<td><bean:write name="p" property="nick" /> </td> |
<td><a href="mailto:<bean:write name="p" property="email" />"><bean:write name="p" property="email" /></a></td> |
<td><bean:write name="p" property="name" /> </td> |
<td><bean:write name="p" property="persons" /> </td> |
<td><bean:write name="p" property="payed" format="0.00" /> </td> |
<td> |
<kickup:link action="/admin/participant/edit" paramId="id" paramName="p" paramProperty="id" paramId2="event" paramName2="event" paramProperty2="id">редактировать</kickup:link> |
</td> |
<td style="border-bottom: 1px dotted black;"> |
<bean:write name="p" property="nick" /> |
<td> |
<backpath:link action="/admin/participant/delete" paramId="id" paramName="p" paramProperty="id">удалить</backpath:link> |
</td> |
<td style="border-bottom: 1px dotted black;"> |
<a href="mailto:<bean:write name="p" property="email" />"><bean:write name="p" property="email" /></a> |
</td> |
<td style="border-bottom: 1px dotted black;"> |
<bean:write name="p" property="name" /> |
</td> |
<td style="border-bottom: 1px dotted black;"> |
<bean:write name="p" property="persons" /> |
</td> |
<td style="border-bottom: 1px dotted black;"> |
<bean:write name="p" property="payed" format="0.00" /> |
</td> |
<td class="standardCell" style="border-bottom: 1px dotted black;"> </td> |
<td class="standardCell" style="border-bottom: 1px dotted black;"> |
<kickup:link action="/admin/participant/edit" paramId="id" paramName="p" paramProperty="id" paramId2="event" paramName2="event" paramProperty2="id"><img src="<strutsx:root />/images/edit.gif" alt="Редактировать" border=0></kickup:link> |
</td> |
<td class="standardCell" style="border-bottom: 1px dotted black;"> |
<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> </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> |
<p>Всего заявок: <bean:write name="event" property="participantCount" /></p> |
<p>Всего участников: <bean:write name="event" property="personCount" /></p> |
<backpath:link action="/admin/participant/edit" paramId="event" paramName="event" paramProperty="id">Добавить участника</backpath:link> |
<br> |
<backpath:notEmpty><backpath:backlink>Назад</backpath:backlink></backpath:notEmpty> |
</body> |
</html> |
/kickup/trunk/webapp/admin/event/list.jsp |
---|
10,12 → 10,6 |
<meta http-equiv="expires" content="0"> |
<title>Пьянка XP - Администрирование - Пьянки</title> |
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
<script> |
function confirmDelete() |
{ |
return confirm("Вы уверены, что хотите удалить эту пьянку со всеми участниками?"); |
} |
</script> |
</head> |
<body> |
33,55 → 27,48 |
</div> |
</strutsx:notEmpty> |
<table border=0 cellspacing=0 cellpadding=4> |
<table border=1> |
<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> </th> |
<th class="subHeader"> </th> |
<th class="subHeader"> </th> |
<th class="subHeader"> </th> |
<th>Название</th> |
<th>Место/город</th> |
<th>Начало</th> |
<th>Окончание</th> |
<th>В открытом доступе</th> |
<th>Заявок</th> |
<th>Участников</th> |
<th> </th> |
<th> </th> |
<th> </th> |
</tr> |
<logic:iterate name="events" id="e"> |
<tr> |
<td style="border-bottom: 1px dotted black;"><bean:write name="e" property="name" /></td> |
<td style="border-bottom: 1px dotted black;"><bean:write name="e" property="place" /> </td> |
<td style="border-bottom: 1px dotted black;"><bean:write name="e" property="start" format="dd.MM.yyyy" /> </td> |
<td style="border-bottom: 1px dotted black;"><bean:write name="e" property="stop" format="dd.MM.yyyy" /> </td> |
<td align=middle style="border-bottom: 1px dotted black;"> |
<td><bean:write name="e" property="name" /></td> |
<td><bean:write name="e" property="place" /> </td> |
<td><bean:write name="e" property="start" format="dd.MM.yyyy" /> </td> |
<td><bean:write name="e" property="stop" format="dd.MM.yyyy" /> </td> |
<td> |
<logic:equal name="e" property="enabled" value="true">да</logic:equal> |
<logic:notEqual name="e" property="enabled" value="true">нет</logic:notEqual> |
</td> |
<td align=right style="border-bottom: 1px dotted black;"><bean:write name="e" property="participantCount" /></td> |
<td align=right style="border-bottom: 1px dotted black;"><bean:write name="e" property="personCount" /></td> |
<td style="border-bottom: 1px dotted black;"> </td> |
<td style="border-bottom: 1px dotted black;"> |
<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><bean:write name="e" property="participantCount" /></td> |
<td><bean:write name="e" property="personCount" /></td> |
<td> |
<backpath:link action="/admin/event/edit" paramId="id" paramName="e" paramProperty="id">редактировать</backpath:link> |
</td> |
<td style="border-bottom: 1px dotted black;"> |
<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> |
<backpath:link action="/admin/event/delete" paramId="id" paramName="e" paramProperty="id">удалить</backpath:link> |
</td> |
<td style="border-bottom: 1px dotted black;"> |
<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> |
<backpath:link action="/admin/participant/list" paramId="event" paramName="e" paramProperty="id">участники</backpath:link> |
</td> |
</tr> |
</logic:iterate> |
<tr> |
<td colspan=11> </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> |
<backpath:link action="/admin/event/edit">Добавить пьянку</backpath:link> |
<br> |
<backpath:notEmpty><backpath:backlink>Назад</backpath:backlink></backpath:notEmpty> |
</body> |
/kickup/trunk/webapp/admin/event/edit.jsp |
---|
31,107 → 31,103 |
<backpath:current /> |
<html:hidden property="id" /> |
<table border=0 cellspacing=0 cellpadding=4> |
<tr class="even"> |
<table border=1> |
<tr> |
<th>Название</th> |
<td colspan=3><html:text property="name" style="width:100%" /></td> |
<td colspan=3><html:text property="name" /></td> |
</tr> |
<tr class="odd"> |
<tr> |
<th>Контактный e-mail</th> |
<td colspan=3><html:text property="email" style="width:100%" /></td> |
<td colspan=3><html:text property="email" /></td> |
</tr> |
<tr class="even"> |
<tr> |
<th>Организаторы</th> |
<td colspan=3><html:text property="admins" style="width:100%" /></td> |
<td colspan=3><html:text property="admins" /></td> |
</tr> |
<tr class="odd"> |
<th>Контактные телефоны</th> |
<td colspan=3><html:text property="phones" style="width:100%" /></td> |
</tr> |
<tr class="even"> |
<tr> |
<th>Место/город</th> |
<td colspan=3><html:text property="place" style="width:100%" /></td> |
<td colspan=3><html:text property="place" /></td> |
</tr> |
<tr class="odd"> |
<tr> |
<th>Точный адрес</th> |
<td colspan=3><html:textarea property="address" rows="8" style="width:100%" /></td> |
<td colspan=3><html:textarea property="address" /></td> |
</tr> |
<tr class="even"> |
<tr> |
<th>Описание проезда</th> |
<td colspan=3><html:textarea property="transport" rows="8" style="width:100%" /></td> |
<td colspan=3><html:textarea property="transport" /></td> |
</tr> |
<tr class="odd"> |
<tr> |
<th>Начало</th> |
<td colspan=3><html:text property="start" style="width:100%" /></td> |
<td colspan=3><html:text property="start" /></td> |
</tr> |
<tr class="even"> |
<tr> |
<th>Окончание</th> |
<td colspan=3><html:text property="stop" style="width:100%" /></td> |
<td colspan=3><html:text property="stop" /></td> |
</tr> |
<tr class="odd"> |
<tr> |
<th>Дата окончания регистрации</th> |
<td colspan=3><html:text property="lastreg" style="width:100%" /></td> |
<td colspan=3><html:text property="lastreg" /></td> |
</tr> |
<tr class="even"> |
<tr> |
<th>Последний срок отказа</th> |
<td colspan=3><html:text property="lastunreg" style="width:100%" /></td> |
<td colspan=3><html:text property="lastunreg" /></td> |
</tr> |
<tr class="odd"> |
<tr> |
<th>Цена с человека</th> |
<td colspan=3><html:text property="price" style="width:100%" /></td> |
<td colspan=3><html:text property="price" /></td> |
</tr> |
<tr class="even"> |
<tr> |
<th>Счет для перевода денег</th> |
<td colspan=3><html:textarea property="account" rows="8" style="width:100%" /></td> |
<td colspan=3><html:textarea property="account" /></td> |
</tr> |
<tr class="odd"> |
<tr> |
<th>Открыть доступ</th> |
<td colspan=3><html:checkbox property="enabled" /></td> |
</tr> |
<tr class="even"> |
<tr> |
<th>Описание</th> |
<td colspan=3><html:textarea property="comment" rows="8" style="width:100%" /></td> |
<td colspan=3><html:textarea property="comment" /></td> |
</tr> |
<tr> |
<th colspan=4><div class="smallHeader">Планируемые мероприятия</div></th> |
<th colspan=4>Планируемые мероприятия</th> |
</tr> |
<tr> |
<td class="subHeader">Название</td> |
<td class="subHeader">Включить</td> |
<td class="subHeader">Дополнительная информация</td> |
<td class="subHeader"> </td> |
<td>Название</td> |
<td>Включить</td> |
<td>Описание</td> |
<td> </td> |
</tr> |
<logic:iterate name="EventEditForm" property="acts" id="acts" indexId="iid"> |
<tr> |
<td> |
<th> |
<bean:write name="actList" property='<%= "objects[" + iid + "].name" %>' /> |
<html:hidden name="acts" property="actId" indexed="true" /> |
</td> |
</th> |
<td><html:checkbox name="acts" property="selected" indexed="true" /></td> |
<td><html:text name="acts" property="comment" indexed="true" style="width:100%" /></td> |
<td><html:text name="acts" property="comment" indexed="true" /></td> |
<td> </td> |
</tr> |
</logic:iterate> |
<tr> |
<th colspan=4><div class="smallHeader">Ближайшие гостиницы</div></th> |
<th colspan=4>Ближайшие гостиницы</th> |
</tr> |
<tr> |
<td class="subHeader">Название</td> |
<td class="subHeader">Включить</td> |
<td class="subHeader">Дополнительная информация</td> |
<td class="subHeader">Расстояние до местa (км)</td> |
<td>Название</td> |
<td>Включить</td> |
<td>Описание</td> |
<td>Расстояние до местa (км)</td> |
</tr> |
<logic:iterate name="EventEditForm" property="apartments" id="apartments" indexId="iid2"> |
<tr> |
<td> |
<th> |
<bean:write name="apartmentList" property='<%= "objects[" + iid2 + "].name" %>' /> |
<html:hidden name="apartments" property="apartmentId" indexed="true" /> |
</td> |
</th> |
<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%" /></td> |
<td><html:text name="apartments" property="comment" indexed="true" /></td> |
<td><html:text name="apartments" property="distance" indexed="true" /></td> |
</tr> |
</logic:iterate> |
/kickup/trunk/webapp/admin/act/edit.jsp |
---|
31,14 → 31,14 |
<backpath:current /> |
<html:hidden property="id" /> |
<table border=0 cellspacing=0 cellpadding=4> |
<tr class="even"> |
<table border=1> |
<tr> |
<th>Название</th> |
<td><html:text property="name" style="width:100%" /></td> |
<td><html:text property="name" /></td> |
</tr> |
<tr class="odd"> |
<tr> |
<th>Описание</th> |
<td><html:textarea property="comment" cols="40" rows="8" style="width:200px;" /></td> |
<td><html:textarea property="comment" /></td> |
</tr> |
<tr> |
<td colspan=2> |
/kickup/trunk/webapp/admin/act/list.jsp |
---|
10,12 → 10,6 |
<meta http-equiv="expires" content="0"> |
<title>Пьянка XP - Администрирование - Мероприятия</title> |
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
<script> |
function confirmDelete() |
{ |
return confirm("Вы уверены, что хотите удалить это мероприятие?"); |
} |
</script> |
</head> |
<body> |
33,35 → 27,29 |
</div> |
</strutsx:notEmpty> |
<table border=0 cellspacing=0 cellpadding=4> |
<table border=1> |
<tr> |
<th class="subHeader">Название</th> |
<th class="subHeader" width=50> </th> |
<th class="subHeader"> </th> |
<th class="subHeader"> </th> |
<th>Название</th> |
<th> </th> |
<th> </th> |
</tr> |
<logic:iterate name="acts" id="a"> |
<tr> |
<td style="border-bottom: 1px dotted black;"><bean:write name="a" property="name" /></td> |
<td style="border-bottom: 1px dotted black;"> </td> |
<td style="border-bottom: 1px dotted black;"> |
<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><bean:write name="a" property="name" /></td> |
<td> |
<backpath:link action="/admin/act/edit" paramId="id" paramName="a" paramProperty="id">редактировать</backpath:link> |
</td> |
<td style="border-bottom: 1px dotted black;"> |
<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> |
<backpath:link action="/admin/act/delete" paramId="id" paramName="a" paramProperty="id">удалить</backpath:link> |
</td> |
</tr> |
</logic:iterate> |
<tr> |
<td colspan=4> </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> |
<backpath:link action="/admin/act/edit">Добавить мероприятие</backpath:link> |
<br> |
<backpath:notEmpty><backpath:backlink>Назад</backpath:backlink></backpath:notEmpty> |
</body> |
/kickup/trunk/webapp/admin/apartment/edit.jsp |
---|
31,26 → 31,26 |
<backpath:current /> |
<html:hidden property="id" /> |
<table border=0 cellspacing=0 cellpadding=4> |
<tr class="even"> |
<table border=1> |
<tr> |
<th>Название</th> |
<td><html:text property="name" style="width:100%" /></td> |
<td><html:text property="name" /></td> |
</tr> |
<tr class="odd"> |
<tr> |
<th>Адрес и телефоны</th> |
<td><html:textarea property="address" cols="40" rows="8" style="width:200px;" /></td> |
<td><html:textarea property="address" /></td> |
</tr> |
<tr class="even"> |
<tr> |
<th>Цена ночевки на одного человека</th> |
<td><html:text property="price" style="width:100%" /></td> |
<td><html:text property="price" /></td> |
</tr> |
<tr class="odd"> |
<tr> |
<th>URL домашней странички</th> |
<td><html:text property="url" style="width:100%" /></td> |
<td><html:text property="url" /></td> |
</tr> |
<tr class="even"> |
<tr> |
<th>Описание</th> |
<td><html:textarea property="comment" cols="40" rows="8" style="width:200px;" /></td> |
<td><html:textarea property="comment" /></td> |
</tr> |
<tr> |
<td colspan=2> |
/kickup/trunk/webapp/admin/apartment/list.jsp |
---|
10,12 → 10,6 |
<meta http-equiv="expires" content="0"> |
<title>Пьянка XP - Администрирование - Гостиницы</title> |
<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
<script> |
function confirmDelete() |
{ |
return confirm("Вы уверены, что хотите удалить эту гостиницу?"); |
} |
</script> |
</head> |
<body> |
33,35 → 27,29 |
</div> |
</strutsx:notEmpty> |
<table border=0 cellspacing=0 cellpadding=4> |
<table border=1> |
<tr> |
<th class="subHeader">Название</th> |
<th class="subHeader" width=50> </th> |
<th class="subHeader"> </th> |
<th class="subHeader"> </th> |
<th>Название</th> |
<th> </th> |
<th> </th> |
</tr> |
<logic:iterate name="apartments" id="a"> |
<tr> |
<td style="border-bottom: 1px dotted black;"><bean:write name="a" property="name" /></td> |
<td style="border-bottom: 1px dotted black;"> </td> |
<td style="border-bottom: 1px dotted black;"> |
<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><bean:write name="a" property="name" /></td> |
<td> |
<backpath:link action="/admin/apartment/edit" paramId="id" paramName="a" paramProperty="id">редактировать</backpath:link> |
</td> |
<td style="border-bottom: 1px dotted black;"> |
<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> |
<backpath:link action="/admin/apartment/delete" paramId="id" paramName="a" paramProperty="id">удалить</backpath:link> |
</td> |
</tr> |
</logic:iterate> |
<tr> |
<td colspan=4> </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> |
<backpath:link action="/admin/apartment/edit">Добавить гостиницу</backpath:link> |
<br> |
<backpath:notEmpty><backpath:backlink>Назад</backpath:backlink></backpath:notEmpty> |
</body> |