-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcreate_team.php
38 lines (32 loc) · 1.14 KB
/
create_team.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
Remove this if you use the .htaccess -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>Create Team</title>
<meta name="description" content="" />
<meta name="author" content="Tyler" />
<meta name="viewport" content="width=device-width; initial-scale=1.0" />
<!-- Replace favicon.ico & apple-touch-icon.png in the root of your domain and delete these references -->
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
</head>
<body>
<?php
if(isset($_COOKIE['User'])){
require_once('recaptchalib.php');
$publickey = "6LdkBeMSAAAAALI2VIegPyck3l89xZD_essvzVcp";
echo '<form action="createteam.php" method="post">
Team Name: <input type="text" name="name">
<div id="captcha">' . recaptcha_get_html($publickey) . '</div> <input type="submit" value="Submit" />
</form>
';
}
else {
echo 'You are not logged in at the moment.';
}
?>
</body>
</html>