Subversion Repositories general

Rev

Rev 16 | Rev 973 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16 Rev 972
Line 8... Line 8...
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
	<script>
-
 
14
		function confirmDelete()
-
 
15
		{
-
 
16
			return confirm("Вы уверены, что хотите удалить эту гостиницу?");
-
 
17
		}
-
 
18
	</script>
13
</head>
19
</head>
14
 
20
 
15
<body>
21
<body>
16
 
22
 
17
<h1>Пьянка XP - Администрирование - Гостиницы</h1>
23
<h1>Пьянка XP - Администрирование - Гостиницы</h1>
Line 25... Line 31...
25
		</logic:iterate>
31
		</logic:iterate>
26
		</ul>
32
		</ul>
27
	</div>
33
	</div>
28
</strutsx:notEmpty>
34
</strutsx:notEmpty>
29
 
35
 
30
<table border=1>
36
<table border=0 cellspacing=0 cellpadding=4>
31
	<tr>
37
	<tr>
32
		<th>Название</th>
38
		<th class="subHeader">Название</th>
-
 
39
		<th class="subHeader" width=50>&nbsp;</th>
33
		<th>&nbsp;</th>
40
		<th class="subHeader">&nbsp;</th>
34
		<th>&nbsp;</th>
41
		<th class="subHeader">&nbsp;</th>
35
	</tr>
42
	</tr>
36
 
43
 
37
<logic:iterate name="apartments" id="a">
44
<logic:iterate name="apartments" id="a">
38
	<tr>
45
	<tr>
39
		<td><bean:write name="a" property="name"  /></td>
46
		<td style="border-bottom: 1px dotted black;"><bean:write name="a" property="name"  /></td>
-
 
47
		<td style="border-bottom: 1px dotted black;">&nbsp;</td>
40
		<td>
48
		<td style="border-bottom: 1px dotted black;">
41
			<backpath:link action="/admin/apartment/edit" paramId="id" paramName="a" paramProperty="id">редактировать</backpath:link>
49
			<backpath:link action="/admin/apartment/edit" paramId="id" paramName="a" paramProperty="id"><img src="<strutsx:root />/images/edit.gif" alt="Редактировать" border=0></backpath:link>
42
		</td>
50
		</td>
43
		<td>
51
		<td style="border-bottom: 1px dotted black;">
44
			<backpath:link action="/admin/apartment/delete" paramId="id" paramName="a" paramProperty="id">удалить</backpath:link>
52
			<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>
45
		</td>
53
		</td>
46
	</tr>
54
	</tr>
47
</logic:iterate>
55
</logic:iterate>
-
 
56
	<tr>
-
 
57
		<td colspan=4>&nbsp;</td>
-
 
58
	</tr>
48
</table>
59
</table>
49
 
60
 
-
 
61
<div>
50
<backpath:link action="/admin/apartment/edit">Добавить гостиницу</backpath:link>
62
<backpath:link action="/admin/apartment/edit"><img src="<strutsx:root />/images/add.gif" alt="Добавить гостиницу" border=0></backpath:link>
51
<br>
-
 
52
<backpath:notEmpty><backpath:backlink>Назад</backpath:backlink></backpath:notEmpty>
63
<backpath:notEmpty><backpath:backlink><img src="<strutsx:root />/images/back-small.gif" alt="Назад" border=0></backpath:backlink></backpath:notEmpty>
-
 
64
</div>
53
 
65
 
54
</body>
66
</body>
55
 
67
 
56
</html>
68
</html>