Soams (Report) 01
Soams (Report) 01
ABSTRACT
The Student Online Attendance Management System is a web-based application designed to streamline the
attendance tracking process in educational institutions. Traditionally, attendance is recorded manually, which
is time-consuming, inefficient, and prone to errors such as misplacement of records, manipulation, and
inaccuracies in data entry. This system, developed using PHP and MySQL, automates attendance management,
reducing administrative workload and ensuring high accuracy in record-keeping.
The system allows administrators and teachers to efficiently manage student attendance records, eliminating
the need for paper-based registers. The platform is accessible online, ensuring real-time attendance tracking
and report generation. Students can also view their attendance records, helping them stay updated on their
academic progress and allowing them to take necessary actions to improve attendance where needed.
This system provides multiple functionalities, including role-based access, where administrators can manage
users, students, and attendance data, teachers can mark and review attendance, and students can check their
records. The use of MySQL for database management ensures secure and scalable storage of data, while PHP-
based server-side scripting enables smooth backend processing and communication with the database.
Additionally, the system supports data backup and recovery mechanisms, ensuring that attendance records are
not lost in case of system failure.
With features such as real-time data updates, automated report generation, and secure access, this system
enhances efficiency and accuracy in attendance management. Additionally, it reduces paperwork, minimizes
errors, and offers valuable insights through analytics and reporting tools. The system also allows institutions
to analyze attendance patterns, identify trends, and generate performance reports for individual students or
classes. These reports can be used by teachers and administrators to take necessary actions, such as sending
notifications to students with low attendance.
The system is designed with a user-friendly interface to ensure ease of use for all stakeholders, including
teachers, students, and administrators. It incorporates security measures such as encrypted data storage,
authentication protocols, and access control mechanisms to prevent unauthorized access and protect sensitive
student records.
Overall, the Student Online Attendance Management System is an essential tool for modern educational
institutions, improving attendance monitoring, enhancing transparency, and fostering better engagement
between students and faculty. By leveraging the capabilities of web technology, it brings a seamless, effective,
and reliable solution to one of the most critical aspects of academic administration.
INDEX
CHAPTER CONTENT PAGE NO
NO
ABSTRACT
BIBLIOGRAPHY 70
CHAPTER 1
INTRODUCTION
1.1 Definition
The Student Online Attendance Management System is a web-based software application that automates
the process of recording and managing student attendance in educational institutions. It replaces traditional
paper-based registers with a digital solution, enhancing efficiency, accuracy, and accessibility.
This system allows teachers and administrators to mark attendance, generate reports, and monitor student
attendance trends in real time. Students can also log in to check their attendance records, ensuring
transparency and accountability. The platform is built using PHP for server-side scripting and MySQL for
database management, ensuring secure storage and retrieval of attendance data.
The system is designed to provide role-based access control, ensuring that only authorized users can manage
or view attendance records. By leveraging web technologies, the system allows institutions to reduce
paperwork, minimize errors, and provide real-time insights into student attendance trends. It supports features
such as automated report generation, real-time data updates, and data backup mechanisms, making it a reliable,
scalable, and user-friendly solution for educational institutions of all sizes.
1.2 Purpose
The purpose of the Student Online Attendance Management System is to provide an efficient, accurate, and
user-friendly platform for tracking student attendance in educational institutions. The manual method of
recording attendance is prone to errors, time-consuming, and inefficient, leading to difficulties in maintaining
records and generating reports. This system is designed to address these challenges by automating the
attendance process and ensuring real-time accessibility of records.
1. Automation of Attendance Tracking – Eliminates the need for paper registers, reducing human errors
and ensuring accurate record-keeping.
2. Real-Time Data Access – Enables teachers, administrators, and students to access attendance records
from anywhere through a web-based platform.
3. Role-Based Access Control – Ensures that only authorized personnel (administrators and teachers) can
mark and manage attendance records, while students can only view their records.
4. Improved Record Management – Centralized database storage using MySQL allows for secure and
efficient management of attendance data with easy retrieval and backup features.
1
5. Report Generation – Facilitates automatic report generation for students, classes, and overall
institution attendance trends, aiding decision-making for academic improvement.
6. Enhancing Transparency and Accountability – Provides students with direct access to their attendance
records, allowing them to monitor their performance and ensure compliance with institutional policies.
7. Scalability and Security – Developed using PHP and MySQL, ensuring that the system can handle
large amounts of data while implementing security measures like authentication, encryption, and data
backup.
8. Paperless and Eco-Friendly Solution – Reduces reliance on paper-based attendance registers,
promoting an environmentally friendly approach to record-keeping.
By fulfilling these objectives, the Student Online Attendance Management System contributes to improved
efficiency, accuracy, and accessibility in managing attendance records, ultimately enhancing the overall
educational experience for both students and faculty members.
1.3 Scope
The Student Online Attendance Management System is a web-based application designed for educational
institutions to automate attendance tracking. It eliminates the need for manual record-keeping, reduces errors,
and provides real-time access to attendance data.
Web-Based Accessibility: Can be accessed from any device with a web browser.
Role-Based Access:
o Administrators: Manage users, attendance data, and reports.
o Teachers: Mark and review attendance.
o Students: View their attendance records.
Database Management: MySQL stores attendance records securely.
Real-Time Tracking & Reporting: Generates automated reports for analysis.
Data Security: Implements authentication and encryption for data protection.
Scalability: Can be used in schools, colleges, and universities.
This system streamlines attendance management, improves transparency, and enhances efficiency in
educational institutions.
1.4 Overview
The Student Online Attendance Management System is a web-based application developed using PHP and
MySQL to automate student attendance tracking in educational institutions. This document provides a detailed
analysis of the system, covering its features, functionalities, and implementation.
2
The report is structured as follows
This document serves as a comprehensive guide for understanding the design, development, and
implementation of the Online Attendance Management System.
1.5 References
All sources related to PHP, MySQL, and web development frameworks are included in the reference
section.
3
CHAPTER 2
This chapter provides a comprehensive understanding of the Student Online Attendance Management System,
including its product perspective, functionalities, user roles, constraints, and dependencies.
The Student Online Attendance Management System is a web-based application designed to improve the
efficiency of attendance tracking in educational institutions. Traditionally, attendance is recorded manually
using paper-based registers or spreadsheets, which is time-consuming, prone to errors, and difficult to manage.
This system provides an automated solution to simplify the process and ensure accurate record-keeping.
Key Features
Online and Real-Time Access: The system is accessible from any device with a web browser.
Secure Data Storage: Attendance records are stored in a MySQL database, ensuring data integrity and
security.
Automated Report Generation: The system can generate daily, weekly, and monthly attendance reports.
Role-Based Access: Different users have specific privileges (Admin, Teacher, Student).
Scalability: Can be implemented in schools, colleges, universities, and training institutes.
The system integrates PHP for backend development, MySQL for database management, and HTML, CSS,
and JavaScript for the frontend interface. It provides a user-friendly experience, making it easy for students,
teachers, and administrators to use.
1. Administrator
o Manages student and teacher records.
o Controls user access and system configurations.
o Generates detailed attendance reports.
o Oversees data backup and security.
2. Teacher
o Marks student attendance in real time.
o Views and updates attendance records.
o Generates attendance reports for specific students or classes.
3. Student
o Views their own attendance records.
4
o Receives notifications if attendance falls below the required threshold.
Each user role has specific permissions to ensure data security and efficient management of attendance
records.
1. Administrators
o Require basic knowledge of database management and system settings.
o Manage users, student data, and system security.
2. Teachers
o Need minimal training to mark attendance and generate reports.
o Access records for classes assigned to them.
3. Students
o Can log in to check their attendance percentage.
o No technical knowledge is required.
The system ensures ease of use by providing a simple, intuitive web-based dashboard.
2.4 Constraints
Internet Dependency: Users must have an active internet connection to access the system.
User Authentication: Only registered users can access the system using valid login credentials.
Device Compatibility: The system is optimized for desktop and mobile browsers, but performance
may vary on different devices.
Server Capacity: The speed and performance of the system depend on the server infrastructure hosting
the database and web application.
For the successful implementation of the system, the following assumptions and dependencies must be
considered:
5
CHAPTER 3
SYSTEM ANALYSIS
3.1 Introduction
System analysis is a critical phase in software development that helps in understanding the system
requirements, identifying problems with the existing system, and designing a more efficient solution. The
Student Online Attendance Management System (SOAMS) is designed to automate the process of tracking
student attendance in educational institutions using PHP and MySQL.
The primary goal of this system is to replace traditional manual attendance methods (such as paper-based
registers or Excel sheets) with a secure, efficient, and automated web-based system. The proposed system
offers real-time attendance tracking, data security, and an easy-to-use interface for both teachers and students.
Most schools, colleges, and universities rely on manual attendance tracking, which has several disadvantages:
1. Time-Consuming Process
o Teachers need to manually mark attendance, which takes up valuable class time.
o At the end of each session, attendance must be compiled, increasing workload.
2. High Risk of Human Errors
o Teachers or administrators may accidentally mark the wrong student as present or absent.
o Handwritten records can be difficult to read, leading to misinterpretation.
3. Lack of Security & Data Integrity
o Attendance records can be altered, lost, or manipulated.
o Students may forge signatures or proxies might be given in manual systems.
4. Difficult Data Retrieval & Reporting
o Finding old attendance records requires manually searching through paper files.
o Generating reports for student attendance analysis takes extra effort and time.
5. No Real-Time Monitoring
o School administrators cannot track attendance immediately.
o Parents do not receive real-time updates about their child's attendance.
The existing system is outdated, inefficient, and prone to errors, making it necessary to develop a digital
attendance management system.
6
3.3 Proposed System
To overcome the limitations of the manual system, the Student Online Attendance Management System is
designed as a web-based application that allows teachers to mark attendance digitally and store data securely
in a MySQL database.
Saves Time – Automates attendance marking, reducing time spent on manual work.
Minimizes Errors – Eliminates human errors in marking attendance.
Improves Security – Data is stored securely with authentication mechanisms.
Enhances Accessibility – Students and teachers can access attendance data from anywhere.
Reduces Paperwork – Digital records eliminate the need for paper-based registers.
The proposed system modernizes attendance management, making it more efficient, secure, and accessible.
A feasibility study assesses whether the proposed system can be successfully implemented in terms of cost,
technology, and operations.
7
3.4.1 Economic Feasibility
The system is cost-effective as it eliminates the need for physical attendance registers.
Uses open-source technologies like PHP and MySQL, reducing development costs.
Reduces administrative costs by automating attendance tracking.
Generates automatic reports, eliminating the need for extra staff for attendance management.
The system is built using widely used web technologies (PHP, MySQL, HTML, CSS, JavaScript).
It can be hosted on any web server, making it easy to deploy.
The system supports multiple devices (computers, tablets, and smartphones).
Integration with existing Learning Management Systems (LMS) is possible.
The system is easy to use, requiring minimal training for teachers and students.
The interface is designed for efficiency, ensuring quick attendance marking.
Provides instant access to attendance records for students, teachers, and administrators.
Parents can be notified via email or SMS about their child’s attendance.
8
CHAPTER 4
REQUIREMENT SPECIFICATIONS
Any Version of browser after Mozilla Firefox 4.0, Internet Explorer 6.0,chrome
User Authentication
Attendance Recording
Report Generation
Dashboard for Admins and Students
9
CHAPTER 5
SOFTWARE DESCRIPTION
The Student Online Attendance Management System is developed using PHP and MySQL, which work
together to provide a dynamic, efficient, and secure web-based platform for managing student attendance
records. This chapter provides a detailed overview of these technologies and their role in the system.
PHP is a widely used server-side scripting language that enables dynamic web development and seamless
database interactions. It is an open-source, fast, and flexible language suitable for handling the system's
backend.
5.2 MySQL
MySQL is an open-source database management system that efficiently stores and retrieves attendance data. It
is scalable, reliable, and fast, making it ideal for educational systems.
1. Relational Database Model – Uses tables to organize student attendance data efficiently.
2. High Performance – Optimized for fast queries and data retrieval.
3. Security & Data Integrity – Implements encryption, authentication, and access control.
10
4. Scalability – Can handle large volumes of student data without performance loss.
5. Backup & Recovery – Supports automatic data backup to prevent data loss.
6. Multi-User Support – Allows multiple users (Admins, Teachers, Students) to access data
simultaneously.
7. ACID Compliance – Ensures accuracy, consistency, and reliability of data.
8. Compatibility – Works seamlessly with PHP, Python, Java, and other languages.
Stores Student & Faculty Data – Maintains structured records of all users.
Manages Attendance Logs – Saves, updates, and retrieves attendance details efficiently.
Generates Reports – Produces monthly and yearly attendance reports dynamically.
Ensures Data Security – Prevents unauthorized modifications using access control mechanisms.
11
CHAPTER 6
SYSTEM DESIGN
System design is the blueprint for developing the Student Online Attendance Management System. It involves
data flow representation, input/output design, and database structure to ensure efficient system performance.
These are known as the logical data flow diagrams. The physical data flow diagrams show the actual
implements and movement of data between people, departments and workstations.
A full description of a system actually consists of a set of data flow diagrams. Using two familiar
notations Yourdon, Gane and Sarson notation develops the data flow diagrams. Each component in a
DFD is labeled with a descriptive name. Process is further identified with a number that will be used
for identification purpose.
The development of DFD’S is done in several levels. Each process in lower level diagrams can be
broken down into a more detailed DFD in the next level. The lop-level diagram is often called context
diagram.
It consists single process bit, which plays vital role in studying the current system. The process in the
context level diagram is exploded into other process at the first level DFD.
The idea behind the explosion of a process into more process is that understanding at one level of detail
is exploded into greater detail at the next level. This is done until further explosion is necessary and an
adequate amount of detail is described for analyst to understand the process
12
Figure 6.1 - Data Flow Diagram
13
6.1.1 0-Level DFD (Context Diagram)
The 0-Level DFD represents the entire system as a single process interacting with external entities (Admin,
Teacher, Student).
Description:
ATTANDANCE
MANAGEMENT REPORT
USER
SYSTEM
DATABASE
The 1-Level DFD expands on the 0-Level DFD, breaking the system into multiple sub-processes.
Description:
The system consists of User Authentication, Attendance Marking, Report Generation, and Database
Management.
Admin can manage users and generate reports.
Teachers can update attendance.
Students can mark their attendance.
14
PERSON
ENTRY
LOGIN
INVALID
UID / PWD
USER
AUTHENDICAT CHECK
DATABASE
ION
ADMIN
STAFF
ACCESS
ACCESS
15
6.2 Use Case Diagram
16
6.3 ENTITY-RELATIONSHIP Diagrams
17
6.4 Input Design
Input design ensures data is entered correctly and securely into the system.
18
CHAPTER 7
DATABASE TABLE
The Student Online Attendance Management System relies on a well-structured MySQL database to store and
manage data efficiently. This chapter explains the key database tables and their relationships.
The system includes multiple tables to handle different entities such as users, students, teachers, attendance
records, and courses.
This table stores the login credentials of users, ensuring secure authentication.
19
7.2 Teacher Table
Stores student details such as name, enrollment number, course, and year.
20
7.4 Attendance Table
This table records attendance status for each student in different subjects.
21
CHAPTER 8
PROJECT DESCRIPTION
Solution
To overcome these challenges, we develop a Student Online Attendance Management System using PHP
and MySQL. This system automates attendance tracking, stores data securely, and generates reports, making
the process faster, more reliable, and efficient.
The Student Online Attendance Management System is a web-based application that allows:
Features:
22
8.3 Module Description
The Student Online Attendance Management System consists of three key modules:
Each module plays a crucial role in ensuring an efficient and structured attendance management system.
Admin Module
The Admin Module is responsible for managing the entire system. It allows administrators to:
Key Features:
Teacher Module
The Teacher Module is designed for instructors to mark and manage student attendance.
Key Features:
1. Mark Attendance – Teachers can mark attendance daily or for specific dates.
2. Update Attendance – Modify attendance records if necessary.
3. Generate Reports – View attendance summaries and generate reports.
4. Send Alerts – Notify students about low attendance.
23
Student Module
The Student Module allows students to track their attendance records in real-time.
Key Features:
24
CHAPTER 9
SYSTEM TESTING
9.1 Introduction
System testing is the process of evaluating the complete system to ensure that it meets specified requirements.
It validates both functional and non-functional aspects of the application.
System testing ensures that the entire Student Online Attendance Management System functions correctly as a
whole. It includes:
Functional Testing: Ensures that features like user authentication, attendance marking, and report
generation work as expected.
Integration Testing: Checks that various modules (e.g., database, user interface, and backend)
communicate correctly.
Regression Testing: Ensures that new changes do not break existing functionality.
Security Testing: Validates that unauthorized access is prevented and user data is secure.
Performance testing evaluates how the system behaves under different conditions:
Load Testing: Measures system performance under normal and peak user loads.
Stress Testing: Determines the system's stability under extreme conditions.
Scalability Testing: Checks how well the system can handle an increasing number of users.
Response Time Testing: Measures the time taken to process user requests and generate reports.
25
9.3 Test Cases Example
A test case is a structured set of inputs, execution steps, and expected results to verify system behavior.
Below is an example of key test cases:
Test Case
Test Scenario Test Steps Expected Output Actual Output Status
ID
User logs in
CS001 User Login Enter correct credentials User logged in Passed
successfully
B001 Slow attendance report generation High Fixed Optimized database queries
B002 Incorrect password login not showing error Medium Fixed Added error message for failed login
B003 Student able to edit attendance High Fixed Restricted student permissions
26
CHAPTER 10
SYSTEM MAINTENANCE
System maintenance ensures the long-term reliability, security, and efficiency of the Student Online
Attendance Management System. It helps in fixing bugs, improving performance, and adapting to changing
requirements.
27
10.3 Maintenance Procedures
Regular System Updates: Keeping the software up to date with security patches and performance
improvements.
User Feedback Implementation: Addressing concerns and suggestions from users to improve the
system.
Backup and Recovery: Ensuring data integrity through regular backups and a proper disaster recovery
plan.
Security Enhancements: Implementing new security measures to protect against cyber threats.
28
CHAPTER 11
CODING
11.1 Class
<?php
session_start();
$isIndex = 0;
session_destroy();
?>
<html>
<head>
<title>Edit Class</title>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/class.js"></script>
29
<style>.form-control{display:inline-block !important; width: 185px !important;
margin:5px !important;}.details{padding:5px 10px;margin-bottom:30px;border: 1px solid lightgrey;border-
top: none;}}</style>
</head>
<body>
<h3>Edit Class</h3>
</div>
<div class="navbar-header">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<li><a href="teacher.php">Home</a></li>
<li><a href="profile.php">Profile</a></li>
<li><a href="statistics.php">Statistics</a></li>
<li><a href="logout.php">Logout</a></li>
30
</ul>
</div>
</nav>
<div class="container">
<?php
$classes = $_SESSION['classes'];
$teacher_id = $_SESSION['teacher_id'];
if(!$classes) echo '<h4> You haven\'t taken any classes yet. </h4>';
else {
foreach($classes as $class_id) {
$n = new Node;
$code = $node->getCode();
$section = $node->getSection();
$year = $node->getYear();
$semester = $node->getSemester();
</ul>';
31
echo 'Year : <input class="form-control" name="year" value="'.$year.'" placeholder="Enter
Year">';
echo '</div>';
?>
</div>
</body>
</html>
11.2 Index
<?php
session_start();
$isIndex = 1;
header('Location: teacher.php');
} else {
?>
32
<!DOCTYPE html>
<html>
<head>
<title>Student Attendance</title>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/login.js"></script>
</head>
<body>
<div class="container">
<div class="navbar-header">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
33
</button>
</div>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav>
<div class="container">
<h2>For Students</h2>
<hr>
<h2>For Faculty</h2>
<span></span>
</div>
<thead>
<tr>
34
<th>Login</th>
<th>Sign Up</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<form id="login">
<div class="form-group">
<label>Email ID</label>
</div>
<div class="form-group">
<label>Password</label>
</div>
</form>
</td>
<td>
<form id="signup">
<div class="form-group">
<label>Name</label>
35
</div>
<div class="form-group">
<label>Phone Number</label>
</div>
<div class="form-group">
<label>Email ID</label>
</div>
<div class="form-group">
<label>Password</label>
</div>
<div class="form-group">
<label>Re-type Password</label>
</div>
</form>
</td>
</tr>
</tbody>
</table>
36
</div>
</footer>
</body>
</html>
11.3 Logout
<?php
session_start();
session_destroy();
header('Location: index.php');
?>
37
11.4 Profile
<?php
session_start();
$isIndex = 0;
session_destroy();
?>
<html>
<head>
<title>Profile</title>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/profile.js"></script>
</head>
<body>
38
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<li><a href="teacher.php">Dashboard</a></li>
<li><a href="statistics.php">Statistics</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
<li><a href="logout.php">Logout</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
39
</nav></br></br></br></br>
<div class="container">
<?php
$name = $_SESSION['name'];
$phone = $_SESSION['phone'];
$email = $_SESSION['email'];
$classes = $_SESSION['classes'];
$teacher_id = $_SESSION['teacher_id'];
?>
<div class="wrapper">
<dl class="dl-horizontal">
<dt>Name : </dt>
<dd>
<div class="input-group">
</div>
</dd>
<dt>Phone : </dt>
<dd>
<div class="input-group">
40
<input class="form-control" name="phone" placeholder="Enter your phone" value="<?php echo
$phone; ?>">
</div>
</dd>
<dt>Email : </dt>
<dd>
<div class="input-group">
<span class="input-group-addon">@</span>
</div>
</dd>
<dt>Classes : </dt>
</dl>
</div>
</div>
</body>
</html>
41
11.5 Session
<?php
session_start();
$isIndex = 0;
session_destroy();
?>
<html>
<head>
<title>Statistics</title>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/highcharts.js"></script>
<script src="js/highcharts-exporting.js"></script>
<script src="js/statistics.js"></script>
</head>
42
<body>
<div class="container">
<div class="navbar-header">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<li><a href="teacher.php">Dashboard</a></li>
<li><a href="profile.php">Profile</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
<li><a href="logout.php">Logout</a></li>
</ul>
43
</div><!--/.nav-collapse -->
</div>
</nav></br></br></br></br>
<div class="container">
<div class="wrapper">
<?php
$classes = $_SESSION['classes'];
$teacher_id = $_SESSION['teacher_id'];
$n = new Node;
if($classes != 0) {
$data = array();
foreach($classes as $c) {
$total_days = $node->getDays();
$data[$key] = array("total"=>$total_days,"average"=>0,"detained"=>0);
if($total_days) {
$detained = array();
$sum = 0;
$count = 0;
44
$sum += $rec['present'];
$count++;
$data[$key]['average'] = ($sum/($count));
$data[$key]['detained'] = $detained;
</ul>
<div class="content">
<div id="graph">
</div>
<div id="detained">';
if($d['detained'] !=0)
echo '</div></div>';
45
}
echo '
</div>
</div>
';
else {
?>
</div>
</div>
</body>
</html>
11.6 Student
<html>
<head>
<title>Student Attendance</title>
<script src="js/jquery.min.js"></script>
46
<script src="js/bootstrap.min.js"></script>
<script src="js/highcharts.js"></script>
<script src="js/highcharts-exporting.js"></script>
<script src="js/jquery.knob.js"></script>
<script src="js/student.js"></script>
</head>
<body>
<div class="container">
<div class="navbar-header">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
47
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav></br></br></br></br></br></br></br></br></br>
<div class="container">
<div id="output"></div>
<form id="getAttendance">
<div class="form-group">
<label>Year of course</label>
</select>
</div>
<div class="form-group">
<label>Section</label>
<option>1</option><option>2</option><option>3</option>
</select>
</div>
<div class="form-group">
48
<span class="help-block">DDD-NNN where D : Department , N : Number</span>
</div>
<div class="form-group">
<label>Roll Number</label>
</div>
</form>
</div>
</footer>
</body>
</html>
49
11.7 Take
<?php
$isIndex = 0;
session_start();
session_destroy();
?>
<?php
/*
login -> session mai save hoga kuch , which will identify the teacher
addClass -> we will get a link , which will have cN as an identifier of the class
then we show the list of students , with their attendance and stuff
then we have javascript which will function on the buttons next to each student
*/
$teacher_id = $_SESSION['teacher_id'];
$classes = $_SESSION['classes'];
$name = $_SESSION['name'];
50
die('<h1>Invalid Request</h1>');
$class_id = $_GET['cN'];
$records = $node->getRecords();
?>
<html>
<head>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
51
<link href="navbar-fixed-top.css" rel="stylesheet">
<script>
</script>
<script src="js/take.js"></script>
</head>
<body>
<div class="container">
<div class="navbar-header">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<li><a href="teacher.php">Dashboard</a></li>
52
<li><a href="profile.php">Profile</a></li>
<li><a href="statistics.php">Statistics</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
<li><a href="logout.php">Logout</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav></br></br></br></br>
<div class="container">
<?php
?>
<div id="studentRecords">
<?php
53
<span class="roll"><a href="student.php?roll='.str_replace("/","-",$roll).'&code='.$node-
>getCode().'&year='.$node->getYear().'§ion='.$node->getSection().'">'.$roll.'</a></span>:
<span class="present">'.$data['present'].'</span>'.
</div>';
?>
</div>
<div class="modal-content">
<hr>
<ol class="text-left">
<li>Click on any student's roll number to see his/her records, attendance percentage etc.</li>
<li>The number next to any student shows the number of days he/she has attended your
class</li>
<li>Click the <button class="btn">A</button> button next to that roll number to mark that
student as present</li>
</ol>
54
</div>
</div>
</div>
<div class="modal-content">
<hr>
<div class="text-center">
<p>
</p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
55
11.8 Teacher
<?php
session_start();
$isIndex = 0;
session_destroy();
?>
<html>
<head>
<title>Teacher Dashboard</title>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/teacher.js"></script>
</head>
<body>
56
<div class="container">
<div class="navbar-header">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<li><a href="profile.php">Profile</a></li>
<li><a href="statistics.php">Statistics</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
<li><a href="logout.php">Logout</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav></br></br></br></br>
57
<div class="container">
<?php
$name = $_SESSION['name'];
$classes = $_SESSION['classes'];
$teacher_id = $_SESSION['teacher_id'];
$n = new Node;
if(!$classes) {
} else {
foreach($classes as $class_id) {
$code = $node->getCode();
$section = $node->getSection();
$year = $node->getYear();
$numClasses = $node->getDays();
$link = 'take.php?cN='.$class_id;
58
<a class="no-decoration" href="'.$link.'">
<div><strong>Classes</strong> : '.$numClasses.'</div>
</div></a>';
</div>
</div>';
?>
</div>
<div class="modal-content">
<hr>
<div id="add_class_form">
</select>
59
<input class="form-control" name="code" placeholder="Code , Eg : COE-322">
</select>
</select>
</div>
</div>
</div>
</div>
<div class="modal-content">
<hr>
<div class="text-center">
60
<p>
</p>
</div>
</div>
</div>
</div>
</body>
</html>
61
CHAPTER 12
62
12.2 Dashboard
63
12.3 welcome page
64
12.5 Attendance page
65
12.7 Profile page
66
12.8 Percentage page
67
12.9 Statistics Page
68
CHAPTER 13
CONCLUSION
The Student Online Attendance Management System has been designed to improve the traditional attendance
process by automating data entry, tracking, and reporting. The system ensures accuracy, efficiency, and
security, addressing the challenges of manual record-keeping.
Throughout the project, different modules were developed to cater to the needs of administrators, teachers,
and students. The Admin Module manages user accounts, courses, and reports. The Teacher Module enables
attendance marking and report generation, while the Student Module allows students to check their attendance
records. By integrating PHP and MySQL, the system ensures fast data processing and secure storage.
One of the key advantages of this system is its user-friendly interface and automation features, which reduce
errors and save time. The inclusion of role-based authentication enhances data security by restricting access to
sensitive information. Additionally, the report generation feature allows administrators to analyze attendance
trends and take necessary actions for improvement.
Despite its success, certain challenges were encountered, such as database optimization for large-scale
attendance records and securing user authentication. These challenges were addressed by implementing
optimized queries, encrypted passwords, and access control measures.
In the future, the system can be further enhanced by integrating mobile applications, AI-based face
recognition for attendance marking, and automated notifications via SMS or email. These improvements will
make the system even more flexible, scalable, and efficient for educational institutions.
Overall, this project has successfully streamlined attendance management, reducing administrative workload
and improving transparency in educational environments. With continuous upgrades, it can evolve into a
comprehensive attendance monitoring solution that benefits both educators and students.
69
BIBLIOGRAPHY
For PHP
https://www.w3schools.com/php/default.asp
https://www.sitepoint.com/php/
https://www.php.net/
For MySQL
https://www.mysql.com/
http://www.mysqltutorial.org
For XAMPP
https://www.apachefriends.org/download.html
70