Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
13 views54 pages

Project

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views54 pages

Project

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 54

E–LEARNING MAMAGEMENT SYSTEM

Project work submitted in partial fulfilment of the requirements for

of the degree

Bachelor of Science in Computer Science

to

Thiruvalluvar University, Serkkadu, Vellore – 632 115


By

AJAY R - 35522U18003
ELAVARASU M - 35522U18025
NISHANTH M - 35522U18059

Under the Guidance of

Dr. M. SANTHOSHKUMAR, M.Sc., M.Phil., Ph.D.,

Professor

PG DEPARTMENT OF COMPUTER SCIENCE

APRIL-2025

GOVERNMENT ART AND SCIENCE COLLEGE

Tirupattur-635 901

1
PROJECT WORK

E–LEARNING MANAGEMENT SYSTEM

Bonafide Work Done by

AJAY R - 35522U18003
ELAVARASU M - 35522U18025
NISHANTH M - 35522U18059

Project Work submitted in partial fulfillment of the requirements for the

degree of

Bachelor of Science in Computer Science

to the Government Arts and Science College, Tirupattur –635901,

Affiliated to Thiruvalluvar University, Serkkadu, Vellore -632 115.

INTERNAL GUIDE HEAD OF THE DEPARTMENT

Submitted for the Viva-Voce Examination held on _______________.

Internal Examiner External Examiner

2
THIRUVALLUVAR UNIVERSITY

College Name : Government Arts and Science College,

Tirupattur, 635 901.

Course : B.Sc. Computer Science

Student Name : AJAY R

Register Number : 35522U18003

Title of the Project : E–LEARNING MANAGEMENT SYSTEM

Name of the Internal Guide : Dr. M. SANTHOSHKUMAR

Qualification : M.Sc., M.Phil., Ph.D.,

Teaching Experience : 3.6 Years

Place : Tirupattur

Date :

Signature of Internal Guide

Name of the HOD : Dr. A. PRIYA

Designation : Head of the Department,

PG Department of Computer Science

Place : Tirupattur

Date :

Signature of the HOD

(with seal)

3
THIRUVALLUVAR UNIVERSITY

College Name : Government Arts and Science College,

Tirupattur, 635 901.

Course : B.Sc. Computer Science

Student Name : ELAVARASU M

Register Number : 35522U18025

Title of the Project : E–LEARNING MANAGEMENT SYSTEM

Name of the Internal Guide : Dr. M.SANTHOSHKUMAR

Qualification : M.Sc., M.Phil., Ph.D.,

Teaching Experience : 3.6 Years

Place : Tirupattur
Date :

Signature of Internal Guide

Name of the HOD : Dr .A. PRIYA

Designation : Head of the Department,


PG Department of Computer Science

Place : Tirupattur
Date :

Signature of the HOD


(with seal)

4
THIRUVALLUVAR UNIVERSITY

College Name : Government Arts and Science College,

Tirupattur, 635 901.

Course : B.Sc. Computer Science

Student Name : NISHANTH M

Register Number : 35522U18059

Title of the Project : E–LEARNING MANAGEMENT SYSTEM

Name of the Internal Guide : Dr. M. SANTHOSHKUMAR

Qualification : M.Sc., M.Phil., Ph.D.,

Teaching Experience : 3.6 Years

Place : Tirupattur Date

Signature of Internal Guide

Name of the HOD : Dr. A. PRIYA

Designation : Head of the Department,


PG Department of Computer Science

Place : Tirupattur

Date :

Signature of the HOD

(with seal)

5
Abstract
E-Learning Management System is a project which aims in developing an online application to

provide Online Education, maintain Study Materials, keep Student records and collect

Payments. This project has login features, Educator as Admin and Student as an user can login

into their own portal separately. The admin can login, through which the admin can monitor the

whole system. This System can be used to search for course, add new courses, edit course,

check payment status etc. The admin after logging into his account can generate reports such

as sell Report. The User can login into his account to follow course he purchased and can share

his/her feedback. Overall this project of ours is being developed to help the Educator (Admin)

as well as Students (User) to provide Teaching-Learning platform in the best way possible.

6
Acknowledgment
It gives as a great pleasure and satisfaction in present in this report on my Project work as a
part of partial fulfilment for the Bachelor of Science in Computer Science in sincere gratitude
to several people, it would have been impossible for us to carry out the desired work.

I would like to express our sincere thanks to Dr. P.SEENUVASAKUMARAN, M.Sc., M.Phil.,
PGDCA., B.Ed., Ph.D., Principal, for giving me the opportunity to complete my project in this
Institution.

I would like to express my heartfelt thanks to Dr. A. PRIYA, Head of the Department,
Department of Computer Science for her constant support and Encouragement during this
phase and forgiving us valuable suggestions time to time.

I would like to acknowledge and give my warmest thanks to my supervisor Dr. M.

Santhoshkumar, Department of Computer Science who made this work possible. Her
guidance and advice carried me through all the stages of writing my project.

I would also like to give special thanks my family as a whole for their continuous support and
understanding when undertaking my project and writing my project. Your prayer for me was
what sustained me this far.

Finally, I would like to thank God, for letting me through all the difficulties. I have
experienced your guidance day by day. You are the one who let me finish my degree. I will keep
on trusting you for my future.

7
INDEX
CHAPTER NO CONTENTS PAGE NO.

1. INTRODUCTION 10

1.1 OBJECTIVES 10

1.2 SYSTEM SPECIFICATION 11

1.2.1. HARDWARE SPECIFICATION 11

1.2.2. SOFTWAR SPECIFICATION 12

2. SYSTEM ANALYSIS 13

2.1 SYSTEM STUDY 13

2.2 SOFTWARE REQUIREMENTS SPECIFICATION 15

3 SYSTEM DESIGN 16

3.1 DATA FLOW DIAGRAM 16

3.2 ER-DIAGRAM 18

3.3 FLOW CHART 19

4 DESCRIPTION OF MODULES 20

4.1 INPUT MODULES 20

4.2 OUTPUT MODULES 20

4.3 MODULES AND THEIR DESCRIPTION 21

4.4 PROCESS LOGIC 22

5. SYSTEM TESTING 28

5.1 USE CASE 28

5.2 TEST CASE 29

6 CONCLUSION AND FUTURE SCOPE 31


APPENDIES 32

SAMPLE OUTPUT 41

8
CHAPTER
I

9
1. Introduction

It is difficult to find time for the training necessary to gain new skills and boost your
productivity. With you’re able to learn at a pace that is comfortable for you. Is a powerful
Learning Management System implementing the latest trends in e-learning. E-Learning is
learning utilizing electronic technologies to access educational curriculum outside of a
traditional classroom. In most cases, it refers to a course, or program delivered completely
online. We define eLearning as courses that are specifically delivered via the internet to
somewhere other than the classroom where the professor is teaching. E-Learning has been
proven to be a successful method of training and education is becoming a way of life for many
citizens in India and across the World. college Publisher is a professional team development
environment for the rapid development of e courses by their own.

Any Person who wants to gain new skills can join college. A Person/Student/Learner has to fill
up registration form which is absolutely Free. Once Learner registers successfully, they will get
User ID/Email and Password for login into Student/Learner Panel. After login they can buy any
course as per their choice or requirement which is available in I School. They can watch
purchased video courses online and can submit their feedback. As well they can update their
profile and can change password. Admin of this system will upload new courses which will be
available for everyone. Admin can delete or edit student/learner details. Admin can modify
course details and can check sells report.

1.1 OBJECTIVES
A flexible web-based learning experience allows you to go through a guided curriculum or
choose lessons on an as-needed basis. Following are the main objectives:

• Ability to recall previously learned material – Students/learners can watch video


courses as many times as they need. If they forgot something during the course they
can come back and watch that specific part anytime.

• Creative way to present lesson – It is very creative way to present lectures. It will surely

enhance teaching ability of tutor.

10
• Low Cost – As nobody needs to travel or rent anything so it’s very cost efficient.

• High Quality – As tutor do not has time so he can teach in his own comfort time.
• Learn anytime from anywhere – Students/Learners can start learning anytime from
anywhere they just required internet connection with a compatible device.

• Improve course quality according to learner’s feedback – Tutor can improve their
course as per student’s feedback. It will help tutor to improve their ability to teach.

• Earn Money Online– As courses are paid so we can say it’s an online teaching business
which has no boundaries means students/learners can join from across the world so this
system can make good business with good quality.

1.2 SYSTEM SPECIFICATION

1.2.1Hardware Requirements

Processor 1.6 GHz or Faster Processor

RAM 4 GB

Disk Space 10 GB of Available Hard Disk

Graphic DirectX 9-Capable Video Card

Display 1024 X 768 or Higher Resolution

11
1.2.2Software Requirement

Operating System Windows 10

Front End HTML, CSS, JavaScript

Back End PHP


Library/
Framework Bootstrap, J Query, Font Awesome

Plugins Owl Carousel

Code Editor Visual Studio Code 1.33

Database MySQL

Web Server Apache

Web Browser Google Chrome

Payment Gateway Pay pal

Drawing Tools YE d Graph Editor

12
2. SYSTEM ANALYSIS
System Analysis is the process of studying a procedure in order to identify its goals and
purposes and create systems and procedures that will achieve them in an efficient way. It is a
problem of solving technique that improves the system and ensures that all the components of

the system work efficiently to accomplish their purpose.

Input: Input is what data the system receives to produce a certain output.

Output: What goes out from the system after being processed is known as Output.

Processing: The process involved to transform input into output is known as Processing.

Control: In order to get the desired result it is essential to monitor and control the input,
Processing and the output of the system. This job is done by the control.
Feedback: The Output is checked with the desired standards of the output set and the necessary
steps are taken for achieving the output as per the standards, this process is called as Feedback.
It helps to achieve a much better control in the system.

Boundaries: The boundaries are nothing but the limit of the system. Setting up boundaries
helps for better concentration of the actives carried in the system.

Environment: The things outside the boundary of the system are known as environment.

Change in the environment affects the working of the system.

2.1 SYSTEM STUDY

Feasibility study

Feasibility study means to check whether the project is feasible or not, that means possible or
not. Some feasibility study regarding this project is as follows: -

Economic Feasibility
The project has shown the economic feasibility by the study of the fact that by using this
software the increased number of the users can be given service effectively and efficiently and

13
can save a lot time and saving time means saving money. The cost and benefit analysis has
shown that cost that have incurred in developing the project is less than the benefits that the
project is going to provide once it is developed, so this project has passed the feasibility test.

Technical Feasibility
Technical feasibility centers on the existing computer system (Hardware, Software etc.) and to
what extent it supports the existing system. As the existing system computer system is viable
so there is no matter of technical feasibility that is the system is technically feasible. In this type
of feasibility study it is checked whether there is a need of new hardware/software or not. What
are the basic requirements of the project? If there is need then how it can be fulfilled. In this
context, this project doesn’t need any special hardware or software. It can run on window 7/10
platform. However, Internet and a Web browser is needed to run the web application.

Behavioral Feasibility
The Users are also interested in this project, as it will help them to do work with ease and
efficiently without complexity, so they supported the development of this project with full
enthusiasm. This shows the behavioral feasibility of the project.

Time Feasibility
It is the determination of whether a proposed project can be implemented fully within stipulated
time frame. The project was decided to be done in three months and was thought to be feasible.

Operational Feasibility
In this feasibility study it is determined whether there is need of well qualified operator or
simple user. Is there need to train the operator or not? This project is supporting the User friendly
Web application; hence operating this project is so simple. Even a person who has a little
knowledge of computer can easily handle this well. There is no need of trained operator.

14
2.2 SOFTWARE REQUIREMENTS SPECIFICATION

A software requirements specification is a document that captures complete description about


how the system is expected to perform. It is usually signed off at the end of requirements
engineering phase.

Product perspective

The software product is a Web Application. The application will be made up of two parts, one
administrator who has all the rights and the other user who has limited rights to handle the
application. The two users of the system, namely the Teacher/Educator (Admin) and
Student/Learner (User) interact with the system in different ways.

Product Functions

First of all it will authenticate the user whether he is Educator (Admin) or Learner (User) the

unauthorized person can’t get access to the application.

The Admin will be able to Add, delete, and modify Student Details. He can also Add, delete
and modify Course and Lesson Details. He can use this application to check report related to
sells as well as he can check Payment Status.

Safety Requirements

All the data will be saved to database for safety purpose so there will be no data loss. These
data can be accessed only by an authorized person so data theft is also not possible in this
application.

Security Requirements

For preventing unauthorized access to the application, this application have login feature so

only granted user can access with defined rights.

15
3.SYSTEM DESIGN

3.1DATA FLOW DIAGRAM

Data flow diagram is graphical representation of flow of data in an information system. It uses
defined symbols like rectangles, circles and arrows, plus short text labels, to show data inputs,
outputs, storage points and the routes between each destination.

3.1.1 DFD 0 LEVEL


The 0 Level DFD shows flow of data of application. DFD Level 0 is also called a Context

Diagram. It’s a basic overview of the whole system or process being analyzed or modeled.

16
3.1.2DFD 1 Level
DFD Level 1 provides a more detailed breakout of pieces of the Context Level Diagram. This
DFD describes main functions carried out by the system, as we break down the high-level
process of the Context Diagram into its sub-processes.

1 Level DFD

17
3.2ER-DIAGRAM

An Entity Relationship Diagram (ERD) is a visual representation of different entities withina a

system and how they relate to each other.

ERD

18
3.3 FLOW CHART

A flowchart is a diagram that depicts a process, system or computer algorithm. They are widely
used in multiple fields to document, study, plan, improve and communicate often complex
processes in clear, easy-to-understand diagrams.

Login

19
4.DESCRIPTION OF MODULES

4.1 INPUT MODULES


In order to complete the tasks of the and to get output by using this application work, there is
need of some input based on the work that is to be carried out by using it. Different kinds of
input are required for different purposes.

• Student/Learner Registration

• Course

• Lesson

• Feedback

• Payment Status

4.2 OUTPUT MODULES


The project named “ E-Learning Management System” is being made keeping in mind to solve
the activities that are carried out in the Education. By using this, Admin can easily do many
things like as:

• Student/Learner List

• Course Detail

• Lesson Detail

• Sell Report

• Payment Receipt

20
4.3 MODULES AND THEIR DESCRIPTION

Without registration

Home – This module contains all the links of the application such as Courses, Payment Status,

Login, Sign Up, Feedback Section and Contact.

Courses – This module contains list of all the courses which are available at I School.

Payment Status – This module is used to check Payment status after purchasing a course.

Login – This module is used to login into Student/Learner Panel.

Sign Up – This module is used to register for the Student/Learner Panel.

Feedback – This section shows feedback given by registered students/learners.

Contact – Learner can use this section to contact the admin/tutor for any kind of queries.

Student panel

Profile – This module contains all the details about Student/Learner as well as Student can

update their details.

My Courses – This module contains list of all purchased courses.

Feedback – This module is used to write feedback.

Change Password – Students can use this module to change password.

Logout – This module is used to return back to Home Page.

Admin panel

Dashboard – This module displays overview of whole application.

Courses – This module contains all the courses.


Lessons – This module contains all the lesson depends on course id.

Students – This module displays all the registered student details.


21
Sell Report – This module is used to view and print sells report.

Payment Status – This module displays payment status in more details.

Feedback – This module displays feedback given by students.

Change Password – Admin can use this module to change password.

Logout – This module is used to return back to Home Page.

4.4 PROCESS LOGIC

Home:

When the user click on this tab, it will display the other modules and pages of the website such
as courses, payment status, login, sign up, popular section, feedback section, contact and admin
login. This module will be used to display the brief introduction of the project and will show
the title of the project.

Courses:

Student can view all available courses by clicking on courses tab where he can choose course
according to his own interest and by clicking on a particular course, will display more details
with lesson title of the course, if he wants to purchase he will be able to make payment (required
login).

Payment status:

After purchasing course student will be provided an order id which can be used to get the status

of payment using Payment status tab. If student wants he can get print out of his payment status.

Login:

This is a login form. Student/Learner can use their own email and password to login into the

student panel.

Sign up:

22
This is a Registrations form for new Students/Learners. New Students/Learners can fill up the
form for registration and after successful registration they can use their email id and password
to login into the application.

Feedback:

This is very simple section which displays feedback given by the registered student.

Contact:

Learner can use this section to contact the admin/tutor for any kind of queries.

Student Panel: Profile:


Students/Learners can view their student id, registered email id, name, occupation, profile

picture as well as they can modify and update the new data if they need.

My Courses:
Students can view all courses which they purchased. This is the place where they can start
watching lectures by clicking on Watch Course button which leads to course playlist where they
can watch the entire lesson of course.

Feedback:

Students can view/write feedback.

Change Password:

Students can use this module to change password.

Logout:

This module is used exit student panel and return back to Home Page.

Admin Panel Dashboard:

23
This module displays overview of whole application such as number of course, number of

registered students etc.

Courses:

This is the most important module of admin panel where Admin can view list of course as well

as add new courses and modify or delete courses.

Lessons:

Admin can view lesson based on course id as well as new lesson can be added to the course

and modification or deletion is also possible using this module.

Students:

Admin can view registered student details. Admin can add, edit and delete student.

Feedback:

Admin can view/delete feedback given by student.

Sell Report:

Analyzing sales is very import for any kind of business and this module is perfect for analyzing
sales based on date. It will generate sells report which can be possible to print out for office
records.

Payment Status:

If student file any complaints regarding payment Admin can use this module to display payment

status in more details such as bank name, transaction id, payment date etc.

Change Password:

Admin can use change password.

24
DATA DICTIONARY

In order to maintain the data of the database a number of tables are used. Various tables contain data about
the various entities.

Table Name: Admin (Stores Admin Detail)

Attribute Data Type Description

admin_id # int(11) Stores Admin ID

admin_name varchar(255) Stores Admin Name

admin_email varchar(255) Stores Admin Email


ID
admin_pass varchar(255) Stores Admin
Password

Table Name: Student (Stores Student Detail)


Attribute Data Type Description

stu_id # int(11) Stores student ID

stu_name varchar(255) Stores student Name

stu_email varchar(255) Stores student Email


ID
stu_pass varchar(255) Stores student
Password
stu_occ varchar(255) Stores student
occupation

25
Table Name: Feedback (Stores Feedback Detail)

Attribute Data Type Description

f_id # int(11) Stores Feedback ID

f_content text Stores Feedback


content

stu_id int(11) Stores Student ID

Table Name: course (Stores Course Detail)


Attribute Data Type Description
course_id # int(11) Stores Course
ID
course_name text Stores course
Name
course_desc text Stores course
description
course_author varchar(255) Stores course
author/instructor
course_img text Stores course
display picture
course_duration text Stores course
duration
course_price int(11) Stores course
selling price
course_original_price int(11) Stores course
original price

26
Table Name: Lesson (Stores Lesson Detail)
Attribute Data Type Description

lesson_id # int(11) Stores Lesson ID

lesson_name text Stores Lesson name

lesson_desc text Stores lesson


description

lesson_link text Stores lesson video


link/video file

course_id int(11) Stores course ID

course_name text Stores course Name

Table Name: courseorder (Stores Course order Detail)


Attribute Data Type Description
co_id # int(11) Stores course order
ID
order_id varchar(255) Stores Order ID
(Random)
stu_email varchar(255) Stores student email
id
course_id int(11) Stores course id
Status varchar(255) Stores payment status
Respmsg text Stores payment
response msg
Amount int(11) Stores course amount
27
5. SYSTEM TESTING
5.1 USE CASE
A use case diagram is essentially a picture showing system behavior along with the key actors
that interact with the system. The use case represents complete functionality. Use case diagram
can be imagined as a black box where only the input, output, and the function of the black box
are known.

Use Case

28
5.2 TEST CASE
A test case is a set of conditions or variables under which a tester will determine whether an
application, software system or one of its features is working as it was originally established
for it to do.

Login:
Test Case ID Test Case Pre- Test Steps Test Data Expected Actual Status
Test
Condition Result Result
Scenario Pass/Fail

TC_Login_1 Verify Enter Valid Need a valid Valid Successful Successful Pass
1. Enter username
Login username username login, Main login,
and valid and username Valid screen of Main
password password to password application screen of
2. Enter
do login should application
Password displayed displayed
3. Click
Login

TC_Login_2 Verify Enter Valid Need a valid Valid No No Pass


1. Enter
Login username username username Matched Matched
and and username
Username/ Username/
invalid password to 2. Enter Invalid Password Password
password do login
Password
Password

3. Click
Login

TC_Login_3 Verify Enter Need a valid Invalid No No Pass


1. Enter
Login Invalid username username Matched Matched
username and username
Username/ Username/
and valid password to 2. Enter Valid Password Password
password do login
Password Password

3. Click
Login

TC_Login_4 Verify Enter Need a valid Invalid No No Pass


1. Enter
Login Invalid username username Matched Matched
username and username
Username/ Username/
and invalid password to 2. Enter Invalid Password Password
password do login
Password Password

3. Click
Login

User/Student Registration
Test Case ID Test Test Case Pre- Test Steps Test Data Expected Actual Result Status
Scenario Condition Result
Pass/Fail

29
TC_SREG_1 Verify User Enter Need 1. Enter Valid name, Successful, Successful, Pass
Registration valid valid name valid User Added User Added
Detail name, Data 2. Enter email,
Successfully Successfully
email, email valid
new password
password t o be 3. Enter
entered
Password

4. Click
Sign up

TC_SREG_2 Verify Staff Enter Need Data 1. Enter Valid name, Email ID Email ID Pass
Registration name, to be name already Already Already
Detail already entered registered Registered Registered
registered 2. Enter email, valid
email, Email password
new
password 3. Enter

Password

4. Click
Sign up

TC_SREG_3 Verify Staff Entering - Click Sign up Nothing Fill Fill Pass
Registration Nothing, to enter required required
Detail Required Required field field
Fields are fields are
blank blank

Add Course
Test Case ID Test Test Case Pre- Test Steps Test Data Expected Actual Result Status
Scenario Condition Result
Pass/Fail

TC_Course_1 Verify Enter Valid Need valid 1. Enter Valid Text Successful, Successful, Pass
Course and correct text and Valid Data in and Course Course
Detail data number appropriate Number Added Added
Data to be fields Data Successfully Successfully
entered
2. Click
Submit

TC_Course_2 Verify Enter Need text Enter invalid Invalid Enter Valid Enter Valid Pass
Course invalid and and number Data in Text and Data Data
Detail incorrect Data to be fields Number
data entered Data

TC_Course_3 Verify Entering - Click Nothing Fill required Fill required Pass
Course Nothing, to enter field field
Submit
Detail Required Required
Fields are fields are
blank blank

30
6. CONCLUSION AND FUTURE WORK

conclusion
The E-Learning Management System has been computed successfully and was also tested
successfully by taking "Test Cases". It is user friendly, and has required options, which can be
utilized by the user to perform the desired operations.

The Software is developed using HTML, CSS, JS as front end and PHP, MySql as back end in

windows environment.

The goals that are achieved by the software are:

▪ Simplification of the operations

▪ Less processing time and getting required information

▪ User friendly

▪ Portable and flexible for further enhancement

future work

• More than one tutor can be added

• Interaction between Student and Tutor can be improved by introducing Discussion


forum

• Quiz Facility may enhance this application’s market value


Live Class can be added

31
7.APPENDIES

Db Connection .php

<?php
$db host = "localhost:3307";
$db user = "root";
$db password = "";
$db name = "Ims Db

./Main Include/header .PHP

<!DOCTYPE html>
<html lang="e n">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"
/> <meta http-e q u iv="X-UA-Compatible" content="Ie=edge" />

<!Bootstrap CSS -->


<link re l="stylesheet" type="text/cs s" h ref ="cs s/bootstrap.min.css">

<! Font Awesome CSS -->


<link re l="stylesheet" type="text/cs s" h ref="c ss/all.min.css">

<! Google Font -->


<link h ref="https://fonts.googleapis.com/cs s? family=Ubuntu" re l="stylesheet">

<! Student Testimonial Owl Slider CSS -->


<link re l="stylesheet" type="text/cs s" h ref="cs s/owl.min.css">
<link re l="stylesheet" type="text/cs s" h ref="cs s/owl.theme.min.css"> <link re
l="stylesheet" type="text/cs s" h ref="cs s/testyslider.css">

<! Custom Style CSS -->


<link re l="stylesheet" type="text/cs s" h ref=". /cs s/style.css" />

32
<title>I School</title>
</head>
<body>
<!Start Nagi ga -->
<nav class="navbar navbar-expand-s m navbar-dark pl-5 fixed-top">
<a h ref="index .PHP" class="navbar-brand">I School</a>
<span class="navbar-text">Learn and Implement</span>
<button type="button" class="navbar-toggler" data-toggle="collapse" data-target="#my
Menu">
<span class="navbar-toggler-icon"></span> </button>
<div class="collapse navbar-collapse" id="my Menu">
<ul class="navbar-nav pl-5 custom-nav">
<li class="nav-item custom-nav-item"><a h ref="index
.PHP" class="navlink">Home</a></li>
<li class="nav-item custom-nav-item"><a h ref="courses .PHP" class="nav-link
if (isset($_SESSION['is_login'])){ echo '<li class="nav-item custom-navitem"><a
href="student/studentProfile.php"
class="nav-link">My Profile</a></li> <li class="nav-item custom-nav-item"><a
href="logout.php" class="nav-link">Logout</a></li>';
} else
echo '<li class="nav-item custom-nav-item"><a href="#login" class="nav-link" data-
toggle="modal" data-target="#stuLoginModalCenter">Login</a></li> <li class="navitem custom-nav-
item"><a href="#signup" class="nav-link" data-toggle="modal"
datatarget="#stuRegModalCenter">Signup</a></li>';
}
?>
<li class="nav-item custom-nav-item"><a href="#Feedback"
class="navlink">Feedback</a></li>
<li class="nav-item custom-nav-item"><a href="#Contact"
class="navlink">Contact</a></li>
</ul>
</div>
</nav> <!-- End Navigation -->

./mainInclude/footer.php

<!-- Start Footer -->


<footer class="container-fluid bg-dark text-center p-2">

33
<small class="text-white">Copyright &copy; 2019 || Designed By E-Learning || <?php
if (isset($_SESSION['is_admin_login'])){ echo '<a
href="admin/adminDashboard.php"> Admin Dashboard</a> <a
href="logout.php">Logout</a>';
}else {
echo '<a href="#login" data-toggle="modal" datatarget="#adminLoginModalCenter">
Admin Login</a>';
}
?>
</small>

</footer> <!-- End Footer -->

<!-- Start Student Registration Modal -->


<div class="modal fade" id="stuRegModalCenter" tabindex="-1"
role="dialog" arialabelledby="stuRegModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="stuRegModalCenterTitle">Student Registration</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close"
onclick="clearAllStuReg()">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<!--Start Form Registration-->
<?php include('studentRegistration.php'); ?>
<!-- End Form Registration -->
</div>
<div class="modal-footer">
<span id="successMsg"></span>
<button type="button" class="btn btn-primary" id="signup" onclick="addStu()">Sign
Up</button>
<button type="button" class="btn btn-secondary"
datadismiss="modal" onclick="clearAllStuReg()">Close</button>
</div>
</div>
34
</div>
</div> <!-- End Student Registration Modal -->

<!-- Start Student Login Modal -->


<div class="modal fade" id="stuLoginModalCenter" tabindex="-1"
role="dialog" arialabelledby="stuLoginModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="stuLoginModalCenterTitle">Student Login</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close"
onClick="clearStuLoginWithStatus()">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<form role="form" id="stuLoginForm">
<div class="form-group">
<i class="fas fa-envelope"></i><label for="stuLogEmail" class="pl-2
fontweightbold">Email</label><small id="statusLogMsg1"></small><input type="email"
class="form-control" placeholder="Email" name="stuLogEmail" id="stuLogEmail">
</div>
<div class="form-group">
<i class="fas fa-key"></i><label for="stuLogPass" class="pl-2
fontweightbold">Password</label><input type="password" class="form-control"
placeholder="Password" name="stuLogPass" id="stuLogPass">
</div>
</form>
</div>
<div class="modal-footer">
<small id="statusLogMsg"></small> <button type="button"
class="btn btn-primary" id="stuLoginBtn"
onclick="checkStuLogin()">Login</button>
<button type="button" class="btn btn-secondary"
datadismiss="modal" onClick="clearStuLoginWithStatus()">Cancel</button>
</div>
</div>
35
</div>
</div> <!-- End Student Login Modal -->

<!-- Start Admin Login Modal -->


<div class="modal fade" id="adminLoginModalCenter" tabindex="-1" role="dialog"
arialabelledby="adminLoginModalCenterTitle" aria-hidden="true"> <div class="modal-
dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="adminLoginModalCenterTitle">Admin Login</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close"
onClick="clearAdminLoginWithStatus()">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<form role="form" id="adminLoginForm">
<div class="form-group">
<i class="fas fa-envelope"></i><label for="adminLogEmail" class="pl-2
fontweight-bold">Email</label><input type="email" class="form-control"
placeholder="Email" name="adminLogEmail" id="adminLogEmail"> contact.php

<!--Start Contact Us-->


<div class="container mt-4" id="Contact"> <!--Start Contact Us Container-->
<h2 class="text-center mb-4">Contact US</h2> <!-- Contact Us Heading -->
<div class="row"> <!--Start Contact Us Row-->
<div class="col-md-8"> <!--Start Contact Us 1st Column-->
<form action="" method="post">
<input type="text" class="form-control" name="name" placeholder="Name"><br>
<input type="text" class="form-control" name="subject" placeholder="Subject"><br>
<input type="email" class="form-control" name="email" placeholder="E-mail"><br>
<textarea class="form-control" name="message" placeholder="How can we help you?"
style="height:150px;"></textarea><br>
<input class="btn btn-primary" type="submit" value="Send"
name="submit"><br><br>
</form>
</div> <!-- End Contact Us 1st Column-->

36
<div class="col-md-4 stripe text-white text-center"> <!-- Start Contact Us 2nd Column-
->
<h4>iSchool</h4>
<p>iSchool,
Near Police Camp II, Bokaro,

checkout.php
<?php include('./dbConnection.php'); session_start();

if(!isset($_SESSION['stuLogEmail'])) { echo "<script> location.href='loginorsignup.php';

</script>";

} else {

$stuEmail = $_SESSION['stuLogEmail'];

?>

<!DOCTYPE html>
<html lang="en">

<head>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<meta http-equiv="X-UA-Compatible" content="ie=edge">

<!-- Bootstrap CSS -->

<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">

<!-- Font Awesome CSS -->

<link rel="stylesheet" type="text/css" href="css/all.min.css">

37
<!-- Google Font -->

<link href="https://fonts.googleapis.com/css?family=Ubuntu" rel="stylesheet"> <!--


Custom Style CSS -->

<link rel="stylesheet" type="text/css" href="./css/style.css" />

<title>Checkout</title>

</head>

<body>

<div class="container mt-5">

<div class="row">

<div class="col-sm-6 offset-sm-3 jumbotron">

<h3 class="mb-5">Welcome to E-Learning Payment Page</h3>

<form method="post" action="./paymentdone.php" id="myform">

<div class="form-group row">

<label for="ORDER_ID" class="col-sm-4 col-form-label">Order ID</label>


<div class="col-sm-8">
<input id="ORDER_ID" class="form-control" tabindex="1" maxlength="20" size="20"
name="ORDER_ID" autocomplete="off"

Paymentdone.php

<?php include('./dbConnection.php'); session_start();

if(!isset($_SESSION['stuLogEmail'])) { echo "<script> location.href='loginorsignup.php';

</script>";

} else { date_default_timezone_set('Asia/Kolkata');

$date = date('d-m-y h:i:s');


if(isset($_POST['ORDER_ID']) && isset($_POST['TXN_AMOUNT'])){
38
$order_id = $_POST['ORDER_ID'];

$stu_email = $_SESSION['stuLogEmail'];
$course_id = $_SESSION['course_id'];

$status = "Success";

$respmsg = "Done";

$amount = $_POST['TXN_AMOUNT'];

$date = $date;
$sql = "INSERT INTO courseorder(order_id, stu_email, course_id, status, respmsg, amount,
order_date) VALUES ('$order_id', '$stu_email', '$course_id', '$status', '$respmsg', '$amount',
'$date')"; if($conn->query($sql) == TRUE){ echo "Redirecting to My Profile...."; echo

"<script> setTimeout(() => { window.location.href

= './Student/myCourse.php';

}, 1500); </script>";

};

} else { echo "<b>Transaction status is failure</b>" .

"<br/>";
}

?>

Logout.php

<?php session_start(); session_destroy(); echo

"<script> location.href='index.php'; </script>";

?>

39
style.css .navbar-brand { fontfamily:

"Ubuntu", sans-serif; fontsize: 2em;

font-weight: bold; color: #fff;

.custom-nav .custom-nav-item a {

color: #fff !important;

.custom-nav-item:hover { backgroundcolor:

#dc3545; border: solid #dc3545

1px; border-radius:

10px;

.remove-vid-marg { margin:

0px; padding:

0px;
}

.vid-parent { position:

relative; } video { width:

100%; height: 100%;

} .vidoverlay

{ position: absolute;

top: 0; left: 0; height:


40
8.Sample Project Screen Captures

Student Registration .php

Login or signup .php

41
Payment status .php

42
43
Courses.php

Student profile .php

44
My course .php

Stu feedback .php

45
Student change pass .php

Admin dashboard .php

46
Courses .php

Add course .php

47
Edit course .php

Lessons .php

48
Edit lesson .php

49
Student .php

Add new student .php

50
Editstudent.php

Sell report .php

51
Admin Payment status .php

Feedback .php

52
Admin change pass .php

Watch course .php

53
9. Bibliography

Books: -

▪ IGNOU Blocks of Systems Analysis and Design

▪ IGNOU Blocks of Introduction to Software Engineering

▪ The Complete Reference PHP

▪ Head First SQL: Your Brain on SQL by Lynn Beighley

Web Source: -
▪ www.google.co.in
▪ www.wikipedia.org
▪ www.php.net
▪ www.stackoverflow.com
▪ www.getbootstrap.com

54

You might also like