Sunteți pe pagina 1din 50

Abstract

Fees Management System project is developed using PHP, CSS, and JavaScript.
Talking about the project, it has all the essential features. This project has an
administration side from Where he/she can view branch, students, fees, report,
manage fees, branches, settings. In this project, all the functions are performed
from the Admin side which means there is no user side.

The system is designed for fee management of a college, gym, schools and other
administration department. It makes search and manipulate records easier and
faster. No formal knowledge is needed for the user to use this system. It is user
friendly, secure, reliable, and fast. Thus it will help organization in better
utilization of resources.

Every organization , whether big or small, has challenges to overcome and


managing the information of courses, students, semester, payment, fee. This is
designed to assist in strategic planning and will help you to ensure that your
organization is equipped with right level of information and details for your future
goals. Our systems come with remote access features which will allow you to
manage your workforce anytime .This system will ultimately allow you to better
manage resources.

6
INTRODUCTION
The Fee Management System has been developed to override the problems
prevailing in the practicing manual system. This software is supported to eliminate
and in some cases reduce the hard ships faced by the existing system moreover this
system is designed for the particular need of the administration to carry out the
operation in smooth and effective manner.

The application is reduced as much as pössible to avoid errors while entering the
data. It also provides error message while entering invalid data. No formal
knowledge is needed for the user to use this system. Thus by this all it proves it is
user-friendly. Student Fees Payment System, as described above, can lead to error
free, secure, reliable and fast management system. It can assist the user to
concentrate on their other activities rather to concentrate on the record keeping.
Thus it will help organization in better utilization of resources.

Every organization, whether big or small, has challenges to overcome and


managing the information of Course, Student, Semester, Payment, Fees. Every
Student Fees Payment System has different Student needs, therefore we design
exclusive employee management systems that are adapted to your managerial
requirements. This is designed to assist in strategic planning, and will help you
ensure that your organization is equipped with the right level of information and
details for your future goals.

Also, for those busy executive who are always on the go, our systems come with
remote access features, which will allow you to manage your workforce anytime,
at all times. These systems will ultimately allow you to better manage resource.

7
OBJECTIVE :-

Objective of Project on Student Fees Payment System: The main objective of the
Project on Fees Management System is to manage the details of Student, Branch,
Course, Subject, Semester, Fees. It manages all the inform totally built at
administrative end and thus only the administrator is guaranteed the access. The
purpose of the project is to build an application program to reduce the manual
work for managing the Student, Course, Payment, Subject. It tracks all the details
about the Subject, Semester, Fees.

FEATURES :-
 Define fees slabs with yearly for standard.
 Display of fees remaining on part payment of fees.
 Facility of collecting fees in parts and maintain the due remaining amount.
 Generate and print receipts of fees along with manual / automated fees
receipt no.
 Generate customized reports of fees collection and fees dues with in-depth
filtering facility.
 Easy to record the cheque no. / cash notes received in fees.
 Multiple part payment of fees with ease and accuracy without any changes
and duplicity.
 Create fees slab dynamically every year.
 Direct link of data entry on receiving fees to accounts eliminating double
data entry.
 Print receipts automatically, eliminates pen and paper receipt making.
 Generate fees due report and find out the net due fees of each student.
 Lock off the cash paid fees eliminating duplicate data entry. with desired
fees component.
 Fees collection report with standard wise or student wise data for a specific
date range.

8
FUNCTIONALITY :-

Functionalities provided by Student Fees Payment System are as follows:

 Provides the searching facilities based on various factors. Such as Student,


Subject, Semester, Fees .
 Student Fees Payment System also manage the Payment details online for
Semester details, Fees details, Student.
 It tracks all the information of Course, Payment, Semester etc
 Manage the information of Course
 Shows the information and description of the Student, Subject
 To increase efficiency of managing the Student Course .
 It deals with monitoring the information and transactions of Semester.
 Manage the information of Student .
 Editing, adding and updating of Records is improved which results in
proper resource management of Student data.
 Manage the information of Semester
 Integration of all records of Fees.

9
PURPOSE

The purpose of developing fee management system is to computerized


the traditional way of taking fee. Another purpose for developing this
software is to generate the receipt automatically at the end of the
payment.
Fees management system allows you to customize fee structure based
on your unique needs with the ability to set discounts, add or edit fees,
and collect penalties with ease. Improves the cash management and
allows transparency on the payments made and the system will track
suspicious and fraudulent transactions.

10
PROJECT BACKGROUND

In the existing system, most of the records are maintained on papers. It


becomes very inconvenient to modify the data. In the existing system,
here is a possibility that the same data in different registers may have
different values which means the entries of the same data do not match.
This inconsistent state does not supply the concrete information which
poses a problem in the case information related to particular search
record.
In today’s world, no one likes to perform calculations on calculator or
manually when computer is there. Everyone wants his/her work to be
done by computer automatically and displaying the result for further
manipulations. Due to incidental activities the records are might lost or
destroyed which results unavailability of data ,Whenever we need that
data again then we have to recollects all data from initial process which
is frustrating and time consuming .

11
SCOPE

Scope of project is the system on which the software is installed, i.e the
project is developed as a online application and it will works for a
particular institute but later on the project can be modified to operate it
any administration and commercial purpose.
Our project is very useful. User is no longer required to check his
register in search of records, as now it can be searched over the software
by choosing some options. The user need not to type in most of the
information. He is just required to enter the desired options. On the
whole it liberates the user from keeping lengthy manual records.

 Specially designed for schools, colleges, Institutes and many other


administration departments.
 Inserting and manipulation of records are possible.
 It is based on online web application.

There are only limited number of modules for fee management.

12
Design
System Design of Student Fees Payment System In this phase, a logical system is
built which fulfils the given requirements. Design phase of software development
deals with transforming the clients's requirements into a logically working system.
Normally, design is performed in the following in the following two steps:

1. Primary Design Phase: In this phase, the system is designed at block level. The
blocks are created on the basis of analysis done in the problem identifcation phase.
Different blocks are created for different functions emphasis is put on minimising
the information flow between blocks. Thus, all activities which require more
interaction are kept in one block.

2. Secondary Design Phase: In the secondary phase the detailed design of every
block is performed.

The general tasks involved in the desian process are the following:

1. Design various blocks for overall system processes.

2. Design smaller, compact and workable modules in each block.

3. Design various database structures

4. Specify details of programs to achieve desired functionality

5. Design the form of inputs, and outputs of the system

6. Perform documentation of the design.

7. System reviews.

User Interface Design:- User Design is concerned with the dialogue between a user and the
computer. It is concerned with everything system logging system to the eventually
presentation of desired inputs and outputs. The overall flow of screens and
messages is called a dialogue.

13
The following steps are various quidelines for User Interface Design:-

1. The system user should always be aware of what to do next


2. The screen should be formatted so that various types of information,
instructions and messages always appear in the same general display area.
3. Message, instructions or information should be displayed long enough to
allow the system user to read them
4. Use display attributes sparingly.
5. Default values for fields and answers to be entered by the user should be
specified.
6. A user should not be allowed to proceed without correcting an error.
7. The system user should never get an operating system message or fatal
error.

Database:-
Database is a systematic collection of data. Databases support storage
and manipulation of data. Databases make data management easy. Let's discuss
few examples.An online telephone directory would definitely use database to store
data pertaining to people, phone numbers, other contact details, etc.Your electricity
service provider is obviously using a database to manage billing , client related
issues, to handle fault data, etc.Let's also consider the facebook. It needs to store,
manipulate and present data related to members, their friends, member activities,
messages, advertisements and lot more.We can provide countless number of
examples for usage of databases .

Database Design:-

Database design is the organisation of data according to a database model.


The designer determines what data must be stored and how thedata elements
interrelate. With this information, they can begin to fit the data to
the database model. Database design involves classifying data and identifying
interrelationships.

14
We design the database as you can see in pictures:-

Paysystem Table

Branch table

Fees Transaction Table

15
User Table

Add Student Table

DFD(Data Flow Diagram)


A data-flow diagram (DFD) is a way of representing a flow of a data of
a process or a system (usually an information system) The DFD also provides
information about the outputs and inputs of each entity and the process itself. A
data-flow diagram has no control flow, there are no decision rules and no loops.
Specific operations based on the data can be represented by a flowchart.
There are several notations for displaying data-flow diagrams. The notation
presented above was described in 1979 by Tom DeMarco as part of Structured
Analysis.
For each data flow, at least one of the endpoints (source and / or destination) must
exist in a process. The refined representation of a process can be done in another
data-flow diagram, which subdivides this process into sub-processes.
The data-flow diagram is part of the structured-analysis modelling tools. When
using UML, the activity diagram typically takes over the role of the data-flow
diagram. A special form of data-flow plan is a site-oriented data-flow plan.
Data-flow diagrams can be regarded as inverted Petri nets, because places in such
networks correspond to the semantics of data memories. Analogously, the
semantics of transitions from Petri nets and data flows and functions from data-
flow diagrams should be considered equivalent.

16
17
18
Technology used
PHP:-

PHP stands for Hypertext Preprocessor (no, the acronym doesn't follow the name).
It's an open source, server-side, scripting language used for the development of
web applications. By scripting language, we mean a program that is script-based
(lines of code) written for the automation of tasks.
What does open source mean? Think of a car manufacturer making the secret to its
design models and technology innovations available to anyone interested. These
design and technology details can be redistributed, modified, and adopted without
the fear of any legal repercussions. The world today might have developed an
amazing supercar!
Web pages can be designed using HTML. With HTML, code execution is done on
the user's browser (client-side). On the other hand, with PHP server-side scripting
language, it's executed on the server before it gets to the web browser of the user.
PHP can be embedded in HTML, and it's well suited for web development and the
creation of dynamic web pages for web applications, e-commerce applications, and
database applications. It's considered a friendly language with abilities to easily
connect with MySQL, Oracle, and other databases.
Why php ?
Reason #1 — PHP boasts Simplicity
With PHP, coding is like writing an essay in English for a computer to read, except
the essay is a piece of code that instructs it to create and run websites in the most
efficient manner possible. Creating a code in PHP is simple, and though you’ll hear
some developers complaining that this does not build the necessary coding habits
that streamlines (read standardizes) coding, it allows the code to be highly
personalized (and hence easier to protect).
Reason #2 — PHP Is FREE
PHP is an open source language: free, is easy to use, and has a stupendous amount
of available documentation — making it the most cost-effective method of creating
robust websites and taking over online real estate space without worrying about
legal obligations and subscriptions fees.

19
Furthermore, PHP reduces barriers to entry for new website developers, allowing
them to simply leverage their skills and talents for coding to get started.
Reason #3 — PHP Works Exceptionally Well With CMS
The latest (and recent) trend towards adaptive content has made CMS
customization a crucial competitive need for businesses. Adaptive content is
content personalized for the individual visitor to the website (using sign-in, or
visitor history) to create a one-to-one experience for visitors. This is only possible
if the website’s code can be customized and integrated with the CMS.
PHP makes websites amoebic, allowing the developers to transform them at their
will. All PHP websites are fully customizable and can be transformed to meet the
requirements of the customers with ease because Content Management Systems
like WordPress, Drupal, Joomla and others are primarily based on PHP. Hence,
developing or integrating a robust custom-made CMS solution with your website is
simple.
Reason #4 — PHP Accepts Platform Diversity
A code created in PHP can run on all the major platforms, allowing the developer
to seamlessly integrate website across multiple platforms. This allows the business
to cost-effectively leverage all existing infrastructure, leveraging platforms as
diverse as Windows, Unix, and Linux, with the additional ability to interface their
website with MySQL and Apace.
Reason #5 — PHP is Powerful Flexible and Scalable
Facebook, the largest and most powerful social media platform is running on PHP.
Facebook has even created a PHP derivative language, named “Hack” to meet the
emerging needs of the giant’s content management needs. This shows the level of
flexibility, robustness, and scalability that is built into PHP. Compared to other
languages, PHP’s biggest advantage is that the website’s code can be updated
without requiring a server reboot!
Reason # 6 —Extensions and Add-Ons

20
PHP is one of the most scalable languages for website development. Being an
opens source language, its family of online developers is continuously involved in
developing extension to meet the emerging requirements of the businesses. This
allows the developers and businesses to easily develop and add newer
functionalities and features to their website with ease.
Reason #7 —Embed-ability
The latest trend in adaptive content has made responsive website and fluid grid
systems even more pertinent to businesses. In this context, HTML5 is the
unquestioned industry standard for developing highly dynamic and responsive
websites. This is where PHP surfaces as the language that allows its code to be
easily embedded into the HTML. Developers can easily convert existing static
website code into a whole new dynamic one by adding their PHP code into HTML.
Reason # 8 —PHP is Backed By a Vast Community
This is a corollary of PHP being open source language. The language itself has a
vast and growing community of developers and professional experts willing to
support beginners and involved in continuously addressing the latest problems
facing the web developing community. Furthermore the popularity of the language
and hence availability of developers means that the developers are bound to offer
highly competitive pricing.
Reason # 9 — PHP has a Huge Standard Library
What differentiates a good programming language from a great one is the extent of
its standard library. Libraries play a crucial role in simplifying and speeding the
data processing ability of the language.

Given that online visitors spend no-more than 8 seconds per webpage while they
are on a surfing spree (in the earlier ‘research’ phase of the buying process),
website’s loading time plays a crucial role in keeping them engaged on the
website. PHP offers extensive support for HTTP fetching, regular expressions,
URL parsing, and database drivers, to name but a few. It is true that the library is
incoherent, but the community’s on it!

21
Reason # 10 PHP Delivers Exceptional Performance
PHP improves speed of development as much as it improves speed of execution.
Operating on a conventional web stack, PHP leverages the Apache web server and
allows applications to leverage MySQL databases — allowing developers to create
bespoke, one-stop solutions for online presence.

Turnaround time is one of the most important factors that enhance performance of
any website. PHP is known for its quick turnaround time. The large standard
library, a diverse range of extensions, cross platform functionality, seamless
integration with and customization of various CMS, and embed-ability allows
experienced developers to offer exceptionally fast turnaround times at highly
competitive rates. Further, any website that is developed using PHP has faster data
processing features and that website is compatible on all operating system such as
Windows, UNIX and so forth.
Reason #11 — PHP offers Diverse Frameworks
PHP is able to deliver exceptionally fast turnaround times because it has
a sufficiently large family of PHP-frameworks. These range from the enterprise
level Zend and Yii frameworks, all rounder Laravel and Sympfony, performance
optimizers like Phalcon, and PHPixie for speedy application designs or Code
igniter for more robust ones.

HTML:
Hypertext Markup Language (HTML) is the standard markup language for
creating web pages and web applications. With Cascading Style Sheets (CSS)
and JavaScript, it forms a triad of cornerstone technologies for the World Wide
Web.
Web browsers receive HTML documents from a web server or from local storage
and render the documents into multimedia web pages. HTML describes the
structure of a web page semantically and originally included cues for the
appearance of the document.
HTML elements are the building blocks of HTML pages. With HTML
constructs, images and other objects such as interactive forms may be embedded

22
into the rendered page. HTML provides a means to create structured documents by
denoting structural semantics for text such as headings, paragraphs, lists, links,
quotes and other items. HTML elements are delineated by tags, written using angle
brackets. Tags such as <img /> and <input /> directly introduce content into the
page. Other tags such as <p> surround and provide information about document
text and may include other tags as sub-elements. Browsers do not display the
HTML tags, but use them to interpret the content of the page.
HTML can embed programs written in a scripting language such as JavaScript,
which affects the behavior and content of web pages. Inclusion of CSS defines the
look and layout of content. The World Wide Web Consortium (W3C), maintainer
of both the HTML and the CSS standards, has encouraged the use of CSS over
explicit presentational HTML since 1997.

CSS:-

Cascading Style Sheets (CSS) is a style sheet language used for describing
the presentation of a document written in a markup language like HTML. CSS is a
cornerstone technology of the World Wide Web, alongside HTML and JavaScript.
CSS is designed to enable the separation of presentation and content,
including layout, colors, and fonts. This separation can improve
content accessibility, provide more flexibility and control in the specification of
presentation characteristics, enable multiple web pages to share formatting by
specifying the relevant CSS in a separate .css file, and reduce complexity and
repetition in the structural content.
Separation of formatting and content also makes it feasible to present the same
markup page in different styles for different rendering methods, such as on-screen,
in print, by voice (via speech-based browser or screen reader), and on Braille-
based tactile devices. CSS also has rules for alternate formatting if the content is
accessed on a mobile device.
The name cascading comes from the specified priority scheme to determine which
style rule applies if more than one rule matches a particular element. This
cascading priority scheme is predictable.
The CSS specifications are maintained by the World Wide Web
Consortium (W3C). Internet media type (MIME type) text/css is registered for use

23
with CSS by RFC 2318 (March 1998). The W3C operates a free CSS validation
service for CSS documents.

JAVASCRIPT:-

JavaScript often abbreviated as JS, is a high-level, interpreted programming


language that conforms to the ECMAScript specification. JavaScript has curly-
bracket syntax, dynamic typing, prototype-based object-orientation, and first-class
functions.
Alongside HTML and CSS, JavaScript is one of the core technologies of the World
Wide Web. JavaScript enables interactive web pages and is an essential part
of web applications. The vast majority of websites use it, and major web
browsers have a dedicated JavaScript engine to execute it.
As a multi-paradigm language, JavaScript supports event-driven, functional,
and imperative (including object-oriented and prototype-based) programming
styles. It has APIs for working with text, arrays, dates, regular expressions, and
the DOM, but the language itself does not include any I/O, such
as networking, storage, or graphics facilities. It relies upon the host environment in
which it is embedded to provide these features.
Initially only implemented client-side in web browsers, JavaScript engines are now
embedded in many other types of host software, including server-side in web
servers and databases, and in non-web programs such as word processors
and PDF software, and in runtime environments that make JavaScript available for
writing mobile and desktop applications, including desktop widgets.
The terms Vanilla JavaScript and Vanilla JS refer to JavaScript not extended by
any frameworks or additional libraries. Scripts written in Vanilla JS are plain
JavaScript code.
Although there are similarities between JavaScript and Java, including language
name, syntax, and respective standard libraries, the two languages are distinct and
differ greatly in design. JavaScript was influenced by programming languages such
as Self and Scheme.
JQuery:
Writing code can become repetitive, it can also create bugs and insecurities in your
system. A library is a ready-made collection of code created by experts that makes
it simpler to write excellent code very quickly.

24
jQuery is a popular JavaScript library and is the inspiration if not the source of lots
of interactivity that you see on the web, in particular where items are hidden and
displayed either at the click of a button or in real-time.

One of the main advantages of using jQuery is the easy separation that it allows
between code and content. This means there is less risk of confusion and that
others can interpret your code more easily. This is because with jQuery we can
dispose with "onclick", "onsubmit", "onchange" and the writing, and calling, of
functions from inside HTML element tags.

First step
Our first step is to wire our page up to the jQuery code. For now we'll not
download the library itself but assume that you are online when you are trying this
out.

We wire up our code in the head section of our HTML document in a similar way
to external CSS and like any other piece of external JavaScript, using the following
between the document's <head></head>

Ajax: AJAX = Asynchronous JavaScript And XML.

AJAX is not a programming language.

AJAX just uses a combination of:

 A browser built-in XMLHttpRequest object (to request data from a web


server)
 JavaScript and HTML DOM (to display or use the data)

AJAX is a misleading name. AJAX applications might use XML to transport data,
but it is equally common to transport data as plain text or JSON text.

25
AJAX allows web pages to be updated asynchronously by exchanging data with a
web server behind the scenes. This means that it is possible to update parts of a
web page, without reloading the whole page.

XAMPP: is a free and open-source cross-platform web server solution


stack package developed by Apache Friends,[2] consisting mainly of the Apache
HTTP Server, Maria DB database, and interpreters for scripts written in
the PHP and Perl programming languages.[3][4] Since most actual web server
deployments use the same components as XAMPP, it makes transitioning from a
local test server to a live server possible.
XAMPP's ease of deployment means a WAMP or LAMP stack can be installed
quickly and simply on an operating system by a developer. With the advantage a
number of common add-in applications such as Wordpress and Joomla! can also be
installed with similar ease using Bitnami.
Features
XAMPP is regularly updated to the latest releases
of Apache, MariaDB, PHP and Perl. It also comes with a number of other modules
including OpenSSL, phpMyAdmin, MediaWiki, Joomla, WordPress and
more. Self-contained, multiple instances of XAMPP can exist on a single
computer, and any given instance can be copied from one computer to
another. XAMPP is offered in both a full and a standard version (Smaller version).

Usage
The most obvious characteristic of XAMPP is the ease at which
a WAMP webserver stack can be deployed and instantiated.[11] Later some
common packaged applications that could be easily installed were provided
by Bitnami.
Officially, XAMPP's designers intended it for use only as a development tool, to
allow website designers and programmers to test their work on their own
computers without any access to the Internet. To make this as easy as possible,
many important security features are disabled by default.[13] XAMPP has the ability
to serve web pages on the World Wide Web.[14] A special tool is provided
to password-protect the most important parts of the package.
XAMPP also provides support for creating and manipulating databases
in MariaDB and SQLite among others.
Once XAMPP is installed, it is possible to treat a localhost like a remote host by
connecting using an FTP client. Using a program like FileZilla has many
26
advantages when installing a content management system (CMS)
like Joomla or WordPress It is also possible to connect to localhost via FTP with
an HTML editor.
Apache: Apache is the most widely used web server software. Developed and
maintained by Apache Software Foundation, Apache is an open source software
available for free. It runs on 67% of all webservers in the world. It is fast, reliable,
and secure. It can be highly customized to meet the needs of many different
environments by using extensions and modules. Most WordPress hosting providers
use Apache as their web server software. However, WordPress can run on other
web server software as well.
The Apache HTTP Server, colloquially called Apache is free and open-
source cross-platformweb server software, released under the terms of Apache
License 2.0. Apache is developed and maintained by an open community of
developers under the auspices of the Apache Software Foundation.
The vast majority of Apache HTTP Server instances run on a Linux distribution,
but current versions also run on Windows and a wide variety of Unix-like systems.
Past versions also ran on OpenVMS, NetWare, OS/2 and other operating systems.
Originally based on the NCSA HTTPd server, development of Apache began in
early 1995 after work on the NCSA code stalled. Apache played a key role in the
initial growth of the World Wide Web, quickly overtaking NCSA HTTPd as the
dominant HTTP server, and has remained most popular since April 1996. In 2009,
it became the first web server software to serve more than 100 million websites. As
of August 2018, it was estimated to serve 39% of all active websites and 35% of
the top million websites.

MySQL: Many of the world's largest and fastest-growing organizations including


Facebook, Google, Adobe, Alcatel Lucent and Zappos rely on MySQL to save
time and money powering their high-volume Web sites, business-critical systems
and packaged software.
Below you will find valuable resources including case studies and white papers
that will help you implement cost-effective database solutions using MySQL.
MySQL can be built and installed manually from source code, but it is more
commonly installed from a binary package unless special customizations are
required. On most Linux distributions, the package management system can
download and install MySQL with minimal effort, though further configuration is
often required to adjust security and optimization settings.

27
Though MySQL began as a low-end alternative to more powerful proprietary
databases, it has gradually evolved to support higher-scale needs as well. It is still
most commonly used in small to medium scale single-server deployments, either
as a component in a LAMP-based web application or as a standalone database
server. Much of MySQL's appeal originates in its relative simplicity and ease of
use, which is enabled by an ecosystem of open source tools such as phpMyAdmin.
In the medium range, MySQL can be scaled by deploying it on more powerful
hardware, such as a multi-processor server with gigabytes of memory.
There are, however, limits to how far performance can scale on a single server
('scaling up'), so on larger scales, multi-server MySQL ('scaling out') deployments
are required to provide improved performance and reliability. A typical high-end
configuration can include a powerful master database which handles data write
operations and is replicated to multiple slaves that handle all read
operations.[90] The master server continually pushes binlog events to connected
slaves so in the event of failure a slave can be promoted to become the new master,
minimizing downtime. Further improvements in performance can be achieved by
caching the results from database queries in memory using memcached, or
breaking down a database into smaller chunks called shards which can be spread
across a number of distributed server clusters.

28
SOFTWARE AND HARDWARE REQUIREMENTS

SOFTWARE REQUIREMENTS

 Operating system- Windows XP,7, 8,10,Ubuntu is used as the


operating system as it is stable and supports more features and is
more user friendly

 Xampp Server , Apache, MVC framework, Php, Html, CSS, BootStrap, JS,
Jquery,MySql etc

HARDWARE REQUIREMENTS
Any processor with 512mb of RAM or higher , 10 Gb of Storage ,internet
connectivity.

29
Modules Of Fees Management System

Login Module:- Used for managing the login details.


Student Management Module:- Used for managing the Student details.
Fees Module:- Used For managing the details of Fees.
Payment Module:- Used for managing the details of Payment.
Branch Module:- Used for managing the branch details.
Report Module:- Used for Check a Due Fees details.
Setting Module:-Used for change login password.
Log out Module:Used for for logout the entire system.

30
CODING

Index.php:-

<?php
include("php/dbconnect.php");
include("php/checklogin.php");

?>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Fee Management System</title>

<!-- BOOTSTRAP STYLES-->


<link href="css/bootstrap.css" rel="stylesheet" />
<!-- FONTAWESOME STYLES-->
<link href="css/font-awesome.css" rel="stylesheet" />
<!--CUSTOM BASIC STYLES-->
<link href="css/basic.css" rel="stylesheet" />
<!--CUSTOM MAIN STYLES-->
<link href="css/custom.css" rel="stylesheet" />
<!-- GOOGLE FONTS-->
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />

</head>
<?php
include("php/header.php");
?>
<div id="page-wrapper">
<div id="page-inner">

31
<div class="row">
<div class="col-md-12">
<h1 class="page-head-line">DASHBOARD</h1>
<h2 style="text-align:center;"> Welcome to <strong>Fee Management System</strong> </h2>

</div>
</div>
<!-- /. ROW -->
<div class="row">

<div class="col-md-4">
<div class="main-box mb-red">
<a href="student.php">
<i class="fa fa-users fa-5x"></i>
<h5>Students</h5>
</a>
</div>
</div>

<div class="col-md-4">
<div class="main-box mb-red">
<a href="fees.php">
<i class="fa fa- fa-5x">&#8377</i>
<h5>Take Fees</h5>
</a>
</div>
</div>

<div class="col-md-4">
<div class="main-box mb-red">
<a href="report.php">
<i class="fa fa-file-text fa-5x"></i>
<h5>Report</h5>

32
</a>
</div>
</div>

</div>
<!-- /. ROW -->

</div>
<!-- /. PAGE INNER -->
</div>
<!-- /. PAGE WRAPPER -->
</div>
<!-- /. WRAPPER -->

<div id="footer-sec">
Fee Management System
</div>

<script src="js/jquery-1.10.2.js"></script>
<!-- BOOTSTRAP SCRIPTS -->
<script src="js/bootstrap.js"></script>
<!-- METISMENU SCRIPTS -->
<script src="js/jquery.metisMenu.js"></script>
<!-- CUSTOM SCRIPTS -->
<script src="js/custom1.js"></script>

</body>
</html>

branch.php

<?php
include("php/dbconnect.php");

33
include("php/checklogin.php");
$errormsg = '';
$action = "add";

$branch='';
$address='';
$detail = '';
$id= '';
if(isset($_POST['save']))
{

$branch = mysqli_real_escape_string($conn,$_POST['branch']);
$address = mysqli_real_escape_string($conn,$_POST['address']);
$detail = mysqli_real_escape_string($conn,$_POST['detail']);

if($_POST['action']=="add")
{

$sql = $conn->query("INSERT INTO branch (branch,address,detail) VALUES ('$branch','$address','$detail')") ;

echo '<script type="text/javascript">window.location="branch.php?act=1";</script>';

}else
if($_POST['action']=="update")
{
$id = mysqli_real_escape_string($conn,$_POST['id']);
$sql = $conn->query("UPDATE branch SET branch = '$branch', address = '$address', detail = '$detail'
WHERE id = '$id'");
echo '<script type="text/javascript">window.location="branch.php?act=2";</script>';
}
}
if(isset($_GET['action']) && $_GET['action']=="delete"){
$conn->query("UPDATE branch set delete_status = '1' WHERE id='".$_GET['id']."'");
header("location: branch.php?act=3");

}
$action = "add";

34
if(isset($_GET['action']) && $_GET['action']=="edit" ){
$id = isset($_GET['id'])?mysqli_real_escape_string($conn,$_GET['id']):'';

$sqlEdit = $conn->query("SELECT * FROM branch WHERE id='".$id."'");


if($sqlEdit->num_rows)
{
$rowsEdit = $sqlEdit->fetch_assoc();
extract($rowsEdit);
$action = "update";
}else
{
$_GET['action']="";
}
}

if(isset($_REQUEST['act']) && @$_REQUEST['act']=="1")


{
$errormsg = "<div class='alert alert-success'><strong>Success!</strong> Branch Add successfully</div>";
}else if(isset($_REQUEST['act']) && @$_REQUEST['act']=="2")
{
$errormsg = "<div class='alert alert-success'><strong>Success!</strong> Branch Edit successfully</div>";
}
else if(isset($_REQUEST['act']) && @$_REQUEST['act']=="3")
{
$errormsg = "<div class='alert alert-success'><strong>Success!</strong> Branch Delete successfully</div>";
}

?>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>School Fees Payment System</title>

35
<!-- BOOTSTRAP STYLES-->
<link href="css/bootstrap.css" rel="stylesheet" />
<!-- FONTAWESOME STYLES-->
<link href="css/font-awesome.css" rel="stylesheet" />
<!--CUSTOM BASIC STYLES-->
<link href="css/basic.css" rel="stylesheet" />
<!--CUSTOM MAIN STYLES-->
<link href="css/custom.css" rel="stylesheet" />

<!-- GOOGLE FONTS-->


<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />

<script src="js/jquery-1.10.2.js"></script>

</head>
<?php
include("php/header.php");
?>
<div id="page-wrapper">
<div id="page-inner">
<div class="row">
<div class="col-md-12">
<h1 class="page-head-line">Branch
<?php
echo (isset($_GET['action']) && @$_GET['action']=="add" ||
@$_GET['action']=="edit")?
' <a href="branch.php" class="btn btn-primary btn-sm pull-
right">Back <i class="glyphicon glyphicon-arrow-right"></i></a>':'<a href="branch.php?action=add" class="btn
btn-primary btn-sm pull-right"><i class="glyphicon glyphicon-plus"></i> Add </a>';

?>
</h1>

<?php

echo $errormsg;

36
?>
</div>
</div>
<?php
if(isset($_GET['action']) && @$_GET['action']=="add" || @$_GET['action']=="edit")
{
?>
<script type="text/javascript" src="js/validation/jquery.validate.min.js"></script>
<div class="row">

<div class="col-sm-8 col-sm-offset-2">


<div class="panel panel-primary">
<div class="panel-heading">
<?php echo ($action=="add")? "Add Branch": "Edit Branch"; ?>
</div>
<form action="branch.php" method="post" id="signupForm1"
class="form-horizontal">
<div class="panel-body">
<div class="form-group">
<label class="col-sm-2 control-label" for="Old">Branch </label>
<div class="col-sm-10">
<input type="text" class="form-control" id="branch" name="branch" value="<?php echo $branch;?>" />
</div>
</div>

<div class="form-group">
<label class="col-sm-2 control-label" for="Password"> Address </label>
<div class="col-sm-10">
<textarea class="form-control" id="address" name="address"><?php echo $address;?></textarea >
</div>
</div>

<div class="form-group">
<label class="col-sm-2 control-label" for="Confirm"> Detail</label>
<div class="col-sm-10">

37
<textarea class="form-control" name="detail" id="detail"><?php echo $detail;?></textarea >
</div>
</div>
<div class="form-group">
<div class="col-sm-8 col-sm-offset-2">
<input type="hidden" name="id" value="<?php echo $id;?>">
<input type="hidden" name="action" value="<?php echo $action;?>">

<button type="submit" name="save" class="btn btn-primary">Save </button>


</div>
</div>
</div>
</form>

</div>
</div>
</div>
<script type="text/javascript">

$( document ).ready( function () {

if($("#signupForm1").length > 0)
{
$( "#signupForm1" ).validate( {
rules: {
branch: "required",
address: "required"

},
messages: {
branch: "Please enter branch name",
address: "Please enter address"

38
},
errorElement: "em",
errorPlacement: function ( error, element ) {
// Add the `help-block` class to the error element
error.addClass( "help-block" );

// Add `has-feedback` class to the parent div.form-group


// in order to add icons to inputs
element.parents( ".col-sm-10" ).addClass( "has-feedback" );

if ( element.prop( "type" ) === "checkbox" ) {


error.insertAfter( element.parent( "label" ) );
} else {
error.insertAfter( element );
}

// Add the span element, if doesn't exists, and apply the icon classes to
it.
if ( !element.next( "span" )[ 0 ] ) {
$( "<span class='glyphicon glyphicon-remove form-control-
feedback'></span>" ).insertAfter( element );
}
},
success: function ( label, element ) {
// Add the span element, if doesn't exists, and apply the icon classes to
it.
if ( !$( element ).next( "span" )[ 0 ] ) {
$( "<span class='glyphicon glyphicon-ok form-control-
feedback'></span>" ).insertAfter( $( element ) );
}
},
highlight: function ( element, errorClass, validClass ) {
$( element ).parents( ".col-sm-10" ).addClass( "has-error"
).removeClass( "has-success" );
$( element ).next( "span" ).addClass( "glyphicon-remove"
).removeClass( "glyphicon-ok" );
},
unhighlight: function ( element, errorClass, validClass ) {

39
$( element ).parents( ".col-sm-10" ).addClass( "has-success"
).removeClass( "has-error" );
$( element ).next( "span" ).addClass( "glyphicon-ok" ).removeClass(
"glyphicon-remove" );
}
} );

} );
</script>

<?php
}else{
?>

<link href="css/datatable/datatable.css" rel="stylesheet" />

<div class="panel panel-default">


<div class="panel-heading">
Manage Branch
</div>
<div class="panel-body">
<div class="table-sorting table-responsive">

<table class="table table-striped table-bordered table-hover" id="tSortable22">


<thead>
<tr>
<th>#</th>
<th>Branch</th>
<th>Address</th>
<th>Detail</th>
<th>Action</th>

40
</tr>
</thead>
<tbody>
<?php
$sql = "select * from branch where
delete_status='0'";
$q = $conn->query($sql);
$i=1;
while($r = $q->fetch_assoc())
{
echo '<tr>
<td>'.$i.'</td>
<td>'.$r['branch'].'</td>
<td>'.$r['address'].'</td>
<td>'.$r['detail'].'</td>
<td>
<a
href="branch.php?action=edit&id='.$r['id'].'" class="btn btn-success btn-xs"><span class="glyphicon glyphicon-
edit"></span></a>

<a
onclick="return confirm(\'Are you sure you want to delete this record\');"
href="branch.php?action=delete&id='.$r['id'].'" class="btn btn-danger btn-xs"><span class="glyphicon glyphicon-
remove"></span></a> </td>
</tr>';
$i++;
}
?>

</tbody>
</table>
</div>
</div>
</div>

<script src="js/dataTable/jquery.dataTables.min.js"></script>
<script>

41
function GetFeeForm(sid)
{

$.ajax({
type: 'post',
url: 'getfeeform.php',
data: {student:sid,req:'2'},
success: function (data) {
$('#formcontent').html(data);
$("#myModal").modal({backdrop: "static"});
}
});

</script>

<style>
#doj .ui-datepicker-calendar
{
display:none;
}

</style>

<div class="panel panel-default">


<div class="panel-heading">
Manage Fees
</div>
<div class="panel-body">

42
<div class="table-sorting table-responsive" id="subjectresult">
<table class="table table-striped table-bordered table-hover" id="tSortable22">
<thead>
<tr>

<th>Name/Contact</th>
<th>Fees</th>

<th>Balance</th>

<th>Branch</th>

<th>DOJ</th>

<th>Action</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</div>

<!-------->

<!-- Modal -->


<div class="modal fade" id="myModal" role="dialog">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
<h4 class="modal-title">Fee Report</h4>
</div>
<div class="modal-body" id="formcontent">

</div>

43
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>

<!--------->

</div>
<!-- /. PAGE INNER -->
</div>
<!-- /. PAGE WRAPPER -->
</div>
<!-- /. WRAPPER -->

<div id="footer-sec">
Fee Management System
</div>

<!-- BOOTSTRAP SCRIPTS -->


<script src="js/bootstrap.js"></script>
<!-- METISMENU SCRIPTS -->
<script src="js/jquery.metisMenu.js"></script>
<!-- CUSTOM SCRIPTS -->
<script src="js/custom1.js"></script>

</body></html>

Login.php:-
<?php
include("php/dbconnect.php");

44
$error = '';
if(isset($_POST['login']))
{

$username = mysqli_real_escape_string($conn,trim($_POST['username']));
$password = mysqli_real_escape_string($conn,$_POST['password']);

if($username=='' || $password=='')
{
$error='All fields are required';
}

$sql = "select * from user where username='".$username."' and password = '".md5($password)."'";

$q = $conn->query($sql);
if($q->num_rows==1)
{
$res = $q->fetch_assoc();
$_SESSION['rainbow_username']=$res['username'];
$_SESSION['rainbow_uid']=$res['id'];
$_SESSION['rainbow_name']=$res['name'];
echo '<script type="text/javascript">window.location="index.php"; </script>';

}else
{
$error ='Invalid Username or Password';
}

?>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />

45
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title> Fee Management System</title>

<!-- BOOTSTRAP STYLES-->


<link href="css/bootstrap.css" rel="stylesheet" />
<!-- FONTAWESOME STYLES-->
<link href="css/font-awesome.css" rel="stylesheet" />
<!-- GOOGLE FONTS-->
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />
<style>
.myhead{
margin-top:0px;
margin-bottom:0px;
text-align:center;
}
</style>

</head>
<body >
<div class="container">

<div class="row ">

<div class="col-md-4 col-md-offset-4 col-sm-6 col-sm-offset-3 col-xs-10 col-xs-offset-1">

<div class="panel-body" style="background-color: #E2E2E2; margin-top:50px; border:solid 3px


#0e0e0e;">
<h3 class="myhead"> Fee Management
System</h3>
<form role="form" action="login.php" method="post">
<hr />
<?php
if($error!='')
{

echo '<h5 class="text-


danger text-center">'.$error.'</h5>';
}

46
?>

<div class="form-group input-group">


<span class="input-group-addon"><i class="fa fa-tag" ></i></span>
<input type="text" class="form-control" placeholder="Your Username "
name="username" required />
</div>

<div class="form-group
input-group">
<span class="input-group-addon"><i class="fa fa-lock" ></i></span>
<input type="password" class="form-control" placeholder="Your Password"
name="password" required />
</div>

<div class="form-group">

<span class="pull-right">
<a href="index.html" >Forget password ? </a>
</span>
</div>

<button class="btn btn-primary" type= "submit" name="login">Login Now</button>

</form>
</div>

</div>

</div>
</div>

</body>
</html>

47
logout.php:-
<?php

ob_start();
session_start();
unset($_SESSION['rainbow_name']);
unset($_SESSION['rainbow_uid']);
unset($_SESSION['rainbow_username']);
echo '<script type="text/javascript">window.location="login.php"; </script>';

?>

48
Snapshots(How it Works)

49
50
51
52
CONCLUSION

From this project we can conclude that if this program is very useful in fee
management as it provides more convenience than the manual work. It provides
easy methods to manage the load of work easily for the users. It is much fast and
more efficient as the data once entered can be modified and accessed easily. The
program can be used per the requirement of the user as it is very easy to
understand.

53
FUTURE ENHANCEMENT

It can be summarized that the future scope of the project circles around
maintaining information regarding:

1. We can add reciept in future.

2. We can give more advance modules for fee management system including
more facilities.

3. Integrate multiple load balancers to maintain the loads of the system.

4.Implement the backup mechanism for taking backup of codebase and database
on regular basis on different servers.

The above mentioned points are the enhancements which can be done to
increase the applicability and usage of this project. Here we can maintain the
records of student and course.

We have left all the options open so that if there is any other future requirement
in the system by the user for the enhancement of the system then it possible to
implement them. We hope that the project will serve its purpose for which it is
develop there by underlining success of process.

54
References

1. https://www.scribd.com
2. www.google.com
3. https://www.tutorialspoint.com/sdlc/sdlc_overview.html
4. http://www.iolite.org.in
5. https://www.javatpoint.com/html-tutorial
6. https://www.google.com/search?q=database+design&rlz=1C1CHBD_enIN8
44IN844&oq=database+design&aqs=chrome..69i57j0l5.11958j0j4&sourcei
d=chrome&ie=UTF-8
7. https://en.wikipedia.org/wiki/Apache_HTTP_Server

55

S-ar putea să vă placă și