-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathverify.php
More file actions
67 lines (55 loc) · 1.62 KB
/
verify.php
File metadata and controls
67 lines (55 loc) · 1.62 KB
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
<?php
if(isset($_GET["type"]))
{
switch($_GET["type"])
{
case "beta":
$key = $_GET["key"];
require_once("core/account.php");
$result = verifyBetaApplication($key);
break;
}
}
if(!isset($result) || $result == 9)
header("Location: index.php");
require("head.php");
printHead();
require("upperbody.php");
if($result["id_user"] != "")
{
?>
<h1>BETA APPLICATION</h1>
<p>
You have now successfully been approved to our closed beta. Please have lots of fun and don't forget to report any bugs you stumble upon!
</p>
<p>
In order to play the beta, please go back to the <a href="index.php">HOME PAGE</a> and login.
</p>
<?php
}
else
{
?>
<h1>BETA APPLICATION</h1>
<p>
You have now successfully been approved to our closed beta. Please have lots of fun and don't forget to report any bugs you stumble upon!
</p>
<p>
In order to play the beta, please create an account and then login at the homepage.
</p>
<div class="line"></div>
<div id="createacc">
<input type="hidden" value="<?php echo $key; ?>" id="createacc_key" />
<input type="text" id="createacc_username" placeholder="USERNAME" />
<input type="password" id="createacc_password" placeholder="PASSWORD" />
<input type="password" id="createacc_password2" placeholder="CONFIRM PASSWORD" />
<div id="createacc_button" class="button">
DO IT
</div>
<div id="createacc_error">
</div>
</div>
<?php
}
require("lowerbody.php");
?>