Professional Documents
Culture Documents
LEARNING INC.
In Partial Fulfilment
of the Requirements for the Degree
Bachelor of Science in Information Technology
The main objective of this study is to replace the physical enrollment process and develop
a web-based enrollment system for the students at Institute for Foundational Learning
Inc.
This capstone project proposal titled: Online Enrollment for Institute for Foundational
Learning Inc. prepared and submitted by Venz Gerald B. Belchez, Kayne U. Mingo,
Frances Ysabel M. Tenorio, and Clyde Francis M. Tome, in partial fulfillment of the
requirements for the degree of Bachelor of Science in Information Technology, has been
examined and is recommended for acceptance and approval.
Mc Well N. Bunao
Capstone Project Adviser
Noted:
The success and final outcome of this project necessitated a great deal of guidance and
assistance from many people, and we are extremely fortunate to have received this
throughout the completion of my project. All of our accomplishments are the result of
such supervision and assistance, for which we are grateful.
First of all, we would like to thank God for being the center of our process in making our
capstone project and we are able to complete this project with success.
We respect and thank Ms. Jocelyn Llanderal, our Capstone Coordinator, for all of her
help and guidance in completing the project on time. We are extremely grateful to her for
providing such wonderful support and guidance despite their hectic schedule.
We would like to express our gratitude to our advisor, Mr. Mc Well Bunao who guided
us throughout this capstone project.
We also want to give our deep gratitude to our capstone client, Institute for Foundational
Learning Inc. staff, Ms Azaleah Reyes, who took keen interest on our project work and
guided us all along, until the completion of our project work by providing all the
necessary information for developing a good system.
To our dear panelist, Dr. Ferdinand R. Bunag, Jester Emann E. Peñaranda,MIT, and Ms.
Fe Dalangin Yedra, MAITE thank you for guiding us and giving criticism to make our
project better. It is not just to make our project better but mentoring us to be a better
individual to make us improve and strive hard. To be paneled by you is such an honor for
us.
We would also like to thank our friends and classmates, especially Gary C. Gonzales who
we shared ideas with, and our family who supported us and offered deep understanding
related to the capstone.
Page
Title Page i
Executive Summary ii
Approval Sheet iii
Acknowledgment iv
Table of Contents v
List of Figures vi
List of Tables vii
List of Notations viii
Introduction 1
Project Context 1
Statement of the Problem 3
Purpose and Description of the Project 4
Objectives of the Study 4
Scope and Limitations of the Study 5
Review of Related Literature/Systems 7
Review of Related Literature 7
Related Studies and/or Systems 7
Synthesis 11
Technical Background 12
Overview of Current Technologies Used in the Current System 12
Calendar of Activities 13
Resources 15
Methodology 20
Requirement Analysis 21
Requirement Documentation 22
Design of Software, System, Product, and/or Processes 29
Development and Testing 29
Conclusions and Recommendations 31
Appendix 32
LIST OF FIGURES
Page
Figure Name
Figure 1 : Internal Memory (RAM) 15
Figure 2 : Hard Disk Drive 16
Figure 3 : Intel Pentium CPU 16
Figure 4 : Operating System 17
Figure 5 : MySQL 18
Figure 6 : Notepad++ 19
Figure 7 : XAMPP 19
Figure 8 : Modified Waterfall Model 20
Figure 9 : Admin, Registrar, Teacher, Guidance Login Page 22
Figure 10 : Homepage of Registrar 23
Figure 11 : Dashboard module 24
Figure 11.1 Dashboard module 24
Figure 12. Applicant List Module 24
Figure 13.: Student List Module 25
Figure 13.1: Student List Module 25
Figure 14: Section Module 26
Figure 14.1: Section Module 27
Figure 14.2 Section Module 27
Figure 14.3: Section Module 27
Figure 14.4: Section Module 28
Figure 15: Subject Module 28
Figure 15.1: Subject Module 29
Figure 16: Faculty Module 29
Figure 17: Room Module 30
Figure 18: School Year Module 30
Figure 19: Price for RAF Module 31
Project Context
Institute for Foundational Learning Inc. (IFL) is a Christian private institution that
offers pre-school, high school and Senior high school. The institute offers senior
high school strand that specialized in academic track Science, Technology,
Engineering, and Mathematics (STEM), Humanities and Social Sciences Strand
(HUMSS), and General Academic Strand (GAS). Also, strand that specialized in
Technical-Vocational-Livelihood track in Information Communication and
Technology (ICT).
Currently, the institute has a thirty-six (36) pre-school students, one hundred nine
(109) elementary students, seventy-five (75) junior high school students and
twenty-two (22) senior high school students, in a total of two hundred forty-two
(242) students. Also, they have twenty-seven (27) teachers in total, with different
specialization like, the adviser of nursery has a certificate of Basic Pastoral
Theology, the adviser of kinder graduated with a degree of Bachelor in Secondary
Education Major in English, the adviser of Grade 1 and Grade 9 has a degree of
Bachelor in Elementary Education, the adviser of Grade 2 has a degree of
Bachelor in Secondary Education Major in TLE, the adviser of grade 3 takes
Units in BS Industrial Engineering, the adviser of Grade 4 takes an Early
Childhood Training, the adviser of Grade 7 graduated with a degree of BS in
Education Major in Filipino, the adviser of Grade 8 takes Units in BSBA Major in
Marketing, the adviser of Grade 11 graduated with a degree of BS in Education
Major in English, and the adviser of Grade 12 graduated with a degree of BS in
Chemical Engineering.
The total number of rooms of the institute is twenty-one (22) rooms, including the
guidance room and administration room. There are three (3) lecture rooms for
pre-school, six (6) lecture rooms for elementary, four (4) lecture rooms for Junior
Transferees and the old students of the institute have the same process in
registering and enrolling, the only difference is the requirements that the students
need to be submitted to the institute. The school enrollment requirements for their
old students is the student’s clearance where there should be a sign of computer
laboratory administrator, homeroom adviser, registrar and cashier. As for the new
enrollees or transferees, for elementary to senior high school, listed below are the
needed requirements:
Clearance from their previous school
Registration form
Birth certificate (NSO, PSA, and Civil Registry)
Permanent report card
Two copies of 1x1 picture
Good moral
Enrollment Form
Summer classes for ages three (3) to five (5) years old are also being offered
by the institute. They are offering introduction to phonics, basic decoding,
singing and dancing, arts and crafts, online games for limited slots only. Every
As for the current system of the school, they are using Google forms to gather
information from the new or old students who are interested to study in the
said institute. Each registration will cost five hundred pesos (500 Php) and
mode of payments are thru Gcash transaction, though it may add a charge of
fifteen pesos (15 Php) for transactions, also they also have bank-to-bank and
online banking transfer. Registrants will be required to send the receipt
through e-mail as proof of payment. The school provides batches for pre-
school, elementary, high school, and senior high school for proper enrollment.
General Problem
The main object of this study is to develop a web-based for online pre-assessment
and pre-enrollment system for Institute for Foundational Learning, Incorporated.
Specific Problem
The project will provide a functional system for applicants, students, teachers, and
admins that will help them to manage the pre-enrollment and enrollment process.
For the applicants and students, they can sign up to have their own account. Once
they have the account they can continue to pre-enrollment process, they can attach
files needed for the enrollment. As for the enrollment process the applicants and
student can enroll to the system. They can view the registration form and tuition
fee. The applicants and students can download the registration form. Also, they
can attach file for the receipt from payment to the system. As for the admin, they
can upload the grades and schedule. This will have the data analytics for
collecting raw data from the applicants and students who enroll and will be
processed to provide information to generate report.
General Objective
The main object of this study is to develop an online enrollment system for
Institute for Foundational Learning, Incorporated.
Specific Objective
1. To develop a registration information module that will enhance managing and
gathering information.
-This will help the staff to process the data collection without repeating
and arranging the data collection of every grade level.
This study will not include entrance examination since this is focusing on online
enrollment system. In summer class, the registrar can pass the student but it will
remark that the student taken the summer class. Also, the monitoring of the
This chapter shows the related studies and literature of the system that may help
the researchers in developing the project. The purpose of this is to serve as
reference for the developers in terms of developing this online enrollment system.
Log-in
Log-in/Log-out Services, refers to one of the features of the proposed system that
will require authorized users to enter their user ID and password to be able to
access their user account in the administrator’s module, registrar’s module, and
enrolment/cashier module. (inettutor.com, 2019).
The new Online Enrollment System will have own login page for the student to
view their profile with their school assessment and also advertise the school. And
also the administrative login page to secure and manage the assessment form,
student profile and detailed reports. (capstoneguide, 2020).
Student record
Online Enrollment System is very essential in a school. In the case of Quirino
High School, it is composed of a manual system. Directress used manual system
in recording and retrieving student’s information. She also has information about
student’s payment. In fact, she does all the record keeping just by using ball pen
and columnar sheet. On the other hand, Registrar Department also used manual
system as a way of recording and retrieving student information. Another
department is Accounting Office that administers student’s payment manually.
(capstoneguide, 2020).
Automated enrollment system that will support the student enrollment,
admissionand registration process. It includes the maintenance of student
personal, academic andrelated fees. Database maintained by this system usually
contains the student’s personal, academic and its fee related information. It
focuses on storing and processing (insertion,updation) by using graphical user
interface. It generates student information in formattedtables, fees invoice,
School Record
Administrator’s Module. It llows the school administrator to manage sections,
year level, school year (set active school year – used in current enrollment),
subjects, faculty and staff.
Registrar’s Module. It allows the registrar office staff to manage students
credentials, view list of enrolled students, view student records and input grades.
(inettutor.com, 2019).
Enrollment/Cashier Module. It allows the cashier to view enrollment statistics,
enrolled student complete details, record payments, manage fees and student
ledger. (inettutor.com, 2019).
Online Based
The pandemic crisis brought a multitude of challenges in every higher educational
institution for the reason that the national government imposed different
restrictions and health protocols. Hence, this study aimed to determine the
predicaments, situations, and experiences of students specifically in terms of the
online enrollment process of Nueva Ecija University of Science and Technology
for the academic year 2020–2021. The researchers of this study used a descriptive
method of research to assess the feedback of 1,078 students in terms of the
system’s functionality, reliability, usability, efficiency, maintainability, and
portability. At the same time, this study was conducted to identify the level of
qualities the system can provide to the university’s stakeholders and to determine
the technical loopholes and attribute that requires updating to satisfy the
university’s clientele–the students. The results have shown that the students found
the system very good in terms of its functionality, reliability, usability, efficiency,
maintainability, and portability and only good concerning its efficiency. This
means that the system provides a high level of quality and requires minimal
rectifications for improvement. In that case, the researchers suggested improving
the system in terms of efficiency which is about the use of possible input to
produce a quality and highest possible amount of output. Finally, the researchers
suggested conducting future studies wherein the system will be assessed by
Technical Experts in terms of technical aspects of the system which is based on
ISO/IEC 25010:2011 or software quality standards. (Mina, Campos, Reyes,
Garcia, & Torres, 2021)
Log-in
✓ ✓ ✓
Student Record ✓ ✓ ✓ ✓
School Record ✓ ✓
Online Based ✓ ✓
Email Notification ✓
The studies and literatures that were discussed are important to the current system
that the researchers will implement. It will help the researchers to know what are
the features that are needed to update or to create to satisfy the client and the user.
Also, to increase the effectiveness in terms of speed, reliability and accuracy of
the process.
The HyperText Markup Language, or HTML is the standard language for creating
simple web pages that can be displayed in a web browser. It can be assisted by
another technology such as Cascading Style Sheets or CSS, and scripting
languages such as JavaScript. These HTML documents are then received by web
browsers from a server or from a local storage and render the documents into
multimedia web pages. HTML describes the structure of a web page semantically
and originally included cues for the appearance of the document. In these modern
times, HTML is a significant part of web development. This is the foundation of
web pages.
Cascading Style Sheets is a language used for designing HTML. CSS is a
technology made for the World Wide Web, alongside HTML and JavaScript. CSS
is another significant part of HTML. Without CSS, any web pages would be
insignificant.
JavaScript is a programming language designed to add scripting capabilities to an
HTML document. All major web browsers have a dedicated JavaScript engine to
execute the code on the user's device. JavaScript is a multi-paradigm language
that supports event-driven, functional, and imperative programming styles. This
programming language are often partnered with HTML and CSS. Together, they
create websites that are multi-functional, perfectly designed, and user-friendly.
Another technology of the modern world is the Bootstrap. Bootstrap is a potent
front-end framework used to create modern websites and web apps. It's open-
source and free to use yet features numerous HTML and CSS templates for UI
interface elements such as buttons and forms. Bootstrap also supports JavaScript
extensions.
PHP is a server-side scripting language. that is used to develop Static websites or
Dynamic websites or Web applications. PHP stands for Hypertext Pre-processor,
Calendar of Activities
The researchers used Gantt chart for their list of activities during the making of this
capstone project. The researchers used Waterfall methodology for marking the tasks
they have done and new tasks to begin. The blue mark represents the tasks that are
done and yellow for the on-going task. Researchers began their brainstorming of
possible titles on the third and fourth week of the month February. Data gathering on
third to fourth week of February until third week of March. Together with data
gathering, the project coordinator began with the title checking. In line with this, the
whole month of March was dedicated to making of chapter one. From the third week
of March up to first week of April, the researchers also did the chapter two.
Additionally, the selection of adviser happened on the fourth week of February up to
the second week of March. On the third week of April, the title approval happened.
After the approval, the researchers began to find a client on second to third week of
April for this study. After finding a client, they begin to do documentations on the
third week of April. After the documentation, the title defense will be held on 1st
week of May. Revisions of the chapter one to three and the start of system
development after the title defense. Researchers will start doing their chapter four and
five on their next semester next school year.
MONTH
FEBRUARY MARCH APRIL MAY JUNE JULY AUGUST SEPTEMBER OCTOBER NOVEMBER
ACTIVITY
PLANNING
*Title making
*Data gathering
*Title checking
* Selection of adviser
* Title approval
* Finding Client
DOCUMENTS
*CHAPTER 1-3
*CHAPTER 4-5
CONSULTATION
TITLE DEFENSE
System Development
Final Defense
REVISION
*CHAPTER1-3
*CHAPTER4-5
Table 2: Gantt Chart of Activities
Legend :
- On going
- Completed
Hardware
Hardware Minimum Hardware Recommended Hardware
Requirements Requirements
Internal Memory (RAM) 2.00 GB 4.00 GB
Internal Memory (RAM) 2 GB. - Computer random access memory (RAM) is one
of the most important components in determining your system's performance. RAM
gives applications a place to store and access data on a short-term basis. It stores the
information your computer is actively using so that it can be accessed quickly.
Storage Hard Disk Drive 120 GB - Hard disk drives are commonly used as the
main storage device in a computer. HDDs often store operating system, software
programs and other files, and can be found in desktop computers, mobile devices,
consumer electronics and enterprise storage arrays in data centers.
Processor Intel Pentium 1.60 GHz - A central processing unit (CPU) is an important
part of every computer. The CPU sends signals to control the other parts of the
computer, almost like how.
Figure 3: Processor
Figure 5: MySQL
Figure 6: Notepad++
Figure 7 : XAMPP
This chapter described the methods and procedures for carrying out the capstone
Figure 1 depicts the Modified Waterfall Model that will be used by the researchers
in developing the Online Enrollment System. The model progresses systematically
from one phase to the next in a statistical manner, just like a waterfall. It is divided
into several stages, the details of which are as follows:
Requirements Analysis. During this phase, the researchers will investigate how the
system operates, ascertain the user's wants, needs, and requirements, and
System Design. During this phase, the system will be designed based on the
system's requirements. The programmer will compose the source code required to
build the system.
Implementation Plan. During this phase, the researchers will run the system
through its paces and check to see if the recommended functions and user
suggestions are met.
A. Requirements Analysis
This phase focuses on the procedures that will be used to build the desired
system. This includes how the system was constructed, specifically how the
researchers and client discussed the desired system that must be constructed.
The system was designed for the online enrollment system of the Institute for
Foundational Learning, Inc. Researchers were able to collect data from their
clients via recorded video calls and online messaging, such as how they
process enrollment, what common problems they were encountering while
using their current system, and what the requirements for registration and
enrollment are. According to the client, a platform that allows her to see the
student's details and mode of payment is a huge help in reducing her workload
B. Requirements Documentation
The presentend documentation are the agreement between the client and
researcher:
For Registrar-user side:
In this picture it show the Login Page can use by admin, registrar, teacher and
guidance where they can access the dashboard.
In this homepage of the registrar they can access and view the dashboard,
student list, applicant list, Sections, Subject, Faculty, Room, School Year,
Price for RAF, Audit Trails, and Settings.
In this Dashboard module the registrar can see the applicant ID where the
registrar can see the personal information about the student. Also, it can do
view for the registration receipt and the exam result. It can do an action for
scheduling exam, view exam result, accepting applicant, and enroll student.
In this Applicant List module the registrar can see the new applicants can
view the action. Also, it can search the specific applicant.
In this Student List module the registrar can see the list of student. The
registrar can see the applicant ID, personal information, status, and grade
level. It can view the profile of the applicant the Registration Assessment
Form will appear once the view button click. Also, it can search the specific
applicant.
In this Subject module the registrar can add the Subject ID and Subject Name
and the Grade level. It can do an action like edit and delete.
In this Faculty module the registrar can view the faculty name and designated
grade level. Also, the action that can registrar do are edit and delete.
In this Room module the registrar can add the room name. also, it can do an
action like edit and delete.
In this Audit Trails module the registrar can view the logs and date created.
In this Settings module of admin can edit and delete the administrator
accounts. It can add administrator account. Also, it can edit the display
picture and videos on the front page of the user side. In addition, it can update
the link url.
In this Grades Upload module where you can select the specific class for
student grades. It can enter the grades the students.
In this list of Schedule module the teacher can view the schedule like the
subject, level and section, days, time, room, and instructor.
When the user side click the signup button this will ask the user first name,
middle name, last name, email, and contact number.
When the user side already done in the registration for sign up, the admin will
send this on the email that the user given for them to access the site.
When the user login in this will the homepage. The user can see the home,
admission, student information, requirements, RAF, and grades.
When the user go to the admission module the user can see the payment
instructions of school fee and balances. After reading the instruction, the user can
proceed to registration for pre-enrollment.
When the user click the Register Now button on the admission module this will
pre-enrollment registration form will appear. The user will input the information
needed to be able to have registered on pre-enrollment.
When the user got passed the examination the applicant will receive the email for
the requirements and instructions on payment.
When the applicant go to the student information, the applicant can view the proof
of payment that attached, the examination result, personal information, and
grades.
When the applicant go to the Requirement, the applicant can attached the school
requirements.
The student can view their grades once the semester is done.
During this phase, the researchers employ the Modified Waterall Model in the
development of an online enrollment system for Institute Foundational Learning
Inc. The software evolved as a result of information shared between the client and
the researchers. The researcher will conduct testing in every way possible. It
includes both preliminary and final testing of the new software. Prior to
deployment, the Online Enrollment System, including equipment and software,
should be tested to ensure that the system works as expected.
SUMMARY
To address the current state of the system, the researchers design and develop a
project Online Enrollment System Institute for Foundational Learning INC. The
goal of this project is to create a functional system that will assist applicants,
students, teachers, and administrators in managing the pre-enrollment and
enrollment processes.
CONCLUSION
To conclude, the researchers addressed the current state of the client's system by
developing project, Online Enrollment System For Institute Foundational
Learning INC.. The system developed to assist them in having a right and proper
processing of the data gathered and collected. It also saves students time by
allowing them to complete the requirements on-site rather than driving back and
forth to school. Furthermore, it benefits old, and transferee students by allowing
them to complete their pre-enrollment registration and enrollment on the website.
RECOMMENDATIONS
The researchers recommend that this system be implemented in the school so that
the enrollment system can be accessed online. The school can process pre-
enrollment registration and enrollment by implementing this system. It also aids
in the management and control of student records, viewing grades, and viewing
schedules. This system will make contactless enrollment possible for new, old,
and transferee students.
The following pages contain the references, resource person(s), and curriculum vitae
of the researchers. Resource persons are those who contributed to the development of
your research.
REFERENCES
Mesias, J. A., Matienzo, V. S., Decena, H., & Augustin, L. F. (2019). Microsoft
Academic. Retrieved from academic.microsoft.com:
https://academic.microsoft.com/paper/2909405268/related/search?q=Online
%20Enrollment%20Reservation%20System%20with%20SMS%20Notification
Computer Hope. (2021, April 12). What is OS (Operating System)? Retrieved from:
https://www.computerhope.com/jargon/o/os.htm
The data gathered and collected by the researchers from the client, Institute For
Foundational Learning INC. The researchers conducted an interview through
online platform to able to collect and gathered the needed data.The data about the
school, process of the pre-enrollment and enrollment, the number of students,
number of teachers, number of laboratory, number of rooms. The school offers
pre-school to Senior High School. In Senior High School the strand that they
offered are: specialized in academic track Science, Technology, Engineering, and
Mathematics (STEM), Humanities and Social Sciences Strand (HUMSS), and
General Academic Strand (GAS). Also, strand that specialized in Technical-
Vocational-Livelihood track in Information Communication and Technology
(ICT). The class time for the pre-school, elementary, Junior High School and
Senior High school. The opening hours of the school. also, the current state of
system. By gathering and collecting this data, the researcher use this as an
reference to developed the system.
The source code shown below use to developing the Online Enrollment System
For Institute For Foundational Learning INC.
add_user
<?php
include "config.php";
if($_POST)
{
$name=$_POST['name'];
$email=$_POST['email'];
$password=$_POST['password'];
$number=$_POST['number'];
$address=$_POST['address'];
$query = mysqli_query($conn,$sql);
if($query)
{
session_start();
$_SESSION['name'] = $name;
header('Location: home.php');
}
else
{
echo "Something went wrong";
}
?>
Admin_account_settings
<section class="section">
<div class="row">
<div class="col-lg-12">
<div class="card">
<div class="card-body">
<h5 class="card-title">Settings</h5>
<p>Administrator Accounts</p>
<table class="table table-bordered">
<tr>
<th>Name</th>
<th>Username</th>
<th>Password</th>
<th>Action</th>
</tr>
<?php
$accreg = $link->query("SELECT * FROM admin ");
while($fetch = $accreg->fetch_array()){
?>
<form action="admin_accounts_process.php" method="post">
<tr>
<input type="hidden" name="id" value="<?php echo
$fetch['id'];?>">
<td><input class="form-control" type="text"
name="admin_name" value="<?php echo $fetch['name'];?>"></td>
<td><input class="form-control" type="text"
name="admin_user" value="<?php echo $fetch['user'];?>"></td>
<?php
$getfiles = $link->query("SELECT * FROM carousel");
if($getfiles){
while($fetch = $getfiles->fetch_array()){
?>
<tr>
<form action="admin_carousel.php" method="post">
<input type="hidden" name="id" value="<?php echo
$fetch['id'];?>">
<td><a href="<?php echo $fetch['file']?>"><?php echo
$fetch['file']?></a></td>
<td><input class="btn btn-danger" type="submit"
name="delete" value="Delete"></td>
</form>
</tr>
<?php
<?php
$getfiles = $link->query("SELECT * FROM iframe");
if($getfiles){
while($fetch = $getfiles->fetch_array()){
?>
<tr>
<form action="admin_carousel.php" method="post">
<input type="hidden" name="id" value="<?php echo
$fetch['id'];?>">
<td><input class="form-control" type="text" name="link"
value="<?php echo $fetch['link'];?>"></td>
<td><input class="btn btn-primary" type="submit"
name="update" value="Update"></td>
</form>
</tr>
<?php
}
}
<?php
}
?>
</table>
<p class="card-title">Faculty</p>
<table class="table table-bordered">
<tr>
<th>Name</th>
<th>Username</th>
<th>Password</th>
<th>Action</th>
</tr>
<?php
$accreg = $link->query("SELECT * FROM account where
type=2");
while($fetch = $accreg->fetch_array()){
</div>
</div>
</div>
</div>
</section
Admin_account_process
<?php
include('config.php');
if(isset($_POST['addacc'])){
$name = $_POST['name'];
$user = $_POST['user'];
$pass = $_POST['pass'];
$type = $_POST['type'];
$addacc = $link->query("INSERT INTO account(name, user, pass,
type)VALUES('$name','$user','$pass',$type)");
if($addacc){
$message1 = "Account added successfully!";
echo "<script type='text/javascript'>alert('$message1');</script>";
header("Refresh:0; url=admin_dashboard.php?account=true");
<?php
}
else{
?>
<a id="exam"class="btn btn-
primary"href="admin_dashboard.php?exam_result=true&e_mail=<?php echo
$email;?>&level=<?php echo $level;?>&app_id=<?php echo $app_id;?
>&f_name=<?php echo $fname;?>&m_name=<?php echo $mname;?
>&l_name=<?php echo $lname;?>">View</a><br><br>
<?php
}
}
?>
</td>
</tr>
<tr>
<th>Accept Applicant</th>
<th>Enroll Student</th>
</tr>
<tr>
<td>
<a id="pass"class="btn btn-primary"href="sendMessage.php?
downpayment=true&e_mail=<?php echo $email;?>&app_id=<?php echo
$app_id;?>&f_name=<?php echo $fname;?>&m_name=<?php echo $mname;?
>&l_name=<?php echo $lname;?>">Send Email</a><br><br>
</td>
</td>
</tr>
</table>
</div>
</div>
</div>
</div>
</section
<div class="card">
<div class="card-body">
<h5 class="card-title">New Applicants</h5>
<p>You can enroll all new applicants here</p>
<?php
//$sql = "SELECT a.applicant_id, b.fname, b.mname, b.lname,
b.pic1x1, b.stud_sig, b.dad_sig, b.mom_sig, b.pay_rec FROM user as a inner join
applicant as b on a.applicant_id=b.applicant_id WHERE email='$sessionemail'";
//$sql = "SELECT * FROM user as a inner join applicant as b on
a.applicant_id=b.applicant_id";
$sql = "SELECT * FROM applicant as a inner join user as b on
a.applicant_id=b.applicant_id WHERE status='new' AND active='0'";
//$sql2 = "SELECT * from applicant WHERE email='$applicant'";
$result = mysqli_query($conn, $sql);
if(mysqli_num_rows($result) <= 0){
echo "<h2>Click Admission if you want to enroll</h2>";
}
else{
while($row=mysqli_fetch_assoc($result)){
$email = $row['email'];
$applicantid=$row['applicant_id'];
$firstname=$row['fname'];
$middlename=$row['mname'];
$lastname=$row['lname'];
$status=$row['status'];
$pic1x1=$row['pic1x1'];
$stud_sig=$row['birth_cert'];
$dad_sig=$row['good_moral'];
$mom_sig=$row['form_137'];
$pay_rec=$row['pay_rec'];
//$img = mysqli_query('SELECT
pic1x1stud_sigdad_sigmom_sigpay_rec')
?>
<!-- Table with stripped rows -->
<table class="table">
<tr>
<th scope="col">Applicant ID</th>
<th scope="col">Full Name</th>
<th scope="col">Email</th>
<th scope="col">Grade Level</th>
<th scope="col">Action</th>
<!--<th scope="col">Profile</th>
<th scope="col">Downpayment</th>
<?php
}
}
?>
<!-- End Table with stripped rows -->
</div>
</div>
</div>
</div>
<tr>
<th>9:30 am</th>
</div>
</div>
</div>
</div>
</section>
$fileName = $_FILES["file"]['name'];
$fileTmpName = $_FILES["file"]['tmp_name'];
$fileSize = $_FILES["file"]['size'];
$fileError = $_FILES["file"]['error'];
$fileType = $_FILES["file"]['type'];
}
elseif(isset($_POST['delete'])){
$id = $_POST['id'];
$delete = $link->query("DELETE FROM carousel WHERE id='$id'");
if($delete){
$msg = "Successfully deleted!";
echo "<script> alert('$msg')</script>";
echo "<script>location.href = 'admin_dashboard.php?
admin_settings=true';</script>";
Admin_class
<section class="section">
<div class="row">
<div class="col-lg-12">
<div class="card">
<div class="card-body">
<h5 class="card-title"><?php echo $subject_id;?></h5>
<p>This is an examle page with no contrnt. You can use it as a starter
for your custom pages.</p>
<form>
</div>
</div>
</div>
</div>
</section
Admin_class_view
Admin_dashboard
<?php
session_start();
include('config.php');
include('connection.php');
if($_SESSION['login'] =! "true" || $_SESSION['username'] == "" ||
$_SESSION['name'] == ""){
session_destroy();
header('Location:admin_login.php');
}
$name = $_SESSION['name'];
$username = $_SESSION['username'];
$type = $_SESSION['type'];
echo $username . $type;
$login = $_SESSION['login'];
$sql="SELECT * FROM(SELECT * FROM chat ORDER BY ID DESC
LIMIT 5)g ORDER BY g.id";
$query = mysqli_query($conn,$sql);
<head>
<script src="search.js">
</script>
<script src="app.js">
</script>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>Dashboard - Admin</title>
<meta content="" name="description">
<meta content="" name="keywords">
<!--
=======================================================
* Template Name: NiceAdmin - v2.1.0
* Template URL: https://bootstrapmade.com/nice-admin-bootstrap-admin-html-
template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
======================================================== --
>
</head>
<body>
<!-- ======= Header ======= -->
<header id="header" class="header fixed-top d-flex align-items-center">
<div class="d-flex align-items-center justify-content-between">
<a href="admin_dashboard.php" class="logo d-flex align-items-center">
<img src="assets/img/logo.png" alt="">
<span class="d-none d-lg-block">IFL</span>
</a>
<div class="search-bar">
<form class="search-form d-flex align-items-center" method="POST"
action="#">
<input type="text" name="search" id="filter" placeholder="Search"
autocomplete="off" title="Enter search keyword">
<button type="submit" title="Search"><i class="bi
bi-search"></i></button>
</form>
</div>
<!-- End Search Bar -->
<nav class="header-nav ms-auto">
<ul class="d-flex align-items-center">
</div>
</div>
</div>
</div>
</li>
<li class="dropdown-header">
You have <?php echo $numb;?> new notifications
<a href="admin_dashboard.php?notif=true"><span
class="badge rounded-pill bg-primary p-2 ms-2">View All</span></a>
</li>
<li>
<hr class="dropdown-divider">
</li>
</ul>
<!-- End Notification Dropdown Items -->
</li>
<!-- End Messages Nav -->
</ul>
<!-- End Profile Dropdown Items -->
</li>
<!-- End Profile Nav -->
</header>
<!-- End Header -->
</aside>
<!-- End Sidebar-->
?>
</main>
<!-- End #main -->
</body>
</html>
Admin_exam_result
<?php
$email = $_GET['e_mail'];
$level = $_GET['level'];
$app_id = $_GET['app_id'];
$f_name = $_GET['f_name'];
$m_name = $_GET['m_name'];
$l_name = $_GET['l_name'];
?>
</tr>
</table>
<p class="card-title">Upload Results Here</p>
<form action="admin_exam_result_upload.php" method="POST"
class="form-horizontal" enctype="multipart/form-data">
<div class="col-lg-4">
<input type="hidden" name="email" value="<?php echo
$email;?>">
Admin_exam_result_upload
<?php
//END OF INSERT TO DB
==========================================================
============== //
?>
Admin_faculty
<section class="section">
<table class="table">
<tr>
<th scope="col">Faculty Name</th>
<th scope="col">Designation</th>
</tr>
<!--
==========================================================
================= -->
<?php
$sql = "SELECT * FROM account where type=2";
$subject = mysqli_query($conn,$sql);
if(mysqli_num_rows($subject) > 0){
while($row=mysqli_fetch_assoc($subject)){
$id = $row['id'];
$subjectid=$row['name'];
//$subjectname=$row['level'];
?>
<tr>
<form action="admin_faculty_upload.php"
method="post">
<input type="hidden" name="id" value="<?php echo
$row['id'];?>"></input>
<?php
}
Admin_grades
<section class="section">
Admin_grades_list
<script src="search.js"></script>
<script src="app.js"></script>
<tr>
<form action="grades-upload.php" method="post">
<td><?php echo $row['applicant_id'];?></td>
<td><?php echo $row['lname'];?>, <?php echo
$row['fname'];?> <?php echo $row['mname'];?></td>
<td><?php echo $row['level'];?></td>
<td><?php echo $row['subject_id'];?></td>
<td><input type="text" name="prelims" class="form-control"
value="<?=$row['prelims'];?>"></input></td>
<td><input type="text" name="midterms" class="form-
control" value="<?=$row['midterms'];?>"></input></td>
<td><input type="text" name="prefinals" class="form-
control" value="<?=$row['prefinals'];?>"></input></td>
<td><input type="text" name="finals" class="form-control"
value="<?=$row['finals'];?>"></input></td>
<!--<td><a href="grades-upload.php?app_id=<?
=$row['applicant_id'];?>&prel=<?=$row['prelims'];?>&mid=<?
Admin_home
<?php
$applicants = "SELECT * FROM applicant";
$resultapplicant = mysqli_query($conn, $applicants);
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- End Revenue Card -->
</div>
</div>
</div>
</div>
</div>
<!-- End Sales Card -->
</div>
</div>
<!-- End Left side columns -->
</div>
</section>
Admin_login
<?php
session_start();
if(isset($_SESSION['login']))
/* Avatar image */
/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
span.psw {
display: block;
float: none;
}
.cancelbtn {
width: 100%;
}
}
.login_type {
opacity: 0%;
}
</style>
</head>
<?php
session_start();
include('config.php');
if(isset($_POST['login'])){
$username = $_POST['username'];
$password = $_POST['password'];
$check = $link->query("SELECT * FROM admin where user='$username'
AND pass='$password'");
$checkother = $link->query("SELECT * FROM account where
user='$username' AND pass='$password'");
if(mysqli_num_rows($check) <=0 && mysqli_num_rows($checkother)
<=0){
$message1 = "Account not found. Either incorrect username or
password.";
echo "<script type='text/javascript'>alert('$message1');</script>";
echo "<script>location.href = 'admin_login.php?';</script>";
}
elseif(mysqli_num_rows($check) > 0){
while($fetch = $check->fetch_array()){
$getname = $fetch['name'];
$_SESSION['login'] = "true";
$_SESSION['type'] = "0";
$_SESSION['username'] = $username;
}
elseif(mysqli_num_rows($checkother) > 0){
while($fetch = $checkother->fetch_array()){
$gettype = $fetch['type'];
$getname = $fetch['name'];
}
$_SESSION['login'] = "true";
$_SESSION['type'] = "$gettype";
$_SESSION['username'] = $username;
$_SESSION['name'] = $getname;
header("Location:admin_dashboard.php?
home=true&type=0&username=$user");
}
else{
$_SESSION['login'] = "true";
$_SESSION['type'] = "0";
$_SESSION['username'] = $username;
header("Location:admin_dashboard.php?
home=true&type=0&username=$user");
}
}
?>
Admin_price
<section class="section">
<div class="row">
if($queryadd){
?>
<form name="submit" id="submit" method="POST"
action="admin_dashboard.php?price=true">
<input type="hidden" name="test">
</form>
<script>
window.onload = function(){
document.forms['submit'].submit();
}
</script>
<?php
//header('Location:admin_dashboard.php?price=true');
}
else{
echo "Error in: " . $add . " " . mysqli_error($link);
header('Refresh: 0; url:admin_dashboard.php?price=true');
}
}
?>
Admin_price_list
<?php
include('config.php');
$level = $_GET['level'];
</div>
<div class="col-xl-8">
<div class="card">
<div class="card-body pt-3">
<!-- Bordered Tabs -->
<ul class="nav nav-tabs nav-tabs-bordered">
<li class="nav-item">
<button class="nav-link active" data-bs-toggle="tab" data-
bs-target="#profile-overview">Overview</button>
</li>
<li class="nav-item">
<button class="nav-link" data-bs-toggle="tab" data-bs-
target="#profile-edit">Edit Profile</button>
</li>
<li class="nav-item">
<li class="nav-item">
<button class="nav-link" data-bs-toggle="tab" data-bs-
target="#profile-change-password">Change Password</button>
</li>
</ul>
<div class="tab-content pt-2">
<div class="row">
<div class="col-lg-3 col-md-4 label ">Full Name</div>
<div class="col-lg-9 col-md-8"><?php echo
$row['lname'];?>, <?php echo $row['fname'];?> <?php echo
$row['mname'];?></div>
</div>
<div class="row">
<div class="row">
<div class="col-lg-3 col-md-4 label">Age</div>
<div class="col-lg-9 col-md-8"><?php echo
$row['age'];?></div>
</div>
<div class="row">
<div class="col-lg-3 col-md-4 label">Address</div>
<div class="col-lg-9 col-md-8"><?php echo
$row['address'];?></div>
</div>
<div class="row">
<div class="col-lg-3 col-md-4 label">Place of
Birth</div>
<div class="col-lg-9 col-md-8"><?php echo
$row['pob'];?></div>
</div>
<div class="row">
<div class="col-lg-3 col-md-4 label">Religion</div>
<div class="col-lg-9 col-md-8"><?php echo
$row['religion'];?></div>
</div>
<div class="row">
</div>
<div class="text-center">
<button type="submit" class="btn btn-primary">Save
Changes</button>
</div>
</form>
<!-- End Profile Edit Form -->
<div class="text-center">
<button type="submit" class="btn btn-primary">Save
Changes</button>
</div>
</form>
<!-- End settings Form -->
</div>
<div class="text-center">
<button type="submit" class="btn btn-
primary">Change Password</button>
</div>
</form>
</div>
</div>
<!-- End Bordered Tabs -->
</div>
</div>
</div>
</div>
</section>
<?php
}
}
}
?>
Admin_reports
<?php
if(isset($_POST['submit'])){
$app_id = $_POST['app_id'];
$LRN = $_POST['LRN'];
$remarks = $_POST['remarks'];
$update = $link->query("UPDATE applicant SET remarks='$remarks',
LRN=$LRN WHERE applicant_id=$app_id");
if($update){
$msg = "Successfully Updated!";
echo "<script> alert('$msg')</script>";
echo "<script>location.href = 'admin_dashboard.php?report=true';</script>";
}
</div>
<b>List and Code of Indicators under REMARKS column</b>
<table class="table">
<tr>
<th>Indicator</th>
<th>Code</th>
<th>Required Information</th>
<th></th>
<th>Code</th>
<th>Required Information</th>
</tr>
<tr>
<td>Transferred Out</td>
<td>T/O</td>
<td>Name of Public(P)Private(PR)School & Effectivity
Date</td>
<td></td>
<td>CCT</td>
<td>CCT Control/Reference Number & Effectivity Date</td>
</tr>
<tr>
<td>Transferred In</td>
<td>T/I</td>
<section class="section">
<div class="row">
<div class="col-lg-12">
<div class="card">
<div class="card-body">
<h5 class="card-title">Room</h5>
if($resultinsert){
if($insertaudit){
$success = "Added successfully";
echo "<script type='text/javascript'>alert('$success');</script>";
header("Refresh:0; url=admin_dashboard.php?room=true");
}
else{
echo "Error: " . $audit . "<br>" . mysqli_error($link);
}
}
else{
echo "Error: " . $insert . "<br>" . mysqli_error($link);
}
}
elseif(isset($_POST['edit'])){
$id = $_POST['index'];
$room = $_POST['room'];
$update = "UPDATE room SET room='$room' WHERE id='$id'";
$resultupdate = mysqli_query($link, $update);
if($resultupdate){
if($insertaudit){
$success = "Edit successful";
echo "<script type='text/javascript'>alert('$success');</script>";
header("Refresh:0; url=admin_dashboard.php?room=true");
}
else{
echo "Error: " . $audit . "<br>" . mysqli_error($link);
}
}
else{
echo "Error: " . $update . "<br>" . mysqli_error($link);
}
}
elseif(isset($_POST['delete'])){
$id = $_POST['index'];
$room = $_POST['room'];
$delete = "DELETE FROM room WHERE id='$id'";
$resultdelete = mysqli_query($link, $delete);
if($resultdelete){
$delete = "Delete successful";
echo "<script type='text/javascript'>alert('$delete');</script>";
header("Refresh:0; url=admin_dashboard.php?room=true");
}
else{
echo "Error: " . $delete . "<br>" . mysqli_error($link);
<!--
==========================================================
================= -->
<p class="card-title">Time End</p>
<select class="form-control" name="time_end">
<option value="6:00 am">6:00 am</option>
<option value="6:30 am">6:30 am</option>
<option value="7:00 am">7:00 am</option>
<option value="7:30 am">7:30 am</option>
<option value="8:00 am">8:00 am</option>
<option value="8:30 am">8:30 am</option>
<option value="9:00 am">9:00 am</option>
<option value="9:30 am">9:30 am</option>
<option value="10:00 am">10:00 am</option>
<option value="10:30 am">10:30 am</option>
<option value="11:00 am">11:00 am</option>
<option value="11:30 am">11:30 am</option>
<option value="12:00 pm">12:00 pm</option>
<option value="12:30 pm">12:30 pm</option>
<option value="1:00 pm">1:00 pm </option>
<option value="1:30 pm">1:30 pm</option>
<option value="2:00 pm">2:00 pm</option>
<tr>
<form action="admin_schoolyear_add.php"
method="post">
<input type="hidden" name="id" value="<?php echo
$row['id'];?>"></input>
<td><input type="text" name="schoolyear"
class="form-control" value="<?php echo $row['schoolyear'];?>"></input></td>
<td>
<input class="btn btn-primary" type="submit"
name="edit" value="Edit"></input>
<input class="btn btn-danger"type="submit"
name="delete" value="Delete">
<?php
if($active == 1){
?>
<input disabled type="submit" class="btn btn-
success" name="active" value="Active">
<?php
}
else{
?>
<input type="submit" class="btn btn-danger"
name="inactive" value="Activate">
<?php
}
}
else {
echo "<h4>No School Years Added.</h4>";
}
?>
</table>
</div>
</div>
</div>
</div>
</section>
Admin_school year_add
<?php
include('config.php');
if(isset($_POST['add'])){
//$id = $_POST['index'];
$sy = $_POST['schoolyear'];
$insert = "INSERT INTO schoolyear(schoolyear)VALUES('$sy')";
$resultinsert = mysqli_query($link, $insert);
if($resultinsert){
if($insertaudit){
$success = "Added successfully";
echo "<script type='text/javascript'>alert('$success');</script>";
header("Refresh:0; url=admin_dashboard.php?sy=true");
}
else{
echo "Error: " . $audit . "<br>" . mysqli_error($link);
}
}
else{
echo "Error: " . $insert . "<br>" . mysqli_error($link);
}
}
elseif(isset($_POST['edit'])){
$id = $_POST['id'];
$sy = $_POST['schoolyear'];
$update = "UPDATE schoolyear SET schoolyear='$sy' WHERE id='$id'";
$resultupdate = mysqli_query($link, $update);
if($resultupdate){
if($insertaudit){
}
elseif(isset($_POST['delete'])){
$id = $_POST['id'];
$sy = $_POST['schoolyear'];
$delete = "DELETE FROM schoolyear WHERE id='$id'";
$resultdelete = mysqli_query($link, $delete);
if($resultdelete){
if($insertaudit){
$delete = "Delete successful";
echo "<script type='text/javascript'>alert('$delete');</script>";
header("Refresh:0; url=admin_dashboard.php?sy=true");
}
else{
}
elseif(isset($_POST['deletesched'])){
$id = $_POST['id'];
$sectionid = $_POST['sectionid'];
$deletesched = $link->query("DELETE FROM section_sched WHERE
id=$id");
if($deletesched){
header('Refresh: 0; url=admin_dashboard.php?
section_sched=true§ionid='.$sectionid);
}
}
?>
Admin_student
<section class="section">
<div class="row">
<div class="col-lg-12">
Admin_student_view
<section class="section">
<div class="row">
<div class="col-lg-12">
<div class="card">
<div class="card-body">
<h5 class="card-title">Student's Registration Assessment Form</h5>
<p></p>
<?php
$app_id = $_GET['app_id'];
$f_name = $_GET['f_name'];
$m_name = $_GET['m_name'];
$l_name = $_GET['l_name'];
$level = $_GET['level'];
$section_id = $_GET['section_id'];
?>
<table class="table table-bordered">
<tr>
<th><center>Student Information</th>
<td><center>SY & Term:</td>
<?php
$sy = $link->query("SELECT * from schoolyear WHERE
active=1");
while ($fetch = $sy->fetch_array()) {
?>
<td><center><?php echo $fetch['schoolyear']?></td>
<?php
}
?>
<th><center>Section</th>
<td><center><?php echo $section_id?></td>
<td><center>Grade/Year Level:</td>
<td><center><?php echo $level;?></td>
</tr>
<tr>
<th><center><?php echo $app_id?></th>
<th colspan="2"><center><?php echo $l_name;?></th>
<th colspan="2"><center><?php echo $f_name;?></th>
<th colspan="2"><center><?php echo $m_name;?></th>
</tr>
<tr>
Admin_student_list
<section class="section">
<div class="row">
<div class="col-lg-12">
<div class="card">
<div class="card-body">
<h5 class="card-title">Students</h5>
<p>You can view all new students here</p>
<table class="table">
<tr>
<th scope="col">Applicant ID</th>
<th scope="col">First Name</th>
<th scope="col">Middle Name</th>
<th scope="col">Last Name</th>
<th scope="col">Status</th>
<th scope="col">Grade Level</th>
<th scope="col">View</th>
</tr>
<?php
$pic1x1=$row['pic1x1'];
$stud_sig=$row['birth_cert'];
$dad_sig=$row['good_moral'];
$mom_sig=$row['form_137'];
$pay_rec=$row['pay_rec'];
//$img = mysqli_query('SELECT
pic1x1stud_sigdad_sigmom_sigpay_rec')
?>
<!-- Table with stripped rows -->
<tr>
<td scope="row"><?php echo $row['applicant_id'];?></th>
<td><?php echo $row['fname'];?></td>
<td><?php echo $row['mname'];?></td>
<td><?php echo $row['lname'];?></td>
<td><?php echo $row['status'];?></td>
<td><?php echo $row['level'];?></td>
<td><a href="admin_dashboard.php?profile=true&app_id=<?
= $row['applicant_id']?>
§ion_id=<?=$row['section_id']?>
</div>
</div>
</div>
</div>
</section>
<section class="section">
<div class="row">
<div class="col-lg-12">
<div class="card">
<div class="card-body">
<h5 class="card-title">Regular Student Applicants</h5>
<p>You can enroll all regular students here</p>
<?php
//$sql = "SELECT a.applicant_id, b.fname, b.mname, b.lname,
b.pic1x1, b.stud_sig, b.dad_sig, b.mom_sig, b.pay_rec FROM user as a inner join
applicant as b on a.applicant_id=b.applicant_id WHERE email='$sessionemail'";
<?php
}
}
?>
<!-- End Table with stripped rows -->
</div>
</div>
</div>
</main>
Admin_subject
<section class="section">
<div class="row">
<div class="col-lg-12">
<div class="card">
<div class="card-body">
<h5 class="card-title">Subject</h5>
<p>You can add/edit Subjects here.</p>
<form method="POST" action="subject_process.php">
<div class="row">
<div class="col-sm-3">
<p>Subject ID</p>
<input type="text" name="subject_id" class="form-
control" required>
</div>
<div class="col-sm-3">
<p>Subject Name</p>
<input type="text" name="subject_name"
class="form-control" required>
</div>
<div class="col-sm-3">
<p>Grade Level</p>
<select name="level" class="form-control">
<option value="Nursery">Nursery</option>
<tr>
<form action="admin_subject_update.php"
method="post">
<input type="hidden" name="index"
value="<?php echo $row['id'];?>"></input>
<td><input type="text" name="subjectid"
class="form-control" value="<?php echo $row['subject_id'];?>"></input></td>
<td><input type="text" name="subjectname"
class="form-control" value="<?php echo
$row['subject_name'];?>"></input></td>
<td><select name="level" class="form-
control">
<option style="background-color: grey;"
selected value="<?php echo $row['level'];?>"><?php echo
$row['level'];?></option>
<option
value="Nursery">Nursery</option>
<option value="Pre-Kinder">Pre-
Kinder</option>
<?php
}
}
else {
echo "<h4>No sections found.</h4>";
}
?>
</table>
</div>
</div>
</div>
</div>
</div>
</section>
Admin_subject_update
<?php
include('config.php');
if(isset($_POST['edit'])){
$id = $_POST['index'];
$subject_id = $_POST['subjectid'];
$subject_name = $_POST['subjectname'];
$level = $_POST['level'];
$update = "UPDATE subject SET subject_id='$subject_id',
subject_name='$subject_name', level='$level' WHERE id='$id'";
if($resultupdate){
if($insertaudit){
$success = "Edit successful";
echo "<script type='text/javascript'>alert('$success');</script>";
header("Refresh:0; url=admin_dashboard.php?subjecting=true");
}
else{
echo "Error: " . $audit . "<br>" . mysqli_error($link);
}
}
else{
echo "Error: " . $update . "<br>" . mysqli_error($link);
}
}
elseif(isset($_POST['delete'])){
$id = $_POST['index'];
$subject_id = $_POST['subjectid'];
$subject_name = $_POST['subjectname'];
$delete = "DELETE FROM subject WHERE id='$id'";
$resultdelete = mysqli_query($link, $delete);
if($resultdelete){
$delete = "Delete successful";
echo "<script type='text/javascript'>alert('$delete');</script>";
}
else{
echo "Error: " . $_POST . "<br>" . mysqli_error($link);
}
?>
Admin_view_students
<section class="section">
<div class="row">
<div class="col-lg-12">
<div class="card">
<div class="card-body">
<h5 class="card-title">Select Class</h5>
$today = date("Y-m-d");
$diff = date_diff(date_create($dateofbirth), date_create($today));
$age = $diff->format("%y");
// REQUIREMENTS UPLOAD
==========================================================
============= //
$target_dir = "applicant/".$lastname."_".$firstname."/";
//$pic1x1 = $target_dir . basename($_FILES["1x1"]["name"]);
//$studentsignature = $target_dir . basename($_FILES["birth_cert"]["name"]);
//$fathersignature = $target_dir . basename($_FILES["good_moral"]["name"]);
//$mothersignature = $target_dir . basename($_FILES["form_137"]["name"]);
$paymentreceipt = $target_dir . basename($_FILES["payment_receipt"]
["name"]);
$uploadOk = 1;
$imageFileType =
strtolower(pathinfo($paymentreceipt,PATHINFO_EXTENSION));
if(mysqli_query($conn,$insert)){
if($resultnotif){
$message = "You have successfully registered!";
//echo "<script type='text/javascript'>alert('$message');</script>";
header("Location:student_dashboard.php?
f_name=$firstname&m_name=$middlename&l_name=$lastname");
if(!file_exists($target_dir)) {
mkdir($target_dir, 0777, true);
if(move_uploaded_file($_FILES["payment_receipt"]
["tmp_name"], $paymentreceipt)){
$messagesuccess = "The files
".htmlspecialchars( basename( $_FILES["payment_receipt"]["name"])). " has
been uploaded.";
echo "<script type='text/javascript'>alert('$message
$messagesuccess');</script>";
}
else{
$message = "Sorry, there was an error uploading your file.";
echo "<script type='text/javascript'>alert('$message');</script>";
header("Refresh:0; Location:index.php");
}
}
exit();
}
}
else {
//END OF INSERT TO DB
==========================================================
============== //
?>
Config
<?php
/* Database credentials. Assuming you are running MySQL
server with default setting (user 'root' with no password) */
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'root');
define('DB_PASSWORD', '');
define('DB_NAME', 'ifl');
// Check connection
if($link === false){
$output = "";
if(isset($_GET['sched'])){
$output .="
<table>
<thead>
<tr>
<th>Subject</th>
<th>Level/Section</th>
<th>Days</th>
<th>Semester</th>
<th>Time</th>
<th>Room</th>
<th>Instructor</th>
</tr>
<tbody>
";
$query = $conn->query("SELECT * FROM `schedule`");
while($fetch = $query->fetch_array()){
$app_id = $_GET['app_id'];
$f_name = $_GET['f_name'];
$m_name = $_GET['m_name'];
$l_name = $_GET['l_name'];
$level = $_GET['level'];
$output .="
<table>
<thead>
<tr>
<th>Student Information</th>
while($fetch = $query->fetch_array()){
$output .= "
<tr>
<td>".$fetch['subject_name']."</td>
<td>".$fetch['section_id']."</td>
<td>".$fetch['days']."</td>
<td>".$fetch['semester']."</td>
<td>".$fetch['time']."</td>
<td>".$fetch['room']."</td>
<td>".$fetch['faculty']."</td>
</tr>
while($fetch = $finance->fetch_array()){
$output .="
<tr>
<td colspan='4'>".$fetch['fee_name']."</td>
<td colspan='3'>".$fetch['price']."</td>
</tr>
";
}
$sum = $conn->query("SELECT SUM(price) FROM fees
WHERE level='$level'");
while ($fetch = $sum->fetch_array()){
$output .="
<tr>
<th colspan='4'>Total</td>
echo $output;
}
?>
Grades
<section class="section">
<div class="row">
<div class="col-lg-12">
<div class="card">
<div class="card-body">
<h5 class="card-title">Grade Upload Module</h5>
<p>You can view all the students' grades here</p>
<table class="table">
?>
login_check
<?php
session_start();
require('connection.php');
if(isset($_POST['login'])&& !empty($_POST['username'])&& !
empty($_POST['password'])) {
$user = $_POST['username'];
$pass = $_POST['password'];
$_SESSION['username'] = $user;
$_SESSION['password'] = $pass;
$login_check = "SELECT * FROM admin WHERE user='$user' AND
pass='$pass'";
$result = mysqli_query($conn, $login_check);
$row_count= mysqli_num_rows($result);
if ($row_count > 0) {
$_SESSION['login'] = "true";
header("Location:admin_dashboard.php?home=true");
?>
pre-enrollment email
<?php
session_start();
require('connection.php');
use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\SMTP;
use PHPMailer\PHPMailer\Exception;
require_once "vendor/autoload.php";
if(isset($_POST['email'])){
$firstname = $_POST['firstname'];
$middlename = $_POST['middlename'];
$lastname = $_POST['lastname'];
$contact = $_POST['contact'];
$email = $_POST['email'];
$format = date("Y");
$password = mt_rand(100000,999999);
/*
$_SESSION['fullname'] = $fullname;
$_SESSION['contact'] = $contact;
$_SESSION['email'] = $email;
$_SESSION['username'] = $username;
*/
$checking = "SELECT * FROM user WHERE email ='$email'
AND lastname = '$lastname'";
$result= mysqli_query($conn,$checking);
$row_count= mysqli_num_rows($result);
while($row=mysqli_fetch_assoc($resultapplicantid)){
$applicantid=$row['applicant_id'];
}
$mail->From = "clexydkurosaki@gmail.com";
$mail->FromName = "Clyde Francis Tome";
//$mail-
>addAddress("francis.tome@yahoo.com.ph", "Clyde Tome");
$mail->addAddress($email, $email);
$mail->isHTML(true);
if($resultnotif){
if($resultinsertaudit){
try {
$mail->send();
$message3 = "Registration
successful! Please check your email for your password.";
echo "<script
type='text/javascript'>alert('$message3');</script>";
header("Refresh:0;
url=index.php?
f_name=$firstname&m_name=$middlename&l_name=$lastname&e-
mail=$email");
} catch (Exception $e) {
echo "Mailer Error: " . $mail-
>ErrorInfo;
Website
The website of the enrollment system by typing the URL:
https://instituteforfoundationallearning.online of the school website to be able to
have pre-enrollment and enrollment. On other hand, the URL for admin,
registrar, and faculty :
https://instituteforfoundationallearning.online/admin_login.php.
Enter the
Enter the username
password
Accounts
name username password edit delete
Account type
Full name
User
Administrator account
input name
input Username
Add button
Input password
Registrar
The Registrar, can access the site by typing the URL:
https://instituteforfoundationallearning.online/admin_login.php. Registrar is
charge for the processing of the enrollment and pre-enrollment. Also, the registrar
can access the following: student list module, applicant list module, sections
module, faculty module, faculty module, room module, school year module, Price
for RAF module, Audit trails module, and Settings module.
Enter the
username
Enter the
password
Click the
login button
Homepage
Subject
Faculty
Room
Section Module
Delete button to
Edit button to change remove the subject
the subject ID, ID, Subject Name,
Subject Name, level level
Faculty Module
Edit button to change Delete button to remove
the Faculty Name, the Faculty Name,
Designated level Designated level
EDUCATIONAL BACKGROUND
Level Inclusive Dates Name of school/ Institution
Tertiary 2018-2022 STI College Calamba
Vocational/Technical 2016-2018 San Jose National High School
High School 2012-2016 San Jose National High School
Elementary 2006-2012 Binitayan Elementary School
AFFILIATIONS
Inclusive Dates Name of Organization Position
2021 Built for IT Students Member
2020 Built for IT Students Member
2019 Built for IT Students Member
2018 Built for IT Students Member
SKILLS
SKILLS Level of Competency Date Acquired
SAP Business One Beginner 2021
EDUCATIONAL BACKGROUND
Level Inclusive Dates Name of school/ Institution
Tertiary 2018-2022 STI College Calamba
Senior High School 2016-2018 Institue for Foundational Learning Inc.
High School 2012-2016 Institue for Foundational Learning Inc.
Elementary 2006-2012 Our Lady of Assumption College
AFFILIATIONS
Inclusive Dates Name of Organization Position
2021 Built for IT Students Secretary
2020 Built for IT Students Secretary
2019 Built for IT Students Member
2018 Built for IT Students Member
SKILLS
SKILLS Level of Competency Date Acquired
SAP Business One Beginner 2021
EDUCATIONAL BACKGROUND
Level Inclusive Dates Name of school/ Institution
Tertiary 2018-2022 STI College Calamba
Senior High School 2016-2018 St.Thomas Academy
High School 2012-2016 St.Thomas Academy
Elementary 2006-2012 Lilyrose School Foundational Inc.
AFFILIATIONS
Inclusive Dates Name of Organization Position
2021 Built for IT Students Member
2020 Built for IT Students Member
2019 Built for IT Students Member
2018 Built for IT Students Member
SKILLS
SKILLS Level of Competency Date Acquired
SAP Business One Beginner 2021
Curriculum Vitae of
Clyde Francis M. Tome
Block 8 Lot 24 San Isidro home, San Isidro, Cabuyao Laguna
francis.tome@yahoo.com
092115926484
EDUCATIONAL BACKGROUND
Level Inclusive Dates Name of school/ Institution
Tertiary 2018-2022 STI College Calamba
Vocational/Technical 2016-2018 STI College Calamba
High School 2012-2016 Infant Jesus Montessori Center - Main
Elementary 2006-2012 Infant Jesus Montessori Center - Main
AFFILIATIONS
Inclusive Dates Name of Organization Position
2018-2021 Built for IT Students President
2017-2018 A.I Club Representative
2017-2018 Hearbeats Music Club Vice-President
2016-2017 Computer Enthusiasts Vice-President
2016-2017 Glee Club President
SKILLS
SKILLS Level of Competency Date Acquired
SAP Business One Beginner 2021
Digital Portrait Intermediate 2017
Portrait Sketching Intermediate 2016
C# Programming Intermediate 2016
Java Programming Intermediate 2016