-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStudent_Signup.html
229 lines (195 loc) · 9.8 KB
/
Student_Signup.html
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Sign Up Page</title>
<!-- Link to Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link href="css/style.css" rel="stylesheet">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
<link href="css/tiny-slider.css" rel="stylesheet">
<link href="css/bootstrap.min.css" rel="stylesheet">
<style>
/* Custom CSS for the sign-up page */
body {
background-color: #f8f9fa;
}
.signup-container {
max-width: 400px;
margin: 0 auto;
padding: 20px;
background-color: #ffffff;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
margin-top: 100px;
}
</style>
</head>
<body>
<!-- Start Header/Navigation -->
<nav class="custom-navbar navbar navbar navbar-expand-md navbar-dark bg-dark" arial-label="uems navigation bar">
<div class="container">
<a class="navbar-brand" href="index.html">UniVibe<span>.</span></a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsuems" aria-controls="navbarsuems" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarsuems">
<ul class="custom-navbar-nav navbar-nav ms-auto mb-2 mb-md-0">
<li class="nav-item ">
<a class="nav-link" href="index.html">Home</a>
</li>
<li><a class="nav-link" href="about.html">About us</a></li>
<li class="active"><a class="nav-link" href="Student_Signup.html">Signup Page</a></li>
<li><a class="nav-link" href="contact.html">Contact us</a></li>
</ul>
</div>
</div>
</nav>
<!-- End Header/Navigation -->
<div class="container">
<div class="row">
<div class="col-md-6 offset-md-3 signup-container">
<h2 class="text-center mb-4">Sign Up</h2>
<form action="stu_connect.php" method="post">
<div class="form-row">
<div class="form-group col-md-6">
<label for="firstName">First Name</label>
<input type="text" class="form-control" id="firstName" placeholder="Enter your first name" name="firstname" required>
</div>
<div class="form-group col-md-6">
<label for="lastName">Last Name</label>
<input type="text" class="form-control" id="lastName" placeholder="Enter your last name" name="lastname" required>
</div>
</div>
<div class="form-group">
<label for="employeeID">Banner ID</label>
<input type="text" class="form-control" id="employeeID" placeholder="Enter your Banner ID" pattern="^001.{6}$" title="Please enter a code that starts with '001' and has 6 characters." name="bannerid" required>
</div>
<div class="form-group">
<label for="email">Collage Email ID</label>
<input type="email" class="form-control" id="email" placeholder="Enter your email address" name="emailid" required>
</div>
<div class="form-group">
<label for="Secuirty Question 1">Secuity Question 1: What is your nickname?</label>
<input type="text" class="form-control" id="email" placeholder="Enter a nick name" name="securityquestion1" required>
</div>
<div class="form-group">
<label for="Secuirty Question 1">Secuity Question 2: What is your favourite City?</label>
<input type="text" class="form-control" id="email" placeholder="Enter a city" name="securityquestion2" required>
</div>
<div class="form-group">
<label for="Secuirty Question 1">Secuity Question 3: What is your favourite Colour?</label>
<input type="text" class="form-control" id="email" placeholder="Enter a colur" name="securityquestion3" required>
</div>
<div class="form-group">
<label for="password">Create Password</label>
<input type="password" class="form-control" id="password" placeholder="Create a password" name="pass1" pattern="^(?=.*[A-Z])(?=.*[a-z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$" title="Password must contain at least 8 characters with at least one uppercase letter, one lowercase letter, one digit, and one special character." required>
</div>
<div class="form-group">
<label for="confirmPassword">Confirm Password</label>
<input type="password" class="form-control" id="confirmPassword" placeholder="Confirm your password" name="pass2" pattern="^(?=.*[A-Z])(?=.*[a-z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$" title="Password must contain at least 8 characters with at least one uppercase letter, one lowercase letter, one digit, and one special character." required>
</div>
<button type="submit" onclick="checkPasswordMatch()" class="btn btn-primary btn-block">Sign Up</button>
</form>
<p class="mt-3 text-center">Already have an account? <a href="Student_login.html">Log in</a></p>
</div>
</div>
<p>
</p>
</div>
<script>
function checkPasswordMatch() {
var password = document.getElementById("password").value;
var confirmPassword = document.getElementById("confirmPassword").value;
if (password !== confirmPassword) {
alert("Passwords do not match.");
return false; // Prevent form submission
}
return true; // Allow form submission
}
</script>
<!-- Link to Bootstrap JS and jQuery -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<!-- Start Footer Section -->
<footer class="footer-section">
<div class="container relative">
<div class="row">
<div class="col-lg-8">
<div class="subscription-form">
<h3 class="d-flex align-items-center"><span class="me-1"><img src="images/envelope-outline.svg" alt="Image" class="img-fluid"></span><span>Subscribe to receive Mails about Upcoming Events</span></h3>
<form action="#" class="row g-3">
<div class="col-auto">
<input type="text" class="form-control" placeholder="Enter your name">
</div>
<div class="col-auto">
<input type="email" class="form-control" placeholder="Enter your email">
</div>
<div class="col-auto">
<button class="btn btn-primary">
<span class="fa fa-paper-plane"></span>
</button>
</div>
</form>
</div>
</div>
</div>
<div class="row g-5 mb-5">
<div class="col-lg-4">
<div class="mb-4 footer-logo-wrap"><a href="#" class="footer-logo">UniVibe<span>.</span></a></div>
<p class="mb-4">This website helps students in registering and conducting events. Students can register or login to view all the club events and can register for multiple events and can check all the details of registered events.</p>
<ul class="list-unstyled custom-social">
<li><a href="#"><span class="fa fa-brands fa-facebook-f"></span></a></li>
<li><a href="#"><span class="fa fa-brands fa-twitter"></span></a></li>
<li><a href="#"><span class="fa fa-brands fa-instagram"></span></a></li>
<li><a href="#"><span class="fa fa-brands fa-linkedin"></span></a></li>
</ul>
</div>
<div class="col-lg-8">
<div class="row links-wrap">
<div class="col-6 col-sm-6 col-md-3">
<ul class="list-unstyled">
<li><a href="about.html">About us</a></li>
</ul>
</div>
<div class="col-6 col-sm-6 col-md-3">
<ul class="list-unstyled">
<li><a href="contact.html">Support</a></li>
</ul>
</div>
<div class="col-6 col-sm-6 col-md-3">
<ul class="list-unstyled">
<li><a href="login.html">Admin Login</a></li>
</ul>
</div>
<div class="col-6 col-sm-6 col-md-3">
<ul class="list-unstyled">
<li><a href="Student_login.html">Student Login</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="border-top copyright">
<div class="row pt-4">
<div class="col-lg-6">
<p class="mb-2 text-center text-lg-start">Copyright ©<script>document.write(new Date().getFullYear());</script>. All Rights Reserved. — Designed with love by <a>UniVibe</a>
</p>
</div>
<div class="col-lg-6 text-center text-lg-end">
<ul class="list-unstyled d-inline-flex ms-auto">
<li class="me-4"><a href="#">Terms & Conditions</a></li>
<li><a href="#">Privacy Policy</a></li>
</ul>
</div>
</div>
</div>
</div>
</footer>
<!-- End Footer Section -->
</body>
</html>