blob: f20a56887a2ba6231dba70751556f16801c81500 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
<?php
/* Copyright Maximilian Möhring, 2013
Licensed under the GPL. Read LICENSE for more Information.*/
function print_login($var){
if ($var == LOGOUT_SUCCESSFULL) {
$logout = "<br><div style='color:red;'>Ausloggen erfolgreich</div>";
}
if ($var == LOGIN_PASSWORD) {
$logout = "<br><div style='color:red;'>Name oder Passwort falsch!</div>";
}
echo "
<!doctype html>
<html>
<head>
<title>Junge Gemeinde Adlershof.</title>
<meta http-equiv='Content-type' content='text/html; charset=utf-8' />
<link rel='stylesheet' type='text/css' href='/static/hyperstyle.css' />
<link rel='shortcut icon' href='/favicon.ico' type='image/x-icon'>
</head>
<body link='#000000' vlink='#000000' alink='#FF0000'>
<div class='kleineschrift'>
<div id='header' >
<br><br>
<hr>
</div>
<div id='content_container' align='center'>
<br>
<div class='ueberschrift'><p>JUNGE GEMEINDE ADLERSHOF</p></div>
<div id='container' align='center'>
$logout
<br>
<form method='post' action='/login' >
<div class='hundertfuenfzig'><p>Login:</p></div>
<p><input type='text' name='username' size='40'/></p>
<p><input type='password' name='password' size='40'/></p>
<p><input type='submit' name='submit' value='Miau!'/></p>
</form><br>
Info: You have ".$_SESSION["login_attempts"]." attempts. You will be banned for six hours after your login attempts run out.<br>
<a style='text-decoration:underline;' href='/password_recover'>Passwort vergessen? Klick hier.</a>
<br><br>
<div class='katze' align='center'>
<pre>
_ ___ _.--.
\`.|\..----...-'` `-._.-'_.-'`
/ ' ` , __.--'
)/' _/ \ `-_, /
`-''' `''\_,_.-;_.-\_ ',
_.-'_./ {_.' ; /
{_.-``-' {_/
</pre>
</div>
</div>
</div>
</div>
";
}
|