0% found this document useful (0 votes)
342 views100 pages

College Management System Overview

This document outlines the features and design of a college management system. The system aims to automate college processes like student attendance tracking, fee collection, event scheduling and notices. It allows students, faculty and administrators to access information online. The document discusses the existing manual system, objectives of the new system, its features and scope. It provides analysis of the proposed computerized system including advantages, requirements and design diagrams. The system design covers process flow, use cases, entity relationship diagrams and other Unified Modeling Language diagrams. It also describes the coding and implementation of the college management system.

Uploaded by

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

College Management System Overview

This document outlines the features and design of a college management system. The system aims to automate college processes like student attendance tracking, fee collection, event scheduling and notices. It allows students, faculty and administrators to access information online. The document discusses the existing manual system, objectives of the new system, its features and scope. It provides analysis of the proposed computerized system including advantages, requirements and design diagrams. The system design covers process flow, use cases, entity relationship diagrams and other Unified Modeling Language diagrams. It also describes the coding and implementation of the college management system.

Uploaded by

LIL LIGXT
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

COLLEGE MANAGEMENT SYSTEM

INDEX

Sr. No CONTENT Page No.


1 Introduction
1.1 Introduction to CMS 3
1.2 Problem Statement 3
1.3 Objective Of the Project 3
1.4 Features of the project 4
1.5 Scope of the Application 4
2 System Analysis
2.1 The Proposed System 7
2.2 Advantages of Proposed System 7
2.3 The Theoretical Background 8
2.4 Description of System 8
2.5 Limitations of Existing Project 9
2.6 Feasibility Study 9
2.7 Software and hardware requirements 10
2.8 Justification of technology 11
3 System design
3.1 Process flow diagram 13
3.2 Use case diagram 13
3.3 ER diagram 16
3.4 Components of ER diagram 17
3.5 Diagram Relationship 20
3.6 Activity Diagram 20
3.7 CMS Activity 25
3.8 Class diagram 26
3.9 Sequence diagram 31
3.10 UML Diagram 36
3.11 DFD Diagram 37
3.12 Event Table 44
3.13 Database table 45
3.14 Database Structure 45
4 Analysis and Design
4.1 Background research 49
4.2 Requirement Analysis 49
4.3 User Requirement 49
4.4 Analysis Model 50
4.5 Life Cycle Of Project 52
4.6 Gantt Chart 53
4.7 Coding 55
5 Results And Discussions
5.1 Snapshots 90
6 Conclusion & Future Enhancement
6.1 Future Enhancement 100
6.2 Conclusion 100
6.3 References 100

Name: Nilesh R. Vishwakarma Page 1


COLLEGE MANAGEMENT SYSTEM

Chapter 1
INTRODUCTION

Name: Nilesh R. Vishwakarma Page 2


COLLEGE MANAGEMENT SYSTEM

1.1 Introduction to College Management System

The main aim of this project is to develop an online website which covers all the details of college i.e.;
Student attendance details, Event details, Students fees transaction details, files upload and download, etc.
Admin is the Super user of this project. All the record stores in MySQL Database. The proposed software
will also reduce the cumbersome paperwork, manual labor as well as communication cost.

Present State:
 No Software present at all.
 Time consumed in accessing the records of the students.
 More time taken to registration of students on registration forms.

After implementation of project:


 Easy to use GUI.
 Report of students according to need.
 Easy to maintain database and secured storage.

1.2 Problem Statement

The problem is to provide the complete information about the college campus. In which the college staff
members and students can access the information and will be familiar with college campus. It will provide
interactive environment for the staff and students by getting knowledge of student attendance, exams
schedule, timetables, notices etc.

1.3 Objective of the Project


 The main objective of developing the current project entitled “COLLEGE MANAGEMENT SYSTEM
FOR COLLEGES” is to build effective system which is fast, accurate, consistency, reliable and flexible
enough so that it can incorporate any future enhancements.
 By automating the system using computers, sophisticated technology can be used for making the
information more flexible, accurate, and secure and user friendly.
 Time and man power can be more effectively utilized and online information can be easily available
to the user and at the same time we can maintain higher level of security.
 Every user such as student, staff and administration can able to see the information of each student
through online from anywhere and anytime.

Name: Nilesh R. Vishwakarma Page 3


COLLEGE MANAGEMENT SYSTEM

1.4 Features of Project

 It contains the following information i.e. students and teachers profile details, contact information,
educational details, etc. This module is to add or manage the student and teacher information, Report
the students attendance status, manage the Fees payment of students, Send the notice to the all users
about various event, etc.
 List of all courses can be added from course module. List of fields are course name, fees amount,
duration, description. New course can add, existing courses can edit and delete.
 It includes information about various events which is currently going on and which will occur in the
near course of time. Notices helps in quick capturing of any occurring event.
 The user can be either a teacher or a student. The user as a teacher has to log in for taking the
attendance of students. A teacher can view the attendance status of any students. While the student
can only view their attendance status by going to the student dashboard.
 The users can upload their files such as pdf, doc, ppt, zip, rar, etc. The user can be either a teacher or
a student. The user can upload and also download the files, which can Uploaded by the other users.
The users can search the files from the database according to different criteria such as file-name, etc.
 Student fees can be collected from Fees module. Fees collection is done on the basis of course for the
students. This module automatically calculate pending fees, previous paid details, deduction details
to the selected student. Fees module can be handled by only admin side.
 ChatRoom is useful to students to discuss their doubts with ChatRoom module. A user has to register
first to enter their chat in database. After the user registered it has to login in ChatRoom. After that,
the user can easily share message to other users present in their ChatRoom. It also includes features
to multiple users can start conversations, share messages at the same time. There's only user side, so
all the functions are to be performed from the users side.

1.5 Scope of the Application


 Student attendance status: It gives the attendance status of students. Faculty will update the
attendance periodically and can be seen by students.

 Exam Notification: This facility notifies students about examination schedule.

 Events Notice: It will give notice about different events that will be conducted by college time to
time. Notice about these events will be updated by administrator.

Name: Nilesh R. Vishwakarma Page 4


COLLEGE MANAGEMENT SYSTEM

 Documents Download: This service provides the facility to faculty and students to upload and
download the Notes, Question paper, Practical manual and other Document online.

 Information about staff: It will help in maintaining complete information about college faculty
members such as their department, date of joining, salary, etc. Administrator will register new
faculties and remove their account when they leave the college.

 Information about student: It will help in maintaining complete information about college students
such as their department, date of joining, fees, etc. Administrator will register new student and
remove their account when they leave the college.

Name: Nilesh R. Vishwakarma Page 5


COLLEGE MANAGEMENT SYSTEM

Chapter 2
SYSTEM ANALYSIS

Name: Nilesh R. Vishwakarma Page 6


COLLEGE MANAGEMENT SYSTEM

2.1 The Proposed System

 The proposed system is computerized and has been developed using advance language therefore it
gives more facilities than present system.
 It provides quick access to any data.
 Features of project include aspects such as to make my software user friendly i.e. to make it so easy
to use that the user will not dream of switching back to the original System.
 By user friendly we mean to make records available to the user at just the hit of a keystroke.
 To maintain the list of Student records, to maintain records of Customers and Event, to maintain
records of Customer, to maintain the transaction details. To add/update/search them from the
database-all these features have been considered for the management of the system.
 Besides maintaining the data in the database the system also has the provision for printing various
reports.
 The system helps reduce the paper work and provide an efficient environment that is user friendly to
work in.

2.2 Advantages of Proposed System

 The system is platform independent as it is developed with PHP scripting with HTML language.
 It facilitates quick processing of data.
 Data present in database is highly secured.
 Searching of data is done very easily & more efficiently.
 Maintaining of data is very proper & accurate.
 Information of any Item can be retrieved any time.
 It provides facility to modify records.
 It will save user time.
 Report will be generated automatically.

Name: Nilesh R. Vishwakarma Page 7


COLLEGE MANAGEMENT SYSTEM

2.3 THEORETICAL BACKGROUND


Today in colleges student details are entered manually. The student details in separate records are
tedious task. Referring to all these records and updating is needed. There is a chance for more manual errors.

2.4Description of System
Problems in existing system:
 It was limited to a single system.
 It was less user-friendly.
 It have a lots of manual work (Manual system does not mean that we are working with pen and
paper, it also include working on spread sheets and other simple software's)
 It requires more no of employees need to work.
 It was time consuming process.
 The present system was very less secure.
 It is unable to generate different kinds of report.

Solution to these problems:

The development of the new system contains the following activities, which try to automate the entire
process keeping in view of the database integration approach.

 User friendliness is provided in the application with various controls.


 The system makes the overall project management much easier and flexible.
 It can be accessed over the Internet.
 Various classes have been used to provide file upload and mail features.
 There is no risk of data mismanagement at any level while the project development is under
process.

Name: Nilesh R. Vishwakarma Page 8


COLLEGE MANAGEMENT SYSTEM

2.5 Limitation of Existing System

 These types of College Management System are already available in our markets, but it does not
have the feature that I providing to our college.
 Many of the companies are improving this project on the platform .NET. that seems to be
complicated and to use
 The main functionality such as ENTERING AND RETRIVING of the attendance in the College
Management System will not be provided by the companies who had developed this project earlier.
 I going to introduce our project on a PHP platform which is very user friendly.
 Here I will provide the high permissions to the Admin so he/she can handle the complete college for
better security and maintenance.
 There will be different permissions to the admin, student and faculty.

2.6 Feasibility Study


Feasibility study tells whether the system would be beneficial for the organization with respect to the
requirements of the organization. Feasibility study is divided into the following phases:
I. Operational Feasibility:
Operational feasibility is dependent on the human resources available for the project and involves projecting
whether the system will operate and used once it is install. It is mainly concerned with the availability of
human resources for the project. In the staff, Student and Teachers, different departments and members are
assigned according to their jobs.
II. Technological feasibility:
Technical feasibility centers on the existing computer system i.e. Hardware, Software etc. Bank requires
SQL database management that are all easily available with extensive development support through manuals
and blogs.
III. Economical and financial feasibility:
Economical Feasibility is the most frequently used method for evaluating the effectiveness of a candidate
system. More commonly known as Cost/ Benefit analysis, the procedure is to determine the benefits and
savings that are expected from the candidate system and compare them with costs. If the benefits outweigh
costs, then the decision is made to design and implement the system.

Name: Nilesh R. Vishwakarma Page 9


COLLEGE MANAGEMENT SYSTEM

2.7 SOFTWARE AND HARDWARE REQUIREMENTS

Software Requirements

 Front End : HTML,CSS, JavaScript


 HTML: HTML is used to create and save web document.
E.g. Notepad/Notepad++
 CSS: (Cascading Style Sheets) Create attractive Layout
 Bootstrap: responsive design mobile friendly site
 JavaScript: it is a programming language, commonly use with
web browsers.

 Back End : PHP,MySQL

o PHP: Hypertext Preprocessor (PHP) is a technology that allows


software developers to create dynamically generated web
pages, in HTML, XML, or other document types, as per client
request. PHP is open source software.
o MySQL: MySql is a database, widely used for accessing
querying, updating, and managing data in databases.

 Operating System : Windows familier


 For Documentation : Microsoft Office 2007

PHP Mysql:

 MySQL is a database system used on the web


 MySQL is a database system that runs on a server
 MySQL is ideal for both small and large applications
 MySQL is very fast, reliable, and easy to use
 MySQL uses standard SQL
 MySQL compiles on a number of platforms
 MySQL is free to download and use
 MySQL is developed, distributed, and supported by Oracle Corporation
 MySQL is named after co-founder Monty Widenius's daughter: My

The data in a MySQL database are stored in tables. A table is a collection of related data, and it consists of
columns and rows.

Databases are useful for storing information categorically. In this project have a database with the following
tables:

Name: Nilesh R. Vishwakarma Page 10


COLLEGE MANAGEMENT SYSTEM

 Admin
 Students
 Teachers
 Course
 Fees structure
 Attendance
 Notice
 Timetable
 ChatRoom
 Download

PHP + MySQL Database System


 PHP combined with MySQL are cross-platform (you can develop in Windows and serve on a Unix
platform)

Database Queries
 A query is a question or a request.
 We can query a database for specific information and have a recordset returned.
 Look at the following query (using standard SQL):SELECT * FROM Students
 The query above selects all the data in the "*" from the "Students" table.

Hardware Requirements
 Processor :- Intel core i3
 RAM :- 1GB onwards
 Free Hard Disk Space :- 2 GB or more

2.8 Justification of selection of technology

The development of such browser enhancements as Java, JavaScript, JScript (Microsoft’s slight variant of
JavaScript), and ActiveX. On the server side, progress was being made on the Common Gateway Interface
(CGI) using scripting languages such as Perl (an alternative to the PHP language) and server-side scripting
(dynamically inserting the contents of one file—or the output of a system call—into another one).

Once the dust had settled, three main technologies stood head and shoulders above the others. Although Perl
was still a popular scripting language with a strong following, PHP’s simplicity and built-in links to the
MySQL database program had earned it more than double the number of users. And JavaScript, which had
become an essential part of the equation for dynamically manipulating CSS (Cascading Style Sheets), now
took on the even more muscular task of handling the client side of the Ajax process. Under Ajax (described
in Using JavaScript), web pages perform data handling and send requests to web servers in the background
—without the web user being aware that this is going on.

Name: Nilesh R. Vishwakarma Page 11


COLLEGE MANAGEMENT SYSTEM

Chapter 3
SYSTEM DESIGN

Name: Nilesh R. Vishwakarma Page 12


COLLEGE MANAGEMENT SYSTEM

3.1 Process Flow Diagram


Process Flow Diagram or Flowchart is a diagram which uses geometric symbols and arrows to
define the relationships. It is a diagrammatic representation of the algorithm. The Process
flow Diagram of our application is shown below:

3.2 Use Case Diagram


A use case diagram at its simplest is a representation of a user's interaction with the system and depicting
the specifications of a use case. A use case diagram can portray the different types of users of a system and
the various ways that they interact with the system. This type of diagram is typically used in conjunction
with the textual use case and will often be accompanied by other types of diagrams as well. Always structure
and organize the use case diagram from the perspective of the actor. Use cases should start off simple and at
the highest view possible. Only then can they be refined and detailed further.
Use case diagrams are based upon functionality and thus should focus on the "what" and not the "how".

So in brief, the purposes of use case diagrams can be as follows:

 Used to gather requirements of a system.

 Used to get an outside view of a system.

 Identify external and internal factors influencing the system.

 Show the interacting among the requirements are actors.

Name: Nilesh R. Vishwakarma Page 13


COLLEGE MANAGEMENT SYSTEM

Name: Nilesh R. Vishwakarma Page 14


COLLEGE MANAGEMENT SYSTEM

Name: Nilesh R. Vishwakarma Page 15


COLLEGE MANAGEMENT SYSTEM

3.3 ENTITY RELATION DIAGRAM

Entity relationship diagrams are useful for illustrating the relationships between different elements in a
database. With the help of entity relationship diagrams, the structure of a database is made clear, and it is
possible to see exactly how the different elements are interlinked. You can use entity relationship diagrams
to plan a database you are going to build, or to maintain an existing database structure.

An ER model is an abstract way of describing a database. In the case of a relational database, which stores
data in tables, some of the data in these tables point to data in other tables - for instance, your entry in the
database could point to several entries for each of the phone numbers that are yours. The ER model would
say that you are an entity, and each phone number is an entity, and the relationship between you and the
phone numbers is 'has a phone number'. Diagrams created to design these entities and relationships are
called entity–relationship diagrams or ER diagrams.

ER Diagram is a visual representation of data that describes how data is related to each other. In ER Model,
we disintegrate data into entities, attributes and setup relationships between entities, all this can be
represented visually using the ER diagram.
For example, in the below diagram, anyone can see and understand what the diagram wants to
convey: Developer develops a website, whereas a Visitor visits a website.

3.4 Components of ER Diagram


Entity, Attributes, Relationships etc. form the components of ER Diagram and there are defined symbols and
shapes to represent each one of them.
Let's see how we can represent these in our ER Diagram.

Entity
Simple rectangular box represents an Entity.

Name: Nilesh R. Vishwakarma Page 16


COLLEGE MANAGEMENT SYSTEM

Relationships between Entities - Weak and Strong


Rhombus is used to setup relationships between two or more entities.

Attributes for any Entity


Ellipse is used to represent attributes of any entity. It is connected to the entity.

Weak Entity
A weak Entity is represented using double rectangular boxes. It is generally connected to another entity.

Key Attribute for any Entity


To represent a Key attribute, the attribute name inside the Ellipse is underlined.

Derived Attribute for any Entity


Derived attributes are those which are derived based on other attributes, for example, age can be derived
from date of birth.
To represent a derived attribute, another dotted ellipse is created inside the main ellipse.

Multivalued Attribute for any Entity

Name: Nilesh R. Vishwakarma Page 17


COLLEGE MANAGEMENT SYSTEM
Double Ellipse, one inside another, represents the attribute which can have multiple values.

Composite Attribute for any Entity


A composite attribute is the attribute, which also has attributes.

ER-Diagram:-

Name: Nilesh R. Vishwakarma Page 18


COLLEGE MANAGEMENT SYSTEM

3.5 Diagram: Relationship

Name: Nilesh R. Vishwakarma Page 19


COLLEGE MANAGEMENT SYSTEM
A Relationship describes relation between entities. Relationship is represented using diamonds or rhombu

There are three types of relationship that exist between Entities.

1. Binary Relationship
2. Recursive Relationship
3. Ternary Relationship

3.6 Activity Diagram


Activity diagrams are graphical representations of workflows of stepwise activities and actions with
support for choice, iteration and concurrency. In the Unified Modeling Language, activity diagrams are
intended to model both computational and organizational processes

Name: Nilesh R. Vishwakarma Page 20


COLLEGE MANAGEMENT SYSTEM

Basic Activity Diagram Notations and Symbols

Initial State or Start Point


A small filled circle followed by an arrow represents the initial action state or the start point for any activity
diagram. For activity diagram using swim lanes, make sure the start point is placed in the top left corner of
the first column.

Name: Nilesh R. Vishwakarma Page 21


COLLEGE MANAGEMENT SYSTEM

Activity or Action State


An action state represents the non-interruptible action of objects. You can draw an action state in SmartDraw
using a rectangle with rounded corners.

Action Flow
Action flows, also called edges and paths, illustrate the transitions from one action state to another. They are
usually drawn with an arrowed line.

Object Flow
Object flow refers to the creation and modification of objects by activities. An object flow arrow from an
action to an object means that the action creates or influences the object. An object flow arrow from an
object to an action indicates that the action state uses the object.

Decisions and Branching


A diamond represents a decision with alternate paths. When an activity requires a decision prior to moving
on to the next activity, add a diamond between the two activities. The outgoing alternates should be labeled
with a condition or guard expression. You can also label one of the paths "else."

Guards
In UML, guards are a statement written next to a decision diamond that must be true before moving next to
the next activity. These are not essential, but are useful when a specific answer, such as "Yes, three labels
are printed," is needed before moving forward.

Name: Nilesh R. Vishwakarma Page 22


COLLEGE MANAGEMENT SYSTEM

Synchronization
A fork node is used to split a single incoming flow into multiple concurrent flows. It is represented as a
straight, slightly thicker line in an activity diagram.
A join node joins multiple concurrent flows back into a single outgoing flow.
A fork and join mode used together are often referred to as synchronization.

Time Event
This refers to an event that stops the flow for a time; an hourglass depicts it.

Name: Nilesh R. Vishwakarma Page 23


COLLEGE MANAGEMENT SYSTEM

Merge Event
A merge event brings together multiple flows that are not concurrent.

Sent and Received Signals


Signals represent how activities can be modified from outside the system. They usually appear in pairs of
sent and received signals, because the state can't change until a response is received, much like synchronous
messages in a sequence diagram. For example, an authorization of payment is needed before an order can be
completed.

Interrupting Edge
An event, such as a cancellation, that interrupts the flow denoted with a lightning bolt.

Final State or End Point


An arrow pointing to a filled circle nested inside another circle represents the final action state.

Name: Nilesh R. Vishwakarma Page 24


COLLEGE MANAGEMENT SYSTEM

3.7CMS Activity

[Link] Activity

3.8 CLASS DIAGRAM

Name: Nilesh R. Vishwakarma Page 25


COLLEGE MANAGEMENT SYSTEM

What is a Class Diagram?


A class diagram models the static structure of a system. It shows relationships between classes, objects,
attributes, and operations.

Basic Class Diagram Symbols and Notations Classes


Classes represent an abstraction of entities with common characteristics. Associations represent the
relationships between classes.
Illustrate classes with rectangles divided into compartments. Place the name of the class in the first partition
(centered, bolded, and capitalized), list the attributes in the second partition (left-aligned, not bolded, and
lowercase), and write operations into the third.

Active Classes
Active classes initiate and control the flow of activity, while passive classes store data and serve other
classes. Illustrate active classes with a thicker border.

Visibility
Use visibility markers to signify who can access the information contained within a class. Private visibility,
denoted with a - sign, hides information from anything outside the class partition. Public visibility, denoted
with a + sign, allows all other classes to view the marked information. Protected visibility, denoted with a #
sign, allows child classes to access information they inherited from a parent class.

Name: Nilesh R. Vishwakarma Page 26


COLLEGE MANAGEMENT SYSTEM

Associations
Associations represent static relationships between classes. Place association names above, on, or below the
association line. Use a filled arrow to indicate the direction of the relationship. Place roles near the end of an
association. Roles represent the way the two classes see each other.

Multiplicity (Cardinality)
Place multiplicity notations near the ends of an association. These symbols indicate the number of instances
of one class linked to one instance of the other class. For example, one company will have one or more
employees, but each employee works for just one company

Name: Nilesh R. Vishwakarma Page 27


COLLEGE MANAGEMENT SYSTEM

Constraint
Place constraints inside curly braces {}.

Composition and Aggregation


Composition is a special type of aggregation that denotes a strong ownership between Class A, the whole,
and Class B, its part.
Illustrate composition with a filled diamond. Use a hollow diamond to represent a simple aggregation
relationship, in which the "whole" class plays a more important role than the "part" class, but the two classes
are not dependent on each other.
The diamond ends in both composition and aggregation relationships point toward the "whole" class (i.e.,
the aggregation).

Name: Nilesh R. Vishwakarma Page 28


COLLEGE MANAGEMENT SYSTEM

Generalization
Generalization is another name for inheritance or an "is a" relationship. It refers to a relationship between
two classes where one class is a specialized version of another. For example, Honda is a type of car. So the
class Honda would have a generalization relationship with the class car.

Name: Nilesh R. Vishwakarma Page 29


COLLEGE MANAGEMENT SYSTEM

Class Diagram:

In real life coding examples, the difference between inheritance and aggregation can be confusing. If you
have an aggregation relationship, the aggregate (the whole) can access only the PUBLIC functions of the
part class. On the other hand, inheritance allows the inheriting class to access both the PUBLIC and
PROTECTED functions of the superclass.

Name: Nilesh R. Vishwakarma Page 30


COLLEGE MANAGEMENT SYSTEM

3.9 SEQUENCE DIAGRAM

A sequence diagram is an interaction diagram that shows how processes operate with one another and in
what order. It is a construct of a Message Sequence Chart.

A sequence diagram shows object interactions arranged in time sequence. It depicts the objects and classes
involved in the scenario and the sequence of messages exchanged between the objects needed to carry out
the functionality of the scenario.

Sequence diagrams are typically associated with use case realizations in the Logical View of the system
under development. Sequence diagrams are sometimes called inventory diagram.

A sequence diagram shows, as parallel vertical lines (lifelines), different processes or objects that live
simultaneously, and, as horizontal arrows, the messages exchanged between them, in the order in which they
occur.

Visual
Notation Description
Representation

Actor
 A type of role played by an entity that interacts with the subject (e.g., by
exchanging signals and data)
 external to the subject (i.e., in the sense that an instance of an actor is not
a part of the instance of its corresponding subject).
 represent roles played by human users, external hardware, or other
subjects.
Note that:
 An actor does not necessarily represent a specific physical entity but
merely a particular role of some entity
 A person may play the role of several different actors and, conversely, a
given actor may be played by multiple different person.

Name: Nilesh R. Vishwakarma Page 31


COLLEGE MANAGEMENT SYSTEM

Lifeline
 A lifeline represents an individual participant in the Interaction.

Activations
 A thin rectangle on a lifeline) represents the period during which an
element is performing an operation.
 The top and the bottom of the of the rectangle are aligned with the
initiation and the completion time respectively

Call Message
 A message defines a particular communication between Lifelines of an
Interaction.
 Call message is a kind of message that represents an invocation of
operation of target lifeline.

Return Message
 A message defines a particular communication between Lifelines of an
Interaction.
 Return message is a kind of message that represents the pass of

Name: Nilesh R. Vishwakarma Page 32


COLLEGE MANAGEMENT SYSTEM

information back to the caller of a corresponded former message.

Self Message
 A message defines a particular communication between Lifelines of an
Interaction.
 Self message is a kind of message that represents the invocation of
message of the same lifeline.

Recursive Message
 A message defines a particular communication between Lifelines of an
Interaction.
 Recursive message is a kind of message that represents the invocation of
message of the same lifeline. It's target points to an activation on top of
the activation where the message was invoked from.

Create Message
 A message defines a particular communication between Lifelines of an
Interaction.
 Create message is a kind of message that represents the instantiation of
(target) lifeline.

Name: Nilesh R. Vishwakarma Page 33


COLLEGE MANAGEMENT SYSTEM

Destroy Message
 A message defines a particular communication between
Lifelines of an Interaction.
 Destroy message is a kind of message that represents the
request of destroying the lifecycle of target lifeline.

Duration Message
 A message defines a particular communication between
Lifelines of an Interaction.
 Duration message shows the distance between two time
instants for a message invocation.

Name: Nilesh R. Vishwakarma Page 34


COLLEGE MANAGEMENT SYSTEM

Note
A note (comment) gives the ability to attach various remarks to elements. A
comment carries no semantic force, but may contain information that is useful to
a modeler.

3.10 UML DIAGRAM

The Unified Modeling Language (UML) is a general-purpose, developmental, modeling language in the


field of software engineering, that is intended to provide a standard way to visualize the design of a system.
The creation of UML was originally motivated by the desire to standardize the disparate notational systems
and approaches to software design. It was developed by Grady Booch, Ivar Jacobson and James Rumbaugh
at Rational Software in 1994–1995, with further development led by them through 1996. In 1997 UML was
adopted as a standard by the Object Management Group (OMG), and has been managed by this organization
ever since. In 2005 UML was also published by the International Organization for Standardization(ISO) as
an approved ISO standard. Since then the standard has been periodically revised to cover the latest revision
of UML.

UML offers a way to visualize a system's architectural blueprints in a diagram, including elements such as:

 any activities (jobs);
 individual components of the system;

Name: Nilesh R. Vishwakarma Page 35


COLLEGE MANAGEMENT SYSTEM

 and how they can interact with other software components.


 how the system will run;
 how entities interact with others (components and interfaces);
 external user interface.

Structuring Use Cases


UML defines three stereotypes of association between Use Cases:

<<include>> Use Case


The time to use the <<include>> relationship is after you have completed the first cut description of all your
main Use Cases. You can now look at the Use Cases and identify common sequences of user-system
interaction.

<<extend>> Use Case


An extending use case is, effectively, an alternate course of the base use case. The <<extend>> use case
accomplishes this by conceptually inserting additional action sequences into the base use-case sequence.

Abstract and generalized Use Case


The general use case is abstract. It can not be instantiated, as it contains incomplete information. The title of
an abstract use case is shown in italics.

3.11 PROGRAM (DATA) FLOW CHART

Name: Nilesh R. Vishwakarma Page 36


COLLEGE MANAGEMENT SYSTEM
A data flow diagram (DFD) is a graphical representation of the "flow" of data through an information
system, modeling its process aspects. Often they are a preliminary step used to create an overview of the
system which can later be elaborated. DFDs can also be used for the visualization of data processing
(structured design).

A DFD shows what kinds of information will be input to and output from the system, where the data will
come from and go to, and where the data will be stored. It does not show information about the timing of
processes, or information about whether processes will operate in sequence or in parallel (which is shown on
a flowchart.

What is a data flow diagram (DFD)?


Data Flow Diagrams (DFD)A data flow diagram can also be used for the visualization of Data Processing. It
is common practice for a designer to draw a context-level DFD first which shows the interaction between the
system and outside entities. This context-level DFD is then "exploded" to show more detail of the system
being modeled.

A DFD represents flow of data through a system. Data flow diagrams are commonly used during problem
analysis. It views a system as a function that transforms the input into desired output. A DFD shows
movement of data through the different transformations or processes in the system.

Dataflow diagrams can be used to provide the end user with a physical idea of where the data they input
ultimately has an effect upon the structure of the whole system from order to dispatch to restock how any
system is developed can be determined through a dataflow diagram. The appropriate register saved in
database and maintained by appropriate authorities.

We usually begin with drawing a context diagram, a simple representation of the whole system. To
elaborate further from that, we drill down to a level 1 diagram with additional information about the major
functions of the system. This could continue to evolve to become a level 2 diagram when further analysis is
required. Progression to level 3, 4 and so on is possible but anything beyond level 3 is not very common.
Please bear in mind that the level of detail asked for depends on your process change plan.

Diagram Notation

Now we'd like to briefly introduce to you a few diagram notations which you'll see in the tutorial below.

1. External Entity

An external entity can represent a human, system or subsystem. It is where certain data comes from or goes
to. It is external to the system we study, in terms of the business process. For this reason, people use to draw
external entities on the edge of a diagram.

Process

Name: Nilesh R. Vishwakarma Page 37


COLLEGE MANAGEMENT SYSTEM
A process is a business activity or function where the manipulation and transformation of data takes place. A
process can be decomposed to finer level of details, for representing how data is being processed within the
process.

[Link] Store

A data store represents the storage of persistent data required and/or produced by the process. Here are some
examples of data stores: membership forms, database table, etc.

4. Data Flow
A data flow represents the flow of information, with its direction represented by an arrow head that shows at
the end(s) of flow connector.

Data flow diagram symbol

 Symbol Description

Data Flow – Data flow are pipelines through the packets of information flow.

Process : A Process or task performed by the system.


 

Entity : Entity are object of the system. A source or destination data of a system.


 

Name: Nilesh R. Vishwakarma Page 38


COLLEGE MANAGEMENT SYSTEM

Data Store : A place where data to be stored.


 

Context 0th level diagram:

Admin detail dataflow:

1stlevel dfd:

Name: Nilesh R. Vishwakarma Page 39


COLLEGE MANAGEMENT SYSTEM

2nd level dfd:

Student details data flow:

Name: Nilesh R. Vishwakarma Page 40


COLLEGE MANAGEMENT SYSTEM

1st level dfd:

2nd level dfd:

Teacher details data flow:


1st level dfd:

Name: Nilesh R. Vishwakarma Page 41


COLLEGE MANAGEMENT SYSTEM

2nd level dfd:

Name: Nilesh R. Vishwakarma Page 42


COLLEGE MANAGEMENT SYSTEM

3.12 Event Table:


Event Trigger Source Activity Response Destination
Admin Login Check login Admin Verify Login Access to Admin
Details Admin Option
Student Creation Create Id for Admin Create Successfully student Login
student Username and created student
password
student
Teacher Create Id for Admin Create Successfully Teacher Login
Creation Teacher Username and created Teacher
password
Teacher
Attendance Take and update Teacher Take and update Attendance Attendance
attendance attendance taken
successfully
Fees Paid or pending Admin Take fees Fees taken Fees
fees successfully
Chat Room Check login Teacher and Verify Login Access to user Chat Room
login details student login login
Timetable Add date, time Admin and Show timetable View to time Timetable
and subject teacher to user table to users
Download Upload, delete Teacher and User can upload Display all files Download
and download students files such as pdf, uploaded by
files doc, zip, txt, rar, users
etc
Notice Event, holidays Admin Admin send Display notice Notice
Notice notice to to all users
students and
teachers

Name: Nilesh R. Vishwakarma Page 43


COLLEGE MANAGEMENT SYSTEM

3.13 Database Table:


Database Name: adminpanel

3.14 Database Structure:


admin:

attendance_record:

Name: Nilesh R. Vishwakarma Page 44


COLLEGE MANAGEMENT SYSTEM
chatroom:

chat_details:

chat_login:

class:

notice:

presentation:

Name: Nilesh R. Vishwakarma Page 45


COLLEGE MANAGEMENT SYSTEM
student:

teacher:

timetable:

Name: Nilesh R. Vishwakarma Page 46


COLLEGE MANAGEMENT SYSTEM

Chapter 4
ANALYSIS AND DESIGN

Name: Nilesh R. Vishwakarma Page 47


COLLEGE MANAGEMENT SYSTEM

4.1 Background Research


We started research by identifying the need of CMS in the organization. Initially we bounded our research
to find the general reasons that emerged the needs of College Management System. We used different
techniques to collect the data that can clearly give us the overall image of the application. The techniques
we used were interview with the developers, visiting online websites that are presented as the templates and
visiting some organization to see their CMS application. Basically the following factors forced us to
develop CMS application:
 A Person Should be able to login to the system through the first page of the Application.
 The Administrator can create users as per user requirement.
 Admin can upload the data for a particular Student. On successful completion of upload, user
(Student/Faculty) can view reports.
 A general user will have access to see the status of particular Student id number.
 Student (user) can use all the facilities, same as which are provided to him in the college.
 Student can see attendance, notices, report and other facilities in updated manner.
 There will be a separate page for every student as his account in which he can get notices,
attendance, chatbox, document download, timetables etc.
 Faculty can give the attendances and notices for the students.
 The administrator verifies all these reports and generates them for users to view them.

4.2 Requirement Analysis


This process is also known as feasibility study. In this phase, the development team studied the site
requirement. They investigate the need for possible dynamic representation of the site and increase security
features. By the end of feasibility study, the team furnishes a document that holds the different specific
recommendations for the candidate system. It also includes personnel assignments, costs, project schedules,
target dates etc. the requirement gathering process is intensified and focused specially on software. The
essential purpose of this phase is to find the need and to define the problem that needs to be solved. During
this phase following facts were gathered.
 Determined the user need
 Identified the facts
 Establish the goals and objective for the proposed system
 Feasibility for the new system

4.3 Users Requirement


User requirement are categorized by the user type
 A Person Should be able to login to the system through the first page of the Application.
 The Administrator can create users as per user requirement.

Name: Nilesh R. Vishwakarma Page 48


COLLEGE MANAGEMENT SYSTEM
 Admin can upload the data for a particular Student. On successful completion of upload, user
(Student/Faculty) can view reports.
 A general user will have access to see the status of particular Student id number.
 Student (user) can use all the facilities, same as which are provided to him in the college.
 Student can see attendance, notices, report and other facilities in updated manner.
 There will be a separate page for every student account in which he/she can get notices, attendance,
chat room, document download, timetables etc.
 Faculty can give the attendances and notices for the students.
 The administrator verifies all these reports and generates them for users to view them.

Feasibility Analysis
This software has been tested for various feasibility criterions from various point of views.

Economic Feasibility
The system is estimated to be economically affordable. The system is medium scale desktop application
and has affordable price. The benefits include increased efficiency, effectiveness, and the better
performance. Comparing the cost and benefits the system is found to be economically feasible.
Technical Feasibility
Development of the system requires tools like:
MySQL,
Which are easily available within the estimated cost and schedule.

Schedule Feasibility
The organized schedule for the development of the system is presented in the schedule sub-section.
The reasonable timeline reveals that the system development can be finished on desired time
framework.
4.4 Analysis Model:

This document play a vital role in the development of life cycle (SDLC) as it describes the complete
requirement of the system. It means for use by developers and will be the basic during testing phase. Any
changes made to the requirements in the future will have to go through formal change approval process.

SPIRAL MODEL was defined by Barry Boehm in his 1988 article, “A spiral Model of Software
Development and Enhancement. This model was not the first model to discuss iterative development, but it
was the first model to explain why the iteration models.

Name: Nilesh R. Vishwakarma Page 49


COLLEGE MANAGEMENT SYSTEM
As originally envisioned, the iterations were typically 6 months to 2 years long. Each phase starts with a
design goal and ends with a client reviewing the progress thus far. Analysis and engineering efforts are
applied at each phase of the project, with an eye toward the end goal of the project.
The steps for Spiral Model can be generalized as follows:
 The new system requirements are defined in as much details as possible. This usually involves
interviewing a number of users representing all the external or internal users and other aspects of
the existing system.

 A preliminary design is created for the new system.

 A first prototype of the new system is constructed from the preliminary design. This is usually a
scaled-down system, and represents an approximation of the characteristics of the final product.

 A second prototype is evolved by a fourfold procedure:

1. Evaluating the first prototype in terms of its strengths, weakness, and risks.

2. Defining the requirements of the second prototype.

3. Planning and designing the second prototype.

4. Constructing and testing the second prototype.

 At the customer option, the entire project can be aborted if the risk is deemed too great. Risk
factors might involved development cost overruns, operating-cost miscalculation, or any other
factor that could, in the customer’s judgment, result in a less-than-satisfactory final product.

 The existing prototype is evaluated in the same manner as was the previous prototype, and if
necessary, another prototype is developed from it according to the fourfold procedure outlined
above.

 The preceding steps are iterated until the customer is satisfied that the refined prototype
represents the final product desired.

 The final system is constructed, based on the refined prototype.

 The final system is thoroughly evaluated and tested. Routine maintenance is carried on a
continuing basis to prevent large scale failures and to minimize down time.

Name: Nilesh R. Vishwakarma Page 50


COLLEGE MANAGEMENT SYSTEM
The following diagram shows how a spiral model acts like:

4.5 LIFE CYCLE OF PROJECT:


I have used Waterfall Model as Software Engineering life Cycle Process. It is the simplest; oldest and most
widely used process model for software development .This model acquires its name from the fact that classic
software life cycle is represented as a sequence of descending steps.

Name: Nilesh R. Vishwakarma Page 51


COLLEGE MANAGEMENT SYSTEM

4.6 Gantt Chart

JUNE JULY AUGUST SEPTEMBER OCTUBER


Month ( 2019 – 20 ) ( 2019 – 20 ) ( 2019 – 20 ) ( 2019 – 20 ) ( 2019 – 20 )

Weeks Weeks Weeks Weeks Weeks

1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4

Planning

Requirement
gathering

Analysis

Design

EXPECTED TIME ACTUAL TIME


Actual Time Taken Time

Name: Nilesh R. Vishwakarma Page 52


COLLEGE MANAGEMENT SYSTEM

NOVEMBER DECEMBER JANUARY FEBRUARY MARCH


Month ( 2019 – 20 ) ( 2019 – 20 ) ( 2019 – 20 ) ( 2019 – 20 ) ( 2019 – 20 )

Weeks Weeks Weeks Weeks Weeks

1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4

Coding

Testing

Implementatio
n

EXPECTED TIME
Actual Time

Name: Nilesh R. Vishwakarma Page 53


COLLEGE MANAGEMENT SYSTEM

4.7 Coding
[Link]
<?php
include('includes/[Link]'); 
?>
<header>
<div class="header-logo">
    <img src="img/COLLEGE [Link]">
</div>
<div class="swiper-container">
    <div class="swiper-wrapper">
      <div class="swiper-slide">
            <div class="imgBx">
                <h4>Admin Login</h4>
                <img src="img/[Link]">
            </div>
            <div class="details">
                <a href="admin/[Link]"><button type="submit" class="btn btn-primary btn-user btn-block"> L
ogin </button></a>  
            </div>
      </div>
      <div class="swiper-slide">
            <div class="imgBx">
                <h4>Teacher Login</h4>
                <img src="img/[Link]">
            </div>
            <div class="details">
              <a href="teacher/[Link]"><button type="submit" class="btn btn-primary btn-user btn-block"> L
ogin </button></a>
            </div>
      </div>
      <div class="swiper-slide">
            <div class="imgBx">
                <h4>Student Login</h4>
                <img src="img/[Link]">

Name: Nilesh R. Vishwakarma Page 54


COLLEGE MANAGEMENT SYSTEM
            </div>
            <div class="details">
              <a href="student/[Link]"><button type="submit" class="btn btn-primary btn-user btn-block"> L
ogin </button></a>
            </div>
      </div>
    </div>
    <div class="swiper-pagination"></div>
  </div>
</header>
<?php
include('includes/[Link]'); 
?>

admin, teacher & student/[Link]:


<?php
include('[Link]');
include('includes/[Link]'); 
include('includes/[Link]'); 
?>
<div class="container-fluid">
  <div class="d-sm-flex align-items-center justify-content-between mb-4">
    <h1 class="h3 mb-0 text-gray-800">Dashboard</h1>
  </div>
  <div class="row">
    <div class="col-xl-3 col-md-6 mb-4">
      <div class="card border-left-primary shadow h-100 py-2">
        <div class="card-body">
          <div class="row no-gutters align-items-center">
            <div class="col mr-2">
              <div class="text-xl font-weight-bold text-primary text-uppercase mb-1">Total Student Registered</
div>
              <div class="h5 mb-0 font-weight-bold text-gray-800">
          <?php
            $query="select id from student order by id";
            $query_run=mysqli_query($connection,$query);

Name: Nilesh R. Vishwakarma Page 55


COLLEGE MANAGEMENT SYSTEM
            $row=mysqli_num_rows($query_run);
            echo ''.$row.''
          ?>
              </div>
            </div>
            <div class="col-auto">
              <i class="fas fa-users fa-2x text-gray-300"></i>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="col-xl-3 col-md-6 mb-4">
      <div class="card border-left-success shadow h-100 py-2">
        <div class="card-body">
          <div class="row no-gutters align-items-center">
            <div class="col mr-2">
              <div class="text-xl font-weight-bold text-primary text-uppercase mb-1">Total Teacher Registered<
/div>
              <div class="h5 mb-0 font-weight-bold text-gray-800">
              <?php
              $query="select id from teacher order by id";
              $query_run=mysqli_query($connection,$query);
              $row=mysqli_num_rows($query_run);
              echo ''.$row.''
              ?>
              </div>
              </div>
            <div class="col-auto">
              <i class="fas fa-user fa-2x text-gray-300"></i>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="col-xl-3 col-md-6 mb-4">

Name: Nilesh R. Vishwakarma Page 56


COLLEGE MANAGEMENT SYSTEM
      <div class="card border-left-info shadow h-100 py-2">
        <div class="card-body">
          <div class="row no-gutters align-items-center">
            <div class="col mr-2">
              <div class="text-xl font-weight-bold text-primary text-uppercase mb-1">Notice</div>
              <div class="h5 mb-0 font-weight-bold text-gray-800">
              <?php
              $query="select id from notice order by id";
              $query_run=mysqli_query($connection,$query);
              $row=mysqli_num_rows($query_run);
              echo ''.$row.''
              ?>
              </div>
            </div>
            <div class="col-auto">
              <i class="fas fa-clipboard-list fa-2x text-gray-300"></i>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="col-xl-3 col-md-6 mb-4">
      <div class="card border-left-warning shadow h-100 py-2">
        <div class="card-body">
          <div class="row no-gutters align-items-center">
            <div class="col mr-2">
              <div class="text-xl font-weight-bold text-primary text-uppercase mb-1">Total Class</div>
              <div class="h5 mb-0 font-weight-bold text-gray-800">
              <?php
              $query="select id from class order by id";
              $query_run=mysqli_query($connection,$query);
              $row=mysqli_num_rows($query_run);
              echo ''.$row.''
              ?>
              </div>
              </div>

Name: Nilesh R. Vishwakarma Page 57


COLLEGE MANAGEMENT SYSTEM
            <div class="col-auto">
              <i class="fas fa-book fa-2x text-gray-300"></i>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
<?php
include('includes/[Link]');
include('includes/[Link]');
?>

admin, teacher & student/[Link]


<?php
session_start();
include('includes/[Link]'); 
?>
<div class="container">
<div class="row justify-content-center">
  <div class="col-xl-6 col-lg-6 col-md-8">
    <div class="card o-hidden border-0 shadow-lg my-5">
      <div class="card-body p-0">
        <div class="row">
          <div class="col-lg-12">
            <div class="p-5">
              <div class="text-center">
                <h1 class="h4 text-gray-900 mb-4">Login Here!</h1>
                <?php
                    if(isset($_SESSION['status']) && $_SESSION['status'] !='') 
                    {
                        echo '<h6 class="btn-danger"> '.$_SESSION['status'].' </h6>';
                        unset($_SESSION['status']);
                    }
                ?>
              </div>

Name: Nilesh R. Vishwakarma Page 58


COLLEGE MANAGEMENT SYSTEM
                <form class="user" action="[Link]" method="POST">
                    <div class="form-group">
                    <input type="text" name="username" class="form-control form-control-user" placeholder="Ent
er Username">
                    </div>
                    <div class="form-group">
                    <input type="password" name="password" class="form-control form-control-user" placeholder
="Password">
                    </div>
                    <button type="submit" name="login_btn" class="btn btn-primary btn-user btn-block"> Login </
button>
                    <br>
                    <a href="forgetp/[Link]">Forget password?</a>
                </form>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
</div>
<?php
include('includes/[Link]'); 
?>

admin, teacher & student/[Link]


<?php
    include('database/[Link]');
    if(isset($_POST['logout_btn']))
    {
    session_destroy();
    unset($_SESSION['username']);
    header('Location: [Link]');
    }
?>

Name: Nilesh R. Vishwakarma Page 59


COLLEGE MANAGEMENT SYSTEM
[Link]
<?php
include('[Link]');
include('includes/[Link]'); 
include('includes/[Link]'); 
?>
<div class="modal fade" id="addadminprofile" tabindex="-1" role="dialog" aria-
labelledby="exampleModalLabel" aria-hidden="true">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="exampleModalLabel">Add Student</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <form action="[Link]" method="POST" enctype="multipart/form-data">
        <div class="modal-body">
            <div class="form-group">
                <label> Full Name </label>
                <input type="text" name="fname" class="form-control" placeholder="Enter Full Name">
            </div>
            <div class="form-group">
                <label> Username </label>
                <input type="text" name="username" id="username" class="form-control" placeholder="Enter Us
ername">
                <span id="usernameloading"></span>
                <span id="usernameresult"></span>
            </div>
            <div class="form-group">
                <label>Email</label>
                <input type="email" name="email" class="form-control" placeholder="Enter Email">
            </div>
            <div class="form-group">
                <label>Gender</label>
                <select name="gender" class="form-control">

Name: Nilesh R. Vishwakarma Page 60


COLLEGE MANAGEMENT SYSTEM
                  <option>--select--</option>
                  <option value="Male">Male</option>
                  <option value="Female">Female</option>
                </select>
            </div>
            <div class="form-group">
                <label>Class</label>
                <select name="class" class="form-control">
                <option>--select--</option>
                  <?php
                    if($stmt=$connection->query("select distinct class from class")){
                      while($r=$stmt->fetch_array(MYSQLI_ASSOC)){
                      ?>
                      <option value="<?php echo $r['class']; ?>"><?php echo $r['class']; ?></option>
                      <?php
                    }
                  }
                  ?>
                  </select>
            </div>
            <div class="form-group">
                <label>Section</label>
                <select name="section" class="form-control">
                <option>--select--</option>
                  <?php
                    if($stmt=$connection->query("select distinct section from class")){
                      while($r=$stmt->fetch_array(MYSQLI_ASSOC)){
                      ?>
                      <option value="<?php echo $r['section']; ?>"><?php echo $r['section']; ?></option>
                      <?php
                    }
                  }
                  ?>
                  </select>
            </div>
            <div class="form-group">

Name: Nilesh R. Vishwakarma Page 61


COLLEGE MANAGEMENT SYSTEM
                <label>Year</label>
                <select name="year" class="form-control">
                  <option>--select--</option>
                  <option value="2019-20">2019-20</option>
                  <option value="2020-21">2020-21</option>
                  <option value="2021-22">2021-22</option>
                  <option value="2022-23">2022-23</option>
                  <option value="2023-24">2023-24</option>
                  <option value="2024-25">2024-25</option>
                </select>
            </div>
            <div class="form-group">
                <label>Course Fee</label>
                <select name="course_fee" class="form-control">
                <option>--select--</option>
                  <?php
                    if($stmt=$connection->query("select distinct course_fee from class")){
                      while($r=$stmt->fetch_array(MYSQLI_ASSOC)){
                      ?>
                      <option value="<?php echo $r['course_fee']; ?>"><?php echo $r['course_fee']; ?></option>
                      <?php
                    }
                  }
                  ?>
                  </select>
            </div>
            <div class="form-group">
                <label>Pending</label>
                <select name="balance" class="form-control">
                <option>--select--</option>
                  <?php
                    if($stmt=$connection->query("select distinct course_fee from class")){
                      while($r=$stmt->fetch_array(MYSQLI_ASSOC)){
                      ?>
                      <option value="<?php echo $r['course_fee']; ?>"><?php echo $r['course_fee']; ?></option>
                      <?php

Name: Nilesh R. Vishwakarma Page 62


COLLEGE MANAGEMENT SYSTEM
                    }
                  }
                  ?>
                  </select>
            </div>
            <div class="form-group">
                <label>Address</label>
                <input type="text" name="address" class="form-control" placeholder="Enter Address">
            </div>
            <div class="form-group">
                <label>Password</label>
                <input type="password" name="password" class="form-control" placeholder="Enter Password">
            </div>
            <div class="form-group">
                <label>Confirm Password</label>
                <input type="password" name="confirmpassword" class="form-control" placeholder="Confirm P
assword">
            </div>
            <div class="form-group">
                <label>Upload Image</label>
                <input type="file" name="image" id="image" class="form-control">
            </div>
        </div>
        <div class="modal-footer">
            <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
            <button type="submit" name="registerbtn" class="btn btn-primary">Save</button>
        </div>
      </form>
    </div>
  </div>
</div>
<div class="container-fluid">
<div class="card shadow mb-4">
  <div class="card-header py-3">
    <h6 class="m-0 font-weight-bold text-primary">
        <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#addadminprofile">

Name: Nilesh R. Vishwakarma Page 63


COLLEGE MANAGEMENT SYSTEM
          Add Student
        </button>
    </h6>
  </div>
  <div class="card-body">
  <form class="d-none d-sm-inline-block form-inline mr-auto ml-md-3 my-2 my-md-0 mw-100 py-3 navbar-
search">
    <div class="input-group">
      <input type="text" name="search_text" id="search_text" class="form-control bg-light border-0 small" pl
aceholder="Search for..." aria-label="Search" aria-describedby="basic-addon2">
    <div class="input-group-append">
      <button class="btn btn-primary" type="button">
        <i class="fas fa-search fa-sm"></i>
      </button>
    </div>
  </div>
  </form>
  <?php
      if(isset($_SESSION['success']) && $_SESSION['success'] !=''){
        echo '<h2>'.$_SESSION['success'].'</h2>';
        unset($_SESSION['success']);
      }
      if(isset($_SESSION['status']) && $_SESSION['status'] !=''){
      echo '<h2>'.$_SESSION['status'].'</h2>';
      unset($_SESSION['status']);
      }
    ?>
  <div id="result"></div>
    </div>
  </div>
</div>
</div>
<?php
include('includes/[Link]');
include('includes/[Link]');
?>

Name: Nilesh R. Vishwakarma Page 64


COLLEGE MANAGEMENT SYSTEM
<script>
$(document).ready(function(){
  load_data();
  function load_data(query)
  {
    $.ajax({
      url:"[Link]",
      method:"post",
      data:{query:query},
      success:function(data)
      {
        $('#result').html(data);
      }
    });
  }
  $('#search_text').keyup(function(){
    var search = $(this).val();
    if(search != '')
    {
      load_data(search);
    }
    else
    {
      load_data();      
    }
  });
});
</script>

[Link]
<?php
include('[Link]');
include('includes/[Link]'); 
include('includes/[Link]'); 
?>

Name: Nilesh R. Vishwakarma Page 65


COLLEGE MANAGEMENT SYSTEM
<div class="modal fade" id="addadminprofile" tabindex="-1" role="dialog" aria-
labelledby="exampleModalLabel" aria-hidden="true">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="exampleModalLabel">Add Teacher</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <form action="[Link]" method="POST" enctype="multipart/form-data">
        <div class="modal-body">
            <div class="form-group">
                <label> Full Name </label>
                <input type="text" name="fname" class="form-control" placeholder="Enter Full Name">
            </div>
            <div class="form-group">
                <label> Username </label>
                <input type="text" name="username" class="form-control" placeholder="Enter Username">
            </div>
            <div class="form-group">
                <label>Email</label>
                <input type="email" name="email" class="form-control" placeholder="Enter Email">
            </div>
            <div class="form-group">
                <label>Class</label>
                <select name="class" class="form-control">
                <option>--select--</option>
                  <?php
                    if($stmt=$connection->query("select distinct class from class")){
                      while($r=$stmt->fetch_array(MYSQLI_ASSOC)){
                      ?>
                      <option value="<?php echo $r['class']; ?>"><?php echo $r['class']; ?></option>
                      <?php
                    }
                  }

Name: Nilesh R. Vishwakarma Page 66


COLLEGE MANAGEMENT SYSTEM
                  ?>
                  </select>
            </div>
            <div class="form-group">
                <label>Section</label>
                <select name="section" class="form-control">
                <option>--select--</option>
                  <?php
                    if($stmt=$connection->query("select distinct section from class")){
                      while($r=$stmt->fetch_array(MYSQLI_ASSOC)){
                      ?>
                      <option value="<?php echo $r['section']; ?>"><?php echo $r['section']; ?></option>
                      <?php
                    }
                  }
                  ?>
                  </select>
            </div>
            <div class="form-group">
                <label>Year</label>
                <select name="year" class="form-control">
                  <option>--select--</option>
                  <option value="2019-20">2019-20</option>
                  <option value="2020-21">2020-21</option>
                  <option value="2021-22">2021-22</option>
                  <option value="2022-23">2022-23</option>
                  <option value="2023-24">2023-24</option>
                  <option value="2024-25">2024-25</option>
                </select>
            </div>
            <div class="form-group">
                <label>Password</label>
                <input type="password" name="password" class="form-control" placeholder="Enter Password">
            </div>
            <div class="form-group">
                <label>Confirm Password</label>

Name: Nilesh R. Vishwakarma Page 67


COLLEGE MANAGEMENT SYSTEM
                <input type="password" name="confirmpassword" class="form-control" placeholder="Confirm P
assword">
            </div>
            <div class="form-group">
                <label>Upload Image</label>
                <input type="file" name="image" id="image" class="form-control">
            </div>
        </div>
        <div class="modal-footer">
            <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
            <button type="submit" name="registerbtn" class="btn btn-primary">Save</button>
        </div>
      </form>
    </div>
  </div>
</div>
<div class="container-fluid">
<div class="card shadow mb-4">
  <div class="card-header py-3">
    <h6 class="m-0 font-weight-bold text-primary">
          <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#addadminprofile">
              Add Teacher
          </button>
    </h6>
  </div>
  <div class="card-body">
  <form class="d-none d-sm-inline-block form-inline mr-auto ml-md-3 my-2 my-md-0 mw-100 py-3 navbar-
search">
    <div class="input-group">
      <input type="text" name="search_text" id="search_text" class="form-control bg-light border-0 small" pl
aceholder="Search for..." aria-label="Search" aria-describedby="basic-addon2">
    <div class="input-group-append">
      <button class="btn btn-primary" type="button">
        <i class="fas fa-search fa-sm"></i>
      </button>
    </div>

Name: Nilesh R. Vishwakarma Page 68


COLLEGE MANAGEMENT SYSTEM
  </div>
  </form>
  <?php
      if(isset($_SESSION['success']) && $_SESSION['success'] !=''){
        echo '<h2>'.$_SESSION['success'].'</h2>';
        unset($_SESSION['success']);
      }
      if(isset($_SESSION['status']) && $_SESSION['status'] !=''){
      echo '<h2>'.$_SESSION['status'].'</h2>';
      unset($_SESSION['status']);
      }
    ?>
  <div id="result"></div>
    </div>
  </div>
</div>
</div>
<?php
include('includes/[Link]');
include('includes/[Link]');
?>
<script>
$(document).ready(function(){
  load_data();
  function load_data(query)
  {
    $.ajax({
      url:"[Link]",
      method:"post",
      data:{query:query},
      success:function(data)
      {
        $('#result').html(data);
      }
    });
  }

Name: Nilesh R. Vishwakarma Page 69


COLLEGE MANAGEMENT SYSTEM
  $('#search_text').keyup(function(){
    var search = $(this).val();
    if(search != '')
    {
      load_data(search);
    }
    else
    {
      load_data();      
    }
  });
});
</script>

[Link]
<?php
include('[Link]');
include('includes/[Link]'); 
include('includes/[Link]'); 
?>
<div class="modal fade" id="addadminprofile" tabindex="-1" role="dialog" aria-
labelledby="exampleModalLabel" aria-hidden="true">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="exampleModalLabel">Add Student</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <form action="[Link]" method="POST">
        <div class="modal-body">
            <div class="form-group">
                <label> Class </label>
                <input type="text" name="class" class="form-control" placeholder="Enter Class">
                <label>Section</label>

Name: Nilesh R. Vishwakarma Page 70


COLLEGE MANAGEMENT SYSTEM
                <input type="text" name="section" class="form-control" placeholder="Enter Section">
                <label>Year</label>
                <select name="year" class="form-control">
                  <option value="2019-20">2019-20</option>
                  <option value="2020-21">2020-21</option>
                  <option value="2021-22">2021-22</option>
                  <option value="2022-23">2022-23</option>
                  <option value="2023-24">2023-24</option>
                  <option value="2024-25">2024-25</option>
                </select>
                <label>Course Fee</label>
                <input type="text" name="course_fee" class="form-control" placeholder="Enter Course Fee">
            </div>
        </div>
        <div class="modal-footer">
            <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
            <button type="submit" name="classbtn" class="btn btn-primary">Save</button>
        </div>
      </form>
    </div>
  </div>
</div>
<div class="container-fluid">
<div class="card shadow mb-4">
  <div class="card-header py-3">
    <h6 class="m-0 font-weight-bold text-primary">
            <button type="button" class="btn btn-primary" data-toggle="modal" data-
target="#addadminprofile">
              Add Class
            </button>
    </h6>
  </div>
  <div class="card-body">
  <?php
      if(isset($_SESSION['success']) && $_SESSION['success'] !=''){
        echo '<h2>'.$_SESSION['success'].'</h2>';

Name: Nilesh R. Vishwakarma Page 71


COLLEGE MANAGEMENT SYSTEM
        unset($_SESSION['success']);
      }
      if(isset($_SESSION['status']) && $_SESSION['status'] !=''){
      echo '<h2>'.$_SESSION['status'].'</h2>';
      unset($_SESSION['status']);
      }
  ?>
    <div class="table-responsive">
    <?php
      include('database/[Link]');
      $query="select * from class order by class";
      $query_run = mysqli_query($connection, $query);
    ?>
      <table class="table table-bordered" id="dataTable" width="100%" cellspacing="0">
        <thead>
          <tr>
            <th width="10%">ID</th>
            <th>Class</th>
            <th>Section</th>
            <th>Year</th>
            <th>Course Fee</th>
            <th colspan="2" style="text-align: center;" width="20%">Action</th>
          </tr>
        </thead>
        <tbody>
        <?php
          if(mysqli_num_rows($query_run)>0){
             $serialnumber=0;
            while($row = mysqli_fetch_assoc($query_run))
            {
               $serialnumber++;
              ?>
          <tr>
            <td><?php echo $serialnumber; ?></td>
            <td><?php echo $row['class']; ?></td>
            <td><?php echo $row['section']; ?></td>

Name: Nilesh R. Vishwakarma Page 72


COLLEGE MANAGEMENT SYSTEM
            <td><?php echo $row['year']; ?></td>
            <td><?php echo $row['course_fee']; ?></td>
            <td>
            <form action="edit_class.php" method="post">
            <button type="submit" class="btn btn-success"><i class="far fa-edit"></i><input type="hidden" na
me="edit_id" value="<?php echo $row['id']; ?>"></button>
            </form></td>
            <td>
            <form action="[Link]" method="post">
            <button type="submit" name="deleteclass" class="btn btn-danger"><i class="fas fa-trash-
alt"></i><input type="hidden" name="delete_id" value="<?php echo $row['id']; ?>"></button>
            </form>
            </td>
          </tr>
          <?php
          }
          }else{
          echo "No record found";
          }
          ?>
        </tbody>
      </table>
    </div>
  </div>
</div>
</div>
<?php
include('includes/[Link]');
include('includes/[Link]');
?>

[Link]
<?php
include('[Link]');
include('includes/[Link]'); 
include('includes/[Link]');

Name: Nilesh R. Vishwakarma Page 73


COLLEGE MANAGEMENT SYSTEM
If(isset($_POST['fcal']))
{
    $id = $_POST['edit_id'];
    $paid = $_POST['num1'];
    $pending = $_POST['num2'];
    $paying = $_POST['paying'];
        $query = "UPDATE student SET paid='$paid', balance='$pending', recent_paid='$paying' WHERE id='
$id'";
        $query_run = mysqli_query($connection, $query);
        If($query_run)
        {
            $_SESSION['success']="Fee Update Successful";
        }
        else
        {
            $_SESSION['status']="Fee Not Update";
        }
}
?>
<div class="container-fluid">
<div class="card shadow mb-4">
  <div class="card-header py-3">
    <h6 class="m-0 font-weight-bold text-primary"> Fees update </h6>
  </div>
  <div class="card-body">
  <?php
        if(isset($_POST['edit_id'])){
            $id = $_POST['edit_id'];
            $query = "select * from student where id='$id'";
            $query_run = mysqli_query($connection, $query);
            foreach($query_run as $row){
                ?>
  <form action="[Link]" method="POST">
  <div class="d-sm-flex align-items-center justify-content-between mb-4">
  <h6><div class="well text-center">Date: <?php echo date("Y-m-d"); ?></div></h6>
  <input type="hidden" name="edit_id" value="<?php echo $row['id']; ?>">

Name: Nilesh R. Vishwakarma Page 74


COLLEGE MANAGEMENT SYSTEM
    <button type="submit" class="d-none d-sm-inline-block btn btn-sm btn-primary shadow-sm"><i class="f
as fa-download fa-sm text-white-50"></i> Generate Receipt</button>
  </div>
  </form>
  <?php
        if(isset($_SESSION['success']) && $_SESSION['success'] !=''){
            echo '<h5 class="alert alert-success">'.$_SESSION['success'].'</h5>';
            unset($_SESSION['success']);
        }
        if(isset($_SESSION['status']) && $_SESSION['status'] !=''){
        echo '<h5 class="alert alert-danger">'.$_SESSION['status'].'</h5>';
        unset($_SESSION['status']);
        }
    ?>
    <form method="POST">    
        <table> 
            <input type="hidden" name="edit_id" value="<?php echo $row['id']; ?>" >
        <div class="form-group">
          <tr>
            <td> Name </td>
            <td><b>&nbsp;: &nbsp;<?php echo $row['fname']; ?></b></td>
              </tr>
              </div>
              <div class="form-group">
              <tr>
              <td> Class </td>
            <td><b>&nbsp;: &nbsp;<?php echo $row['class']; ?><?php echo $row['section']; ?></b></td>
              </tr>
              <div class="form-group">
              <tr>
                <td> course fees </td>
              <input type="hidden" name="course_fee" id="course_fee">
            <td><b>&nbsp;: &nbsp;<?php echo $row['course_fee']; ?></b></td>
              </tr>
        </div>
        <div class="form-group">

Name: Nilesh R. Vishwakarma Page 75


COLLEGE MANAGEMENT SYSTEM
          <tr>
            <td>paid </td>
              <input type="hidden" name="paid" id="paid" class="enter form-control" value="<?php echo $row['
paid']; ?>">
              <input type="hidden" name="num1" id="num1" class="form-control">
            <td><b>&nbsp;: &nbsp;<?php echo $row['paid']; ?></b></td>
              </tr>
        </div>
          <div class="form-group">
            <td>pending </td>
              <input type="hidden" name="pending" id="pending" class="enter form-control" value="<?php ech
o $row['balance']; ?>">
              <input type="hidden" name="num2" id="num2" class="form-control">
            <td><b>&nbsp;: &nbsp;<?php echo $row['balance']; ?></b></td>
              </tr>
        </div><tr><td></td></tr><tr><td></td></tr>
          </table>
        <div class="form-group">
            <label for="paying">paying</label>
            <input type="text" name="paying" id="paying" class="enter form-control" placeholder="Enter Amo
unt">
          </div>
          <script src="js/[Link]" charset="utf-8"></script>
            <a href="[Link]" class="btn btn-danger">Cancel</a>
            <button type="submit" name="fcal" class="btn btn-primary">Update</button>
        </form>
        <?php } } ?>
    </div>
  </div>
</div>
<?php
include('includes/[Link]');
include('includes/[Link]');
?>

Name: Nilesh R. Vishwakarma Page 76


COLLEGE MANAGEMENT SYSTEM
[Link]
<?php
include('[Link]');
include('includes/[Link]'); 
include('includes/[Link]'); 
?>
<div class="modal fade" id="addadminprofile" tabindex="-1" role="dialog" aria-
labelledby="exampleModalLabel" aria-hidden="true">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="exampleModalLabel">Notice</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <form action="[Link]" method="POST" onsubmit="addNewLines();">
        <div class="modal-body">
            <div class="form-group">
                <label>Notice</label>
                <textarea rows="10" cols="40" style="display:none;" id="msg" name="notice" class="form-
control" placeholder="Enter Notice"></textarea>
                <textarea id="userField" rows="10" cols="40" class="form-control" placeholder="Enter Notice">
</textarea>
            </div>
        </div>
        <div class="modal-footer">
            <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
            <button type="submit" name="noticebtn" class="btn btn-primary">Save</button>
        </div>
      </form>
      <br>
      <script>
          function addNewLines()
          {
            text=[Link]('userField').value;

Name: Nilesh R. Vishwakarma Page 77


COLLEGE MANAGEMENT SYSTEM
            text=[Link](/  /g, "[sp][sp]");
            text=[Link](/\n/g, "[nl]");
            text=[Link]('msg').value=text;
            return false;
          }
      </script>
    </div>
  </div>
</div>
<div class="container-fluid">
<div class="card shadow mb-4">
  <div class="card-header py-3">
  <h6 class="m-0 font-weight-bold text-primary">
  <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#addadminprofile">
  Notice
  </button>
  </h6>
  </div>
  <br>
  <h6><div class="well text-center">Date: <?php echo date("Y-m-d"); ?></div></h6>
  <div class="card-body">
    <div class="table-responsive">
    <?php
      $query="select * from notice";
      $query_run = mysqli_query($connection, $query);
    ?>
      <table class="table table-bordered" id="dataTable" width="100%" cellspacing="0">
        <thead>
          <tr>
            <th width="18%">Date</th>
            <th width="52%">Today Notice</th>
            <th width="10%">Send</th>
            <th colspan="2" style="text-align: center;" width="20%">Action</th>
          </tr>
        </thead>
        <tbody>

Name: Nilesh R. Vishwakarma Page 78


COLLEGE MANAGEMENT SYSTEM
        <?php
          if(mysqli_num_rows($query_run)>0){
            while($row = mysqli_fetch_assoc($query_run))
            {
              ?>
          <tr>
            <td align="center"><?php echo $row['date']; ?></td>
           <td><?php echo $row['notice']; ?></td>
            <td>
            <form action="forgetp/send_notice.php" method="POST">
                <input type="hidden" name="edit_id" value="<?php echo $row['id']; ?>">
                <button type="submit" class="btn btn-success">send</button>
              </form>
              </td>
              <td>
              <form action="edit_notice.php" method="post">
                <input type="hidden" name="edit_id" value="<?php echo $row['id']; ?>">
                <button type="submit" class="btn btn-success"><i class="far fa-edit"></i></button>
              </form></td>
              <td>
              <form action="[Link]" method="POST">
                <input type="hidden" name="delete_id" value="<?php echo $row['id']; ?>">
                <button type="submit" name="deletenotice" class="btn btn-danger"><i class="fas fa-trash-
alt"></i></button>
              </form>
            </td>
          </tr>
          <?php
          }
          }else{
          echo "No record found";
          }
          ?>
        </tbody>
      </table>
    </div>

Name: Nilesh R. Vishwakarma Page 79


COLLEGE MANAGEMENT SYSTEM
  </div>
</div>
</div>
<?php
include('includes/[Link]');
include('includes/[Link]');
?>

[Link]
<?php
include('[Link]');
include('includes/[Link]'); 
include('includes/[Link]'); 
?>
    <?php
        if(!empty($_POST))
        {
            $con = mysqli_connect("localhost","root","","adminpanel");
            if (!$con)
                echo('Could not connect: ' . mysqli_error());
            else
            {
                $sql = "INSERT INTO presentation (book,author,file) VALUES ('" . $_POST["sub"] ."','" . $_POS
T["pre"] . "','" . 
                $_FILES["file"]["name"] ."')";
                $query_run = mysqli_query($con, $sql);
                if ($query_run)
                move_uploaded_file($_FILES["file"]["tmp_name"],
                "download/" . $_FILES["file"]["name"]) ;
                else
                    echo '<script language="javascript">alert("Thank You!! File Uploded")</script>';
            }
            mysqli_close($con);
        }
    ?>
    <div class="container-fluid">

Name: Nilesh R. Vishwakarma Page 80


COLLEGE MANAGEMENT SYSTEM
    <div class="card shadow mb-4">
    <div class="card-header py-3">
    <h6 class="m-0 font-weight-bold text-primary">
    Upload And Download Files
    </h6>
    </div>
    <div class="card-body">
    <div class="table-responsive">
    <form id="form3" enctype="multipart/form-data" method="post" action="[Link]">
             <table class="table table-bordered">           
                <tr>
                    <td>    <label for="sub">FILE NAME</label>  </td>
                    <td>    <input type="text" name="sub" id="sub" class="form-control"  
                             required autofocus placeholder="Enter file name"/> </td>
                </tr>
                <tr><input type="hidden" name="pre" cols="50" rows="10" id="pre" value="<?php echo $_SESS
ION["username"]; ?>" 
                    class="input-medium" required>
                </tr>
                <tr>
                    <td><label for="file">File</label></td>
                    <td><input type="file" name="file" id="file" 
                        title="Click here to select file to upload." required /></td>
                   <td colspan="2" align="center">          
                   <input type="submit" class="btn btn-primary" name="upload" id="upload" 
                   title="Click here to upload the file." value="Upload File" /> </td>
                </tr>
            </table>
        </form>
        </div>
        </div>
 <br>
    <div class="card shadow mb-4">
    <div class="card-header py-3">
    <h6 class="m-0 font-weight-bold text-primary">
    List Of Files

Name: Nilesh R. Vishwakarma Page 81


COLLEGE MANAGEMENT SYSTEM
    </h6>
    </div>
    <br>
    <form class="d-none d-sm-inline-block form-inline mr-auto ml-md-3 my-2 my-md-0 mw-100 navbar-
search">
        <div class="input-group">
            <input type="text" name="search_text" id="search_text" class="form-control bg-light border-0 small
" placeholder="Search for..." aria-label="Search" aria-describedby="basic-addon2">
        <div class="input-group-append">
            <button class="btn btn-primary" type="button">
                <i class="fas fa-search fa-sm"></i>
            </button>
            &nbsp;&nbsp;&nbsp;
            <a href="[Link]"><button class="btn btn-primary" type="button">
                My Upload
            </button></a>
        </div>
    </div>
    </form>
    <div id="result"></div>
    <a class="scroll-to-top rounded" href="#page-top">
    <i class="fas fa-angle-up"></i>
  </a>
</div>
</div>
</div>
</div>
<?php
include('includes/[Link]');
include('includes/[Link]');
?>
<script>
$(document).ready(function(){
    load_data();
    function load_data(query)
    {

Name: Nilesh R. Vishwakarma Page 82


COLLEGE MANAGEMENT SYSTEM
        $.ajax({
            url:"[Link]",
            method:"post",
            data:{query:query},
            success:function(data)
            {
                $('#result').html(data);
            }
        });
    }
    $('#search_text').keyup(function(){
        var search = $(this).val();
        if(search != '')
        {
            load_data(search);
        }
        else
        {
            load_data();            
        }
    });
});
</script>

[Link]
<?php
include('[Link]');
include('includes/[Link]'); 
include('includes/[Link]'); 
?>
<div class="modal fade" id="addadminprofile" tabindex="-1" role="dialog" aria-
labelledby="exampleModalLabel" aria-hidden="true">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="exampleModalLabel">Timetable</h5>

Name: Nilesh R. Vishwakarma Page 83


COLLEGE MANAGEMENT SYSTEM
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <form action="[Link]" method="POST">
        <div class="modal-body">
            <div class="form-group">
                <label>Time</label>
                <input type="text" name="time" class="form-control" placeholder="Time">
            </div>
            <div class="form-group">
                <label>Monday</label>
                <input type="text" name="monday" class="form-control" placeholder="Monday">
            </div>
            <div class="form-group">
                <label>Tuesday</label>
                <input type="text" name="tuesday" class="form-control" placeholder="Tuesday">
            </div>
            <div class="form-group">
                <label>Wednesday</label>
                <input type="text" name="wednesday" class="form-control" placeholder="Wednesday">
            </div>
            <div class="form-group">
                <label>Thursday</label>
                <input type="text" name="thursday" class="form-control" placeholder="Thursday">
            </div>
            <div class="form-group">
            <label>Friday</label>
            <input type="text" name="friday" class="form-control" placeholder="Friday">
            </div>
            <div class="form-group">
            <label>Saturday</label>
            <input type="text" name="saturday" class="form-control" placeholder="Saturday">
            </div>
        </div>
        <div class="modal-footer">

Name: Nilesh R. Vishwakarma Page 84


COLLEGE MANAGEMENT SYSTEM
            <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
            <button type="submit" name="timetablebtn" class="btn btn-primary">Save</button>
        </div>
      </form>
    </div>
  </div>
</div>
<div class="container-fluid">
<div class="card shadow mb-4">
  <div class="card-header py-3">
    <h6 class="m-0 font-weight-bold text-primary">
            <button type="button" class="btn btn-primary" data-toggle="modal" data-
target="#addadminprofile">
              Timetable
            </button>
    </h6>
  </div>
<br>
<h6><div class="well text-center">Date: <?php echo date("Y-m-d"); ?></div></h6>
  <div class="card-body">
  <?php
      if(isset($_SESSION['success']) && $_SESSION['success'] !=''){
        echo '<h2>'.$_SESSION['success'].'</h2>';
        unset($_SESSION['success']);
      }
      if(isset($_SESSION['status']) && $_SESSION['status'] !=''){
      echo '<h2>'.$_SESSION['status'].'</h2>';
      unset($_SESSION['status']);
      }
  ?>
    <div class="table-responsive">
    <?php
      $query="select * from timetable";
      $query_run = mysqli_query($connection, $query);
    ?>
      <table class="table table-bordered" id="dataTable" width="100%" cellspacing="0">

Name: Nilesh R. Vishwakarma Page 85


COLLEGE MANAGEMENT SYSTEM
        <thead>
          <tr>
            <th style="text-align: center;"> Time </th>
            <th style="text-align: center;">Monday</th>
            <th style="text-align: center;">Tuesday</th>
            <th style="text-align: center;">Wednesday</th>
            <th style="text-align: center;">Thursday</th>
            <th style="text-align: center;">Friday</th>
            <th style="text-align: center;">Saturday</th>
            <th colspan="2" style="text-align: center;" width="20%">Action</th>
          </tr>
        </thead>
        <tbody>
        <?php
          if(mysqli_num_rows($query_run)>0){
            while($row = mysqli_fetch_assoc($query_run))
            {
              ?>
          <tr>
            <td style="text-align: center;"><?php echo $row['time']; ?></td>
            <td style="text-align: center;"><?php echo $row['monday']; ?></td>
            <td style="text-align: center;"><?php echo $row['tuesday']; ?></td>
            <td style="text-align: center;"><?php echo $row['wednesday']; ?></td>
            <td style="text-align: center;"><?php echo $row['thursday']; ?></td>
            <td style="text-align: center;"><?php echo $row['friday']; ?></td>
            <td style="text-align: center;"><?php echo $row['saturday']; ?></td>
            <td>
            <form action="edit_timetable.php" method="post">
            <input type="hidden" name="edit_id" value="<?php echo $row['id']; ?>">
            <button type="submit" class="btn btn-success"><i class="far fa-edit"></i></button>
            </form></td>
            <td>
            <form action="[Link]" method="POST">
            <input type="hidden" name="delete_id" value="<?php echo $row['id']; ?>">
            <button type="submit" name="deleterow" class="btn btn-danger"><i class="fas fa-trash-
alt"></i></button>

Name: Nilesh R. Vishwakarma Page 86


COLLEGE MANAGEMENT SYSTEM
            </form>
            </td>
          </tr>
          <?php
          }
          }else{
          echo "No record found";
          }
          ?>
        </tbody>
      </table>
    </div>
  </div>
</div>
</div>
<?php
include('includes/[Link]');
include('includes/[Link]');
?>

Name: Nilesh R. Vishwakarma Page 87


COLLEGE MANAGEMENT SYSTEM

Chapter 5
Results And Discussions

Name: Nilesh R. Vishwakarma Page 88


COLLEGE MANAGEMENT SYSTEM

5.1 Snapshots
User access level login page:

Login page:

Chatroom login page:

Name: Nilesh R. Vishwakarma Page 89


COLLEGE MANAGEMENT SYSTEM
Admin, teacher & student dashboard page:

Manage student page:

Logout page:

Name: Nilesh R. Vishwakarma Page 90


COLLEGE MANAGEMENT SYSTEM
Add student page:

Forget password page:

Name: Nilesh R. Vishwakarma Page 91


COLLEGE MANAGEMENT SYSTEM
Fee receipt page:

Chatroom page:

Name: Nilesh R. Vishwakarma Page 92


COLLEGE MANAGEMENT SYSTEM
Notice page:

Class page:

Teacher & student notice page:

Name: Nilesh R. Vishwakarma Page 93


COLLEGE MANAGEMENT SYSTEM
Admin, teacher & student profile page:

Upload & download page:

Attendance page (for student):

Name: Nilesh R. Vishwakarma Page 94


COLLEGE MANAGEMENT SYSTEM

Attendance page (for teacher):

Student check fee detail page:

Attendance record page (for teacher & student):

Name: Nilesh R. Vishwakarma Page 95


COLLEGE MANAGEMENT SYSTEM

Timetable page (for admin & student):

Timetable page (for student):

Name: Nilesh R. Vishwakarma Page 96


COLLEGE MANAGEMENT SYSTEM

Paying fee page (for admin):

Chatroom register page:

Name: Nilesh R. Vishwakarma Page 97


COLLEGE MANAGEMENT SYSTEM

Name: Nilesh R. Vishwakarma Page 98


COLLEGE MANAGEMENT SYSTEM

Chapter 6
CONCLUSION AND FUTURE
ENHANCEMENT

6.1 Future Enhancement


 Further, the faculty can upload the video of their lectures on this site and students who had missed
those classes can view those videos.

 Online examination module would be introduced to conduct online examination.

6.2 Conclusion
The project entitled as College Management System is the system that deals with the issues related to a
particular institution.
 The application provides appropriate information to users according to the chosen service.
 The project is designed keeping in view the day to day problems faced by a college.

Name: Nilesh R. Vishwakarma Page 99


COLLEGE MANAGEMENT SYSTEM

 Deployment of our application will certainly help the college to reduce unnecessary wastage of time
in personally going to each department for some information.

Awareness and right information about any college is essential for both the development of student as well
as faculty. So this serves the right purpose in achieving the desired requirements of both the communities.

6.3 Reference:
 [Link]
 [Link]
 [Link]
 [Link]
 [Link]
 [Link]
 [Link]
 [Link]
 [Link]
 [Link]
 [Link]

Name: Nilesh R. Vishwakarma Page 100

You might also like