Subversion-Projekte lars-tiefland.em_wm

Revision

Revision 17 | Revision 26 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 17 Revision 19
Zeile 4... Zeile 4...
4
		<title>{$title} - {$title2}</title>
4
		<title>{$title} - {$title2}</title>
5
		<link href="./images/favicon.ico" rel="shortcut icon" type="image/x-icon">
5
		<link href="./images/favicon.ico" rel="shortcut icon" type="image/x-icon">
6
		<link rel="stylesheet" href="./styles/Standard.css" type="text/css">
6
		<link rel="stylesheet" href="./styles/Standard.css" type="text/css">
7
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
7
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
8
		{literal}<script language="Javascript" type="text/javascript">
8
		{literal}<script language="Javascript" type="text/javascript">
9
			function check_search_form()
9
			function check_games_form()
10
			{
10
			{
11
				var lat_name=document.suchen.lat_name.value;
11
				var g_name;
-
 
12
				var g_m1;
12
				var deu_name=document.suchen.deu_name.value;
13
				var g_m2;
-
 
14
				var_g_g1;
-
 
15
				var g_g2;
13
				var a_id=document.suchen.a_id.value;
16
				var g_location;
14
				var b_von_id=document.suchen.b_von_id.value;
17
				var g_day;
15
				var b_bis_id=document.suchen.b_bis_id.value;
18
				var g_month;
16
				var bo_id=document.suchen.bo_id.value;
19
				var g_hour;
17
				var br_von_id=document.suchen.br_von_id.value;
20
				var g_type;
18
				var br_bis_id=document.suchen.br_bis_id.value;
21
				g_name=document.games.g_name.value;
19
				var d_id=document.suchen.d_id.value;
22
				g_m1=document.games.g_m1.value;
20
				var f_id=document.suchen.f_id.value;
23
				g_m2=document.games.g_m2.value;
21
				var g_id=document.suchen.g_id.value;
24
				g_g1=document.games.g_g1.value;
22
				var h_von_id=document.suchen.h_von_id.value;
25
				g_g2=document.games.g_g2.value;
23
				var h_bis_id=document.suchen.h_bis_id.value;
26
				g_location=document.games.g_location.value;
24
				var hf_id=document.suchen.hf_id.value;
27
				g_day=document.games.Day.value;
25
				var l_id=document.suchen.l_id.value;
28
				g_month=document.games.Month.value;
26
				var w_id=document.suchen.w_id.value;
29
				g_hour=document.games.Hour.value;
27
				var wf_id=document.suchen.wf_id.value;
30
				g_typ=document.games.g_typ.value;
28
				if (a_id==-1 &&b_von_id==-1 && b_bis_id==-1 && bo_id==-1 && br_von_id==-1 && br_bis_id==-1 && d_id==-1 && f_id==-1 && g_id==-1 && hf_id==-1 && h_von_id==-1 && h_bis_id==-1 && l_id==-1 && w_id==-1 && wf_id==-1 && lat_name.length==0 && deu_name.length==0)
31
				if (g_name=="")
29
				{
32
				{
30
					window.alert("Bitte wenigstens ein Kriterium angeben!");
33
					window.alert("Bitte dem Spiel einen Namen geben!");
-
 
34
					document.games.g_name.focus();
31
					return false;
35
					return false;
32
				}
36
				}
33
				else
37
				if (g_m1==-1 || g_m2==-1)
34
				{
38
				{
-
 
39
					window.alert("Bitte eine Mannschaft auswählen!");
35
					return true;
40
					return false;
-
 
41
				}
-
 
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;
36
				}
51
				}
37
			}
52
			}
38
		</script>{/literal}
53
		</script>{/literal}
39
	</head>
54
	</head>
40
	<body>
55
	<body>
Zeile 48... Zeile 63...
48
	<tr>
63
	<tr>
49
		<th colspan="5">Aktionen</th>
64
		<th colspan="5">Aktionen</th>
50
	</tr>
65
	</tr>
51
	<tr align="center">
66
	<tr align="center">
52
		<td>
67
		<td>
53
		    <form action="index.php" method="post">
68
			<form action="index.php" method="post">
54
				<input type="submit" class="liteoption" name="change" value="Liste der Spiele">
69
				<input type="submit" class="liteoption" name="change" value="Liste der Spiele">
55
			</form>
70
			</form>
56
        </td>
71
		</td>
57
		<td>
72
		<td>
58
		    <form action="liste_teams.php" method="post">
73
			<form action="liste_teams.php" method="post">
59
				<input type="submit" class="liteoption" name="change" value="Liste der Mannschaften">
74
				<input type="submit" class="liteoption" name="change" value="Liste der Mannschaften">
60
			</form>
75
			</form>
61
        </td>
76
		</td>
62
		<td>
77
		<td>
63
		    <form action="liste_orte.php" method="post">
78
			<form action="liste_orte.php" method="post">
64
				<input type="submit" class="liteoption" name="change" value="Liste der Austragungsorte">
79
				<input type="submit" class="liteoption" name="change" value="Liste der Austragungsorte">
65
			</form>
80
			</form>
66
        </td>
81
		</td>
67
		<td>
82
		<td>
68
		    <form action="liste_groups.php" method="post">
83
			<form action="liste_groups.php" method="post">
69
				<input type="submit" class="liteoption" name="change" value="Liste der Gruppen">
84
				<input type="submit" class="liteoption" name="change" value="Liste der Gruppen">
70
			</form>
85
			</form>
71
        </td>
86
		</td>
72
		<td>
87
		<td>
73
		    <form action="liste_types.php" method="post">
88
			<form action="liste_types.php" method="post">
74
				<input type="submit" class="liteoption" name="change" value="Liste der Spieltypen">
89
				<input type="submit" class="liteoption" name="change" value="Liste der Spieltypen">
75
			</form>
90
			</form>
76
        </td>
91
		</td>
77
    </tr>
92
	</tr>
78
    <tr align="center">
93
	<tr align="center">
79
        <td>
94
		<td>
80
			<form action="table.php" method="post">
95
			<form action="table.php" method="post">
81
            	<input type="submit" class="liteoption" name="table" value="Vorrundentablle">
96
				<input type="submit" class="liteoption" name="table" value="Vorrundentablle">
82
        	</form>
97
			</form>
83
        </td>
98
		</td>
84
        <td>
99
		<td>
85
            {if $u_name!=""}
100
			{if $u_name!=""}
86
			<form action="logout.php" method="post">
101
			<form action="logout.php" method="post">
87
            	<input type="submit" class="liteoption" name="logout" value="Ausloggen">
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">
88
        	</form>
107
			</form>
89
			{/if}
108
			{/if}
90
        </td>
109
		</td>
91
        <td>
110
		<td>
92
            {if $u_name!=""}
111
			{if $u_name!=""}
93
			<form action="edit_user.php" method="post">
112
			<form action="edit_user.php" method="post">
94
            	<input type="submit" class="liteoption" name="profile" value="Profil">
113
				<input type="submit" class="liteoption" name="profile" value="Profil">
95
        	</form>
114
			</form>
96
			{/if}
115
			{/if}
97
        </td>
116
		</td>
98
        <td>
117
		<td>
99
            {if $u_name==""}
118
			{if $u_name==""}
100
			<form action="register.php" method="post">
119
			<form action="register.php" method="post">
101
            	<input type="submit" class="liteoption" name="register" value="Registrieren" disabled=disabled>
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">
102
        	</form>
126
					</form>
103
        	{/if}
127
				{/if}
-
 
128
			{/if}
104
        </td>
129
		</td>
105
        <td>
130
		<td>
106
            {if $u_name==""}
131
			{if $u_name==""}
107
			<form action="lost.php" method="post">
132
			<form action="lost.php" method="post">
108
            	<input type="submit" class="liteoption" name="lost" value="Paßwort vergessen" disabled=disabled>
133
				<input type="submit" class="liteoption" name="lost" value="Paßwort vergessen" disabled=disabled>
109
        	</form>
134
			</form>
110
        	{/if}
135
			{/if}
111
        </td>
136
		</td>
112
   </tr>
137
	</tr>
113
</table>
138
</table>
114
<br>
139
<br>