-
Notifications
You must be signed in to change notification settings - Fork 0
/
signup.php
84 lines (71 loc) · 2.92 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
<?php
include_once 'header.php';
?>
<script>
var check = function() {
if (document.getElementById('password').value ==
document.getElementById('cpassword').value) {
document.getElementById('message').style.color = 'green';
document.getElementById('message').innerHTML = 'Password is matching';
} else {
document.getElementById('message').style.color = 'red';
document.getElementById('message').innerHTML = 'Password does not matched';
}
}
</script>
<main id="main">
<!-- ======= Breadcrumbs Section ======= -->
<section class="breadcrumbs">
<div class="container">
<div class="d-flex justify-content-between align-items-center">
<h2>SignUp Page</h2>
<ol>
<li><a href="index.php">Home</a></li>
<li>SignUp Page</li>
</ol>
</div>
</div>
</section><!-- End Breadcrumbs Section -->
<!-- ======= LOGIN Section ======= -->
<section id="appointment" class="appointment section-bg">
<div class="container" data-aos="fade-up">
<div class="section-title">
<h2>-: SIGN UP :-</h2>
</div>
<div class="row">
<div class="col-md-3"></div>
<div class="col-md-6">
<form action="reg.php" method="post">
<div class="form-row">
<div class="col-md-12 form-group">
Registration Number : <input type="text" name="s_reg" class="form-control" placeholder="Registration no." required title="Enter Your Registration no." autofocus>
<div class="validate"></div>
</div>
<div class="col-md-12 form-group">
Name : <input type="text" name="name" class="form-control" placeholder="Your Name" required title="Enter Your Name" autofocus>
<div class="validate"></div>
</div>
<div class="col-md-12 form-group">
Email : <input type="email" class="form-control" name="email" placeholder="Your Email" required>
</div>
<div class="col-md-12 form-group">
Password : <input type="password" class="form-control" id="password" name="password" placeholder="Your Password" required onkeyup='check();'>
<div class="validate"></div>
</div>
<div class="col-md-12 form-group">
Confirm Password : <input type="password" class="form-control" id="cpassword" name="cpassword" placeholder="Confirm Your Password" required onkeyup='check();'>
<br><div class="validate"><span id='message'></span></div>
</div>
</div>
<div class="text-center">
<input type="submit" class="appointment-btn scrollto" name="signup" value="SIGNUP">
</div>
</form></div>
<div class="col-md-3"></div>
</div>
</div>
</section><!-- End LOGIN Section -->
</main>
<?php
include_once 'footer.php';
?>