-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenroll.php
194 lines (176 loc) · 12.8 KB
/
enroll.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
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
<?php
# Start the Session
session_start();
include 'connection.php';
# Check if the person logged in is the user or admin
# If logged in is user, then redirect to user.php to avoid unwanted connection
if (isset($_SESSION['loggedInAsUser']) && $_SESSION['loggedInAsUser']) {
header("Location:user.php");
}
# If nothing is logged in, redirect to login.php to prompt for login
if (!$_SESSION['loggedInAsAdmin']) {
header("Location:login.php");
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>OA Portal | Enroll Page</title>
<link rel="stylesheet" href="styles.css" />
<link rel="shortcut icon" type="image/x-icon" href="images/ouran-logo.png" />
</head>
<body>
<div class="header">
<div class="header-school">
<p class="header-title"><b>OURAN</b></p>
<a href="#"><img class="header-logo" src="images/ouran-logo.png" /></a>
<p class="header-title"><b>ACADEMY</b></p>
</div>
<div class="header-menu">
<a href="admin.php" class="menu">MAIN MENU</a>
<a href="logout.php" class="logout">LOGOUT</a>
</div>
</div>
<div class="border">
<form autocomplete="off" action="enrollValidation.php" method="POST" enctype="multipart/form-data">
<h1 class="line">ACCOUNT DETAILS</h1>
<hr>
<br>
<!-- ACCOUNT INFORMATION SECTION -->
<div class="form-set">
<span>First Name : </span>
<input autocomplete="new-password" type="text" name="fName" required> <br><br>
<span>Middle Name : </span>
<input autocomplete="new-password" type="text" name="mName" required><br><br>
<span>Last Name : </span>
<input autocomplete="new-password" type="text" name="lName" required><br><br>
<span>Username : </span>
<input autocomplete="new-password" type="text" name="username" required><br><br>
<span>Password : </span>
<input autocomplete="new-password" type="password" name="password" required><br><br>
<span>E-Mail Address : </span>
<input autocomplete="new-password" type="text" name="email_add" required><br><br>
</div>
</div>
<div class="border-1">
<h1 class="line">IMPORTANT INFORMATION</h1>
<hr>
<br>
<!-- DEPARTMENT SECTION --->
<div class="form-set">
<span>Department : </span>
<select class="selectText" name="department" required>
<option value="" disabled selected hidden>Select Department</option>
<option value="College of Engineering and Architecture">College of Engineering and Architecture</option>
<option value="College of Arts and Sciences">College of Arts and Sciences</option>
<option value="College of Education">College of Education</option>
<option value="College of Business, Entrepreneurship, and Accountancy">College of Business, Entrepreneurship, and Accountancy</option>
<option value="Institute of Human Kinetics">Institute of Human Kinetics</option>
</select> <br><br>
<!-- LEVEL SECTION --->
<span>Level : </span>
<select class="selectText" name="level" required>
<option value="" disabled selected hidden>Select Level</option>
<option value="First Year">First Year</option>
<option value="Second Year">Second Year</option>
<option value="Third Year">Third Year</option>
<option value="Fourth Year">Fourth Year</option>
</select> <br> <br>
<!-- COURSE SELECTION --->
<span>Course : </span>
<select class="selectText" name="course" required>
<option value="" disabled selected hidden>Select Course</option>
<option value="" disabled>==========COLLEGE OF ENGINEERING AND ARCHITECTURE ==========</option>
<option value="Bachelor of Science in Mechanical Enginnering">Bachelor of Science in Mechanical Enginnering</option>
<option value="Bachelor of Science in Architecture">Bachelor of Science in Architecture</option>
<option value="Bachelor of Science in Civil Engineering">Bachelor of Science in Civil Engineering</option>
<option value="Bachelor of Science in Electrical Engineering">Bachelor of Science in Electrical Engineering</option>
<option value="Bachelor of Science in Electronics Engineering">Bachelor of Science in Electronics Engineering</option>
<option value="Bachelor of Science in Astronomy">Bachelor of Science in Astronomy</option>
<option value="Bachelor of Science in Computer Engineering">Bachelor of Science in Computer Engineering</option>
<option value="Bachelor of Science in Industrial Engineering">Bachelor of Science in Industrial Engineering</option>
<option value="Bachelor of Science in Industrial Technology">Bachelor of Science in Industrial Technology</option>
<option value="Bachelor of Science in Information Technology">Bachelor of Science in Information Technology</option>
<option value="Bachelor of Science in Instrumentation and Control Engineering">Bachelor of Science in Instrumentation and Control Engineering</option>
<option value="" disabled>==========COLLEGE OF BUSINESS, ENTREPRENEURSHIP, AND ACCOUNTANCY ==========</option>
<option value="Bachelor of Science in Accountancy">Bachelor of Science in Accountancy</option>
<option value="Bachelor of Science in Entrepreneurship">Bachelor of Science in Entrepreneurship</option>
<option value="Bachelor of Science in Office Administration Major In Office Management">Bachelor of Science in Office Administration Major In Office Management</option>
<option value="Bachelor of Science in Operations Management">Bachelor of Science in Operations Management</option>
<option value="Bachelor of Science in Business Administration Major in Marketing Management">Bachelor of Science in Business Administration Major in Marketing Management </option>
<option value="Bachelor of Science in Business Administration Major in Financial Management">Bachelor of Science in Business Administration Major in Financial Management </option>
<option value="Bachelor of Science in Business Administration Major in Human Resource Management">Bachelor of Science in Business Administration Major in Human Resource Management </option>
<option value="" disabled>==========COLLEGE OF EDUCATION ==========</option>
<option value="Bachelor of Secondary Education Major in English">Bachelor of Secondary Education Major in English</option>
<option value="Bachelor of Secondary Education Major in Math">Bachelor of Secondary Education Major in Math</option>
<option value="Bachelor of Secondary Education Major in Science">Bachelor of Secondary Education Major in Science</option>
<option value="Bachelor of Secondary Education Major in Social Studies">Bachelor of Secondary Education Major in Social Studies</option>
<option value="Bachelor of Secondary Education Major in Filipino">Bachelor of Secondary Education Major in Filipino</option>
<option value="Bachelor of Technical-Vocational Teacher Education Major in Animation">Bachelor of Technical-Vocational Teacher Education Major in Animation</option>
<option value="Bachelor of Technical-Vocational Teacher Education Major in Computer Hardware Servicing">Bachelor of Technical-Vocational Teacher Education Major in Computer Hardware Servicing</option>
<option value="Bachelor of Technical-Vocational Teacher Education Major in Visual Graphic Design">Bachelor of Technical-Vocational Teacher Education Major in Visual Graphic Design</option>
<option value="Bachelor of Technical-Vocational Teacher Education Major in Garments Fashion and Design">Bachelor of Technical-Vocational Teacher Education Major in Garments Fashion and Design</option>
<option value="Bachelor of Technical-Vocational Teacher Education Major in Electronics Technology">Bachelor of Technical-Vocational Teacher Education Major in Electronics Technology</option>
<option value="Bachelor of Technical-Vocational Teacher Education Major in Welding and Fabrications Technology">Bachelor of Technical-Vocational Teacher Education Major in Welding and Fabrications Technology</option>
<option value="" disabled>==========COLLEGE OF ARTS AND SCIENCES ==========</option>
<option value="Bachelor of Science in Psychology">Bachelor of Science in Psychology</option>
<option value="Bachelor of Arts in Political Science">Bachelor of Arts in Political Science</option>
<option value="Bachelor of Science in Statistics">Bachelor of Science in Statistics </option>
<option value="Bachelor of Biology">Bachelor of Biology</option>
<option value="" disabled>==========INSTITUTE OF HUMAN KINETICS ==========</option>
<option value="Bachelor of Science in Physical Education">Bachelor of Science in Physical Education</option>
</select> <br> <br>
<span>Birthdate : </span>
<input class="selectText" type="date" name="birthdate" required><br><br>
<!-- GENDER SELECTION --->
<span>Gender : </span>
<select class="selectText" name="gender" required>
<option value="" disabled selected hidden>Select Gender</option>
<option value="M">Male</option>
<option value="F">Female</option>
</select> <br> <br>
<span>Contact Number : </span>
<input autocomplete="new-password" type="text" name="contactNum" required><br><br>
<span>Religion : </span>
<input autocomplete="new-password" type="text" name="religion" required><br><br>
<span>Marital Status : </span>
<select class="selectText" name="maritalStat" required>
<option value="" disabled selected hidden>Select Marital Status</option>
<option value="Single">Single</option>
<option value="Married">Married</option>
<option value="Divorced">Divorced</option>
<option value="Widowed">Widowed</option>
</select><br><br>
<span> Home Address : </span>
<input autocomplete="new-password" type="text" name="homeAdd" required> <br> <br>
<span> Province Origin : </span>
<input autocomplete="new-password" type="text" name="provinceOrig" required> <br> <br>
<span>Nationality : </span>
<input autocomplete="new-password" type="text" name="nationality" required> <br> <br>
<span>Place of Birth : </span>
<input autocomplete="new-password" type="text" name="placeOfBirth" required> <br> <br>
<span> Contact Person : </span>
<input autocomplete="new-password" type="text" name="contactPerson" required> <br> <br>
<span> Relationship : </span>
<input autocomplete="new-password" type="text" name="contactRs" required> <br> <br>
<span> # of Contact : </span>
<input autocomplete="new-password" type="text" name="cPerNum" required> <br> <br>
<span> Mother's Name : </span>
<input autocomplete="new-password" type="text" name="mothersName" required> <br> <br>
<span> Father's Name : </span>
<input autocomplete="new-password" type="text" name="fathersName" required> <br> <br>
<span> Picture : </span>
<input type="file" name="picture" value="Select a File : " required> <br> <br>
<br>
<input class="submitForm" type="submit" value="ENROLL">
</div>
</form>
</div>
<div class="footer">
<p>ALL RIGHTS RESERVED 2022 | SYBIL SYSTEM</p>
</div>
</body>
</html>