Subversion-Projekte lars-tiefland.em_wm

Revision

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