Subversion-Projekte lars-tiefland.em_wm

Revision

Revision 17 | Revision 26 | 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">
3 lars 8
		{literal}<script language="Javascript" type="text/javascript">
19 lars 9
			function check_games_form()
3 lars 10
			{
19 lars 11
				var g_name;
12
				var g_m1;
13
				var g_m2;
14
				var_g_g1;
15
				var g_g2;
16
				var g_location;
17
				var g_day;
18
				var g_month;
19
				var g_hour;
20
				var g_type;
21
				g_name=document.games.g_name.value;
22
				g_m1=document.games.g_m1.value;
23
				g_m2=document.games.g_m2.value;
24
				g_g1=document.games.g_g1.value;
25
				g_g2=document.games.g_g2.value;
26
				g_location=document.games.g_location.value;
27
				g_day=document.games.Day.value;
28
				g_month=document.games.Month.value;
29
				g_hour=document.games.Hour.value;
30
				g_typ=document.games.g_typ.value;
31
				if (g_name=="")
3 lars 32
				{
19 lars 33
					window.alert("Bitte dem Spiel einen Namen geben!");
34
					document.games.g_name.focus();
3 lars 35
					return false;
36
				}
19 lars 37
				if (g_m1==-1 || g_m2==-1)
3 lars 38
				{
19 lars 39
					window.alert("Bitte eine Mannschaft auswählen!");
40
					return false;
3 lars 41
				}
19 lars 42
				if (g_location==-1)
43
				{
44
					window.alert("Bitte einen Austragungsort auswählen!");
45
					return false;
46
				}
47
				if (g_typ==-1)
48
				{
49
					window.alert("Bitte einen Spieltyp auswählen!");
50
					return false;
51
				}
3 lars 52
			}
53
		</script>{/literal}
54
	</head>
55
	<body>
56
		angemeldet als: {$u_name|default:"<i>[nicht angemeldet]</i>"}
57
		<br>
9 lars 58
		Version: {$version}
3 lars 59
		<div align="right">Datum: {$smarty.now|date_format:"%d.%m.%Y"}</div>
60
		<div align="right">Zeit: {$smarty.now|date_format:"%H:%M"} Uhr</div>
4 lars 61
		<h1>{if !$h1}{$title}{else}{$h1}{/if} - {$title2}</h1>
62
		<table>
63
	<tr>
15 lars 64
		<th colspan="5">Aktionen</th>
4 lars 65
	</tr>
66
	<tr align="center">
67
		<td>
19 lars 68
			<form action="index.php" method="post">
4 lars 69
				<input type="submit" class="liteoption" name="change" value="Liste der Spiele">
70
			</form>
19 lars 71
		</td>
4 lars 72
		<td>
19 lars 73
			<form action="liste_teams.php" method="post">
4 lars 74
				<input type="submit" class="liteoption" name="change" value="Liste der Mannschaften">
75
			</form>
19 lars 76
		</td>
4 lars 77
		<td>
19 lars 78
			<form action="liste_orte.php" method="post">
4 lars 79
				<input type="submit" class="liteoption" name="change" value="Liste der Austragungsorte">
80
			</form>
19 lars 81
		</td>
4 lars 82
		<td>
19 lars 83
			<form action="liste_groups.php" method="post">
4 lars 84
				<input type="submit" class="liteoption" name="change" value="Liste der Gruppen">
85
			</form>
19 lars 86
		</td>
4 lars 87
		<td>
19 lars 88
			<form action="liste_types.php" method="post">
4 lars 89
				<input type="submit" class="liteoption" name="change" value="Liste der Spieltypen">
90
			</form>
19 lars 91
		</td>
92
	</tr>
93
	<tr align="center">
94
		<td>
15 lars 95
			<form action="table.php" method="post">
19 lars 96
				<input type="submit" class="liteoption" name="table" value="Vorrundentablle">
97
			</form>
98
		</td>
99
		<td>
100
			{if $u_name!=""}
15 lars 101
			<form action="logout.php" method="post">
19 lars 102
				<input type="submit" class="liteoption" name="logout" value="Ausloggen">
103
			</form>
104
			{else}
105
			<form action="login.php" method="post">
106
				<input type="submit" class="liteoption" name="login" value="Einloggen">
107
			</form>
15 lars 108
			{/if}
19 lars 109
		</td>
110
		<td>
111
			{if $u_name!=""}
15 lars 112
			<form action="edit_user.php" method="post">
19 lars 113
				<input type="submit" class="liteoption" name="profile" value="Profil">
114
			</form>
15 lars 115
			{/if}
19 lars 116
		</td>
117
		<td>
118
			{if $u_name==""}
15 lars 119
			<form action="register.php" method="post">
19 lars 120
				<input type="submit" class="liteoption" name="register" value="Registrieren" disabled=disabled>
121
			</form>
122
			{else}
123
				{if $u_type==1}
124
					<form action="table_gen.php" method="post">
125
						<input type="submit" name="gen" value="Gruppentabellen berechnen" class="liteoption">
126
					</form>
127
				{/if}
128
			{/if}
129
		</td>
130
		<td>
131
			{if $u_name==""}
15 lars 132
			<form action="lost.php" method="post">
19 lars 133
				<input type="submit" class="liteoption" name="lost" value="Paßwort vergessen" disabled=disabled>
134
			</form>
135
			{/if}
136
		</td>
137
	</tr>
4 lars 138
</table>
139
<br>