-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
register.php
46 lines (43 loc) · 1.87 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
<?php include 'includes/header.php';?>
<!-- Navigation Bar -->
<?php include 'includes/navbar.php';?>
<!-- Navigation Bar -->
<div class="container">
<div class="row">
</div>
<div class="row">
<div class="col-xs-4"></div>
<div class="col-xs-4">
<form method="POST" action="registerprocess.php">
<div class="form-group">
<label for="username">Username</label>
<input type="text" name="username" value= "<?php if(isset($_POST['register'])) { echo $_POST['username']; } ?>" class="form-control" required>
</div>
<div class="form-group">
<label>FirstName</label>
<input type="text" name="firstname" value= "<?php if(isset($_POST['register'])) { echo $_POST['firstname']; } ?>"class="form-control" required>
</div>
<div class="form-group">
<label>LastName</label>
<input type="text" name="lastname" value= "<?php if(isset($_POST['register'])) { echo $_POST['lastname']; } ?>"class="form-control" required>
</div>
<div class="form-group">
<label for="email">Email</label>
<input type="email" name="email" value= "<?php if(isset($_POST['register'])) { echo $_POST['email']; } ?>"class="form-control" required>
</div>
<div class="form-group">
<label for="password">Password</label>
<input type="password" name="password" value= "<?php if(isset($_POST['register'])) { echo $_POST['password']; } ?>" class="form-control" required>
</div>
<div class="form-group">
<label for="password">Confirm Password</label>
<input type="password" name="cpassword" value= "<?php if(isset($_POST['register'])) { echo $_POST['cpassword']; } ?>"class="form-control" required>
</div>
<button type="submit" class="btn btn-primary" name="register">Register</button>
</form>
</div>
<div class="col-xs-4"></div>
</div>
</div>
</body>
</html>