-
Notifications
You must be signed in to change notification settings - Fork 0
/
register.php
executable file
·85 lines (75 loc) · 3.98 KB
/
register.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<?php
require_once("functions.php");
$whack = new Whack();
if ($whack->getProfileID()) {
header("Location: /share");
die("You are already logged in.");
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="keywords" content="Homework Hunt, hw hunt, answers, homework, essays, papers, projects, hw">
<meta name="description" content="Find answers to any class assignment shared by users like you! Fuel the community, upload your answers today! It's free!">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<title>Sign Up for Homework Hunt</title>
<link rel="Shortcut Icon" type="image/ico" href="imgs/favicon.ico">
<link rel="apple-touch-icon" sizes="57x57" href="/img/ios/icon57x57.png">
<link rel="apple-touch-icon" sizes="57x57" href="/img/ios/icon157x157.png">
<link rel="apple-touch-icon" sizes="72x72" href="/img/ios/icon72x72.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ios/icon157x157.png">
<link rel="apple-touch-startup-image" href="/img/ios/splash.png">
<link href="/css/bootstrap.css" rel="stylesheet" type="text/css">
<link href="/css/styles.css" rel="stylesheet" type="text/css">
<link href="//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js" type="text/javascript">
</script>
<script src="/js/bootstrap.js" type="text/javascript">
</script><!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u=(("https:" == document.location.protocol) ? "https" : "http") + "://homeworkhunt.com/analytics/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', 1]);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript';
g.defer=true; g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script><noscript>
<p><img src="http://homeworkhunt.com/analytics/piwik.php?idsite=1" style="border:0;" alt=""></p></noscript><!-- End Piwik Code -->
</head>
<body>
<div id="wrapper">
<?php include("includes/header.php"); ?>
<div class="container">
<form method="post" action="/api/register">
<div class="row">
<div class="col-md-6 col-md-push-3 col-sm-8 col-sm-push-2">
<div class="form-group">
<label for="username">Desired Username <a href="/login">Already have an account?</a></label> <input type="text" class="form-control" id="username" name="username" placeholder="JohnDoe">
</div>
<div class="form-group">
<label for="email">Email</label> <input type="email" class="form-control" id="email" name="email" placeholder="[email protected]">
</div>
<div class="form-group">
<label for="password">Password</label> <input type="password" class="form-control" id="password" name="password" placeholder="********">
</div>
<div class="checkbox">
<label><input type="checkbox" name="terms"> I agree to Homework Hunt's <a href="/legal">Terms</a>.</label>
</div>
</div>
</div>
<div class="row text-center">
<input type="submit" value="Create an Account" class="btn btn-primary text-center" style="width:160px; margin-bottom: 10px;" id="submit">
</div>
</form>
</div>
<div id="push"></div>
</div><?php include("includes/footer.php"); ?>
</body>
</html>