Subversion-Projekte lars-tiefland.em_wm

Revision

Revision 40 | Revision 49 | Zur aktuellen Revision | Details | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
3 lars 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html>
3
	<head>
4 lars 4
		<title>{$title} - {$title2}</title>
12 lars 5
		<link href="./images/favicon.ico" rel="shortcut icon" type="image/x-icon">
6
		<link rel="stylesheet" href="./styles/Standard.css" type="text/css">
7
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
29 lars 8
		{literal}
9
			<script language="Javascript" type="text/javascript">
19 lars 10
			function check_games_form()
3 lars 11
			{
19 lars 12
				var g_name;
13
				var g_m1;
14
				var g_m2;
26 lars 15
				var g_g1;
19 lars 16
				var g_g2;
17
				var g_location;
18
				var g_day;
19
				var g_month;
20
				var g_hour;
21
				var g_type;
22
				g_name=document.games.g_name.value;
23
				g_m1=document.games.g_m1.value;
24
				g_m2=document.games.g_m2.value;
25
				g_g1=document.games.g_g1.value;
26
				g_g2=document.games.g_g2.value;
27
				g_location=document.games.g_location.value;
28
				g_day=document.games.Day.value;
29
				g_month=document.games.Month.value;
30
				g_hour=document.games.Hour.value;
31
				g_typ=document.games.g_typ.value;
32
				if (g_name=="")
3 lars 33
				{
19 lars 34
					window.alert("Bitte dem Spiel einen Namen geben!");
35
					document.games.g_name.focus();
3 lars 36
					return false;
37
				}
19 lars 38
				if (g_m1==-1 || g_m2==-1)
3 lars 39
				{
19 lars 40
					window.alert("Bitte eine Mannschaft auswählen!");
41
					return false;
3 lars 42
				}
19 lars 43
				if (g_location==-1)
44
				{
45
					window.alert("Bitte einen Austragungsort auswählen!");
46
					return false;
47
				}
48
				if (g_typ==-1)
49
				{
50
					window.alert("Bitte einen Spieltyp auswählen!");
51
					return false;
52
				}
3 lars 53
			}
39 lars 54
			function check_types_form()
55
			{
56
				var t_name;
57
				var t_max;
58
 
59
				t_name=document.types.t_name.value;
60
				t_max=document.types.t_max.value;
61
 
62
				if (t_name=="")
63
				{
64
					window.alert("Der Spieltyp muß einen Namen bekommen!");
65
					document.types.t_name.focus();
66
					return false;
67
				}
68
				if (t_max<0)
69
				{
70
					window.alert("Der Spieltyp muß eine positive Anzahl von Spielen haben!");
71
					document.types.t_max.focus();
72
					return false;
73
				}
74
				if (t_max==0)
75
				{
76
					window.alert("Die Anzahl von Spielen für disen Spieltyp muß größer 0 sein!");
77
					document.types.t_max.focus();
78
					return false;
79
				}
80
			}
81
			function check_orte_form()
82
			{
83
				var l_name;
84
				var l_name2;
85
 
86
				l_name=document.orte.l_name.value;
87
				l_name2=document.orte.l_name2.value;
88
 
89
				if (l_name=="")
90
				{
91
					window.alert("Der Austragungsort m8ß eienen Namen haben!");
92
					document.orte.l_name.focus();
93
					return false;
94
				}
95
				if (l_name2=="")
96
				{
97
					window.alert("Das Stadion muß einen Namen haben!");
98
					document.orte.l_name2.focus();
99
					return false;
100
				}
101
			}
3 lars 102
		</script>{/literal}
103
	</head>
44 lars 104
	<body onload="{$focus}.focus();">
40 lars 105
		angemeldet als: {$u_name|default:"<i>[nicht angemeldet]</i>"} Version: {$version}
106
		<div align="right">Datum / Uhrzeit: {$smarty.now|date_format:"%d.%m.%Y %H:%M"} Uhr</div>
26 lars 107
		<h1>{if !$h1}{$title}{else}{$h1}{/if} - <img src="{$logo}" width="64">{$title2}</h1>
4 lars 108
		<table>
109
	<tr>
15 lars 110
		<th colspan="5">Aktionen</th>
4 lars 111
	</tr>
112
	<tr align="center">
113
		<td>
19 lars 114
			<form action="index.php" method="post">
4 lars 115
				<input type="submit" class="liteoption" name="change" value="Liste der Spiele">
116
			</form>
19 lars 117
		</td>
4 lars 118
		<td>
19 lars 119
			<form action="liste_teams.php" method="post">
4 lars 120
				<input type="submit" class="liteoption" name="change" value="Liste der Mannschaften">
121
			</form>
19 lars 122
		</td>
4 lars 123
		<td>
19 lars 124
			<form action="liste_orte.php" method="post">
4 lars 125
				<input type="submit" class="liteoption" name="change" value="Liste der Austragungsorte">
126
			</form>
19 lars 127
		</td>
4 lars 128
		<td>
19 lars 129
			<form action="liste_groups.php" method="post">
4 lars 130
				<input type="submit" class="liteoption" name="change" value="Liste der Gruppen">
131
			</form>
19 lars 132
		</td>
4 lars 133
		<td>
19 lars 134
			<form action="liste_types.php" method="post">
4 lars 135
				<input type="submit" class="liteoption" name="change" value="Liste der Spieltypen">
136
			</form>
19 lars 137
		</td>
138
	</tr>
139
	<tr align="center">
140
		<td>
15 lars 141
			<form action="table.php" method="post">
19 lars 142
				<input type="submit" class="liteoption" name="table" value="Vorrundentablle">
143
			</form>
144
		</td>
145
		<td>
146
			{if $u_name!=""}
15 lars 147
			<form action="logout.php" method="post">
19 lars 148
				<input type="submit" class="liteoption" name="logout" value="Ausloggen">
149
			</form>
150
			{else}
151
			<form action="login.php" method="post">
152
				<input type="submit" class="liteoption" name="login" value="Einloggen">
153
			</form>
15 lars 154
			{/if}
19 lars 155
		</td>
156
		<td>
157
			{if $u_name!=""}
15 lars 158
			<form action="edit_user.php" method="post">
19 lars 159
				<input type="submit" class="liteoption" name="profile" value="Profil">
160
			</form>
15 lars 161
			{/if}
19 lars 162
		</td>
163
		<td>
164
			{if $u_name==""}
15 lars 165
			<form action="register.php" method="post">
19 lars 166
				<input type="submit" class="liteoption" name="register" value="Registrieren" disabled=disabled>
167
			</form>
168
			{else}
169
				{if $u_type==1}
170
					<form action="table_gen.php" method="post">
171
						<input type="submit" name="gen" value="Gruppentabellen berechnen" class="liteoption">
172
					</form>
173
				{/if}
174
			{/if}
175
		</td>
176
		<td>
177
			{if $u_name==""}
15 lars 178
			<form action="lost.php" method="post">
19 lars 179
				<input type="submit" class="liteoption" name="lost" value="Paßwort vergessen" disabled=disabled>
180
			</form>
181
			{/if}
182
		</td>
183
	</tr>
4 lars 184
</table>
185
<br>