-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsignup.php
93 lines (90 loc) · 3.83 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<?php
session_start();
require_once 'class.user.php';
$user_home = new USER();
if($user_home->is_logged_in()!=""){
$user_home->redirect('home.php');
}
?>
<?php
$cur_page = 'signup';
include 'includes/inc-header.php';
include 'includes/inc-nav.php';
?>
<div class="signup-page">
<div class="form">
<h2>Create Account (Mother)</h2>
<br>
<form class="login-form" method="post" role="form" id="signup-form" autocomplete="off">
<!-- json response will be here -->
<div id="errorDiv"></div>
<!-- json response will be here -->
<div class="col-md-6">
<div class="form-group">
<label>First Name</label>
<input type="text" name="firstName" id="firstName">
<span class="help-block" id="error"></span>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>Last Name</label>
<input type="text" name="lastName" id="lastName">
<span class="help-block" id="error"></span>
</div>
</div>
<div class="col-md-12">
<div class="form-group">
<label>Email Address</label>
<input type="email" name="email" id="email">
<span class="help-block" id="error"></span>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>ID Number</label>
<input type="number" name="idNumber" id="idNumber">
<span class="help-block" id="error"></span>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>Phone Number</label>
<input type="number" name="phoneNumber" id="phoneNumber">
<span class="help-block" id="error"></span>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>Password</label>
<input type="password" name="password" id="password">
<span class="help-block" id="error"></span>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>Confirm Password</label>
<input type="password" name="cpassword" id="cpassword">
<span class="help-block" id="error"></span>
</div>
</div>
<div class="col-md-12">
<div class="form-group">
<button type="submit" id="btn-signup">
CREATE ACCOUNT
</button>
</div>
</div>
<p class="message">
<a href="#">.</a><br>
</p>
</form>
</div>
</div>
</div>
<script src="assets/js/jquery-1.12.4-jquery.min.js"></script>
<script src="assets/js/sweetalert2.js"></script>
<script src="assets/js/jquery.validate.min.js"></script>
<script src="assets/js/signup.js"></script>
</body>
</html>