Subversion-Projekte lars-tiefland.em_wm

Revision

Revision 29 | Revision 39 | 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
			}
54
		</script>{/literal}
55
	</head>
56
	<body>
57
		angemeldet als: {$u_name|default:"<i>[nicht angemeldet]</i>"}
58
		<br>
9 lars 59
		Version: {$version}
3 lars 60
		<div align="right">Datum: {$smarty.now|date_format:"%d.%m.%Y"}</div>
61
		<div align="right">Zeit: {$smarty.now|date_format:"%H:%M"} Uhr</div>
26 lars 62
		<h1>{if !$h1}{$title}{else}{$h1}{/if} - <img src="{$logo}" width="64">{$title2}</h1>
4 lars 63
		<table>
64
	<tr>
15 lars 65
		<th colspan="5">Aktionen</th>
4 lars 66
	</tr>
67
	<tr align="center">
68
		<td>
19 lars 69
			<form action="index.php" method="post">
4 lars 70
				<input type="submit" class="liteoption" name="change" value="Liste der Spiele">
71
			</form>
19 lars 72
		</td>
4 lars 73
		<td>
19 lars 74
			<form action="liste_teams.php" method="post">
4 lars 75
				<input type="submit" class="liteoption" name="change" value="Liste der Mannschaften">
76
			</form>
19 lars 77
		</td>
4 lars 78
		<td>
19 lars 79
			<form action="liste_orte.php" method="post">
4 lars 80
				<input type="submit" class="liteoption" name="change" value="Liste der Austragungsorte">
81
			</form>
19 lars 82
		</td>
4 lars 83
		<td>
19 lars 84
			<form action="liste_groups.php" method="post">
4 lars 85
				<input type="submit" class="liteoption" name="change" value="Liste der Gruppen">
86
			</form>
19 lars 87
		</td>
4 lars 88
		<td>
19 lars 89
			<form action="liste_types.php" method="post">
4 lars 90
				<input type="submit" class="liteoption" name="change" value="Liste der Spieltypen">
91
			</form>
19 lars 92
		</td>
93
	</tr>
94
	<tr align="center">
95
		<td>
15 lars 96
			<form action="table.php" method="post">
19 lars 97
				<input type="submit" class="liteoption" name="table" value="Vorrundentablle">
98
			</form>
99
		</td>
100
		<td>
101
			{if $u_name!=""}
15 lars 102
			<form action="logout.php" method="post">
19 lars 103
				<input type="submit" class="liteoption" name="logout" value="Ausloggen">
104
			</form>
105
			{else}
106
			<form action="login.php" method="post">
107
				<input type="submit" class="liteoption" name="login" value="Einloggen">
108
			</form>
15 lars 109
			{/if}
19 lars 110
		</td>
111
		<td>
112
			{if $u_name!=""}
15 lars 113
			<form action="edit_user.php" method="post">
19 lars 114
				<input type="submit" class="liteoption" name="profile" value="Profil">
115
			</form>
15 lars 116
			{/if}
19 lars 117
		</td>
118
		<td>
119
			{if $u_name==""}
15 lars 120
			<form action="register.php" method="post">
19 lars 121
				<input type="submit" class="liteoption" name="register" value="Registrieren" disabled=disabled>
122
			</form>
123
			{else}
124
				{if $u_type==1}
125
					<form action="table_gen.php" method="post">
126
						<input type="submit" name="gen" value="Gruppentabellen berechnen" class="liteoption">
127
					</form>
128
				{/if}
129
			{/if}
130
		</td>
131
		<td>
132
			{if $u_name==""}
15 lars 133
			<form action="lost.php" method="post">
19 lars 134
				<input type="submit" class="liteoption" name="lost" value="Paßwort vergessen" disabled=disabled>
135
			</form>
136
			{/if}
137
		</td>
138
	</tr>
4 lars 139
</table>
140
<br>