-
Notifications
You must be signed in to change notification settings - Fork 56
/
login.php
executable file
·64 lines (62 loc) · 1.94 KB
/
login.php
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
<?php
session_start();
print
<<<EOF
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="css/game.css" type="text/css" rel="stylesheet" />
<script src="js/login.js" type="text/javascript" language="JavaScript"></script>
<title>breakthenet</title>
</head>
<body onload="getme();" bgcolor="#C3C3C3">
<img src="logo.png" alt="Your Game Logo" />
EOF;
$ip = ($_SERVER['REMOTE_ADDR']);
if (file_exists('ipbans/' . $ip))
{
die(
"<b><span style='color: red; font-size: 120%'>
Your IP has been banned, there is no way around this.
</span></b>
</body></html>");
}
$year = date('Y');
print
<<<EOF
<h3>
> breakthenet Log-In
</h3>
<table width="80%">
<tr>
<td width="50%">
<fieldset>
<legend>About breakthenet</legend>
A test environment
</fieldset>
</td>
<td>
<fieldset>
<legend>Login</legend>
<form action="authenticate.php" method="post" name="login" onsubmit="return saveme();" id="login">
Username: <input type="text" name="username" /><br />
Password: <input type="password" name="password" /><br />
Remember me?<br />
<input type="radio" value="ON" name="save" />Yes <input type="radio" name=
"save" value="OFF" checked="checked" />No
<input type="submit" value="Submit" />
</form>
</fieldset>
</td>
</tr>
</table><br />
<h3>
<a href='register.php'>REGISTER NOW!</a>
</h3><br />
<div style="font-style: italic; text-align: center">
Powered by codes made by Dabomstew. Copyright © {$year} admin.
</div>
</body>
</html>
EOF;