Employee Leave Management System Report
Employee Leave Management System Report
Employee Leave Management System Report
ABSTRACT
This project is aimed at developing an online leave management system that is of importance
to either an organization. The Leave Management System (LMS) is an Intranet based
application that can be accessed throughout the organization or a specified group/Dept. This
system can be used to automate the workflow of leave applications and their approvals. The
periodic crediting of leave is also automated. There are features like email notifications,
automatic approval of leave, report generators etc. in this system. Leave Management
application will reduce paper work and maintains record in more efficient way.
1
EMPLOYEE LEAVE MANAGEMENT SYSTEM
INTRODUCTION
In this project, people should be get registered into the system. So that, Admin can able
to approve the requests given by the requestor. In an organization, the hierarchy could be
Engineers/Managers/Business Managers/Managing Director etc.
see his/her eligibility details (like how many days of leave he/she is eligible for etc)
see his/her leave history since the time he/she joined the company/college
apply for leave, specifying the from and to dates, reason for taking leave, address for
communication while on leave and his/her superior’s email id
see his/her current leave applications and the leave applications that are submitted to
him/her for approval or cancellation
withdraw his/her leave application (which has not been approved yet)
Cancel his/her leave (which has been already approved). This will need to be
approved by his/her Superior
2
EMPLOYEE LEAVE MANAGEMENT SYSTEM
get help about the leave system on how to use the different features of the system
The number of days of leave (as per the assumed leave policy) should be automatically
credited to everybody and a notification regarding the same be sent to them automatically.
An automatic leave-approval facility for leave applications which are older than 2 weeks
should be there. Notification about the automatic leave approval should be sent to the person
as well as his superior
EXISTING SYSTEM:
Less Security.
PROPOSED SYSTEM:
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.
The system makes the overall project management much easier and flexible.
Readily upload the latest updates, allows user to download the alerts by clicking the
URL.
3
EMPLOYEE LEAVE MANAGEMENT SYSTEM
There is no risk of data mismanagement at any level while the project development is
under process.
SYSTEM ANLAYSIS
To provide flexibility to the users, the interfaces have been developed that are accessible
through a browser. The GUI’S at the top level have been categorized as
The ‘operational or generic user interface’ helps the end users of the system in
transactions through the existing data and required services. The operational user interface
also helps the ordinary users in managing their own information in a customized manner as
per the included flexibilities
Input design is a part of overall system design. The main objective during the input
design is as given below:
INPUT STAGES:
Data recording
Data transcription
4
EMPLOYEE LEAVE MANAGEMENT SYSTEM
Data conversion
Data verification
Data control
Data transmission
Data validation
Data correction
INPUT TYPES:
At this stage choice has to be made about the input media. To conclude about the input
media consideration has to be given to;
Type of input
Flexibility of format
Speed
Accuracy
Verification methods
Rejection rates
Ease of correction
Storage and handling requirements
Security
Easy to use
Portability
Keeping in view the above description of the input types and input media, it can be said
that most of the inputs are of the form of internal and interactive. As input data is to be the
5
EMPLOYEE LEAVE MANAGEMENT SYSTEM
directly keyed in by the user, the keyboard can be considered to be the most suitable input
device.
OUTPUT DESIGN:
OUTPUT MEDIA:
In the next stage it is to be decided that which medium is the most appropriate for the
output. The main considerations when deciding about the output media are:
6
EMPLOYEE LEAVE MANAGEMENT SYSTEM
The outputs were needed to be generated as a hard copy and as well as queries to be
viewed on the screen. Keeping in view these outputs, the format for the output is taken from
the outputs, which are currently being obtained after manual processing. The standard printer
is to be used as output media for hard copies.
Fig
SDLC is nothing but Software Development Life Cycle. It is a standard which is used by
software industry to develop good software.
Stages in SDLC:
Requirement Gathering
7
EMPLOYEE LEAVE MANAGEMENT SYSTEM
Analysis
Designing
Coding
Testing
Maintenance
Requirements Gathering stage:
The requirements gathering process takes as its input the goals identified in the high-
level requirements section of the project plan. Each goal will be refined into a set of one or
more requirements. These requirements define the major functions of the intended
application, define operational data areas and reference data areas, and define the initial data
entities. Major functions include critical processes to be managed, as well as mission critical
inputs, outputs and reports. A user class hierarchy is developed and associated with these
major functions, data areas, and data entities. Each of these definitions is termed a
Requirement. Requirements are identified by unique requirement identifiers and, at
minimum, contain a requirement title and textual description.
These requirements are fully described in the primary deliverables for this stage: The
Requirements Document and the Requirements Traceability Matrix (RTM). The requirements
document contains complete descriptions of each requirement, including diagrams and
references to external documents as necessary. Note that detailed listings of database tables
and fields are not included in the requirements document.
8
EMPLOYEE LEAVE MANAGEMENT SYSTEM
The title of each requirement is also placed into the first version of the RTM, along with
the title of each goal from the project plan. The purpose of the RTM is to show that the
product components developed during each stage of the software development lifecycle are
formally connected to the components developed in prior stages.
In the requirements stage, the RTM consists of a list of high-level requirements, or goals,
by title, with a listing of associated requirements for each goal, listed by requirement title. In
this hierarchical listing, the RTM shows that each requirement developed during this stage is
formally linked to a specific product goal. In this format, each requirement can be traced to a
specific product goal, hence the term requirements traceability.
The outputs of the requirements definition stage include the requirements document, the
RTM, and an updated project plan.
The planning stage establishes a bird's eye view of the intended software product, and
uses this to establish the basic project structure, evaluate feasibility and risks associated with
the project, and describe appropriate management and technical approaches.
9
EMPLOYEE LEAVE MANAGEMENT SYSTEM
The most critical section of the project plan is a listing of high-level product
requirements, also referred to as goals. All of the software product requirements to be
developed during the requirements definition stage flow from one or more of these goals. The
minimum information for each goal consists of a title and textual description, although
additional information and references to external documents may be included. The outputs of
the project planning stage are the configuration management plan, the quality assurance plan,
and the project plan and schedule, with a detailed listing of scheduled activities for the
upcoming Requirements stage, and high-level estimates of effort for the out stages.
Designing Stage:
The design stage takes as its initial input the requirements identified in the approved
requirements document. For each requirement, a set of one or more design elements will be
produced as a result of interviews, workshops, and/or prototype efforts. Design elements
describe the desired software features in detail, and generally include functional hierarchy
diagrams, screen layout diagrams, tables of business rules, business process diagrams, pseudo
code, and a complete entity-relationship diagram with a full data dictionary. These design
elements are intended to describe the software in sufficient detail that skilled programmers
may develop the software with minimal additional input.
10
EMPLOYEE LEAVE MANAGEMENT SYSTEM
When the design document is finalized and accepted, the RTM is updated to show that
each design element is formally associated with a specific requirement. The outputs of the
design stage are the design document, an updated RTM, and an updated project plan.
The development stage takes as its primary input the design elements described in the
approved design document. For each design element, a set of one or more software artifacts
will be produced. Software artifacts include but are not limited to menus, dialogs, data
management forms, data reporting formats, and specialized procedures and functions.
Appropriate test cases will be developed for each set of functionally related software artifacts,
and an online help system will be developed to guide users in their interactions with the
software.
11
EMPLOYEE LEAVE MANAGEMENT SYSTEM
The RTM will be updated to show that each developed artifact is linked to a specific
design element, and that each developed artifact has one or more corresponding test case
items. At this point, the RTM is in its final configuration. The outputs of the development
stage include a fully functional set of software that satisfies the requirements and design
elements previously documented, an online help system that describes the operation of the
software, an implementation map that identifies the primary code entry points for all major
system functions, a test plan that describes the test cases to be used to validate the correctness
and completeness of the software, an updated RTM, and an updated project plan.
During the integration and test stage, the software artifacts, online help, and test data are
migrated from the development environment to a separate test environment. At this point, all
test cases are run to verify the correctness and completeness of the software. Successful
execution of the test suite confirms a robust and complete migration capability. During this
stage, reference data is finalized for production use and production users are identified and
linked to their appropriate roles. The final reference data (or links to reference data source
files) and production user list are compiled into the Production Initiation Plan.
12
EMPLOYEE LEAVE MANAGEMENT SYSTEM
The outputs of the integration and test stage include an integrated set of software, an
online help system, an implementation map, a production initiation plan that describes
reference data and production users, an acceptance plan which contains the final suite of test
cases, and an updated project plan.
13
EMPLOYEE LEAVE MANAGEMENT SYSTEM
After customer personnel have verified that the initial production data load is correct
and the test suite has been executed with satisfactory results, the customer formally accepts
the delivery of the software.
The primary outputs of the installation and acceptance stage include a production
application, a completed acceptance test suite, and a memorandum of customer acceptance of
the software. Finally, the PDR enters the last of the actual labor data into the project schedule
and locks the project as a permanent project record. At this point the PDR "locks" the project
by archiving all software items, the implementation map, the source code, and the
documentation for future reference.
Maintenance:
Outer rectangle represents maintenance of a project, Maintenance team will start with
requirement study, understanding of documentation later employees will be assigned work
and they will undergo training on that particular assigned category.
For this life cycle there is no end, it will be continued so on like an umbrella (no ending
point to umbrella sticks).
SYSTEM ARCHITECTURE
Architecture flow:
Below architecture diagram represents mainly flow of requests from users to database
through servers. In this scenario overall system is designed in three tires separately using
three layers called presentation layer, business logic layer and data link layer. This project
was developed using 3-tier architecture.
14
EMPLOYEE LEAVE MANAGEMENT SYSTEM
FEASIBILITY STUDY
Preliminary investigation examines project feasibility; the likelihood the system will be
useful to the organization. The main objective of the feasibility study is to test the Technical,
Operational and Economical feasibility for adding new modules and debugging old running
system. All systems are feasible if they are given unlimited resources and infinite time. There
are aspects in the feasibility study portion of the preliminary investigation:
Technical Feasibility
Operation Feasibility
Economic Feasibility
TECHNICAL FEASIBILITY
The technical issue usually raised during the feasibility stage of the investigation
includes the following:
15
EMPLOYEE LEAVE MANAGEMENT SYSTEM
Are there technical guarantees of accuracy, reliability, ease of access and data
security?
OPERATIONAL FEASIBILITY
User-friendly
Customer will use the forms for their various transactions i.e. for adding new routes,
viewing the routes details. Also, the Customer wants the reports to view the various
transactions based on the constraints. These forms and reports are generated as user-friendly
to the Client.
Reliability
The package wills pick-up current transactions on line. Regarding the old transactions,
User will enter them in to the system.
Security
The web server and database server should be protected from hacking, virus etc
Portability
The application will be developed using standard open source software (Except Oracle)
like Java, tomcat web server, Internet Explorer Browser etc. This software will work both on
Windows and Linux o/s. Hence portability problems will not arise.
Availability
Maintainability
The system called the ewheelz uses the 2-tier architecture. The 1st tier is the GUI, which
is said to be front-end and the 2nd tier is the database, which uses MySQL, which is the back-
end. The front-end can be run on different systems (clients). The database will be running at
the server. Users access these forms by using the user-ids and the passwords.
ECONOMIC FEASILITY
The computerized system takes care of the present existing system’s data flow and
procedures completely and should generate all the reports of the manual system besides a
host of other management reports.
16
EMPLOYEE LEAVE MANAGEMENT SYSTEM
It should be built as a web-based application with separate web server and database
server. This is required as the activities are spread throughout the organization customer
wants a centralized database. Further some of the linked transactions take place in different
locations.
Open source software like TOMCAT, JAVA, MySQL and Linux is used to minimize the
cost for the Customer.
REQUIREMENTS SPECIFICATIONS
Administration
Employee
Search
Report
Authentication
Employee leave management system (ELMS) divided in two modules:
1. Employee module
2. Admin module
Admin Module details
Admin can add/update/ delete leave type and departments
Admin can add an employee and also update the employee info. Also, can active or
block an employee.
Admin can also manage the leave application (approve and not approve).
Every time when an employee applies for leave admin will get a notification.
Employee Module
17
EMPLOYEE LEAVE MANAGEMENT SYSTEM
MODULE DESCRIPTION
Administrator: -
In this module the Administrator has the privileges to add all the Employees and register
them in the organization and check the information of the Employee and check the status of the
leave when they have taken and what type of leave they have taken and search is done based on
the employee and report is generated based on employee.
Search: -
This module contains complete search like Leave search, Type of Leave, Employee based
on the leave and starting and ending day of leave.
Employee: -
In this module employee has the privileges to use his username and password for login and
he can see the request given by the customer and he can pass the process to the Business
Manager and maintain the record of the customers.
Reports: -
This module contains all the information about the reports generated by the Employees
based on the Performance and by the leave status.
Authentication: -
This module contains all the information about the authenticated user. User without his
username and password can’t enter into the login if he is only the authenticated user then he
can enter to his login.
PERFORMANCE REQUIREMENTS
18
EMPLOYEE LEAVE MANAGEMENT SYSTEM
The requirement specification for any system can be broadly stated as given below:
SOFTWARE REQUIREMENTS:
One of the most difficult tasks is that, the selection of the software, once system requirement
is known is determining whether a particular software package fits the requirements. After
initial selection further security is needed to determine the desirability of particular software
compared with other candidates. This section first summarizes the application requirement
question and then suggests more detailed comparisons.
Browser -------- IE
HARDWARE REQUIREMENTS:
19
EMPLOYEE LEAVE MANAGEMENT SYSTEM
The selection of hardware is very important in the existence and proper working of any
software. In the selection of hardware, the size and the capacity requirements are also
important.
The Web Based Manufacturing System can be efficiently run on Pentium system with at
least 128 MB RAM and Hard disk drive having 20 GB. Floppy disk drive of 1.44 MB and 14
inch Samsung color monitor suits the information system operation.(A Printer is required for
hard copy output).
PHP
PHP was originally created by Rasmus Lerdorf in 1995 and has been in continuous
development ever since. The main implementation of PHP is now produced by The PHP
Group and serves as the de facto standard for PHP as there is no formal specification.PHP is
free software released under the PHP License, which is incompatible with the GNU General
Public License (GPL) because of restrictions on the use of the term PHP. PHP has evolved to
include a command line interface capability and can also be used in standalone graphical
applications.
USAGE
20
EMPLOYEE LEAVE MANAGEMENT SYSTEM
executed by the PHP runtime, usually to create dynamic web page content. It can also be used
for command-line scripting and client-side GUI applications. PHP can be deployed on most
web servers, many operating systems and platforms, and can be used with many relational
database management systems. It is available free of charge, and the PHP Group provides the
complete source code for users to build, customize and extend for their own use.
PHP primarily acts as a filter, taking input from a file or stream containing text and/or
PHP instructions and outputs another stream of data; most commonly the output will be
HTML. Since PHP 4, the PHP parser compiles input to produce byte code for processing by
the Zend Engine, giving improved performance over its interpreter predecessor
Originally designed to create dynamic web pages, PHP now focuses mainly on server-
side scripting, and it is similar to other server-side scripting languages that provide dynamic
content from a web server to a client, such as Microsoft's Active Server Pages, Sun
Microsystems' Java Server Pages and mod_perl. PHP has also attracted the development of
many frameworks that provide building blocks and a design structure to promote rapid
application development (RAD). Some of these include CakePHP, Symfony, CodeIgniter,
and Zend Framework, offering features similar to other web application frameworks.
HTML
HTML, which stands for Hyper Text Markup Language, is the predominant markup
language for web pages. It provides a means to create structured documents by denoting
structural semantics for text such as headings, paragraphs, lists etc as well as for links,
quotes, and other items. It allows images and objects to be embedded and can be used to
create interactive forms. It is written in the form of HTML elements consisting of "tags"
surrounded by angle brackets within the web page content. It can include or can load scripts
in languages such as JavaScript which affect the behavior of HTML processors like Web
browsers; and Cascading Style Sheets (CSS) to define the appearance and layout of text and
other material. The W3C, maintainer of both HTML and CSS standards, encourages the use
of CSS over explicit presentational markup.
Hyper Text Markup Language (HTML) is the encoding scheme used to create and
format a web document. A user need not be an expert programmer to make use of HTML for
creating hypertext documents that can be put on the internet.
21
EMPLOYEE LEAVE MANAGEMENT SYSTEM
Most graphical e-mail clients allow the use of a subset of HTML (often ill-defined) to
provide formatting and semantic markup not available with plain text. This may include
typographic information like colored headings, emphasized and quoted text, inline images
and diagrams. Many such clients include both a GUI editor for composing HTML e-mail
messages and a rendering engine for displaying them. Use of HTML in e-mail is
controversial because of compatibility issues, because it can help disguise phishing attacks,
because it can confuse spam filters and because the message size is larger than plain text.
The most common filename extension for files containing HTML is .html. A common
abbreviation of this is .htm, which originated because some early operating systems and file
systems, such as DOS and FAT, limited file extensions to three letters.
JAVASCRIPT
22
EMPLOYEE LEAVE MANAGEMENT SYSTEM
invocation. The constructor's prototype property determines the object used for the new
object's internal prototype. JavaScript's built-in constructors, such as Array, also have
prototypes that can be modified.
USAGE
The primary use of JavaScript is to write functions that are embedded in or included
from HTML pages and interact with the Document Object Model (DOM) of the page.
Because JavaScript code can run locally in a user's browser (rather than on a remote server) it
can respond to user actions quickly, making an application feel more responsive.
Furthermore, JavaScript code can detect user actions which HTML alone cannot, such as
individual keystrokes. Applications such as Gmail take advantage of this: much of the user-
interface logic is written in JavaScript, and JavaScript dispatches requests for information
(such as the content of an e-mail message) to the server. The wider trend of Ajax
programming similarly exploits this strength.
4.3 MySQL:
MySQL, the most popular Open Source SQL database management system, is
developed, distributed, and supported by Oracle Corporation.
23
EMPLOYEE LEAVE MANAGEMENT SYSTEM
data, database management systems play a central role in computing, as standalone utilities,
or as parts of other applications.
The SQL part of “MySQL” stands for “Structured Query Language”. SQL is the most
common standardized language used to access databases. Depending on your programming
environment, you might enter SQL directly (for example, to generate reports), embed SQL
statements into code written in another language, or use a language-specific API that hides
the SQL syntax.
SQL is defined by the ANSI/ISO SQL Standard. The SQL standard has been evolving
since 1986 and several versions exist. In this manual, “SQL-92” refers to the standard
released in 1992, “SQL:1999” refers to the standard released in 1999, and “SQL:2003” refers
to the current version of the standard. We use the phrase “the SQL standard” to mean the
current version of the SQL Standard at any time.
The MySQL Database Server is very fast, reliable, scalable, and easy to use.
24
EMPLOYEE LEAVE MANAGEMENT SYSTEM
If that is what you are looking for, you should give it a try. MySQL Server can run
comfortably on a desktop or laptop, alongside your other applications, web servers, and so
on, requiring little or no attention. If you dedicate an entire machine to MySQL, you can
adjust the settings to take advantage of all the memory, CPU power, and I/O capacity
available. MySQL can also scale up to clusters of machines, networked together.
You can find a performance comparison of MySQL Server with other database managers
on our benchmark page. MySQL Server was originally developed to handle large databases
much faster than existing solutions and has been successfully used in highly demanding
production environments for several years. Although under constant development, MySQL
Server today offers a rich and useful set of functions. Its connectivity, speed, and security
make MySQL Server highly suited for accessing databases on the Internet.
Implements SQL functions using a highly optimized class library that should be as fast as
possible. Usually there is no memory allocation at all after query initialization. Provides the
server as a separate program for use in a client/server networked environment, and as a
library that can be embedded (linked) into standalone applications. Such applications can be
used in isolation or in environments where no network is available.
Data Types
25
EMPLOYEE LEAVE MANAGEMENT SYSTEM
For example:
FROM citizen
Security
A privilege and password system that is very flexible and secure, and that enables host-
based verification.
Password security by encryption of all password traffic when you connect to a server.
26
EMPLOYEE LEAVE MANAGEMENT SYSTEM
Support for up to 64 indexes per table (32 before MySQL 4.1.2). Each index may consist
of 1 to 16 columns or parts of columns. The maximum index width is 767 bytes
for InnoDB tables, or 1000 for MyISAM; before MySQL 4.1.2, the limit is 500 bytes. An
index may use a prefix of a column for CHAR, VARCHAR, BLOB, or TEXT column
types.
Connectivity
27
EMPLOYEE LEAVE MANAGEMENT SYSTEM
Localization
The server can provide error messages to clients in many languages. Full support for
several different character sets, including latin1 (cp1252), german, big5, ujis, and more.
For example, the Scandinavian characters “å”, “ä” and “ö” are permitted in table and
column names. Unicode support is available as of MySQL 4.1.
All data is saved in the chosen character set.
Sorting and comparisons are done according to the chosen character set and collation
(using latin1 and Swedish collation by default). It is possible to change this when the
MySQL server is started. To see an example of very advanced sorting, look at the Czech
sorting code. MySQL Server supports many different character sets that can be specified
at compile time and runtime.
As of MySQL 4.1, the server time zone can be changed dynamically, and individual
clients can specify their own time zone.
MySQL includes several client and utility programs. These include both command-line
programs such as mysqldump and mysqladmin, and graphical programs such
as MySQL Workbench.
MySQL Server has built-in support for SQL statements to check, optimize, and repair
tables. These statements are available from the command line through
the mysqlcheck client. MySQL also includes myisamchk, a very fast command-line
utility for performing these operations on MyISAM tables.
MySQL programs can be invoked with the --help or -? option to obtain online assistance.
SYSTEM DESIGN
Systems design is the process or art of defining the architecture, components, modules,
interfaces, and data for a system to satisfy specified requirements. One could see it as the
application of systems theory to product development. There is some overlap and synergy
with the disciplines of systems analysis, systems architecture and systems engineering.
DFD’s
28
EMPLOYEE LEAVE MANAGEMENT SYSTEM
29
EMPLOYEE LEAVE MANAGEMENT SYSTEM
UML Diagrams
30
EMPLOYEE LEAVE MANAGEMENT SYSTEM
ER Diagram
NORMALIZATION
31
EMPLOYEE LEAVE MANAGEMENT SYSTEM
Retrieving data
Clarity and ease of use
More information at low cost
Normalization
Normalization is built around the concept of normal forms. A relation is said to be in a
particular normal form if it satisfies a certain specified set of constraints on the kind of
functional dependencies that could be associated with the relation. The normal forms are used
to ensure that various types of anomalies and inconsistencies are not introduced into the
database.
First Normal Form:
A relation R is in first normal form if and only if all underlying domains contained atomic
values only.
A relation R is said to be in second normal form if and only if it is in first normal form
and every non-key attribute is fully dependent on the primary key.
A relation R is said to be in third normal form if and only if it is in second normal form and
every non key attribute is non transitively depend on the primary key.
Data Dictionary:
Table Admin
Field Type Null Key Default
id int(11) NO PRI (NULL)
UserName varchar(100) NO (NULL)
32
EMPLOYEE LEAVE MANAGEMENT SYSTEM
Table Department
Table Employee
33
EMPLOYEE LEAVE MANAGEMENT SYSTEM
34
EMPLOYEE LEAVE MANAGEMENT SYSTEM
35
EMPLOYEE LEAVE MANAGEMENT SYSTEM
36
EMPLOYEE LEAVE MANAGEMENT SYSTEM
CODING
INDEX.PHP
<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(isset($_POST['signin']))
{
$uname=$_POST['username'];
$password=md5($_POST['password']);
$sql ="SELECT EmailId,Password,Status,id FROM tblemployees WHERE
EmailId=:uname and Password=:password";
$query= $dbh -> prepare($sql);
$query-> bindParam(':uname', $uname, PDO::PARAM_STR);
$query-> bindParam(':password', $password, PDO::PARAM_STR);
$query-> execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
if($query->rowCount() > 0)
{
foreach ($results as $result) {
$status=$result->Status;
$_SESSION['eid']=$result->id;
}
if($status==0)
{
$msg="Your account is Inactive. Please contact admin";
} else{
$_SESSION['emplogin']=$_POST['username'];
echo "<script type='text/javascript'> document.location = 'emp-changepassword.php';
</script>";
}}
37
EMPLOYEE LEAVE MANAGEMENT SYSTEM
else{
echo "<script>alert('Invalid Details');</script>";
}
}
?><!DOCTYPE html>
<html lang="en">
<head>
<!-- Title -->
<title>ELMS | Home Page</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0,
maximum-scale=1.0, user-scalable=no"/>
<meta charset="UTF-8">
<meta name="description" content="Responsive Admin Dashboard Template" />
<meta name="keywords" content="admin,dashboard" />
<meta name="author" content="Steelcoders" />
<!-- Styles -->
<link type="text/css" rel="stylesheet"
href="assets/plugins/materialize/css/materialize.min.css"/>
<link href="assets/css/materialdesign.css" rel="stylesheet">
<link href="assets/plugins/material-preloader/css/materialPreloader.min.css"
rel="stylesheet">
<!-- Theme Styles -->
<link href="assets/css/alpha.min.css" rel="stylesheet" type="text/css"/>
<link href="assets/css/custom.css" rel="stylesheet" type="text/css"/>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media
queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="http://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="http://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="loader-bg"></div>
38
EMPLOYEE LEAVE MANAGEMENT SYSTEM
<div class="loader">
<div class="preloader-wrapper big active">
<div class="spinner-layer spinner-blue">
<div class="circle-clipper left">
<div class="circle"></div>
</div><div class="gap-patch">
<div class="circle"></div>
</div><div class="circle-clipper right">
<div class="circle"></div>
</div>
</div>
<div class="spinner-layer spinner-spinner-teal lighten-1">
<div class="circle-clipper left">
<div class="circle"></div>
</div><div class="gap-patch">
<div class="circle"></div>
</div><div class="circle-clipper right">
<div class="circle"></div>
</div>
</div>
<div class="spinner-layer spinner-yellow">
<div class="circle-clipper left">
<div class="circle"></div>
</div><div class="gap-patch">
<div class="circle"></div>
</div><div class="circle-clipper right">
<div class="circle"></div>
</div>
</div>
<div class="spinner-layer spinner-green">
<div class="circle-clipper left">
<div class="circle"></div>
</div><div class="gap-patch">
<div class="circle"></div>
39
EMPLOYEE LEAVE MANAGEMENT SYSTEM
40
EMPLOYEE LEAVE MANAGEMENT SYSTEM
41
EMPLOYEE LEAVE MANAGEMENT SYSTEM
INDEX.PHP (ADMIN)
<?php
session_start();
include('includes/config.php');
if(isset($_POST['signin']))
{
$uname=$_POST['username'];
$password=md5($_POST['password']);
42
EMPLOYEE LEAVE MANAGEMENT SYSTEM
43
EMPLOYEE LEAVE MANAGEMENT SYSTEM
<link href="http://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet">
<link href="../assets/plugins/material-preloader/css/materialPreloader.min.css"
rel="stylesheet">
<link href="../assets/css/alpha.min.css" rel="stylesheet" type="text/css"/>
<link href="../assets/css/custom.css" rel="stylesheet" type="text/css"/>
</head>
<body class="signin-page">
<div class="mn-content valign-wrapper">
<main class="mn-inner container">
<h4 align="center"><a href="../index.php">Employee Leave Management System |
Admin Login</a></h4>
<div class="valign">
<div class="row">
<div class="col s12 m6 l4 offset-l4 offset-m3">
<div class="card white darken-1">
<div class="card-content ">
<span class="card-title">Sign In</span>
<div class="row">
<form class="col s12" name="signin" method="post">
<div class="input-field col s12">
<input id="username" type="text" name="username"
class="validate" autocomplete="off" required >
<label for="email">Username</label>
</div>
<div class="input-field col s12">
<input id="password" type="password" class="validate"
name="password" autocomplete="off" required>
<label for="password">Password</label>
</div>
<div class="col s12 right-align m-t-sm">
<input type="submit" name="signin" value="Sign in"
class="waves-effect waves-light btn teal">
</div>
44
EMPLOYEE LEAVE MANAGEMENT SYSTEM
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
</div>
<!-- Javascripts -->
<script src="../assets/plugins/jquery/jquery-2.2.0.min.js"></script>
<script src="../assets/plugins/materialize/js/materialize.min.js"></script>
<script src="../assets/plugins/material-
preloader/js/materialPreloader.min.js"></script>
<script src="../assets/plugins/jquery-blockui/jquery.blockui.js"></script>
<script src="../assets/js/alpha.min.js"></script>
</body>
</html>
45
EMPLOYEE LEAVE MANAGEMENT SYSTEM
OUTPUT SCREENS
46
EMPLOYEE LEAVE MANAGEMENT SYSTEM
47
EMPLOYEE LEAVE MANAGEMENT SYSTEM
48
EMPLOYEE LEAVE MANAGEMENT SYSTEM
49
EMPLOYEE LEAVE MANAGEMENT SYSTEM
DASHBOARD PAGE
50
EMPLOYEE LEAVE MANAGEMENT SYSTEM
SYSTEM TESTING
INTRODUCTION TO TESTING
Testing is a process, which reveals errors in the program. It is the major quality
measure employed during software development. During software development. During
testing, the program is executed with a set of test cases and the output of the program for the
test cases is evaluated to determine if the program is performing as it is expected to perform.
TESTING IN STRATEGIES
In order to make sure that the system does not have errors, the different levels of testing
strategies that are applied at differing phases of software development are:
Unit Testing:
Unit Testing is done on individual modules as they are completed and become
executable. It is confined only to the designer's requirements. Each module can be tested
using the following two Strategies:
In this strategy some test cases are generated as input conditions that fully execute all
functional requirements for the program. This testing has been uses to find errors in the
following categories:
In this the test cases are generated on the logic of each module by drawing flow graphs
of that module and logical decisions are tested on all the cases. It has been uses to generate
the test cases in the following cases:
51
EMPLOYEE LEAVE MANAGEMENT SYSTEM
Integration testing ensures that software and subsystems work together a whole. It tests
the interface of all the modules to make sure that the modules behave properly when
integrated together.
System Testing:
Involves in-house testing of the entire system before delivery to the user. It's aim is to
satisfy the user the system meets all requirements of the client's specifications.
Acceptance Testing:
It is a pre-delivery testing in which entire system is tested at client's site on real world
data to find errors. Testing can be done in two ways:
Bottom up approach
Top down approach
Bottom up Approach:
Testing can be performed starting from smallest and lowest level modules and
proceeding one at a time. For each module in bottom up testing a short program executes the
module and provides the needed data so that the module is asked to perform the way it will
when embedded within the larger system. When bottom level modules are tested attention
turns to those on the next level that use the lower level ones they are tested individually and
then linked with the previously examined lower level modules.
This type of testing starts from upper level modules. Since the detailed activities usually
performed in the lower level routines are not provided stubs are written. A stub is a module
shell called by upper level module and that when reached properly will return a message to
the calling module indicating that proper interaction occurred. No attempt is made to verify
the correctness of the lower level module.
52
EMPLOYEE LEAVE MANAGEMENT SYSTEM
Validation:
The system has been tested and implemented successfully and thus ensured that all the
requirements as listed in the software requirements specification are completely fulfilled. In
case of erroneous input corresponding error messages are displayed
53
EMPLOYEE LEAVE MANAGEMENT SYSTEM
SYSTEM SECURITY
System Security:
Introduction:
To configure authentication for a Web Application, use the <login-config> element of
the web.xml deployment descriptor. In this element you define the security realm containing
the user credentials, the method of authentication, and the location of resources for
authentication.
SECURITY IN SOFTWARE
To set up authentication for Web Applications: Open the web.xml deployment descriptor
in a text editor or use the Administration Console. Specify the authentication method using
the <auth-method> element. The available options are:
BASIC
Basic authentication uses the Web Browser to display a username/password dialog box.
This username and password are authenticated against the realm.
FORM
Form-based authentication requires that you return an HTML form containing the
username and password. The fields returned from the form elements must be: j_username and
j_password, and the action attribute must be j_security_check. Here is an example of the
HTML coding for using FORM authentication:
</form>
The resource used to generate the HTML form may be an HTML page, a JSP, or a
servlet. You define this resource with the <form-login-page> element.
54
EMPLOYEE LEAVE MANAGEMENT SYSTEM
The HTTP session object is created when the login page is served. Therefore, the
session.isNew() method returns FALSE when called from pages served after successful
authentication.
55
EMPLOYEE LEAVE MANAGEMENT SYSTEM
CONCLUSION
In this report, an information system’s development has been presented. It was emphasized
on the basic steps, consequently taken during the project’s development course as particular
attention was turned to the basic operative functions performed upon the data into the
database.
FUTURE ENHANCEMENT
As a future work, some additional stuff could be implemented and integrated into the
application code making it much more reliable and flexible; especially what concerns apay-
roll module, for instance.
Apparently, the role of such systems is basic and essential within each company that wants to
keep a really good control and record concerning its personnel data functionality and
performance on all levels in its structure. Every organization, in nowadays, has the necessity
of managing its staff on a really good level as the staff has definitely the greatest merit of
building up a company as such as it is.
The well managed employee means giving the appropriate financial award-ness and all kind
of benefits as such as they have deserved. That’s why the development of such systems is not
just a programming business - a lot of people are ordinarily involved in such projects and one
of the basic requirements is the reliability of the system, especially what concerns the storage
of data of the operations that will be performed upon it.
56
EMPLOYEE LEAVE MANAGEMENT SYSTEM
BIBLIOGRAPHY
BIBLIOGRAPHY
Websites
•http://www.w3schools.com
•http://www.quibids.com
•http://www.ubid.com
•http://www.i-bidder.com
•http://www.redbid.com
57