-
Notifications
You must be signed in to change notification settings - Fork 0
/
signUp.php
executable file
·62 lines (55 loc) · 2.17 KB
/
signUp.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
<?php
require "lib/site.php";
/*ob_start(); */
$pagename = 'Sign Up';
include('includes/head.php');
include('includes/header.php');
?>
<!--===============================
Landing Image
================================-->
<div id='landing' class="signInUp">
<div id='landing-overlay-blend' class="main"></div>
</div>
<!--===============================
Sign Up Title
================================-->
<section id='main' class="signInUp">
<h2 class="signInUp">Sign Up</h2>
</section>
<!--===============================
Sign Up Form & Submit
================================-->
<section id='signInUp' class="main">
<form class="signInUpForm" name="login" action="signup-post.php" method="post" accept-charset="utf-8">
<?php
if(isset($_SESSION['newuser-error'])) {
echo "<p>" . $_SESSION['newuser-error'] . "</p>";
unset($_SESSION['newuser-error']);
}
?>
<label for="username">Username</label>
<input class="loginField" type="text" name="username" placeholder="USERNAME"><br>
<label for="firstName">First Name</label>
<input class="loginField" type="text" name="firstName" placeholder="FIRST NAME"><br>
<label for="lastName">Last Name</label>
<input class="loginField" type="text" name="lastName" placeholder="LAST NAME"><br>
<label for="email">Email</label>
<input class="loginField" type="email" name="email" placeholder="EMAIL"><br>
<label for="password">Password</label>
<input class="loginField" type="password" name="password" placeholder="PASSWORD"><br>
<label for="repeatPassword">Password Confirmation</label>
<input class="loginField" type="password" name="repeatPassword" placeholder="Repeat Password" /><br/>
<div id="captcha">
<div class="g-recaptcha" data-sitekey="6LchXgwTAAAAAEeWIcvzsYI4JEpgRP7tAvuWiOph"></div></div>
<input class="Submit signUp" type="submit" value="SIGN UP">
<a href="signIn.php" class="signUpButton">BACK TO SIGN IN</a>
</section>
<!--===============================
Scripts & Footer
================================-->
<script src='js/index.js'></script>
<script src='js/modals.js'></script>
<?php
include('includes/footer.php');
?>