SlideShare a Scribd company logo
1 of 50
Download to read offline
1 | P a g e
University of Calcutta
A Project Report on
<<SCHOOL MANAGEMENT SYSTEM>>
A project submitted as part of fulfillment of B.Sc (Hons.) in Computer Science,
Semester -VI, 2022 in the department of Computer Science,
T.H.K JainCollege.
Under the Supervision of
<<Prof. Suvadip Das>>
Department of Computer Science
T.H.K Jain College
Submitted by
Name: Sonu Shaw
Roll No: 193235-21-0009
Registration No: 235-1111-0182-19
Name: Rishabh Gupta
Roll No: 193235-21-0011
Registration No: 235-1111-0184-19
Name: Bipul Pandey
Roll No: 193235-21-0016
Registration No: 235-1111-0190-19
Name: Md. Irshad Ansari
Roll No: 193235-21-0021
Registration No: 235-1111-0197-19
2 | P a g e
CERTIFICATE
This is to certify that the project entitled “SCHOOL MANAGEMENT SYSTEM"submitted for the
requirements of 6th
Semester of B.Sc in Computer Science (Honours),University Of Calcutta; has been
carried out by Sonu Shaw (Roll No:- 193235-21-0009 and Registration No:- 235-1111-0182-19), Rishabh
Gupta (Roll No:- 193235-21-0011 and Registration No:- 235-1111-0184-19), Bipul Pandey (Roll No:-
193235-21-0016 and Registration No:- 235-1111-0190-19) & Md. Irshad Ansari (Roll No:- 193235-21-
0021 and Registration No:- 235-1111-0197-19) under the supervision of Prof. Suvadip Das, T.H.K JAIN
COLLEGE , University of Calcutta.
-------------------------------
Prof. Suvadip Das
Project Supervisor
Dept. of Computer Science
T.H.K Jain College
Prof. Rituparna kundu
Department In-Charge
Dept. of Computer Science
T.H.K Jain College
External Examiner
3 | P a g e
ACKNOWLEDGEMENT
We wish to express our profound sense of gratitude of our project supervisor Prof. Suvadip Das, T.H.K Jain
College, University of Calcutta for his support, inspiration and guidance. He has showed us different ways to
approach a problem. We have also learned from him that an approach needs to be persistent to accomplish
our goal. We are immensely grateful to him for giving his valuable time and constant advice for discussing
various ideas related to our project work. It is being precious learning experience for us to work under
tutelage.
We are also thankful to our department; Department of Computer Science, T.H.K Jain College, University of
Calcutta; for providing us with the required resources for working on this project.
Lastly we like to express our heartiest gratitude to our parents, seniors and our friends; andto all who have
directly or indirectly extended their valuable guidance and advice during the preparation of this project;
which will give us the continuous flow of inspiration to complete the project.
Date: - 03/08/2022
Name(s):
1. Sonu Shaw
2. Rishabh Gupta
3. Bipul Pandey
4. Md. Irshad Ansari
4 | P a g e
CONTENTS
CHAPTER NO. CHAPTER NAME PAGE NO.
1. Introduction 6
2.
Relational Database Management
System(RDBMS)
7
3.
Study about different back end and front end
application
8-10
4.
Important Constructs used regarding MYSQL
and PHP
11-14
5. Data Flow Diagram 15
6. Source Code 16-47
7. Conclusion 48
8. Future Work
49
9. References
50
5 | P a g e
ABSTRACT
The purpose of the project entitled as “SCHOOL MANAGEMENT SYSTEM” is to manage
the details of schools, students, classes, teachers and courses. The project is totally built at
administrative end and thus only the administrator is guaranteed the access. The purpose of
the project is to build an application program to reduce the manual work is to managing the
schools, students, and teachers. It tracks all the details about the classes, teachers, and
students. Now these days computer play very important role in any formal organization,
because computer works faster and accurate than human. The purpose of developing the
School Management system of any organization is that to make easy to management to store
a large number of data/reports into the computer. It is difficult for any management to store
the large number of data manually or in papers. In that case when any user wants to take
information it is very difficult for management to provide information immediately. It is very
time consuming process. But by using computer it takes only few minutes/seconds. This
product is being produced for an educational institute FG public school to maintain it records.
This software is basically for the use of administrator of management of this institute they
will use it for storing the records and retrieve the information for the users. It is new
computerized project of this institute, before this they works manually.
6 | P a g e
CHAPTER-1: INTRODUCTION
1.1 Background
Nowadays education plays a great role in development of any country. Many of education organizations
try to increase education quality. One of the aspects of this improvement is managing of school
resources.
Our system is a major tool through this managing process by making a continuous communication
between headmaster, teacher, parents and student. So in order to achieve that goal, we need a Website
that covers the needs of all users at the same time.
For Students, they can view their subject's grades, contact with the headmaster and teachers for any
complaint, recommendation or absence permission, and they also up to date with all school's news or
posts that publish by the other users.
For Headmasters, they have a full control on the system, like they can add a new parents, teachers and
students with their subjects.
For Teachers, they can add student’s grades or edit it for their own subjects only, and they have a direct
connection with students and their parents.
For Parents, they have an access for their sons/daughters grades without any possibility to edit on it, and
they can directly contact with teachers and headmasters.
All the system users can publish whatever they need within the educational process on the last updates
section, and these posts is visible for all the users.
1.2 Motivation
The importance of school education lies in the fact that the children of today will become adult citizens
of tomorrow. The growth and future of our country highly depends upon the quality of the present school
education system. And in a good school the chief objective is to stimulate interest and curiosity in the
students and provide all possible facilities for headmasters, teachers and parents to achieve the desired
goal which is a better and easier educational ways for students.
So the motivation for our project came from that it has been made for that purpose, and for trying hardly
to achieve all the previous goals.
1.3 Scope of the work
School Management System is intended to help the any institute that wants to store their students and
management records into the computer. Our software is specially designed for an educational institute
for public school.
Our school management software will fulfil all the requirement of public school. It will store all the
personal and academic information of the students. It will also store the fee information of the students.
Management will get information of any student who studied/studying in this institute till now easily.
This software will also help the management to store their information including their personal
information and salary information. Payroll system is very important of any organization. so this
software will also handle the pay roll system of this institute. If will also store the results of the students.
7 | P a g e
CHAPTER-2: RELATIONAL DATABASE
MANAGEMENT SYSTEM (RDBMS)
2.1 Manual System
As we know that, manual handling of the record is time consuming and highly prone to error. Notonly we
have to organize and store the files, hunting down the information when it is need can take time. When we
are working with paper documents it is much harder to make changes. Paper document filing can be less
secure than electronic filing systems. To overcome this issue we use file processing system.
2.2 File Processing System
It is possible to take faster and automatic back-up of database stored in files, store data compactly, access
data remotely and retrieve data stored in files in easy and efficient way. It is easy to edit any information
stored in computers in form of files. It is not necessary for a user toremain present at location where these
data are kept. Data stored in files of can be shared amongmultiple users at a same time.
2.2.1 Demerits of File Processing System
It results in data redundancy and inconsistency, difficult in accessing data, data isolation, dataintegrity,
concurrent access is not possible and has security problems.
To overcome all this difficulties we use database management system to manage the recordsonline with
having all this problems
2.3 Database Management System
Database Management System (DBMS) is a computerized system, whose overall purpose is tomaintain the
information and it is a collection of programs that enables user to create and maintain a database, i.e, it
provides the users with the processes of defining, constructing and manipulating the database for various
applications.
2.3.1 Advantages over File Processing System
In DBMS, redundancy can be reduced, inconsistency can be avoided, data can be shared, standardscan be
enforced, security restrictions can be applied, integrity can be maintained, data gathering can be possible,
and requirements can be balanced.
2.4 Relational Database Management System
RDBMS Stands for "Relational Database Management System."
An RDBMS is a DBMS designed specifically for relational databases. It is relational model in which data is
stored in multiple tables where tables are related to each other using primary keysand foreign keys and
indexes. A relational database refers to a database that stores data in a structured format, using rows and
columns. This makes it easy to locate and access specific values within the database. It is "relational"
because the values within each table are related to each other.
2.4.1 Functionality of RDBMS
It uses database normalization techniques to avoid redundancy in tables. It helps to fetch data faster using
SQL query. It is widely used by enterprises and software developers to store largeamount of complex data.
Examples: SQL server, Oracle, MySQL, MariaDB, SQLite.
8 | P a g e
CHAPTER-3: STUDY ABOUT DIFFERENT BACK END
AND FRONT END APPLICATIONS.
3.1 Introduction
There are different types of database management systems, but the relational database management
system (RDBMS) is the most popular type of DBMS.With the right RDBMS, companies can create and
manage relational databases with all kinds of structured data such asemployee data, customer data, sales
data, phone numbers, census records, legal records, and library catalogs.
3.2 Front-end
It is „User-side‟ application which provides an interface to fetch, store and display data. Datainputted here
and sent to backend database.
3.2.1 Some Frontend Applications
3.2.1.1. HTML
HTML stands for Hypertext Markup Language. It is used to design the front-end portion of webpages
using a markup language. HTML is the combination of Hypertext and Markup language. Hypertext
defines the link between the web pages. The markup language is used to define the text documentation
within the tag which defines the structure of web pages.
3.2.1.2. CSS
Cascading Style Sheets fondly referred to as CSS is a simply designed language intended to simplify the
process of making web pages presentable. CSS allows you to apply styles to webpages. More
importantly, CSS enables you to do this independent of the HTML that makes upeach web page.
3.2.1.3. JavaScript
JavaScript is a famous scripting language used to create magic on the sites to make the site interactive for
the user. It is used to enhancing the functionality of a website to running coolgames and web-based
software.
3.3 Cross Platform
3.3.1 XAMP
XAMPP is an abbreviation where X stands for Cross-Platform, A stands for Apache, M stands for
MYSQL, and the Ps stand for PHP and Perl, respectively. It is an open-source package of web solutions
that includes Apache distribution for many servers and command-line executablesalong with modules
such as Apache server, MariaDB, PHP, and Perl.
9 | P a g e
3.3.2 Platforms used for Frontend and backend connections
3.3.2.1 PHP
It is the backend scripting language primarily used for web development. PHP allows users to create
dynamic websites and applications. It can be installed on every platform and supports a variety of
database management systems
3.3.2.2 MySQL
It is a cross-platformed, leading open source and free relational database management systemwhich is
dominating the software industry for the past 25 years.
It is super fast and easy to use, having high performance for large databases (more than 50 millionrows in
a table).
3.3.2.3 MariaDB
MariaDB Server is one of the most popular free open-source relational databases made by theoriginal
developers of MySQL and guaranteed to stay open source.
3.32.4 MongoDB
MongoDB stores data in JSON-like documents which is much more expressive and powerful than the
traditional row-column model. Though MongoDB is a NoSQL database it has all thepower of a relational
database and even more.
3.4 Backend
It is “Server-side” database which stores data (tables) and is connected to front-end through anAPI.
3.4.1 Some Backend Database
3.4.1.1 MariaDB
It is an enhanced drop-in replacement for MySQL and a powerful database server made for MySQL
developers providing a platform for turning data into structured information by using awide array of
features.
3.4.1.2 Db2 Express-C
It is a free community edition of Db2 database software that has a fast setup, easy to use, idealfor
academia, small businesses and multi-branch companies.
3.4.1.3 SQLite
It is the most widely deployed database in the world with very many applications which includesvery
many high-profile projects and it implements a self-contained, server less, zero configuration and
transactional SQL database engine.
3.4.1.4 Firebird
It is an open source and relational database that provides excellent performance and scales impressively
by use of embedded and single user model that provides many SQL and ANSIfeatures
3.4.1.5 Phpmyadmin
PhpMyAdmin is a free and open source administration tool for MySQL and MariaDB. As a portable web
application written primarily in PHP, it has become one of the most popular MySQL administration tools,
especially for web hosting services.
10 | P a g e
3.4.1.6 MySQL
It is the world’s most popular open source database. It’s the leading database choice for web-based
applications. It supports SQL as its database language. It has views that relate to anSQL query that is
viewed as a distinct database object and makes it possible for one to view a particular part of a database.
3.4.1.7 SQL ServerExpress
It is free database software that works great with any web application framework like PHP, and
applications such as WordPress, and Drupal and can be used to store and access the information stored in
many different databases.
3.5 Implementation platform for our project
The Front end and Backend used in our project are html, css, JavaScript and php and MySQL forHospital
Management System.PHP combined with MySQL are cross-platform (we can developin Windows and
serve on a Unix platform).With PHP, we can connect to and manipulate databases. MySQL is the most
popular database system used with PHP.
3.5.1 Reason behind using these platforms
HTML and CSS are at the heart of Front End development. These languages are relatively easyto learn
and offer plenty of flexibility and creativity. JavaScript is a very important tool for a front-end web
developer. Without it, WebPages wouldn't have become the dynamic web applications they are today
MySQL is a first choice of PHP developers. As an open source Relational Database ManagementSystem (RDBMS)
that uses SQL language, MySQL database helps to automate data retrieving and provide great support in PHP
MySQL web application development.
11 | P a g e
CHAPTER-4: IMPORTANT CONSTRUCTS USED
REGARDING MYSQL AND PHP.
4.1 Introduction
Mysql database set up with a database user and password and a web development environmentusing
mysql or mariadb, apache and php and a simple text editor.
It establishes a mysql connection using php on a web page, connecting to a mysql table andretrieving the
results and displaying them back on the web page.
4.2 PHP syntax:
4.2.1 mysqli_connect
Functionality:
Connecting to a MySQL
database.Syntax:
$db = mysqli_connect('localhost','root','root','database_name');
4.2.2 mysqli_query
Functionality:
performing a database
query.Code Syntax:
$query = "SELECT * FROM
table_name";mysqli_query($db,
$query);
4.2.3 mysqli_fetch_array
Functionality:
Adding the table and rows to the
Database.Code Syntax:
$result = mysqli_query($db, $query);
$row = mysqli_fetch_array($result)
4.2.4 mysqli_close
Functionality:
closing off the
connection.Code
Syntax:
mysqli_close($db);
12 | P a g e
4.3 MySQL Commands:
4.3.1 Create Database
Functionality: Creates a new database
Code Syntax:
CREATE DATABASE databasename;
4.3.2 Alter Database
Functionality: modifies a database.
Code Syntax:
ALTER DATABASE database_name[COLLATE collation_name ]
4.3.3 Create Table
Functionality: creates a new table.
Code Syntax:
CREATE TABLE table_name (
column_1 datatype,
column_2 datatype,
column_3 datatype );
4.3.4 Alter table
Functionality: This query add, delete, or modify columns in an existing table.
Code Syntax:
ALTER TABLE table_name ADD column_name datatype;
4.3.5 Insert Record
Functionality: Inserts new data into a database
Code Syntax:
INSERT INTO table_name (column_1, column_2,
column_3)VALUES (value_1, „value_2‟, value_3);
4.3.6 Update Record
Functionality: updates data in a database
Code Syntax:
UPDATE table_name SET some_column = some_value WHERE some_column some_value;
4.3.7 Delete Record
Functionality: deletes data from a database
Code Syntax:
DELETE FROM table_name
WHERE some_column = some_value;
13 | P a g e
4.3.8 Select Record
Functionality: extracts data from a database.
Code Syntax:
SELECT * FROM table_name;
4.3.9 Drop Table
Functionality: deletes a table.
Code Syntax:
DROP TABLE table_name;
4.4 CSS commands:
4.4.1 The linear-gradient() function: It is an inbuilt function in CSS which is used to set the lineargradient
as the background image. Syntax: background-image: linear-gradient( direction, color1, color2, ... ).
4.4.2 Selector − A selector is an HTML tag at which a style will be applied. This could be anytag like
<h1> or <table> etc.
4.4.3 Property − A property is a type of attribute of HTML tag. Put simply, all the HTMLattributes are
converted into CSS properties. They could be color, border etc.
4.4.4 Value − Values are assigned to properties. For example, color property can have valueeither red or
#F1F1F1 etc.
4.4.5 Colors in CSS: In this CSS commands, colors can be specified in RGB formula. Each parameter
defines the intensity of these colors and defines a new color. For example, to displayblack all color
parameters should be set to RGB (0,0,0).
4.5 Methodology for frontend to backend connection
1. Make the connection.
2. Select the database.
3. perform the query on the table.
4. print out the data.
5. close the connection.
14 | P a g e
4.6 Quickview for php and MySQLconnection:
<?php
$db = mysqli_connect('localhost','root','root','database_name'); //connecting to a database
?>
<?php
$query = "SELECT * FROM table_name"; //display table
datamysqli_query($db, $query); //performing database
query
$result = mysqli_query($db, $query); //store it in
resultwhile ($row = mysqli_fetch_array($result))
{
echo $row['FirstName'] . ' ' . $row['LastName'] . ': ' . $row['Email'] . ' ' . $row['City'] .'<br />'; }
mysqli_close($db);?> //close the connection
15 | P a g e
CHAPTER-5: DATA FLOW DIAGRAM
16 | P a g e
CHAPTER-6: SOURCE CODE
Header.php
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>School Management System</title>
<!-- Font Awesome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">
<!-- Google Fonts -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap">
<!-- Bootstrap core CSS -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.0/css/bootstrap.min.css" rel="stylesheet">
<!-- Material Design Bootstrap -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.19.1/css/mdb.min.css" rel="stylesheet">
<style>
.btn{
margin:0;
}
</style>
</head>
<!--navbar-->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="#"><b>SMS</b></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-
controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="index.php">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Update</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
Dropdown
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="#">Action</a>
<a class="dropdown-item" href="#">Another action</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">Something else here</a>
</div>
</li>
</ul>
<!-- Icons -->
<ul class="nav navbar-nav ml-auto">
<?php if(isset($_SESSION['login'])) { ?>
<li class="nav-item">
17 | P a g e
<a class="nav-link dropdown-toggle" id="navbarDropdown" role="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false"><i class="fas fa-user mr-2"></i>Account</a>
<div class="dropdown-menu dropdown-menu-right dropdown-default"
aria-labelledby="navbarDropdownMenulink-333">
<a class="dropdown-item" href="/sms/admin/dashboard.php">Dashboard</a>
<a class="dropdown-item" href="logout.php">logout</a>
</li>
<?php } else { ?>
<li class="nav-item">
<a class="nav-link" href="login.php"><span class="fa fa-user mr-2"></span> Login</a>
</li>
<?php } ?>
</ul>
</div>
</nav>
<body>
Footer.php
<!-- JQuery -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<!-- Bootstrap tooltips -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.4/umd/popper.min.js"></script>
<!-- Bootstrap core JavaScript -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.0/js/bootstrap.min.js"></script>
<!-- MDB core JavaScript -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.19.1/js/mdb.min.js"></script>
</body>
</html>
Config.php
<?php
$db_conn = mysqli_connect('localhost','root','','sms_project');
if(!$db_conn){
echo 'connection Failed';
exit;
}
if (!isset($_SESSION))
session_start();
include('functions.php');
?>
Function.php
<?php
function get_the_teachers($args)
{
return $output;
}
function get_the_classes()
{
global $db_conn;
$output = array();
$query = mysqli_query($db_conn, 'SELECT * FROM classes');
while($row = mysqli_fetch_object($query))
18 | P a g e
{
$output[] = $row;
}
return $output;
}
function get_post(array $args =[])
{
global $db_conn;
if(!empty($args))
{
$condition = "WHERE 0 ";
foreach($args as $k => $v)
{
$v = (string)$v;
$condition_ar[] = "$k = '$v'";
}
if($condition_ar > 0)
{
$condition = "WHERE " . implode(" AND ", $condition_ar);
}
};
$sql = "SELECT * FROM posts $condition";
$query = mysqli_query($db_conn,$sql);
return mysqli_fetch_object($query);
}
function get_posts(array $args = [],string $type = 'object')
{
global $db_conn;
$condition = "WHERE 0";
if(!empty($args))
{
foreach($args as $k => $v)
{
$v = (string)$v;
$condition_ar[] = "$k = '$v'";
}
if ($condition_ar > 0)
{
$condition = "WHERE " . implode(" AND ", $condition_ar);
}
};
$sql = "SELECT * FROM posts $condition";
$query = mysqli_query($db_conn,$sql);
return data_output($query,$type);
}
function get_metadata($item_id,$meta_key='',$type ='object')
{
global $db_conn;
$query = mysqli_query($db_conn,"SELECT * FROM metadata WHERE item_id = $item_id");
if(!empty($meta_key))
{
$query = mysqli_query($db_conn,"SELECT * FROM metadata WHERE item_id = $item_id AND meta_key =
19 | P a g e
'$meta_key'");
}
return data_output($query, $type);
}
function data_output($query , $type = 'object')
{
$output = array();
if($type == 'object')
{
while ($result = mysqli_fetch_object($query))
{
$output[] = $result;
}
}
else
{
while($result = mysqli_fetch_assoc($query))
{
$output[] = $result;
}
}
return $output;
}
?>
Login.php
<?php include('includes/config.php') ?>
<?php include('header.php') ?>
<div class="d-flex shadow" style="height:500px;background:linear-gradient(-45deg, yellow 50%, transparent 50%)">
<div class="container-fluid my-auto">
<div class="row">
<div class="col-lg-6 my-auto">
<h1 class="display-4 font-weight-bold"><center>Addmission open for 2022-2023</center></h1>
<p><center>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Laboriosam qui, repellat nobis alias quam sunt,
veniam similique atque nostrum autem molestiae in quo nam iste ipsum eveniet sint, distinctio quae.</p>
<a href="" class="btn btn-lg btn-primary">CALL TO ACTION</a></center>
</div>
<div class="col-lg-6">
<div class="col-lg-7 mx-auto card shadow-lg">
<div class="card-body">
<h3>Inquiry Form</h3>
<form action="" method="post" class="">
<div class="md-form">
<input type="text" id="form1" class="form-control">
<label for="form1">Your Name</label>
</div>
<div class="md-form">
<input type="email" id="email" class="form-control">
<label for="email">Your Email</label>
</div>
<div class="md-form">
<input type="text" id="mobile" class="form-control">
<label for="mobile">Your Mobile</label>
</div>
<div class="md-form">
<textarea id="message" name=""class="form-control md-textarea" rows="3"></textarea>
<label for="message">Your Query</label>
20 | P a g e
</div>
<button class="btn btn-lg btn-primary btn-block">Submit Form</button>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--About us-->
<section class="py-5">
<div class="container">
<div class="row">
<div class="col-lg-6 py-5">
<h2 class="font-weight-bold">About <br> School Management System</h2>
<div class="pr-5">
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Quia inventore neque eius numquam commodi
recusandae sequi ut ad, minus facilis sint sunt id totam assumenda ducimus quos cumque voluptas? Nemo.
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Quos minus corporis consequatur blanditiis nulla aspernatur
maiores
nostrum harum voluptas exercitationem, quae, illum omnis magnam ab saepe.
Voluptatem ipsum cum nostrum!</p><p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Pariatur
sapiente quo tenetur, ipsum esse non, inventore, animi illum sed ducimus minima maxime
totam fugit iste a nisi accusamus molestiae vero!</p>
</div>
<a href="about-us.php" class="btn btn-secondary">Know More</a>
</div>
<div class="col-lg-6" style="background:url(./assets/images/shutterstock364158869.jpg)">
</div>
</div>
</div>
</section>
<style>
.course-image
{
width: 100%;
height: 170px !important;
object-fit: cover;
object-position: center;
}
</style>
<!--Our courses-->
<section class="py-5 bg-light">
<div><h2 class="text-center mb-5"><u><b>Our Courses</b></u></h2></div>
<div class="container">
<div class="row">
<?php
$query = mysqli_query($db_conn,"SELECT * FROM courses ORDER BY id DESC LIMIT 0,8");
while($course = mysqli_fetch_object($query))
{?>
<div class="col-lg-3 my-3">
<div class="card">
<div><img src="./dist/uploads/<?=$course->image?>" alt="" class="img-fluid rounded-top course-image"></div>
<div class="card-body">
<b><?=$course->name?></b>
<p class="card-text">
21 | P a g e
<b>Duration:</b><?=$course->duration?><br>
<b>Price: </b>4000/- Rs.
</p>
<button class="btn btn-block btn-primary btn-sm">Enroll Here</button>
</div>
</div>
</div>
<?php } ?>
</div>
</div>
</section>
<!--Teachers-->
<section class="py-5">
<div class="mb-5"><h2 class="text-center"><u><b>Our Techers</b></u></h2>
<p class="text-center">Lorem ipsum dolor sit amet consectetur adipisicing elit. Excepturi laudantium voluptatem, cupiditate
quis itaque nesciunt dolor hic nobis,<br> repellendus reiciendis architecto deserunt! Ipsam, eos.
Sapiente nam rerum voluptates alias voluptatibus.</p>
</div>
<div class="container">
<div class="row">
<div class="col-lg-3 my-5">
<div class="card">
<div class="col-7 position-absolute" style="top:-50px">
<img src="./assetsimagesdummy-user.png" alt="" class="mw-100 border rounded-circle">
</div>
<div class="card-body pt-5 mt-4">
<h5 class="card-title">Teacher's Name</h5>
<p class="card-text">
<b>Courses: </b> 5 <br>
<b>Rating: </b> <i class="fa fa-star text-warning"></i>
<i class="fa fa-star text-warning"></i><i class="fa fa-star text-warning">
</i><i class="fa fa-star text-warning"></i><i class="fa fa-star-half-alt text-warning"></i>
</p>
</div>
</div>
</div>
<div class="col-lg-3 my-5">
<div class="card">
<div class="col-7 position-absolute" style="top:-50px">
<img src="./assetsimagesdummy-user.png" alt="" class="mw-100 border rounded-circle">
</div>
<div class="card-body pt-5 mt-4">
<h5 class="card-title">Teacher's Name</h5>
<p class="card-text">
<b>Courses: </b> 5 <br>
<b>Rating: </b> <i class="fa fa-star text-warning"></i>
<i class="fa fa-star text-warning"></i><i class="fa fa-star text-warning">
</i><i class="fa fa-star text-warning"></i><i class="fa fa-star text-warning"></i>
</p>
</div>
</div>
</div>
<div class="col-lg-3 my-5">
<div class="card">
<div class="col-7 position-absolute" style="top:-50px">
<img src="./assetsimagesdummy-user.png" alt="" class="mw-100 border rounded-circle">
</div>
<div class="card-body pt-5 mt-4">
22 | P a g e
<h5 class="card-title">Teacher's Name</h5>
<p class="card-text">
<b>Courses: </b> 5 <br>
<b>Rating: </b> <i class="fa fa-star text-warning"></i>
<i class="fa fa-star text-warning"></i><i class="fa fa-star text-warning">
</i><i class="fa fa-star text-warning"></i><i class="fa fa-star text-warning"></i>
</p>
</div>
</div>
</div>
<div class="col-lg-3 my-5">
<div class="card">
<div class="col-7 position-absolute" style="top:-50px">
<img src="./assetsimagesdummy-user.png" alt="" class="mw-100 border rounded-circle">
</div>
<div class="card-body pt-5 mt-4">
<h5 class="card-title">Teacher's Name</h5>
<p class="card-text">
<b>Courses: </b> 5 <br>
<b>Rating: </b> <i class="fa fa-star text-warning"></i>
<i class="fa fa-star text-warning"></i><i class="fa fa-star text-warning">
</i><i class="fa fa-star text-warning"></i><i class="fa fa-star text-warning"></i>
</p>
</div>
</div>
</div>
<div class="col-lg-3 my-5">
<div class="card">
<div class="col-7 position-absolute" style="top:-50px">
<img src="./assetsimagesdummy-user.png" alt="" class="mw-100 border rounded-circle">
</div>
<div class="card-body pt-5 mt-4">
<h5 class="card-title">Teacher's Name</h5>
<p class="card-text">
<b>Courses: </b> 5 <br>
<b>Rating: </b> <i class="fa fa-star text-warning"></i>
<i class="fa fa-star text-warning"></i><i class="fa fa-star text-warning">
</i><i class="fa fa-star text-warning"></i><i class="fa fa-star text-warning"></i>
</p>
</div>
</div>
</div>
<div class="col-lg-3 my-5">
<div class="card">
<div class="col-7 position-absolute" style="top:-50px">
<img src="./assetsimagesdummy-user.png" alt="" class="mw-100 border rounded-circle">
</div>
<div class="card-body pt-5 mt-4">
<h5 class="card-title">Teacher's Name</h5>
<p class="card-text">
<b>Courses: </b> 5 <br>
<b>Rating: </b> <i class="fa fa-star text-warning"></i>
<i class="fa fa-star text-warning"></i><i class="fa fa-star text-warning">
</i><i class="fa fa-star text-warning"></i><i class="fa fa-star text-warning"></i>
</p>
</div>
</div>
</div>
<div class="col-lg-3 my-5">
23 | P a g e
<div class="card">
<div class="col-7 position-absolute" style="top:-50px">
<img src="./assetsimagesdummy-user.png" alt="" class="mw-100 border rounded-circle">
</div>
<div class="card-body pt-5 mt-4">
<h5 class="card-title">Teacher's Name</h5>
<p class="card-text">
<b>Courses: </b> 5 <br>
<b>Rating: </b> <i class="fa fa-star text-warning"></i>
<i class="fa fa-star text-warning"></i><i class="fa fa-star text-warning">
</i><i class="fa fa-star text-warning"></i><i class="fa fa-star text-warning"></i>
</p>
</div>
</div>
</div>
<div class="col-lg-3 my-5">
<div class="card">
<div class="col-7 position-absolute" style="top:-50px">
<img src="./assetsimagesdummy-user.png" alt="" class="mw-100 border rounded-circle">
</div>
<div class="card-body pt-5 mt-4">
<h5 class="card-title">Teacher's Name</h5>
<p class="card-text">
<b>Courses: </b> 5 <br>
<b>Rating: </b> <i class="fa fa-star text-warning"></i>
<i class="fa fa-star text-warning"></i><i class="fa fa-star text-warning">
</i><i class="fa fa-star text-warning"></i><i class="fa fa-star text-warning"></i>
</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!--Achievements-->
<section class="py-5" style="background:yellow">
<div>
<div class="container">
<div class="row">
<div class="col-lg-6 pr-5">
<h2><b>Achievements</b></h2>
<p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. At, nemo? Omnis consequuntur laudantium assumenda
necessitatibus quisquam
soluta aperiam sit dicta dolorum neque similique voluptates veniam eos, officiis quam fuga architecto?</p>
<img src="./assets/images/achievement.jpg" alt="" width="550" height="600" class="img-fluid rounded">
</div>
<div class="col-lg-6 my-auto">
<div class="row">
<div class="col-lg-6 mb-4">
<div class="border rounded ">
<div class="card-body text-center">
<span><i class="fa fa-graduation-cap fa-2x"></i></span>
<h2 class="my-2 font-weight-bold text-warning">334</h2>
<hr>
<h3>Graduates</h3>
</div>
</div>
</div>
24 | P a g e
<div class="col-lg-6 mb-4">
<div class="border rounded ">
<div class="card-body text-center">
<span><i class="fa fa-graduation-cap fa-2x"></i></span>
<h2 class="my-2 font-weight-bold text-warning">334</h2>
<hr>
<h3>Graduates</h3>
</div>
</div>
</div>
<div class="col-lg-6 mb-4">
<div class="border rounded ">
<div class="card-body text-center">
<span><i class="fa fa-graduation-cap fa-2x"></i></span>
<h2 class="my-2 font-weight-bold text-warning">334</h2>
<hr>
<h3>Graduates</h3>
</div>
</div>
</div>
<div class="col-lg-6 mb-4">
<div class="border rounded ">
<div class="card-body text-center">
<span><i class="fa fa-graduation-cap fa-2x"></i></span>
<h2 class="my-2 font-weight-bold text-warning">334</h2>
<hr>
<h3>Graduates</h3>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!--Testimonials-->
<section class="py-5">
<div class="mb-5">
<h2 class="text-center"><u><b>What People Says</b></u></h2>
<p class="text-center">Lorem ipsum dolor sit amet consectetur adipisicing elit. Excepturi laudantium
voluptatem, cupiditate quis alias voluptatibus.</p>
</div>
<div class="container">
<div class="row">
<div class="col-6">
<div class="border rounded position-realtive">
<div class="p-4 text-center">
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Ut a
eum dolore et. Fugiat suscipit a eius dicta
</div>
<i class="fa fa-quote-left fa-2x position-absolute" style="top:.2rem; left: 0.5em"></i>
<div class="text-center mt-n2">
<img src="./assets/images/images.jpg" alt="" class="rounded-circle border" width="100" height="100">
<h6 class="mb-0 font-weight-bold">Name of Candidate</h6>
<p><i>Designation</i></p>
</div>
</div>
25 | P a g e
</div>
<div class="col-6">
<div class="border rounded position-realtive">
<div class="p-4 text-center">
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Ut a
eum dolore et. Fugiat suscipit a eius dicta
</div>
<i class="fa fa-quote-left fa-2x position-absolute" style="top:.2rem; left: 0.5em"></i>
<div class="text-center mt-n2">
<img src="./assets/images/images.jpg" alt="" class="rounded-circle border" width="100" height="100">
<h6 class="mb-0 font-weight-bold">Name of Candidate</h6>
<p><i>Designation</i></p>
</div>
</div>
</div>
</div>
</div>
</section>
<!--Footer-->
<footer style="background:url(./assets/images/empty_room-2048x1022-1.jpg) center/cover no-repeat">
<div class="py-5 text-white" style="background:#00000088">
<div class="container-fluid">
<div class="row">
<div class="col-lg-4">
<h5>Useful Links</h5>
<ul class="fa-ul">
<li><a href="" class=""><i class="fa-li fa fa-angle-right"></i>List icons</a></li>
<li><a href="" class=""><i class="fa-li fa fa-angle-right"></i>can be used</a></li>
<li><a href="" class=""><i class="fa-li fa fa-angle-right"></i>as bullets</a></li>
<li><a href="" class=""><i class="fa-li fa fa-angle-right"></i>in lists</a></li>
</ul>
</div>
<div class="col-lg-4">
<h5>Social Presence</h5>
<div>
<span class="fa-stack">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fab fa-facebook-f fa-stack-1x fa-inverse text-dark"></i>
</span>
<span class="fa-stack">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fab fa-instagram fa-stack-1x fa-inverse text-dark"></i>
</span>
<span class="fa-stack">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fab fa-twitter fa-stack-1x fa-inverse text-dark"></i>
</span>
<span class="fa-stack">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fab fa-linkedin fa-stack-1x fa-inverse text-dark"></i>
</span>
<span class="fa-stack">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fab fa-youtube fa-stack-1x fa-inverse text-dark"></i>
</span>
</div>
</div>
<div class="col-lg-3">
26 | P a g e
<h5>Subscribe Now</h5>
<form action="">
<div class="form-group">
<input type="text" id="email-s" class="form-control" placeholder="Your Email">
</div>
<button class="btn btn-secondary btn-sm btn-block">Submit</button>
</form>
</div>
</div>
</div>
</div>
</footer>
<!--copyright-->
<section class="py-2 bg-dark text-light ">
<div class="container-fluid">
Copyright 2022-2023 All Rights Reserved. <a href="#" class="text-light">School Management System</a>
</div>
</section>
<?php include('footer.php') ?>
27 | P a g e
Login.php
<?php include('header.php') ?>
<section class="bg-light vh-100 d-flex">
<div class="col-3 m-auto">
<div class="card">
<div class="card-body mt-n2">
<div class="col-7 position-center" style="top:-50px left:50px;">
<img src="./assets/images/dummy-user.png" alt="" class="rounded-circle border" width="200" height="200">
</div>
<form action="actions/login.php" method="POST">
<div class="md-form">
<input type="email" id="email" name="email" class="form-control">
<label for="email">Your Email</label>
</div>
<div class="md-form">
<input type="password" id="password" name="password" class="form-control">
<label for="password">Your Password</label>
</div>
<div class="text-center">
<button class="btn btn-secondary" name="login">Login</button>
</div>
</form>
</div>
</div>
</div>
</section>
<?php include('footer.php') ?>
<?php
if(isset($_POST['login'])) {
$email = $_POST['email'];
$pass = $_POST['password'];
if($email=='admin@example.com' && $pass =='admin@pass'){
session_start();
$_SESSION['login'] = true;
header('Location:../admin/dashboard.php');
}
else{
echo
'<script type="text/javascript">
window.onload = function ()
{
28 | P a g e
alert("Invalid Credentials");
window.location.href = "../login.php";
}
</script>';
}
}
Logout.php
<?php
session_start();
session_destroy();
header('Location: index.php');
?>
Admin Panel
Header.php
<?php
//session_start();
$site_url = 'http://localhost/sms/';
if(isset($_SESSION['login']))
{
}
else {
header('Location: ../login.php');
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Admin | Dashboard</title>
<!-- Google Font: Source Sans Pro -->
<link rel="stylesheet" href="../https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
<!-- Font Awesome Icons -->
<link rel="stylesheet" href="../plugins/fontawesome-free/css/all.min.css">
<!-- overlayScrollbars -->
29 | P a g e
<link rel="stylesheet" href="../plugins/overlayScrollbars/css/OverlayScrollbars.min.css">
<!-- Theme style -->
<link rel="stylesheet" href="../dist/css/adminlte.min.css">
</head>
<body class="hold-transition sidebar-mini layout-fixed layout-navbar-fixed layout-footer-fixed">
<div class="wrapper">
Footer.php
</div>
<!-- Main Footer -->
<footer class="main-footer">
<strong>Copyright &copy; 2022-2023 <a href="#">School Management System</a>.</strong>
All rights reserved.
<div class="float-right d-none d-sm-inline-block">
<b>Version</b> 1.0
</div>
</footer>
</div>
<!-- ./wrapper -->
<!-- REQUIRED SCRIPTS -->
<!-- jQuery -->
<script src="../plugins/jquery/jquery.min.js"></script>
<!-- Bootstrap -->
<script src="../plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- overlayScrollbars -->
<script src="../plugins/overlayScrollbars/js/jquery.overlayScrollbars.min.js"></script>
<!-- AdminLTE App -->
<script src="../dist/js/adminlte.js"></script>
<!-- Admin for demo purposes -->
<script src="../dist/js/demo.js"></script>
<script>
(function(){
var path = window.location.href;
//console.log(path);
$(".nav-link").each(function() {
var href = $(this).attr('href');
//console.log(href);
if (path === decodeURIComponent(href))
{
$(this).addClass('active');
var parent = $(this).closest('.has-treeview');
parent.addClass('menu-open');
$(parent).find('.nav-link').first().addClass('active');
//console.log(parent);
};
});
}());
</script>
<!-- Subjects -->
<script>
jQuery(document).ready(function()
{
jQuery('#class').change(function()
{
30 | P a g e
// alert(jQuery(this).val());
jQuery.ajax({
url:'ajax.php',
type:'POST',
data:{'class_id':jQuery(this).val()},
dataType: 'json',
success: function(response)
{
if(response.count > 0)
{
jQuery('#section-container').show();
}
else
{
jQuery('#section-container').hide();
}
jQuery('#section').html(response.options);
}
});
});
})
</script>
</body>
</html>
Dashboard.php
<?php include('../includes/config.php') ?>
<?php include('header.php') ?>
<?php include('sidebar.php') ?>
<!-- Content Header (Page header) -->
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0">Dashboard</h1>
</div><!-- /.col -->
<div class="col-sm-6">
<ol class="breadcrumb float-sm-right">
<li class="breadcrumb-item"><a href="#">Admin</a></li>
<li class="breadcrumb-item active">Dashboard</li>
</ol>
</div><!-- /.col -->
</div><!-- /.row -->
</div><!-- /.container-fluid -->
</div>
<!-- /.content-header -->
<!-- Main content -->
<section class="content">
<div class="container-fluid">
<!-- Info boxes -->
<div class="row">
<div class="col-12 col-sm-6 col-md-3">
<div class="info-box">
<span class="info-box-icon bg-info elevation-1"><i class="fas fa-graduation-cap"></i></span>
<div class="info-box-content">
<span class="info-box-text">Total Students</span>
<span class="info-box-number">5000</span>
</div>
31 | P a g e
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<!-- /.col -->
<div class="col-12 col-sm-6 col-md-3">
<div class="info-box mb-3">
<span class="info-box-icon bg-danger elevation-1"><i class="fas fa-users"></i></span>
<div class="info-box-content">
<span class="info-box-text">Total Teachers</span>
<span class="info-box-number">100</span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<!-- /.col -->
<!-- fix for small devices only -->
<div class="clearfix hidden-md-up"></div>
<div class="col-12 col-sm-6 col-md-3">
<div class="info-box mb-3">
<span class="info-box-icon bg-success elevation-1"><i class="fas fa-book-reader"></i></span>
<div class="info-box-content">
<span class="info-box-text">Total Courses</span>
<span class="info-box-number">50</span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<!-- /.col -->
<div class="col-12 col-sm-6 col-md-3">
<div class="info-box mb-3">
<span class="info-box-icon bg-warning elevation-1"><i class="fas fa-question"></i></span>
<div class="info-box-content">
<span class="info-box-text"> New Inquiries</span>
<span class="info-box-number">10</span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<!-- /.col -->
</div>
</div><!--/. container-fluid -->
</section>
<!-- /.content -->
<?php include('footer.php') ?>
32 | P a g e
User-account.php
<?php include('../includes/config.php') ?>
<?php
$error = '';
if(isset($_POST['submit']))
{
$name = $_POST['name'];
$email = $_POST['email'];
$password = md5(1234567890);
$type = $_POST['type'];
$check_query = mysqli_query($db_conn, "SELECT * FROM accounts WHERE email = '$email'");
if(mysqli_num_rows($check_query)>0)
{
$error = 'Email already exists.';
}
else
{
mysqli_query($db_conn,"INSERT INTO accounts (`name`,`email`,`password`,`type`)
VALUES ('$name', '$email','$password','$type')") or die(mysqli_error($db_conn));
$_SESSION['success_msg'] = 'User has been successfully registered.';
header('Location: user_account.php?user='.$type); exit;
}
}
?>
<?php include('header.php') ?>
<?php include('sidebar.php') ?>
<!-- Content Header (Page header) -->
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<div class="d-flex">
<h1 class="m-0">Manage Accounts</h1>
<a href="user_account.php?user=<?=($_REQUEST['user'])?>&action=add-new" class="btn btn-primary btn-sm">Add
New</a>
</div>
</div><!-- /.col -->
<div class="col-sm-6">
<ol class="breadcrumb float-sm-right">
<li class="breadcrumb-item"><a href="#">Accounts</a></li>
33 | P a g e
<li class="breadcrumb-item active"><?php echo ucfirst($_REQUEST['user'])?></li>
</ol>
</div><!-- /.col -->
<?php
if(isset($_SESSION['success_msg']))
{?>
<div class="col-12">
<small class="text-success" style="font-size:16px"><?=$_SESSION['success_msg']?></small>
</div>
<?php
unset($_SESSION['success_msg']);
}
?>
</div><!-- /.row -->
</div><!-- /.container-fluid -->
</div>
<!-- /.content-header -->
<!-- Main content -->
<section class="content">
<div class="container-fluid">
<?php if(isset($_GET['action']) && $_GET['action']) {?>
<div class="card">
<div class="card-body">
<form action="" method="post">
<div class="form-group">
<input type="text" class="form-control" placeholder="Full Name" name="name" required>
</div>
<div class="form-group">
<input type="email" class="form-control" placeholder="Email Address" name="email" required>
</div>
<input type="hidden" name="type" value="<?=$_REQUEST['user']?>">
<input type="submit" name="submit" class="btn btn-primary" value="Register">
</div>
<?=$error?>
</form>
</div>
<?php } else {?>
<!-- Info boxes -->
<div class="table-responsive bg-white">
<table class="table table-bordered">
<thead>
<tr>
<th>S.No.</th>
<th>Name</th>
<th>Email</th>
<th>Added_Date</th>
</tr>
</thead>
<tbody>
<?php
$count=1;
$user_query='SELECT * FROM accounts WHERE `type` = "'.$_REQUEST['user'].'"';
$user_result = mysqli_query($db_conn,$user_query);
while($users = mysqli_fetch_object($user_result))
{
?>
<tr>
34 | P a g e
<td><?=$count++?></td>
<td><?=$users->name?></td>
<td><?=$users->email?></td>
<td><?=$users->date?></td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
<?php } ?>
</div><!--/. container-fluid -->
</section>
<!-- /.content -->
<?php include('footer.php') ?>
35 | P a g e
Sections.php
<?php include('../includes/config.php') ?>
<?php include('header.php') ?>
<?php include('sidebar.php') ?>
<?php
if(isset($_POST['submit']))
{
$title = $_POST['title'];
mysqli_query($db_conn,"INSERT INTO sections (title) VALUE ('$title')");
}
?>
<!-- Content Header (Page header) -->
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0">Manage Sections</h1>
</div><!-- /.col -->
<div class="col-sm-6">
<ol class="breadcrumb float-sm-right">
<li class="breadcrumb-item"><a href="#">Admin</a></li>
<li class="breadcrumb-item active">Sections</li>
</ol>
</div><!-- /.col -->
</div><!-- /.row -->
</div><!-- /.container-fluid -->
</div>
<!-- /.content-header -->
<!-- Main content -->
<section class="content">
<div class="container-fluid">
<div class="row">
<div class="col-lg-8">
<!-- Info boxes -->
<div class="card">
<div class="card-header py-2">
<h3 class="card-title">
Sections
</h3>
</div>
<div class="card-body">
<div class="table-responsive">
<table class="table table-bordered">
<thead>
<tr>
<th>S.No.</th>
<th>Title</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<?php
$query = mysqli_query($db_conn, 'SELECT * FROM sections');
while($section = mysqli_fetch_object($query)) {?>
36 | P a g e
<tr>
<td><?=$count++?></td>
<td><?=$section->title?></td>
<td></td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="col-lg-4">
<div class="card">
<div class="card-header py-2">
<h3 class="card-title">
Add New Sections
</h3>
</div>
<div class="card-body">
<form action="" method="POST">
<div class="form-group">
<label for="title">Title</label>
<input type="text" name="title" placeholder="Title" required class="form-control">
</div>
<button name="submit" class="btn btn-success float-right">
Submit
</button>
</form>
</div>
</div>
</div>
</div>
</div><!--/. container-fluid -->
</section>
<!-- /.content -->
<?php include('footer.php') ?>
Classes.php
<?php include('../includes/config.php') ?>
<?php include('header.php') ?>
<?php include('sidebar.php') ?>
<?php
if(isset($_POST['submit']))
{
$title = $_POST['title'];
$sections = implode(',',$_POST['section']);
$added_date = date('Y-m-d');
mysqli_query($db_conn,"INSERT INTO classes (title,section,added_date)
VALUE ('$title','$sections','$added_date')");
}
?>
<!-- Content Header (Page header) -->
37 | P a g e
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0">Manage Classes</h1>
</div><!-- /.col -->
<div class="col-sm-6">
<ol class="breadcrumb float-sm-right">
<li class="breadcrumb-item"><a href="#">Admin</a></li>
<li class="breadcrumb-item active">Classes</li>
</ol>
</div><!-- /.col -->
</div><!-- /.row -->
</div><!-- /.container-fluid -->
</div>
<!-- /.content-header -->
<!-- Main content -->
<section class="content">
<div class="container-fluid">
<?php
if (isset($_REQUEST['action'])) { ?>
<!-- Info boxes -->
<div class="card">
<div class="card-header py-2">
<h3 class="card-title">
Add New Class
</h3>
</div>
<div class="card-body">
<form action="classes.php" method="POST">
<div class="form-group">
<label for="title">Title</label>
<input type="text" name="title" placeholder="Title" required class="form-control">
</div>
<div class="form-group">
<label for="title">Section</label>
<?php
$query = mysqli_query($db_conn,'SELECT * FROM sections');
$count=1;
while($sections = mysqli_fetch_object($query)){ ?>
<div>
<label for="<?=$count?>">
<input type="checkbox" id="<?=$count?>" value="<?=$sections->id?>"
name="section[]" placeholder="Title">
<?=$sections->title?>
</label>
</div>
<?php
$count++;
} ?>
</div>
<button name="submit" class="btn btn-success">
Submit
</button>
</form>
</div>
</div>
<?php }else {?>
38 | P a g e
<div class="card">
<div class="card-header py-2">
<h3 class="card-title">
Classes
</h3>
<div class="card-tools">
<a href="?action=add-new" class="btn btn-success btn-xs"><i class="fa fa-plus mr-2"></i>Add New
</a>
</div>
</div>
<div class="card-body">
<div class="table-responsive">
<table class="table table-bordered">
<thead>
<tr>
<th style="width:60px" class="text-center">S.No.</th>
<th class="text-center" style="width:200px">Name</th>
<th class="text-center" style="width:200px">Section</th>
<th class="text-center" style="width:200px">Date</th>
</tr>
</thead>
<tbody>
<?php
$count=1;
$cla_query = mysqli_query($db_conn, 'SELECT * FROM classes');
while($class = mysqli_fetch_object($cla_query)) {?>
<tr>
<td class="text-center"><?=$count++?>.</td>
<td class="text-center"><?=$class->title?></td>
<td class="text-center">
<?php
$sections = explode(',',$class->section);
foreach($sections as $section)
{
$sec_query = mysqli_query($db_conn,'SELECT * FROM sections WHERE id = '.$section.'');
$sec = mysqli_fetch_object($sec_query);
echo $sec->title .'<br>';
}
?>
</td>
<td class="text-center"><?=$class->added_date?></td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</div>
<!-- Info boxes -->
<?php } ?>
</div><!--/. container-fluid -->
</section>
<!-- /.content -->
<?php include('footer.php') ?>
39 | P a g e
Courses.php
<?php include('../includes/config.php') ?>
<?php include('header.php') ?>
<?php
if(isset($_POST['submit']))
{
$name = $_POST['name'];
$category = $_POST['category'];
$duration = $_POST['duration'];
$image = $_FILES["thumbnail"]["name"];
$today = date('y-m-d H:i:s');
$target_dir = "../dist/uploads/";
$target_file = $target_dir . basename($_FILES["thumbnail"]["name"]);
$uploadOk = 1;
$imageFileType = strtolower(pathinfo($target_file,PATHINFO_EXTENSION));
// Check if file already exists
if (file_exists($target_file)) {
echo "Sorry, file already exists.";
$uploadOk = 0;
}
// Check file size
if ($_FILES["thumbnail"]["size"] > 500000) {
echo "Sorry, your file is too large.";
$uploadOk = 0;
}
// Allow certain file formats
if($imageFileType != "jpg" && $imageFileType != "png" && $imageFileType != "jpeg"
&& $imageFileType != "gif" ) {
echo "Sorry, only JPG, JPEG, PNG & GIF files are allowed.";
$uploadOk = 0;
}
// Check if $uploadOk is set to 0 by an error
if ($uploadOk == 0) {
echo "Sorry, your file was not uploaded.";
// if everything is ok, try to upload file
} else {
if (move_uploaded_file($_FILES["thumbnail"]["tmp_name"], $target_file))
{
mysqli_query($db_conn,"INSERT INTO courses (`name`,`category`,`duration`,`image`,`date`)
VALUES('$name','$category','$duration','$image','$today')") or die(mysqli_error($db_conn));
$_SESSION['success_msg'] = 'Course has been uploaded successfuly.';
header('Location: courses.php'); exit;
} else {
echo "Sorry, there was an error uploading your file.";
}
}
}
?>
<?php include('sidebar.php') ?>
<!-- Content Header (Page header) -->
<div class="content-header">
<div class="container-fluid">
40 | P a g e
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0">Manage Courses <small></small></h1>
</div><!-- /.col -->
<div class="col-sm-6">
<ol class="breadcrumb float-sm-right">
<li class="breadcrumb-item"><a href="#">Admin</a></li>
<li class="breadcrumb-item active">Courses</li>
</ol>
</div><!-- /.col -->
<?php
if(isset($_SESSION['success_msg']))
{?>
<div class="col-12">
<small class="text-success" style="font-size:16px"><?=$_SESSION['success_msg']?></small>
</div>
<?php
unset($_SESSION['success_msg']);
}
?>
</div><!-- /.row -->
</div><!-- /.container-fluid -->
</div>
<!-- /.content-header -->
<!-- Main content -->
<section class="content">
<div class="container-fluid">
<?php
if (isset($_REQUEST['action'])) { ?>
<!-- Info boxes -->
<div class="card">
<div class="card-header py-2">
<h3 class="card-title">
Add New Course
</h3>
</div>
<div class="card-body">
<form action="courses.php" method="POST" enctype="multipart/form-data">
<div class="form-group">
<label for="name">Course Name</label>
<input type="text" name="name" placeholder="Course Title" required class="form-control">
</div>
<div class="form-group">
<label for="category">Course Category</label>
<select name="category" id="category" class="form-control">
<option value="">Select Category</option>
<option value="web-design-&-development">Web Design & Development</option>
<option value="app-development">App Development</option>
</select>
</div>
<div class="form-group">
<label for="duration">Course Duration</label>
<input type="text" name="duration" id="duration" class="form-control"
placeholder="Course duration" required>
</div>
<!--for image-->
<div class="form-group">
<input type="file" name="thumbnail" id="thumbnail" required>
</div>
41 | P a g e
<button name="submit" class="btn btn-success">
Submit
</button>
</form>
</div>
</div>
<?php }else {?>
<div class="card">
<div class="card-header py-2">
<h3 class="card-title">
Courses
</h3>
<div class="card-tools">
<a href="?action=add-new" class="btn btn-success btn-xs"><i class="fa fa-plus mr-2"></i>Add New
</a>
</div>
</div>
<div class="card-body">
<div class="table-responsive">
<table class="table table-bordered">
<thead>
<tr>
<th>S.No.</th>
<th>Image</th>
<th>Name</th>
<th>Category</th>
<th>Duration</th>
<th>Date</th>
</tr>
</thead>
<tbody>
<?php
$count=1;
$curse_query = mysqli_query($db_conn, 'SELECT * FROM courses');
while($course = mysqli_fetch_object($curse_query)) {?>
<tr>
<td><?=$count++?></td>
<td><img src="../dist/uploads/<?=$course->image?>" alt="<?=$course->name?>"
height="100" class="border"></td>
<td><?=$course->name?></td>
<td><?=$course->category?></td>
<td><?=$course->duration?></td>
<td><?=$course->date?></td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</div>
<!-- Info boxes -->
<?php } ?>
</div><!--/. container-fluid -->
</section>
<!-- /.content -->
<?php include('footer.php') ?>
42 | P a g e
Subjects.php
<?php include('../includes/config.php') ?>
<?php include('header.php') ?>
<?php include('sidebar.php') ?>
<?php
if(isset($_POST['submit']))
{
$title = $_POST['title'];
mysqli_query($db_conn,"INSERT INTO subjects (title) VALUE ('$title')");
}
?>
<!-- Content Header (Page header) -->
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0">Manage Subjects</h1>
</div><!-- /.col -->
<div class="col-sm-6">
<ol class="breadcrumb float-sm-right">
<li class="breadcrumb-item"><a href="#">Admin</a></li>
<li class="breadcrumb-item active">Subjects</li>
</ol>
</div><!-- /.col -->
</div><!-- /.row -->
</div><!-- /.container-fluid -->
</div>
<!-- /.content-header -->
<!-- Main content -->
<section class="content">
<div class="container-fluid">
<div class="row">
<div class="col-lg-8">
<!-- Info boxes -->
<div class="card">
<div class="card-header py-2">
<h3 class="card-title">
Subjects
</h3>
</div>
<div class="card-body">
<div class="table-responsive">
<table class="table table-bordered">
<thead>
<tr>
<th>S.No.</th>
<th>Title</th>
<th>Added_Date</th>
</tr>
</thead>
<tbody>
<?php
$count=1;
43 | P a g e
$query = mysqli_query($db_conn, 'SELECT * FROM subjects');
while($section = mysqli_fetch_object($query)) {?>
<tr>
<td><?=$count++?></td>
<td><?=$section->title?></td>
<td><?=$section->date?></td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="col-lg-4">
<div class="card">
<div class="card-header py-2">
<h3 class="card-title">
Add New Subjects
</h3>
</div>
<div class="card-body">
<form action="" method="POST">
<div class="form-group">
<label for="title">Title</label>
<input type="text" name="title" placeholder="Title" required class="form-control">
</div>
<button name="submit" class="btn btn-success float-right">
Submit
</button>
</form>
</div>
</div>
</div>
</div>
</div><!--/. container-fluid -->
</section>
<!-- /.content -->
<?php include('footer.php') ?>
Timetable.php
<?php include('../includes/config.php') ?>
<?php include('header.php') ?>
<?php include('sidebar.php') ?>
<!-- Content Header (Page header) -->
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0">Manage Time Table</h1>
</div><!-- /.col -->
<div class="col-sm-6">
<ol class="breadcrumb float-sm-right">
<li class="breadcrumb-item"><a href="#">Admin</a></li>
<li class="breadcrumb-item active">Time Table</li>
</ol>
44 | P a g e
</div><!-- /.col -->
</div><!-- /.row -->
</div><!-- /.container-fluid -->
</div>
<!-- /.content-header -->
<!-- Main content -->
<section class="content">
<div class="container-fluid">
<div class="card">
<div class="card-body">
<table class="table table-bordered">
<thead>
<tr>
<th>Timing</th><th>Monday</th> <th>Tuesday</th><th>Wednesday</th><th>Thursady</th>
<th>Friday</th><th>Saturday</th>
</tr>
</thead>
<thead>
<tr>
<td>07:00 AM - 07:45 AM</td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
</tr>
<tr>
<td>07:45 AM - 08:30 AM</td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
</tr>
45 | P a g e
<tr>
<td>08:30 AM - 09:15 AM</td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
</tr>
<tr>
<td>09:15 AM - 10:00 AM</td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
</tr>
<tr>
<td>10:00 AM - 10:30 AM</td>
<td colspan="7" class="text-center"><b>
---------------------------------------- LUNCH BREAK
----------------------------------------
</b></td>
</tr>
<tr>
<td>10:30 AM - 11:15 AM</td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
46 | P a g e
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
</tr>
<tr>
<td>11:15 AM - 12:00 PM</td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
</tr>
<tr>
<td>12:00 PM - 12:45 PM</td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
</tr>
<tr>
<td>12:45 PM - 01:30 PM</td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
47 | P a g e
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
<td> <p>
<b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
</p> </td>
</tr>
</thead>
</table>
</div>
</div>
</div><!--/. container-fluid -->
</section>
<!-- /.content -->
<?php include('footer.php') ?>
MySql Database
48 | P a g e
CHAPTER-7: CONCLUSION
The School Management System which capable of storing school resources such as students
and staff of the school and their relationship was implemented. It is easily to track the
relations of students and courses they have taken, courses and teacher they are given by using
the friendly interface of the system. In recent years, with the pace of technological
development, people have become more and more demanding in terms of quality of life, and
the schools managers in recent years look to improve a performance in their schools to get the
highest rate of knowledge and experience in their student.
49 | P a g e
CHAPTER-8: FUTURE WORK
Some ideas and features can be considered as a future work for this project. These
Features can be summarized in the following points:
 Let the student perform exams Online.
 Bank of question per subject.
 Let teacher add questions to the bank of question.
 Let admin add new classes.
 Add a medical examination part to the system, with a medical supervisor as a new
user.
50 | P a g e
CHAPTER-9: REFERENCES
1) PHP MySQL Website Programming: Problem- Design- Solution byChrisLea, Mike
Buzzard,Dilip Thomas , JesseyWhite-Cinis.
2) Beginning PHP5, Apache, and MySQL Web Development (Programmer toProgrammer)
byElizabeth Naramore.
3) MySQL/PHP Database Applications, 2nd Edition by Brad Bulger4. How to Do
Everythingwith PHP and MySQL by VikramVaswani.
4) Deepak Thomas-”Beginning PHP 4 Databases”, Wrox Press Ltd. Paperback-17,
October,2002.
5) WWW.Google.com
6) WWW.Yaahoo.com
7) WWW.Youtube.com

More Related Content

Similar to Project_sms.pdf

School Management App in order to perform all the tasks in a controlled and s...
School Management App in order to perform all the tasks in a controlled and s...School Management App in order to perform all the tasks in a controlled and s...
School Management App in order to perform all the tasks in a controlled and s...uniprint
 
10.11648.j.ajomis.20160101.11.pdf
10.11648.j.ajomis.20160101.11.pdf10.11648.j.ajomis.20160101.11.pdf
10.11648.j.ajomis.20160101.11.pdfBizuayehuDesalegn
 
10.11648.j.ajomis.20160101.11.pdf
10.11648.j.ajomis.20160101.11.pdf10.11648.j.ajomis.20160101.11.pdf
10.11648.j.ajomis.20160101.11.pdfBizuayehuDesalegn
 
Web Based School Administration System
Web Based School Administration SystemWeb Based School Administration System
Web Based School Administration SystemIRJET Journal
 
Student information management system.pdf
Student information management system.pdfStudent information management system.pdf
Student information management system.pdfKamal Acharya
 
Ignou MCA mini project report
Ignou MCA mini project reportIgnou MCA mini project report
Ignou MCA mini project reportHitesh Jangid
 
IRJET - Smart Student Attendance Management System
IRJET - Smart Student Attendance Management SystemIRJET - Smart Student Attendance Management System
IRJET - Smart Student Attendance Management SystemIRJET Journal
 
a-project-report-on-college-management-system.pdf
a-project-report-on-college-management-system.pdfa-project-report-on-college-management-system.pdf
a-project-report-on-college-management-system.pdfAbenezerBekele10
 
Project report-on-student-information-management-system-php-mysql
Project report-on-student-information-management-system-php-mysqlProject report-on-student-information-management-system-php-mysql
Project report-on-student-information-management-system-php-mysqlRaj Sharma
 
College administation system abstract
College administation system abstractCollege administation system abstract
College administation system abstractNinad Samel
 
Guidelines in Oral Defense
Guidelines in Oral Defense Guidelines in Oral Defense
Guidelines in Oral Defense Angelito Pera
 
Online Learning Management System and Analytics using Deep Learning
Online Learning Management System and Analytics using Deep LearningOnline Learning Management System and Analytics using Deep Learning
Online Learning Management System and Analytics using Deep LearningDr. Amarjeet Singh
 
online education system project report
online education system project reportonline education system project report
online education system project reportHagi Sahib
 
Erudition- Institute Management System
Erudition- Institute Management SystemErudition- Institute Management System
Erudition- Institute Management SystemIRJET Journal
 
Student Management System
Student Management SystemStudent Management System
Student Management SystemHamaQarani
 
Report of case study on an integrated university department information system
Report of case study on an integrated university department information systemReport of case study on an integrated university department information system
Report of case study on an integrated university department information systemKaushik Panta
 
COET3A1.Powerpoint Presentation
COET3A1.Powerpoint PresentationCOET3A1.Powerpoint Presentation
COET3A1.Powerpoint Presentationtroyjan27
 

Similar to Project_sms.pdf (20)

School Management App in order to perform all the tasks in a controlled and s...
School Management App in order to perform all the tasks in a controlled and s...School Management App in order to perform all the tasks in a controlled and s...
School Management App in order to perform all the tasks in a controlled and s...
 
10.11648.j.ajomis.20160101.11.pdf
10.11648.j.ajomis.20160101.11.pdf10.11648.j.ajomis.20160101.11.pdf
10.11648.j.ajomis.20160101.11.pdf
 
10.11648.j.ajomis.20160101.11.pdf
10.11648.j.ajomis.20160101.11.pdf10.11648.j.ajomis.20160101.11.pdf
10.11648.j.ajomis.20160101.11.pdf
 
Web Based School Administration System
Web Based School Administration SystemWeb Based School Administration System
Web Based School Administration System
 
Student information management system.pdf
Student information management system.pdfStudent information management system.pdf
Student information management system.pdf
 
Ignou MCA mini project report
Ignou MCA mini project reportIgnou MCA mini project report
Ignou MCA mini project report
 
IRJET - Smart Student Attendance Management System
IRJET - Smart Student Attendance Management SystemIRJET - Smart Student Attendance Management System
IRJET - Smart Student Attendance Management System
 
School softwer slide
School softwer  slideSchool softwer  slide
School softwer slide
 
a-project-report-on-college-management-system.pdf
a-project-report-on-college-management-system.pdfa-project-report-on-college-management-system.pdf
a-project-report-on-college-management-system.pdf
 
Project report-on-student-information-management-system-php-mysql
Project report-on-student-information-management-system-php-mysqlProject report-on-student-information-management-system-php-mysql
Project report-on-student-information-management-system-php-mysql
 
College administation system abstract
College administation system abstractCollege administation system abstract
College administation system abstract
 
Guidelines in Oral Defense
Guidelines in Oral Defense Guidelines in Oral Defense
Guidelines in Oral Defense
 
Online Learning Management System and Analytics using Deep Learning
Online Learning Management System and Analytics using Deep LearningOnline Learning Management System and Analytics using Deep Learning
Online Learning Management System and Analytics using Deep Learning
 
online education system project report
online education system project reportonline education system project report
online education system project report
 
Hafsa 131003112307-phpapp02
Hafsa 131003112307-phpapp02Hafsa 131003112307-phpapp02
Hafsa 131003112307-phpapp02
 
Erudition- Institute Management System
Erudition- Institute Management SystemErudition- Institute Management System
Erudition- Institute Management System
 
Student Management System
Student Management SystemStudent Management System
Student Management System
 
Report of case study on an integrated university department information system
Report of case study on an integrated university department information systemReport of case study on an integrated university department information system
Report of case study on an integrated university department information system
 
COET3A1.Powerpoint Presentation
COET3A1.Powerpoint PresentationCOET3A1.Powerpoint Presentation
COET3A1.Powerpoint Presentation
 
University management system
University management systemUniversity management system
University management system
 

Recently uploaded

why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendArshad QA
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 

Recently uploaded (20)

why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the ProcessExploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and Backend
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 

Project_sms.pdf

  • 1. 1 | P a g e University of Calcutta A Project Report on <<SCHOOL MANAGEMENT SYSTEM>> A project submitted as part of fulfillment of B.Sc (Hons.) in Computer Science, Semester -VI, 2022 in the department of Computer Science, T.H.K JainCollege. Under the Supervision of <<Prof. Suvadip Das>> Department of Computer Science T.H.K Jain College Submitted by Name: Sonu Shaw Roll No: 193235-21-0009 Registration No: 235-1111-0182-19 Name: Rishabh Gupta Roll No: 193235-21-0011 Registration No: 235-1111-0184-19 Name: Bipul Pandey Roll No: 193235-21-0016 Registration No: 235-1111-0190-19 Name: Md. Irshad Ansari Roll No: 193235-21-0021 Registration No: 235-1111-0197-19
  • 2. 2 | P a g e CERTIFICATE This is to certify that the project entitled “SCHOOL MANAGEMENT SYSTEM"submitted for the requirements of 6th Semester of B.Sc in Computer Science (Honours),University Of Calcutta; has been carried out by Sonu Shaw (Roll No:- 193235-21-0009 and Registration No:- 235-1111-0182-19), Rishabh Gupta (Roll No:- 193235-21-0011 and Registration No:- 235-1111-0184-19), Bipul Pandey (Roll No:- 193235-21-0016 and Registration No:- 235-1111-0190-19) & Md. Irshad Ansari (Roll No:- 193235-21- 0021 and Registration No:- 235-1111-0197-19) under the supervision of Prof. Suvadip Das, T.H.K JAIN COLLEGE , University of Calcutta. ------------------------------- Prof. Suvadip Das Project Supervisor Dept. of Computer Science T.H.K Jain College Prof. Rituparna kundu Department In-Charge Dept. of Computer Science T.H.K Jain College External Examiner
  • 3. 3 | P a g e ACKNOWLEDGEMENT We wish to express our profound sense of gratitude of our project supervisor Prof. Suvadip Das, T.H.K Jain College, University of Calcutta for his support, inspiration and guidance. He has showed us different ways to approach a problem. We have also learned from him that an approach needs to be persistent to accomplish our goal. We are immensely grateful to him for giving his valuable time and constant advice for discussing various ideas related to our project work. It is being precious learning experience for us to work under tutelage. We are also thankful to our department; Department of Computer Science, T.H.K Jain College, University of Calcutta; for providing us with the required resources for working on this project. Lastly we like to express our heartiest gratitude to our parents, seniors and our friends; andto all who have directly or indirectly extended their valuable guidance and advice during the preparation of this project; which will give us the continuous flow of inspiration to complete the project. Date: - 03/08/2022 Name(s): 1. Sonu Shaw 2. Rishabh Gupta 3. Bipul Pandey 4. Md. Irshad Ansari
  • 4. 4 | P a g e CONTENTS CHAPTER NO. CHAPTER NAME PAGE NO. 1. Introduction 6 2. Relational Database Management System(RDBMS) 7 3. Study about different back end and front end application 8-10 4. Important Constructs used regarding MYSQL and PHP 11-14 5. Data Flow Diagram 15 6. Source Code 16-47 7. Conclusion 48 8. Future Work 49 9. References 50
  • 5. 5 | P a g e ABSTRACT The purpose of the project entitled as “SCHOOL MANAGEMENT SYSTEM” is to manage the details of schools, students, classes, teachers and courses. The project is totally built at administrative end and thus only the administrator is guaranteed the access. The purpose of the project is to build an application program to reduce the manual work is to managing the schools, students, and teachers. It tracks all the details about the classes, teachers, and students. Now these days computer play very important role in any formal organization, because computer works faster and accurate than human. The purpose of developing the School Management system of any organization is that to make easy to management to store a large number of data/reports into the computer. It is difficult for any management to store the large number of data manually or in papers. In that case when any user wants to take information it is very difficult for management to provide information immediately. It is very time consuming process. But by using computer it takes only few minutes/seconds. This product is being produced for an educational institute FG public school to maintain it records. This software is basically for the use of administrator of management of this institute they will use it for storing the records and retrieve the information for the users. It is new computerized project of this institute, before this they works manually.
  • 6. 6 | P a g e CHAPTER-1: INTRODUCTION 1.1 Background Nowadays education plays a great role in development of any country. Many of education organizations try to increase education quality. One of the aspects of this improvement is managing of school resources. Our system is a major tool through this managing process by making a continuous communication between headmaster, teacher, parents and student. So in order to achieve that goal, we need a Website that covers the needs of all users at the same time. For Students, they can view their subject's grades, contact with the headmaster and teachers for any complaint, recommendation or absence permission, and they also up to date with all school's news or posts that publish by the other users. For Headmasters, they have a full control on the system, like they can add a new parents, teachers and students with their subjects. For Teachers, they can add student’s grades or edit it for their own subjects only, and they have a direct connection with students and their parents. For Parents, they have an access for their sons/daughters grades without any possibility to edit on it, and they can directly contact with teachers and headmasters. All the system users can publish whatever they need within the educational process on the last updates section, and these posts is visible for all the users. 1.2 Motivation The importance of school education lies in the fact that the children of today will become adult citizens of tomorrow. The growth and future of our country highly depends upon the quality of the present school education system. And in a good school the chief objective is to stimulate interest and curiosity in the students and provide all possible facilities for headmasters, teachers and parents to achieve the desired goal which is a better and easier educational ways for students. So the motivation for our project came from that it has been made for that purpose, and for trying hardly to achieve all the previous goals. 1.3 Scope of the work School Management System is intended to help the any institute that wants to store their students and management records into the computer. Our software is specially designed for an educational institute for public school. Our school management software will fulfil all the requirement of public school. It will store all the personal and academic information of the students. It will also store the fee information of the students. Management will get information of any student who studied/studying in this institute till now easily. This software will also help the management to store their information including their personal information and salary information. Payroll system is very important of any organization. so this software will also handle the pay roll system of this institute. If will also store the results of the students.
  • 7. 7 | P a g e CHAPTER-2: RELATIONAL DATABASE MANAGEMENT SYSTEM (RDBMS) 2.1 Manual System As we know that, manual handling of the record is time consuming and highly prone to error. Notonly we have to organize and store the files, hunting down the information when it is need can take time. When we are working with paper documents it is much harder to make changes. Paper document filing can be less secure than electronic filing systems. To overcome this issue we use file processing system. 2.2 File Processing System It is possible to take faster and automatic back-up of database stored in files, store data compactly, access data remotely and retrieve data stored in files in easy and efficient way. It is easy to edit any information stored in computers in form of files. It is not necessary for a user toremain present at location where these data are kept. Data stored in files of can be shared amongmultiple users at a same time. 2.2.1 Demerits of File Processing System It results in data redundancy and inconsistency, difficult in accessing data, data isolation, dataintegrity, concurrent access is not possible and has security problems. To overcome all this difficulties we use database management system to manage the recordsonline with having all this problems 2.3 Database Management System Database Management System (DBMS) is a computerized system, whose overall purpose is tomaintain the information and it is a collection of programs that enables user to create and maintain a database, i.e, it provides the users with the processes of defining, constructing and manipulating the database for various applications. 2.3.1 Advantages over File Processing System In DBMS, redundancy can be reduced, inconsistency can be avoided, data can be shared, standardscan be enforced, security restrictions can be applied, integrity can be maintained, data gathering can be possible, and requirements can be balanced. 2.4 Relational Database Management System RDBMS Stands for "Relational Database Management System." An RDBMS is a DBMS designed specifically for relational databases. It is relational model in which data is stored in multiple tables where tables are related to each other using primary keysand foreign keys and indexes. A relational database refers to a database that stores data in a structured format, using rows and columns. This makes it easy to locate and access specific values within the database. It is "relational" because the values within each table are related to each other. 2.4.1 Functionality of RDBMS It uses database normalization techniques to avoid redundancy in tables. It helps to fetch data faster using SQL query. It is widely used by enterprises and software developers to store largeamount of complex data. Examples: SQL server, Oracle, MySQL, MariaDB, SQLite.
  • 8. 8 | P a g e CHAPTER-3: STUDY ABOUT DIFFERENT BACK END AND FRONT END APPLICATIONS. 3.1 Introduction There are different types of database management systems, but the relational database management system (RDBMS) is the most popular type of DBMS.With the right RDBMS, companies can create and manage relational databases with all kinds of structured data such asemployee data, customer data, sales data, phone numbers, census records, legal records, and library catalogs. 3.2 Front-end It is „User-side‟ application which provides an interface to fetch, store and display data. Datainputted here and sent to backend database. 3.2.1 Some Frontend Applications 3.2.1.1. HTML HTML stands for Hypertext Markup Language. It is used to design the front-end portion of webpages using a markup language. HTML is the combination of Hypertext and Markup language. Hypertext defines the link between the web pages. The markup language is used to define the text documentation within the tag which defines the structure of web pages. 3.2.1.2. CSS Cascading Style Sheets fondly referred to as CSS is a simply designed language intended to simplify the process of making web pages presentable. CSS allows you to apply styles to webpages. More importantly, CSS enables you to do this independent of the HTML that makes upeach web page. 3.2.1.3. JavaScript JavaScript is a famous scripting language used to create magic on the sites to make the site interactive for the user. It is used to enhancing the functionality of a website to running coolgames and web-based software. 3.3 Cross Platform 3.3.1 XAMP XAMPP is an abbreviation where X stands for Cross-Platform, A stands for Apache, M stands for MYSQL, and the Ps stand for PHP and Perl, respectively. It is an open-source package of web solutions that includes Apache distribution for many servers and command-line executablesalong with modules such as Apache server, MariaDB, PHP, and Perl.
  • 9. 9 | P a g e 3.3.2 Platforms used for Frontend and backend connections 3.3.2.1 PHP It is the backend scripting language primarily used for web development. PHP allows users to create dynamic websites and applications. It can be installed on every platform and supports a variety of database management systems 3.3.2.2 MySQL It is a cross-platformed, leading open source and free relational database management systemwhich is dominating the software industry for the past 25 years. It is super fast and easy to use, having high performance for large databases (more than 50 millionrows in a table). 3.3.2.3 MariaDB MariaDB Server is one of the most popular free open-source relational databases made by theoriginal developers of MySQL and guaranteed to stay open source. 3.32.4 MongoDB MongoDB stores data in JSON-like documents which is much more expressive and powerful than the traditional row-column model. Though MongoDB is a NoSQL database it has all thepower of a relational database and even more. 3.4 Backend It is “Server-side” database which stores data (tables) and is connected to front-end through anAPI. 3.4.1 Some Backend Database 3.4.1.1 MariaDB It is an enhanced drop-in replacement for MySQL and a powerful database server made for MySQL developers providing a platform for turning data into structured information by using awide array of features. 3.4.1.2 Db2 Express-C It is a free community edition of Db2 database software that has a fast setup, easy to use, idealfor academia, small businesses and multi-branch companies. 3.4.1.3 SQLite It is the most widely deployed database in the world with very many applications which includesvery many high-profile projects and it implements a self-contained, server less, zero configuration and transactional SQL database engine. 3.4.1.4 Firebird It is an open source and relational database that provides excellent performance and scales impressively by use of embedded and single user model that provides many SQL and ANSIfeatures 3.4.1.5 Phpmyadmin PhpMyAdmin is a free and open source administration tool for MySQL and MariaDB. As a portable web application written primarily in PHP, it has become one of the most popular MySQL administration tools, especially for web hosting services.
  • 10. 10 | P a g e 3.4.1.6 MySQL It is the world’s most popular open source database. It’s the leading database choice for web-based applications. It supports SQL as its database language. It has views that relate to anSQL query that is viewed as a distinct database object and makes it possible for one to view a particular part of a database. 3.4.1.7 SQL ServerExpress It is free database software that works great with any web application framework like PHP, and applications such as WordPress, and Drupal and can be used to store and access the information stored in many different databases. 3.5 Implementation platform for our project The Front end and Backend used in our project are html, css, JavaScript and php and MySQL forHospital Management System.PHP combined with MySQL are cross-platform (we can developin Windows and serve on a Unix platform).With PHP, we can connect to and manipulate databases. MySQL is the most popular database system used with PHP. 3.5.1 Reason behind using these platforms HTML and CSS are at the heart of Front End development. These languages are relatively easyto learn and offer plenty of flexibility and creativity. JavaScript is a very important tool for a front-end web developer. Without it, WebPages wouldn't have become the dynamic web applications they are today MySQL is a first choice of PHP developers. As an open source Relational Database ManagementSystem (RDBMS) that uses SQL language, MySQL database helps to automate data retrieving and provide great support in PHP MySQL web application development.
  • 11. 11 | P a g e CHAPTER-4: IMPORTANT CONSTRUCTS USED REGARDING MYSQL AND PHP. 4.1 Introduction Mysql database set up with a database user and password and a web development environmentusing mysql or mariadb, apache and php and a simple text editor. It establishes a mysql connection using php on a web page, connecting to a mysql table andretrieving the results and displaying them back on the web page. 4.2 PHP syntax: 4.2.1 mysqli_connect Functionality: Connecting to a MySQL database.Syntax: $db = mysqli_connect('localhost','root','root','database_name'); 4.2.2 mysqli_query Functionality: performing a database query.Code Syntax: $query = "SELECT * FROM table_name";mysqli_query($db, $query); 4.2.3 mysqli_fetch_array Functionality: Adding the table and rows to the Database.Code Syntax: $result = mysqli_query($db, $query); $row = mysqli_fetch_array($result) 4.2.4 mysqli_close Functionality: closing off the connection.Code Syntax: mysqli_close($db);
  • 12. 12 | P a g e 4.3 MySQL Commands: 4.3.1 Create Database Functionality: Creates a new database Code Syntax: CREATE DATABASE databasename; 4.3.2 Alter Database Functionality: modifies a database. Code Syntax: ALTER DATABASE database_name[COLLATE collation_name ] 4.3.3 Create Table Functionality: creates a new table. Code Syntax: CREATE TABLE table_name ( column_1 datatype, column_2 datatype, column_3 datatype ); 4.3.4 Alter table Functionality: This query add, delete, or modify columns in an existing table. Code Syntax: ALTER TABLE table_name ADD column_name datatype; 4.3.5 Insert Record Functionality: Inserts new data into a database Code Syntax: INSERT INTO table_name (column_1, column_2, column_3)VALUES (value_1, „value_2‟, value_3); 4.3.6 Update Record Functionality: updates data in a database Code Syntax: UPDATE table_name SET some_column = some_value WHERE some_column some_value; 4.3.7 Delete Record Functionality: deletes data from a database Code Syntax: DELETE FROM table_name WHERE some_column = some_value;
  • 13. 13 | P a g e 4.3.8 Select Record Functionality: extracts data from a database. Code Syntax: SELECT * FROM table_name; 4.3.9 Drop Table Functionality: deletes a table. Code Syntax: DROP TABLE table_name; 4.4 CSS commands: 4.4.1 The linear-gradient() function: It is an inbuilt function in CSS which is used to set the lineargradient as the background image. Syntax: background-image: linear-gradient( direction, color1, color2, ... ). 4.4.2 Selector − A selector is an HTML tag at which a style will be applied. This could be anytag like <h1> or <table> etc. 4.4.3 Property − A property is a type of attribute of HTML tag. Put simply, all the HTMLattributes are converted into CSS properties. They could be color, border etc. 4.4.4 Value − Values are assigned to properties. For example, color property can have valueeither red or #F1F1F1 etc. 4.4.5 Colors in CSS: In this CSS commands, colors can be specified in RGB formula. Each parameter defines the intensity of these colors and defines a new color. For example, to displayblack all color parameters should be set to RGB (0,0,0). 4.5 Methodology for frontend to backend connection 1. Make the connection. 2. Select the database. 3. perform the query on the table. 4. print out the data. 5. close the connection.
  • 14. 14 | P a g e 4.6 Quickview for php and MySQLconnection: <?php $db = mysqli_connect('localhost','root','root','database_name'); //connecting to a database ?> <?php $query = "SELECT * FROM table_name"; //display table datamysqli_query($db, $query); //performing database query $result = mysqli_query($db, $query); //store it in resultwhile ($row = mysqli_fetch_array($result)) { echo $row['FirstName'] . ' ' . $row['LastName'] . ': ' . $row['Email'] . ' ' . $row['City'] .'<br />'; } mysqli_close($db);?> //close the connection
  • 15. 15 | P a g e CHAPTER-5: DATA FLOW DIAGRAM
  • 16. 16 | P a g e CHAPTER-6: SOURCE CODE Header.php <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>School Management System</title> <!-- Font Awesome --> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css"> <!-- Google Fonts --> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"> <!-- Bootstrap core CSS --> <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.0/css/bootstrap.min.css" rel="stylesheet"> <!-- Material Design Bootstrap --> <link href="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.19.1/css/mdb.min.css" rel="stylesheet"> <style> .btn{ margin:0; } </style> </head> <!--navbar--> <nav class="navbar navbar-expand-lg navbar-light bg-light"> <a class="navbar-brand" href="#"><b>SMS</b></a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria- controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="navbarSupportedContent"> <ul class="navbar-nav mr-auto"> <li class="nav-item active"> <a class="nav-link" href="index.php">Home <span class="sr-only">(current)</span></a> </li> <li class="nav-item"> <a class="nav-link" href="#">Update</a> </li> <li class="nav-item dropdown"> <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> Dropdown </a> <div class="dropdown-menu" aria-labelledby="navbarDropdown"> <a class="dropdown-item" href="#">Action</a> <a class="dropdown-item" href="#">Another action</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="#">Something else here</a> </div> </li> </ul> <!-- Icons --> <ul class="nav navbar-nav ml-auto"> <?php if(isset($_SESSION['login'])) { ?> <li class="nav-item">
  • 17. 17 | P a g e <a class="nav-link dropdown-toggle" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fas fa-user mr-2"></i>Account</a> <div class="dropdown-menu dropdown-menu-right dropdown-default" aria-labelledby="navbarDropdownMenulink-333"> <a class="dropdown-item" href="/sms/admin/dashboard.php">Dashboard</a> <a class="dropdown-item" href="logout.php">logout</a> </li> <?php } else { ?> <li class="nav-item"> <a class="nav-link" href="login.php"><span class="fa fa-user mr-2"></span> Login</a> </li> <?php } ?> </ul> </div> </nav> <body> Footer.php <!-- JQuery --> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <!-- Bootstrap tooltips --> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.4/umd/popper.min.js"></script> <!-- Bootstrap core JavaScript --> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.0/js/bootstrap.min.js"></script> <!-- MDB core JavaScript --> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.19.1/js/mdb.min.js"></script> </body> </html> Config.php <?php $db_conn = mysqli_connect('localhost','root','','sms_project'); if(!$db_conn){ echo 'connection Failed'; exit; } if (!isset($_SESSION)) session_start(); include('functions.php'); ?> Function.php <?php function get_the_teachers($args) { return $output; } function get_the_classes() { global $db_conn; $output = array(); $query = mysqli_query($db_conn, 'SELECT * FROM classes'); while($row = mysqli_fetch_object($query))
  • 18. 18 | P a g e { $output[] = $row; } return $output; } function get_post(array $args =[]) { global $db_conn; if(!empty($args)) { $condition = "WHERE 0 "; foreach($args as $k => $v) { $v = (string)$v; $condition_ar[] = "$k = '$v'"; } if($condition_ar > 0) { $condition = "WHERE " . implode(" AND ", $condition_ar); } }; $sql = "SELECT * FROM posts $condition"; $query = mysqli_query($db_conn,$sql); return mysqli_fetch_object($query); } function get_posts(array $args = [],string $type = 'object') { global $db_conn; $condition = "WHERE 0"; if(!empty($args)) { foreach($args as $k => $v) { $v = (string)$v; $condition_ar[] = "$k = '$v'"; } if ($condition_ar > 0) { $condition = "WHERE " . implode(" AND ", $condition_ar); } }; $sql = "SELECT * FROM posts $condition"; $query = mysqli_query($db_conn,$sql); return data_output($query,$type); } function get_metadata($item_id,$meta_key='',$type ='object') { global $db_conn; $query = mysqli_query($db_conn,"SELECT * FROM metadata WHERE item_id = $item_id"); if(!empty($meta_key)) { $query = mysqli_query($db_conn,"SELECT * FROM metadata WHERE item_id = $item_id AND meta_key =
  • 19. 19 | P a g e '$meta_key'"); } return data_output($query, $type); } function data_output($query , $type = 'object') { $output = array(); if($type == 'object') { while ($result = mysqli_fetch_object($query)) { $output[] = $result; } } else { while($result = mysqli_fetch_assoc($query)) { $output[] = $result; } } return $output; } ?> Login.php <?php include('includes/config.php') ?> <?php include('header.php') ?> <div class="d-flex shadow" style="height:500px;background:linear-gradient(-45deg, yellow 50%, transparent 50%)"> <div class="container-fluid my-auto"> <div class="row"> <div class="col-lg-6 my-auto"> <h1 class="display-4 font-weight-bold"><center>Addmission open for 2022-2023</center></h1> <p><center>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Laboriosam qui, repellat nobis alias quam sunt, veniam similique atque nostrum autem molestiae in quo nam iste ipsum eveniet sint, distinctio quae.</p> <a href="" class="btn btn-lg btn-primary">CALL TO ACTION</a></center> </div> <div class="col-lg-6"> <div class="col-lg-7 mx-auto card shadow-lg"> <div class="card-body"> <h3>Inquiry Form</h3> <form action="" method="post" class=""> <div class="md-form"> <input type="text" id="form1" class="form-control"> <label for="form1">Your Name</label> </div> <div class="md-form"> <input type="email" id="email" class="form-control"> <label for="email">Your Email</label> </div> <div class="md-form"> <input type="text" id="mobile" class="form-control"> <label for="mobile">Your Mobile</label> </div> <div class="md-form"> <textarea id="message" name=""class="form-control md-textarea" rows="3"></textarea> <label for="message">Your Query</label>
  • 20. 20 | P a g e </div> <button class="btn btn-lg btn-primary btn-block">Submit Form</button> </form> </div> </div> </div> </div> </div> </div> </div> <!--About us--> <section class="py-5"> <div class="container"> <div class="row"> <div class="col-lg-6 py-5"> <h2 class="font-weight-bold">About <br> School Management System</h2> <div class="pr-5"> <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Quia inventore neque eius numquam commodi recusandae sequi ut ad, minus facilis sint sunt id totam assumenda ducimus quos cumque voluptas? Nemo. Lorem ipsum dolor, sit amet consectetur adipisicing elit. Quos minus corporis consequatur blanditiis nulla aspernatur maiores nostrum harum voluptas exercitationem, quae, illum omnis magnam ab saepe. Voluptatem ipsum cum nostrum!</p><p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Pariatur sapiente quo tenetur, ipsum esse non, inventore, animi illum sed ducimus minima maxime totam fugit iste a nisi accusamus molestiae vero!</p> </div> <a href="about-us.php" class="btn btn-secondary">Know More</a> </div> <div class="col-lg-6" style="background:url(./assets/images/shutterstock364158869.jpg)"> </div> </div> </div> </section> <style> .course-image { width: 100%; height: 170px !important; object-fit: cover; object-position: center; } </style> <!--Our courses--> <section class="py-5 bg-light"> <div><h2 class="text-center mb-5"><u><b>Our Courses</b></u></h2></div> <div class="container"> <div class="row"> <?php $query = mysqli_query($db_conn,"SELECT * FROM courses ORDER BY id DESC LIMIT 0,8"); while($course = mysqli_fetch_object($query)) {?> <div class="col-lg-3 my-3"> <div class="card"> <div><img src="./dist/uploads/<?=$course->image?>" alt="" class="img-fluid rounded-top course-image"></div> <div class="card-body"> <b><?=$course->name?></b> <p class="card-text">
  • 21. 21 | P a g e <b>Duration:</b><?=$course->duration?><br> <b>Price: </b>4000/- Rs. </p> <button class="btn btn-block btn-primary btn-sm">Enroll Here</button> </div> </div> </div> <?php } ?> </div> </div> </section> <!--Teachers--> <section class="py-5"> <div class="mb-5"><h2 class="text-center"><u><b>Our Techers</b></u></h2> <p class="text-center">Lorem ipsum dolor sit amet consectetur adipisicing elit. Excepturi laudantium voluptatem, cupiditate quis itaque nesciunt dolor hic nobis,<br> repellendus reiciendis architecto deserunt! Ipsam, eos. Sapiente nam rerum voluptates alias voluptatibus.</p> </div> <div class="container"> <div class="row"> <div class="col-lg-3 my-5"> <div class="card"> <div class="col-7 position-absolute" style="top:-50px"> <img src="./assetsimagesdummy-user.png" alt="" class="mw-100 border rounded-circle"> </div> <div class="card-body pt-5 mt-4"> <h5 class="card-title">Teacher's Name</h5> <p class="card-text"> <b>Courses: </b> 5 <br> <b>Rating: </b> <i class="fa fa-star text-warning"></i> <i class="fa fa-star text-warning"></i><i class="fa fa-star text-warning"> </i><i class="fa fa-star text-warning"></i><i class="fa fa-star-half-alt text-warning"></i> </p> </div> </div> </div> <div class="col-lg-3 my-5"> <div class="card"> <div class="col-7 position-absolute" style="top:-50px"> <img src="./assetsimagesdummy-user.png" alt="" class="mw-100 border rounded-circle"> </div> <div class="card-body pt-5 mt-4"> <h5 class="card-title">Teacher's Name</h5> <p class="card-text"> <b>Courses: </b> 5 <br> <b>Rating: </b> <i class="fa fa-star text-warning"></i> <i class="fa fa-star text-warning"></i><i class="fa fa-star text-warning"> </i><i class="fa fa-star text-warning"></i><i class="fa fa-star text-warning"></i> </p> </div> </div> </div> <div class="col-lg-3 my-5"> <div class="card"> <div class="col-7 position-absolute" style="top:-50px"> <img src="./assetsimagesdummy-user.png" alt="" class="mw-100 border rounded-circle"> </div> <div class="card-body pt-5 mt-4">
  • 22. 22 | P a g e <h5 class="card-title">Teacher's Name</h5> <p class="card-text"> <b>Courses: </b> 5 <br> <b>Rating: </b> <i class="fa fa-star text-warning"></i> <i class="fa fa-star text-warning"></i><i class="fa fa-star text-warning"> </i><i class="fa fa-star text-warning"></i><i class="fa fa-star text-warning"></i> </p> </div> </div> </div> <div class="col-lg-3 my-5"> <div class="card"> <div class="col-7 position-absolute" style="top:-50px"> <img src="./assetsimagesdummy-user.png" alt="" class="mw-100 border rounded-circle"> </div> <div class="card-body pt-5 mt-4"> <h5 class="card-title">Teacher's Name</h5> <p class="card-text"> <b>Courses: </b> 5 <br> <b>Rating: </b> <i class="fa fa-star text-warning"></i> <i class="fa fa-star text-warning"></i><i class="fa fa-star text-warning"> </i><i class="fa fa-star text-warning"></i><i class="fa fa-star text-warning"></i> </p> </div> </div> </div> <div class="col-lg-3 my-5"> <div class="card"> <div class="col-7 position-absolute" style="top:-50px"> <img src="./assetsimagesdummy-user.png" alt="" class="mw-100 border rounded-circle"> </div> <div class="card-body pt-5 mt-4"> <h5 class="card-title">Teacher's Name</h5> <p class="card-text"> <b>Courses: </b> 5 <br> <b>Rating: </b> <i class="fa fa-star text-warning"></i> <i class="fa fa-star text-warning"></i><i class="fa fa-star text-warning"> </i><i class="fa fa-star text-warning"></i><i class="fa fa-star text-warning"></i> </p> </div> </div> </div> <div class="col-lg-3 my-5"> <div class="card"> <div class="col-7 position-absolute" style="top:-50px"> <img src="./assetsimagesdummy-user.png" alt="" class="mw-100 border rounded-circle"> </div> <div class="card-body pt-5 mt-4"> <h5 class="card-title">Teacher's Name</h5> <p class="card-text"> <b>Courses: </b> 5 <br> <b>Rating: </b> <i class="fa fa-star text-warning"></i> <i class="fa fa-star text-warning"></i><i class="fa fa-star text-warning"> </i><i class="fa fa-star text-warning"></i><i class="fa fa-star text-warning"></i> </p> </div> </div> </div> <div class="col-lg-3 my-5">
  • 23. 23 | P a g e <div class="card"> <div class="col-7 position-absolute" style="top:-50px"> <img src="./assetsimagesdummy-user.png" alt="" class="mw-100 border rounded-circle"> </div> <div class="card-body pt-5 mt-4"> <h5 class="card-title">Teacher's Name</h5> <p class="card-text"> <b>Courses: </b> 5 <br> <b>Rating: </b> <i class="fa fa-star text-warning"></i> <i class="fa fa-star text-warning"></i><i class="fa fa-star text-warning"> </i><i class="fa fa-star text-warning"></i><i class="fa fa-star text-warning"></i> </p> </div> </div> </div> <div class="col-lg-3 my-5"> <div class="card"> <div class="col-7 position-absolute" style="top:-50px"> <img src="./assetsimagesdummy-user.png" alt="" class="mw-100 border rounded-circle"> </div> <div class="card-body pt-5 mt-4"> <h5 class="card-title">Teacher's Name</h5> <p class="card-text"> <b>Courses: </b> 5 <br> <b>Rating: </b> <i class="fa fa-star text-warning"></i> <i class="fa fa-star text-warning"></i><i class="fa fa-star text-warning"> </i><i class="fa fa-star text-warning"></i><i class="fa fa-star text-warning"></i> </p> </div> </div> </div> </div> </div> </section> <!--Achievements--> <section class="py-5" style="background:yellow"> <div> <div class="container"> <div class="row"> <div class="col-lg-6 pr-5"> <h2><b>Achievements</b></h2> <p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. At, nemo? Omnis consequuntur laudantium assumenda necessitatibus quisquam soluta aperiam sit dicta dolorum neque similique voluptates veniam eos, officiis quam fuga architecto?</p> <img src="./assets/images/achievement.jpg" alt="" width="550" height="600" class="img-fluid rounded"> </div> <div class="col-lg-6 my-auto"> <div class="row"> <div class="col-lg-6 mb-4"> <div class="border rounded "> <div class="card-body text-center"> <span><i class="fa fa-graduation-cap fa-2x"></i></span> <h2 class="my-2 font-weight-bold text-warning">334</h2> <hr> <h3>Graduates</h3> </div> </div> </div>
  • 24. 24 | P a g e <div class="col-lg-6 mb-4"> <div class="border rounded "> <div class="card-body text-center"> <span><i class="fa fa-graduation-cap fa-2x"></i></span> <h2 class="my-2 font-weight-bold text-warning">334</h2> <hr> <h3>Graduates</h3> </div> </div> </div> <div class="col-lg-6 mb-4"> <div class="border rounded "> <div class="card-body text-center"> <span><i class="fa fa-graduation-cap fa-2x"></i></span> <h2 class="my-2 font-weight-bold text-warning">334</h2> <hr> <h3>Graduates</h3> </div> </div> </div> <div class="col-lg-6 mb-4"> <div class="border rounded "> <div class="card-body text-center"> <span><i class="fa fa-graduation-cap fa-2x"></i></span> <h2 class="my-2 font-weight-bold text-warning">334</h2> <hr> <h3>Graduates</h3> </div> </div> </div> </div> </div> </div> </div> </div> </section> <!--Testimonials--> <section class="py-5"> <div class="mb-5"> <h2 class="text-center"><u><b>What People Says</b></u></h2> <p class="text-center">Lorem ipsum dolor sit amet consectetur adipisicing elit. Excepturi laudantium voluptatem, cupiditate quis alias voluptatibus.</p> </div> <div class="container"> <div class="row"> <div class="col-6"> <div class="border rounded position-realtive"> <div class="p-4 text-center"> Lorem ipsum, dolor sit amet consectetur adipisicing elit. Ut a eum dolore et. Fugiat suscipit a eius dicta </div> <i class="fa fa-quote-left fa-2x position-absolute" style="top:.2rem; left: 0.5em"></i> <div class="text-center mt-n2"> <img src="./assets/images/images.jpg" alt="" class="rounded-circle border" width="100" height="100"> <h6 class="mb-0 font-weight-bold">Name of Candidate</h6> <p><i>Designation</i></p> </div> </div>
  • 25. 25 | P a g e </div> <div class="col-6"> <div class="border rounded position-realtive"> <div class="p-4 text-center"> Lorem ipsum, dolor sit amet consectetur adipisicing elit. Ut a eum dolore et. Fugiat suscipit a eius dicta </div> <i class="fa fa-quote-left fa-2x position-absolute" style="top:.2rem; left: 0.5em"></i> <div class="text-center mt-n2"> <img src="./assets/images/images.jpg" alt="" class="rounded-circle border" width="100" height="100"> <h6 class="mb-0 font-weight-bold">Name of Candidate</h6> <p><i>Designation</i></p> </div> </div> </div> </div> </div> </section> <!--Footer--> <footer style="background:url(./assets/images/empty_room-2048x1022-1.jpg) center/cover no-repeat"> <div class="py-5 text-white" style="background:#00000088"> <div class="container-fluid"> <div class="row"> <div class="col-lg-4"> <h5>Useful Links</h5> <ul class="fa-ul"> <li><a href="" class=""><i class="fa-li fa fa-angle-right"></i>List icons</a></li> <li><a href="" class=""><i class="fa-li fa fa-angle-right"></i>can be used</a></li> <li><a href="" class=""><i class="fa-li fa fa-angle-right"></i>as bullets</a></li> <li><a href="" class=""><i class="fa-li fa fa-angle-right"></i>in lists</a></li> </ul> </div> <div class="col-lg-4"> <h5>Social Presence</h5> <div> <span class="fa-stack"> <i class="fa fa-circle fa-stack-2x"></i> <i class="fab fa-facebook-f fa-stack-1x fa-inverse text-dark"></i> </span> <span class="fa-stack"> <i class="fa fa-circle fa-stack-2x"></i> <i class="fab fa-instagram fa-stack-1x fa-inverse text-dark"></i> </span> <span class="fa-stack"> <i class="fa fa-circle fa-stack-2x"></i> <i class="fab fa-twitter fa-stack-1x fa-inverse text-dark"></i> </span> <span class="fa-stack"> <i class="fa fa-circle fa-stack-2x"></i> <i class="fab fa-linkedin fa-stack-1x fa-inverse text-dark"></i> </span> <span class="fa-stack"> <i class="fa fa-circle fa-stack-2x"></i> <i class="fab fa-youtube fa-stack-1x fa-inverse text-dark"></i> </span> </div> </div> <div class="col-lg-3">
  • 26. 26 | P a g e <h5>Subscribe Now</h5> <form action=""> <div class="form-group"> <input type="text" id="email-s" class="form-control" placeholder="Your Email"> </div> <button class="btn btn-secondary btn-sm btn-block">Submit</button> </form> </div> </div> </div> </div> </footer> <!--copyright--> <section class="py-2 bg-dark text-light "> <div class="container-fluid"> Copyright 2022-2023 All Rights Reserved. <a href="#" class="text-light">School Management System</a> </div> </section> <?php include('footer.php') ?>
  • 27. 27 | P a g e Login.php <?php include('header.php') ?> <section class="bg-light vh-100 d-flex"> <div class="col-3 m-auto"> <div class="card"> <div class="card-body mt-n2"> <div class="col-7 position-center" style="top:-50px left:50px;"> <img src="./assets/images/dummy-user.png" alt="" class="rounded-circle border" width="200" height="200"> </div> <form action="actions/login.php" method="POST"> <div class="md-form"> <input type="email" id="email" name="email" class="form-control"> <label for="email">Your Email</label> </div> <div class="md-form"> <input type="password" id="password" name="password" class="form-control"> <label for="password">Your Password</label> </div> <div class="text-center"> <button class="btn btn-secondary" name="login">Login</button> </div> </form> </div> </div> </div> </section> <?php include('footer.php') ?> <?php if(isset($_POST['login'])) { $email = $_POST['email']; $pass = $_POST['password']; if($email=='admin@example.com' && $pass =='admin@pass'){ session_start(); $_SESSION['login'] = true; header('Location:../admin/dashboard.php'); } else{ echo '<script type="text/javascript"> window.onload = function () {
  • 28. 28 | P a g e alert("Invalid Credentials"); window.location.href = "../login.php"; } </script>'; } } Logout.php <?php session_start(); session_destroy(); header('Location: index.php'); ?> Admin Panel Header.php <?php //session_start(); $site_url = 'http://localhost/sms/'; if(isset($_SESSION['login'])) { } else { header('Location: ../login.php'); } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Admin | Dashboard</title> <!-- Google Font: Source Sans Pro --> <link rel="stylesheet" href="../https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback"> <!-- Font Awesome Icons --> <link rel="stylesheet" href="../plugins/fontawesome-free/css/all.min.css"> <!-- overlayScrollbars -->
  • 29. 29 | P a g e <link rel="stylesheet" href="../plugins/overlayScrollbars/css/OverlayScrollbars.min.css"> <!-- Theme style --> <link rel="stylesheet" href="../dist/css/adminlte.min.css"> </head> <body class="hold-transition sidebar-mini layout-fixed layout-navbar-fixed layout-footer-fixed"> <div class="wrapper"> Footer.php </div> <!-- Main Footer --> <footer class="main-footer"> <strong>Copyright &copy; 2022-2023 <a href="#">School Management System</a>.</strong> All rights reserved. <div class="float-right d-none d-sm-inline-block"> <b>Version</b> 1.0 </div> </footer> </div> <!-- ./wrapper --> <!-- REQUIRED SCRIPTS --> <!-- jQuery --> <script src="../plugins/jquery/jquery.min.js"></script> <!-- Bootstrap --> <script src="../plugins/bootstrap/js/bootstrap.bundle.min.js"></script> <!-- overlayScrollbars --> <script src="../plugins/overlayScrollbars/js/jquery.overlayScrollbars.min.js"></script> <!-- AdminLTE App --> <script src="../dist/js/adminlte.js"></script> <!-- Admin for demo purposes --> <script src="../dist/js/demo.js"></script> <script> (function(){ var path = window.location.href; //console.log(path); $(".nav-link").each(function() { var href = $(this).attr('href'); //console.log(href); if (path === decodeURIComponent(href)) { $(this).addClass('active'); var parent = $(this).closest('.has-treeview'); parent.addClass('menu-open'); $(parent).find('.nav-link').first().addClass('active'); //console.log(parent); }; }); }()); </script> <!-- Subjects --> <script> jQuery(document).ready(function() { jQuery('#class').change(function() {
  • 30. 30 | P a g e // alert(jQuery(this).val()); jQuery.ajax({ url:'ajax.php', type:'POST', data:{'class_id':jQuery(this).val()}, dataType: 'json', success: function(response) { if(response.count > 0) { jQuery('#section-container').show(); } else { jQuery('#section-container').hide(); } jQuery('#section').html(response.options); } }); }); }) </script> </body> </html> Dashboard.php <?php include('../includes/config.php') ?> <?php include('header.php') ?> <?php include('sidebar.php') ?> <!-- Content Header (Page header) --> <div class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1 class="m-0">Dashboard</h1> </div><!-- /.col --> <div class="col-sm-6"> <ol class="breadcrumb float-sm-right"> <li class="breadcrumb-item"><a href="#">Admin</a></li> <li class="breadcrumb-item active">Dashboard</li> </ol> </div><!-- /.col --> </div><!-- /.row --> </div><!-- /.container-fluid --> </div> <!-- /.content-header --> <!-- Main content --> <section class="content"> <div class="container-fluid"> <!-- Info boxes --> <div class="row"> <div class="col-12 col-sm-6 col-md-3"> <div class="info-box"> <span class="info-box-icon bg-info elevation-1"><i class="fas fa-graduation-cap"></i></span> <div class="info-box-content"> <span class="info-box-text">Total Students</span> <span class="info-box-number">5000</span> </div>
  • 31. 31 | P a g e <!-- /.info-box-content --> </div> <!-- /.info-box --> </div> <!-- /.col --> <div class="col-12 col-sm-6 col-md-3"> <div class="info-box mb-3"> <span class="info-box-icon bg-danger elevation-1"><i class="fas fa-users"></i></span> <div class="info-box-content"> <span class="info-box-text">Total Teachers</span> <span class="info-box-number">100</span> </div> <!-- /.info-box-content --> </div> <!-- /.info-box --> </div> <!-- /.col --> <!-- fix for small devices only --> <div class="clearfix hidden-md-up"></div> <div class="col-12 col-sm-6 col-md-3"> <div class="info-box mb-3"> <span class="info-box-icon bg-success elevation-1"><i class="fas fa-book-reader"></i></span> <div class="info-box-content"> <span class="info-box-text">Total Courses</span> <span class="info-box-number">50</span> </div> <!-- /.info-box-content --> </div> <!-- /.info-box --> </div> <!-- /.col --> <div class="col-12 col-sm-6 col-md-3"> <div class="info-box mb-3"> <span class="info-box-icon bg-warning elevation-1"><i class="fas fa-question"></i></span> <div class="info-box-content"> <span class="info-box-text"> New Inquiries</span> <span class="info-box-number">10</span> </div> <!-- /.info-box-content --> </div> <!-- /.info-box --> </div> <!-- /.col --> </div> </div><!--/. container-fluid --> </section> <!-- /.content --> <?php include('footer.php') ?>
  • 32. 32 | P a g e User-account.php <?php include('../includes/config.php') ?> <?php $error = ''; if(isset($_POST['submit'])) { $name = $_POST['name']; $email = $_POST['email']; $password = md5(1234567890); $type = $_POST['type']; $check_query = mysqli_query($db_conn, "SELECT * FROM accounts WHERE email = '$email'"); if(mysqli_num_rows($check_query)>0) { $error = 'Email already exists.'; } else { mysqli_query($db_conn,"INSERT INTO accounts (`name`,`email`,`password`,`type`) VALUES ('$name', '$email','$password','$type')") or die(mysqli_error($db_conn)); $_SESSION['success_msg'] = 'User has been successfully registered.'; header('Location: user_account.php?user='.$type); exit; } } ?> <?php include('header.php') ?> <?php include('sidebar.php') ?> <!-- Content Header (Page header) --> <div class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <div class="d-flex"> <h1 class="m-0">Manage Accounts</h1> <a href="user_account.php?user=<?=($_REQUEST['user'])?>&action=add-new" class="btn btn-primary btn-sm">Add New</a> </div> </div><!-- /.col --> <div class="col-sm-6"> <ol class="breadcrumb float-sm-right"> <li class="breadcrumb-item"><a href="#">Accounts</a></li>
  • 33. 33 | P a g e <li class="breadcrumb-item active"><?php echo ucfirst($_REQUEST['user'])?></li> </ol> </div><!-- /.col --> <?php if(isset($_SESSION['success_msg'])) {?> <div class="col-12"> <small class="text-success" style="font-size:16px"><?=$_SESSION['success_msg']?></small> </div> <?php unset($_SESSION['success_msg']); } ?> </div><!-- /.row --> </div><!-- /.container-fluid --> </div> <!-- /.content-header --> <!-- Main content --> <section class="content"> <div class="container-fluid"> <?php if(isset($_GET['action']) && $_GET['action']) {?> <div class="card"> <div class="card-body"> <form action="" method="post"> <div class="form-group"> <input type="text" class="form-control" placeholder="Full Name" name="name" required> </div> <div class="form-group"> <input type="email" class="form-control" placeholder="Email Address" name="email" required> </div> <input type="hidden" name="type" value="<?=$_REQUEST['user']?>"> <input type="submit" name="submit" class="btn btn-primary" value="Register"> </div> <?=$error?> </form> </div> <?php } else {?> <!-- Info boxes --> <div class="table-responsive bg-white"> <table class="table table-bordered"> <thead> <tr> <th>S.No.</th> <th>Name</th> <th>Email</th> <th>Added_Date</th> </tr> </thead> <tbody> <?php $count=1; $user_query='SELECT * FROM accounts WHERE `type` = "'.$_REQUEST['user'].'"'; $user_result = mysqli_query($db_conn,$user_query); while($users = mysqli_fetch_object($user_result)) { ?> <tr>
  • 34. 34 | P a g e <td><?=$count++?></td> <td><?=$users->name?></td> <td><?=$users->email?></td> <td><?=$users->date?></td> </tr> <?php } ?> </tbody> </table> </div> <?php } ?> </div><!--/. container-fluid --> </section> <!-- /.content --> <?php include('footer.php') ?>
  • 35. 35 | P a g e Sections.php <?php include('../includes/config.php') ?> <?php include('header.php') ?> <?php include('sidebar.php') ?> <?php if(isset($_POST['submit'])) { $title = $_POST['title']; mysqli_query($db_conn,"INSERT INTO sections (title) VALUE ('$title')"); } ?> <!-- Content Header (Page header) --> <div class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1 class="m-0">Manage Sections</h1> </div><!-- /.col --> <div class="col-sm-6"> <ol class="breadcrumb float-sm-right"> <li class="breadcrumb-item"><a href="#">Admin</a></li> <li class="breadcrumb-item active">Sections</li> </ol> </div><!-- /.col --> </div><!-- /.row --> </div><!-- /.container-fluid --> </div> <!-- /.content-header --> <!-- Main content --> <section class="content"> <div class="container-fluid"> <div class="row"> <div class="col-lg-8"> <!-- Info boxes --> <div class="card"> <div class="card-header py-2"> <h3 class="card-title"> Sections </h3> </div> <div class="card-body"> <div class="table-responsive"> <table class="table table-bordered"> <thead> <tr> <th>S.No.</th> <th>Title</th> <th>Action</th> </tr> </thead> <tbody> <?php $query = mysqli_query($db_conn, 'SELECT * FROM sections'); while($section = mysqli_fetch_object($query)) {?>
  • 36. 36 | P a g e <tr> <td><?=$count++?></td> <td><?=$section->title?></td> <td></td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> </div> <div class="col-lg-4"> <div class="card"> <div class="card-header py-2"> <h3 class="card-title"> Add New Sections </h3> </div> <div class="card-body"> <form action="" method="POST"> <div class="form-group"> <label for="title">Title</label> <input type="text" name="title" placeholder="Title" required class="form-control"> </div> <button name="submit" class="btn btn-success float-right"> Submit </button> </form> </div> </div> </div> </div> </div><!--/. container-fluid --> </section> <!-- /.content --> <?php include('footer.php') ?> Classes.php <?php include('../includes/config.php') ?> <?php include('header.php') ?> <?php include('sidebar.php') ?> <?php if(isset($_POST['submit'])) { $title = $_POST['title']; $sections = implode(',',$_POST['section']); $added_date = date('Y-m-d'); mysqli_query($db_conn,"INSERT INTO classes (title,section,added_date) VALUE ('$title','$sections','$added_date')"); } ?> <!-- Content Header (Page header) -->
  • 37. 37 | P a g e <div class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1 class="m-0">Manage Classes</h1> </div><!-- /.col --> <div class="col-sm-6"> <ol class="breadcrumb float-sm-right"> <li class="breadcrumb-item"><a href="#">Admin</a></li> <li class="breadcrumb-item active">Classes</li> </ol> </div><!-- /.col --> </div><!-- /.row --> </div><!-- /.container-fluid --> </div> <!-- /.content-header --> <!-- Main content --> <section class="content"> <div class="container-fluid"> <?php if (isset($_REQUEST['action'])) { ?> <!-- Info boxes --> <div class="card"> <div class="card-header py-2"> <h3 class="card-title"> Add New Class </h3> </div> <div class="card-body"> <form action="classes.php" method="POST"> <div class="form-group"> <label for="title">Title</label> <input type="text" name="title" placeholder="Title" required class="form-control"> </div> <div class="form-group"> <label for="title">Section</label> <?php $query = mysqli_query($db_conn,'SELECT * FROM sections'); $count=1; while($sections = mysqli_fetch_object($query)){ ?> <div> <label for="<?=$count?>"> <input type="checkbox" id="<?=$count?>" value="<?=$sections->id?>" name="section[]" placeholder="Title"> <?=$sections->title?> </label> </div> <?php $count++; } ?> </div> <button name="submit" class="btn btn-success"> Submit </button> </form> </div> </div> <?php }else {?>
  • 38. 38 | P a g e <div class="card"> <div class="card-header py-2"> <h3 class="card-title"> Classes </h3> <div class="card-tools"> <a href="?action=add-new" class="btn btn-success btn-xs"><i class="fa fa-plus mr-2"></i>Add New </a> </div> </div> <div class="card-body"> <div class="table-responsive"> <table class="table table-bordered"> <thead> <tr> <th style="width:60px" class="text-center">S.No.</th> <th class="text-center" style="width:200px">Name</th> <th class="text-center" style="width:200px">Section</th> <th class="text-center" style="width:200px">Date</th> </tr> </thead> <tbody> <?php $count=1; $cla_query = mysqli_query($db_conn, 'SELECT * FROM classes'); while($class = mysqli_fetch_object($cla_query)) {?> <tr> <td class="text-center"><?=$count++?>.</td> <td class="text-center"><?=$class->title?></td> <td class="text-center"> <?php $sections = explode(',',$class->section); foreach($sections as $section) { $sec_query = mysqli_query($db_conn,'SELECT * FROM sections WHERE id = '.$section.''); $sec = mysqli_fetch_object($sec_query); echo $sec->title .'<br>'; } ?> </td> <td class="text-center"><?=$class->added_date?></td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> <!-- Info boxes --> <?php } ?> </div><!--/. container-fluid --> </section> <!-- /.content --> <?php include('footer.php') ?>
  • 39. 39 | P a g e Courses.php <?php include('../includes/config.php') ?> <?php include('header.php') ?> <?php if(isset($_POST['submit'])) { $name = $_POST['name']; $category = $_POST['category']; $duration = $_POST['duration']; $image = $_FILES["thumbnail"]["name"]; $today = date('y-m-d H:i:s'); $target_dir = "../dist/uploads/"; $target_file = $target_dir . basename($_FILES["thumbnail"]["name"]); $uploadOk = 1; $imageFileType = strtolower(pathinfo($target_file,PATHINFO_EXTENSION)); // Check if file already exists if (file_exists($target_file)) { echo "Sorry, file already exists."; $uploadOk = 0; } // Check file size if ($_FILES["thumbnail"]["size"] > 500000) { echo "Sorry, your file is too large."; $uploadOk = 0; } // Allow certain file formats if($imageFileType != "jpg" && $imageFileType != "png" && $imageFileType != "jpeg" && $imageFileType != "gif" ) { echo "Sorry, only JPG, JPEG, PNG & GIF files are allowed."; $uploadOk = 0; } // Check if $uploadOk is set to 0 by an error if ($uploadOk == 0) { echo "Sorry, your file was not uploaded."; // if everything is ok, try to upload file } else { if (move_uploaded_file($_FILES["thumbnail"]["tmp_name"], $target_file)) { mysqli_query($db_conn,"INSERT INTO courses (`name`,`category`,`duration`,`image`,`date`) VALUES('$name','$category','$duration','$image','$today')") or die(mysqli_error($db_conn)); $_SESSION['success_msg'] = 'Course has been uploaded successfuly.'; header('Location: courses.php'); exit; } else { echo "Sorry, there was an error uploading your file."; } } } ?> <?php include('sidebar.php') ?> <!-- Content Header (Page header) --> <div class="content-header"> <div class="container-fluid">
  • 40. 40 | P a g e <div class="row mb-2"> <div class="col-sm-6"> <h1 class="m-0">Manage Courses <small></small></h1> </div><!-- /.col --> <div class="col-sm-6"> <ol class="breadcrumb float-sm-right"> <li class="breadcrumb-item"><a href="#">Admin</a></li> <li class="breadcrumb-item active">Courses</li> </ol> </div><!-- /.col --> <?php if(isset($_SESSION['success_msg'])) {?> <div class="col-12"> <small class="text-success" style="font-size:16px"><?=$_SESSION['success_msg']?></small> </div> <?php unset($_SESSION['success_msg']); } ?> </div><!-- /.row --> </div><!-- /.container-fluid --> </div> <!-- /.content-header --> <!-- Main content --> <section class="content"> <div class="container-fluid"> <?php if (isset($_REQUEST['action'])) { ?> <!-- Info boxes --> <div class="card"> <div class="card-header py-2"> <h3 class="card-title"> Add New Course </h3> </div> <div class="card-body"> <form action="courses.php" method="POST" enctype="multipart/form-data"> <div class="form-group"> <label for="name">Course Name</label> <input type="text" name="name" placeholder="Course Title" required class="form-control"> </div> <div class="form-group"> <label for="category">Course Category</label> <select name="category" id="category" class="form-control"> <option value="">Select Category</option> <option value="web-design-&-development">Web Design & Development</option> <option value="app-development">App Development</option> </select> </div> <div class="form-group"> <label for="duration">Course Duration</label> <input type="text" name="duration" id="duration" class="form-control" placeholder="Course duration" required> </div> <!--for image--> <div class="form-group"> <input type="file" name="thumbnail" id="thumbnail" required> </div>
  • 41. 41 | P a g e <button name="submit" class="btn btn-success"> Submit </button> </form> </div> </div> <?php }else {?> <div class="card"> <div class="card-header py-2"> <h3 class="card-title"> Courses </h3> <div class="card-tools"> <a href="?action=add-new" class="btn btn-success btn-xs"><i class="fa fa-plus mr-2"></i>Add New </a> </div> </div> <div class="card-body"> <div class="table-responsive"> <table class="table table-bordered"> <thead> <tr> <th>S.No.</th> <th>Image</th> <th>Name</th> <th>Category</th> <th>Duration</th> <th>Date</th> </tr> </thead> <tbody> <?php $count=1; $curse_query = mysqli_query($db_conn, 'SELECT * FROM courses'); while($course = mysqli_fetch_object($curse_query)) {?> <tr> <td><?=$count++?></td> <td><img src="../dist/uploads/<?=$course->image?>" alt="<?=$course->name?>" height="100" class="border"></td> <td><?=$course->name?></td> <td><?=$course->category?></td> <td><?=$course->duration?></td> <td><?=$course->date?></td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> <!-- Info boxes --> <?php } ?> </div><!--/. container-fluid --> </section> <!-- /.content --> <?php include('footer.php') ?>
  • 42. 42 | P a g e Subjects.php <?php include('../includes/config.php') ?> <?php include('header.php') ?> <?php include('sidebar.php') ?> <?php if(isset($_POST['submit'])) { $title = $_POST['title']; mysqli_query($db_conn,"INSERT INTO subjects (title) VALUE ('$title')"); } ?> <!-- Content Header (Page header) --> <div class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1 class="m-0">Manage Subjects</h1> </div><!-- /.col --> <div class="col-sm-6"> <ol class="breadcrumb float-sm-right"> <li class="breadcrumb-item"><a href="#">Admin</a></li> <li class="breadcrumb-item active">Subjects</li> </ol> </div><!-- /.col --> </div><!-- /.row --> </div><!-- /.container-fluid --> </div> <!-- /.content-header --> <!-- Main content --> <section class="content"> <div class="container-fluid"> <div class="row"> <div class="col-lg-8"> <!-- Info boxes --> <div class="card"> <div class="card-header py-2"> <h3 class="card-title"> Subjects </h3> </div> <div class="card-body"> <div class="table-responsive"> <table class="table table-bordered"> <thead> <tr> <th>S.No.</th> <th>Title</th> <th>Added_Date</th> </tr> </thead> <tbody> <?php $count=1;
  • 43. 43 | P a g e $query = mysqli_query($db_conn, 'SELECT * FROM subjects'); while($section = mysqli_fetch_object($query)) {?> <tr> <td><?=$count++?></td> <td><?=$section->title?></td> <td><?=$section->date?></td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> </div> <div class="col-lg-4"> <div class="card"> <div class="card-header py-2"> <h3 class="card-title"> Add New Subjects </h3> </div> <div class="card-body"> <form action="" method="POST"> <div class="form-group"> <label for="title">Title</label> <input type="text" name="title" placeholder="Title" required class="form-control"> </div> <button name="submit" class="btn btn-success float-right"> Submit </button> </form> </div> </div> </div> </div> </div><!--/. container-fluid --> </section> <!-- /.content --> <?php include('footer.php') ?> Timetable.php <?php include('../includes/config.php') ?> <?php include('header.php') ?> <?php include('sidebar.php') ?> <!-- Content Header (Page header) --> <div class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1 class="m-0">Manage Time Table</h1> </div><!-- /.col --> <div class="col-sm-6"> <ol class="breadcrumb float-sm-right"> <li class="breadcrumb-item"><a href="#">Admin</a></li> <li class="breadcrumb-item active">Time Table</li> </ol>
  • 44. 44 | P a g e </div><!-- /.col --> </div><!-- /.row --> </div><!-- /.container-fluid --> </div> <!-- /.content-header --> <!-- Main content --> <section class="content"> <div class="container-fluid"> <div class="card"> <div class="card-body"> <table class="table table-bordered"> <thead> <tr> <th>Timing</th><th>Monday</th> <th>Tuesday</th><th>Wednesday</th><th>Thursady</th> <th>Friday</th><th>Saturday</th> </tr> </thead> <thead> <tr> <td>07:00 AM - 07:45 AM</td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> </tr> <tr> <td>07:45 AM - 08:30 AM</td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <<td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> </tr>
  • 45. 45 | P a g e <tr> <td>08:30 AM - 09:15 AM</td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> </tr> <tr> <td>09:15 AM - 10:00 AM</td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> </tr> <tr> <td>10:00 AM - 10:30 AM</td> <td colspan="7" class="text-center"><b> ---------------------------------------- LUNCH BREAK ---------------------------------------- </b></td> </tr> <tr> <td>10:30 AM - 11:15 AM</td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br>
  • 46. 46 | P a g e </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> </tr> <tr> <td>11:15 AM - 12:00 PM</td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> </tr> <tr> <td>12:00 PM - 12:45 PM</td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> </tr> <tr> <td>12:45 PM - 01:30 PM</td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td>
  • 47. 47 | P a g e <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> <td> <p> <b>Teacher:</b>Teacher Name <br><b>Subject:</b>Subject Name <br> </p> </td> </tr> </thead> </table> </div> </div> </div><!--/. container-fluid --> </section> <!-- /.content --> <?php include('footer.php') ?> MySql Database
  • 48. 48 | P a g e CHAPTER-7: CONCLUSION The School Management System which capable of storing school resources such as students and staff of the school and their relationship was implemented. It is easily to track the relations of students and courses they have taken, courses and teacher they are given by using the friendly interface of the system. In recent years, with the pace of technological development, people have become more and more demanding in terms of quality of life, and the schools managers in recent years look to improve a performance in their schools to get the highest rate of knowledge and experience in their student.
  • 49. 49 | P a g e CHAPTER-8: FUTURE WORK Some ideas and features can be considered as a future work for this project. These Features can be summarized in the following points:  Let the student perform exams Online.  Bank of question per subject.  Let teacher add questions to the bank of question.  Let admin add new classes.  Add a medical examination part to the system, with a medical supervisor as a new user.
  • 50. 50 | P a g e CHAPTER-9: REFERENCES 1) PHP MySQL Website Programming: Problem- Design- Solution byChrisLea, Mike Buzzard,Dilip Thomas , JesseyWhite-Cinis. 2) Beginning PHP5, Apache, and MySQL Web Development (Programmer toProgrammer) byElizabeth Naramore. 3) MySQL/PHP Database Applications, 2nd Edition by Brad Bulger4. How to Do Everythingwith PHP and MySQL by VikramVaswani. 4) Deepak Thomas-”Beginning PHP 4 Databases”, Wrox Press Ltd. Paperback-17, October,2002. 5) WWW.Google.com 6) WWW.Yaahoo.com 7) WWW.Youtube.com