Professional Documents
Culture Documents
Employee Management
Employee Management
Employee Management
An Employee Database Management System (EDMS) is a crucial tool for organizations to efficiently manage
and maintain comprehensive records of their workforce. This system encompasses the storage, retrieval, and
manipulation of employee-related data, including personal information, job roles, performance evaluations,
and historical records. The primary objective of an EDMS is to streamline administrative processes, enhance
decision-making capabilities, and ensure compliance with regulatory requirements. By centralizing employee
data within a secure and accessible platform, organizations can optimize resource allocation, facilitate
effective communication, and foster a productive work environment. This abstract provides an overview of
the fundamental components and benefits associated with an Employee Database Management System,
highlighting its significance in modern organizational management.
1
ACKNOWLEDGEMENT
The satisfaction that we feel at the successful completion of our Mini Project work, “EMPLOYEE
DATABASE MANAGEMENT SYSTEM” would be incomplete if we did not mention the people, whose
guidance, encouragement, noble gesture, affection and support crowned our efforts with success. It is our
privilege to express our gratitude and respect to all those who inspired and helped me in the completion of our
project. All the expertise in this project belongs to those listed below.
We are very much indebted to Prof. Gangadhara G H our respected guides, for their noble gesture, support,
coordination, valuable suggestions and guidance given to us in completing the project.
We also thank H.O.D Dr. Sai Madhavi of CSE(AIML) Department, for extending all his valuable support
and encouragement.
We express our sincere thanks to our beloved Principal Dr. T.Hanumantha Reddy, R.Y.M.E.C, Ballari, for
giving us an opportunity to carry out our academic Project.
We also thank all the teaching and non-teaching staff of all the departments of R.Y.M.E.C., for giving their
kind cooperation during development of our mini project.
Project associates:
AFROZ F (3VC21CI004)
D SAMEER (3VC21CI012)
N VIJAY KUMAR(3VC21CI032)
2
CONTENTS
S.NO CHAPTER NAME PAGE NO
1 INTRODUCTION 05
1.1 OBJECTIVES 05
1.2 LIMITATIONS 05
3.2 HARDWARE 07
REQUIREMENT
3.3.1 ER DIAGRAM 07
CONCLUSIONS 26
REFERENCES 27
3
LIST OF FIGURES
FIGURE TITLE
Figure 3.1 E-R DIAGRAM
Figure 3.2 NOTATIONS SAMPLES
LIST OF TABLES
Figure 4.1.1 Admin Table
Figure 4.1.2 Table Animal
Figure 4.1.3 Table Foreigner
Figure 4.1.4 Table Indian
4
CHAPTER 1
INTRODUCTION
An Employee Database Management System (EDBMS) serves as a cornerstone in modern organizational
infrastructure, facilitating the efficient storage, retrieval, and management of crucial employee information.
At its core, an EDBMS is designed to streamline human resource processes, ensuring accuracy, security, and
accessibility of data pertaining to employees within an organization. By centralizing data related to personnel
records, payroll, performance evaluations, and other essential metrics, it enables businesses to make informed
decisions, optimize resource allocation, and comply with regulatory requirements. Moreover, an EDBMS
enhances organizational efficiency by automating routine tasks, minimizing errors, and fostering collaboration
between departments. In essence, it empowers businesses to cultivate a more agile, informed, and responsive
workforce management strategy, thereby driving sustainable growth and success.
1.1 OBJECTIVES
The need for Zoo management System is concerned with Zoo information handling and keeping all the data
in a Proper way that can be maintained without any error Data. This project provides a new way to maintain
the visitor entries by providing the entry tickets which will be saved in the database by that any time the admin
can view the entries details of the visitor as well as the total amount collected by the entries. It also keeps the
track of animal’s data with its unique id in such a way that the data’s of the animals are loaded into the database.
The unique id also is used to display the loaded data. The expected system should at least have two types of
users with roles different from each other. The administrator has no limitation on handling data’s while other
officers have their own limitation a handling data The admin can have all right to the data, he can allow the
new user into the system. We believe that this zoo information system will provide a diplomatic way in
maintaining the zoo.
1.2 LIMITATIONS
The current system in the zoological park has only the manual entry ticketing and the data both the visitors'
entries and data animals not saved in the secured database; it leads to major drawback to handling the data
with errors. Since, an objective was developed to formulate a zoo management system for Zoo.
5
CHAPTER 2
6
CHAPTER 3
RESOURCE REQUIREMENTS
3.1 SOFTWARE REQUIREMENT:
• Operating System : Windows.
• Back End : MySQL.
• Front End : PHP
• Database Connectivity : Pearl Home Page (PHP)
• Server : Apache
An entity–relationship model (ER model) describes inter-related things of interest in a specific domain of
knowledge. An ER model is composed of entity types (which classify the things of interest) and specifies
relationships that can exist between instances of those entity types. ER diagram should have mainly 3
components namely, entity, attribute, relationship. The following notations can be used for drawing an ER
diagram.
Figure 3.2 we have six entities Admin, Foreigner ticket_data, Ticket_info, Add— new_animal details, Indian
ticket data and their relationship. The relationship between Admin and Add_new_animal details is one to many
as a one Admin can add many New_animal details however Add_new_animal details cannot have multiple
Admin at the same time. Admin entity has attribute username and password and Foreginer ticket data entity
has attribute such as SINo,Ticket_id,Ticket_date and same for the entity Normal ticket data.
Add new_animal_details entity is having attributes like Name, Image, Breed name, Discription, Cage
no.Ticket Info entity has attribute Total an amount, Price and NO_OF_TICKETS.
7
8
3.3.2 SCHEMA DIAGRAM
The relational schema diagram gives the relation of one entity with another as well as the information about
the key constraints. The below figure is a sample relational schema diagram in which the attributes that are
underlined are the primary key and the arrow line is used to represent the mapping. 3.3.2 SCHEMA
DIAGRAM
9
3.4 IMPLEMENTATION
3.4.1 FRONT END
<?php
session_start(); error_reporting(0);
include('includes/dbconnection.php'); if(isset($_POST['login']))
{
$adminuser=$_POST['username'];
$password=md5($_POST['password']);
$query=mysqli_query($con,"select ID from tbladmin where UserName='$adminuser' &&
Password='$password' ");
$ret=mysqli_fetch_array($query);
if($ret>0){
$_SESSION['zmsaid']=$ret['ID']; header('location:dashboard.php');
} else{
echo '<script>alert("Invalid Detail.")</script>';
}
}
?>
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Login - Zoo Management System</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" type="image/png" href="assets/images/icon/favicon.ico">
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/font-awesome.min.css">
<link rel="stylesheet" href="assets/css/themify-icons.css">
<link rel="stylesheet" href="assets/css/metisMenu.css">
<link rel="stylesheet" href="assets/css/owl.carousel.min.css">
<link rel="stylesheet" href="assets/css/slicknav.min.css">
<!-- amchart css -->
<link rel="stylesheet" href="https://www.amcharts.com/lib/3/plugins/export/export.css" type="text/css"
media="all" />
<!-- others css -->
<link rel="stylesheet" href="assets/css/typography.css">
<link rel="stylesheet" href="assets/css/default-css.css">
<link rel="stylesheet" href="assets/css/styles.css">
<link rel="stylesheet" href="assets/css/responsive.css">
10
<!-- modernizr css -->
<script src="assets/js/vendor/modernizr-2.8.3.min.js"></script>
</head>
<body>
<!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please
<a href="http://browsehappy.com/">upgrade your browser</a> to improve your
experience.</p>
<![endif]-->
<!-- preloader area start -->
<div id="preloader">
<div class="loader"></div>
</div>
<!-- preloader area end -->
<!-- login area start -->
<div class="login-area">
<div class="container">
<div class="login-box ptb--100">
<form action="#" method="post" name="login">
<div class="login-form-head">
<h4>Zoo Management System</h4>
<p>Hello there, Sign in and start managing your Admin Template</p> </div>
<div class="login-form-body">
<div class="form-gp">
<label for="exampleInputEmail1">User Name</label><input type="text" id="username" name="username"
required="true">
<i class="ti-user"></i>
</div>
<div class="form-gp">
<label for="exampleInputPassword1">Password</label>
<input type="password" id="password" name="password" required="true">
<i class="ti-lock"></i>
</div>
<div class="row mb-4 rmber-area">
<div class="col-6">
</div>
<div class="col-6 text-right">
<a href="forgot-password.php">Forgot Password?</a>
</div>
</div>
<div class="submit-btn-area">
<button id="form_submit" type="submit" name="login">Submit <i class="tiarrow-right"></i></button>
11
</div>
<div style="padding-top: 20px">
<a href="../index.php">Back Home!!</a>
</div>
</div>
</form>
</div>
</div>
</div>
<!-- login area end -->
<!-- jquery latest version -->
<script src="assets/js/vendor/jquery-2.2.4.min.js"></script>
<!-- bootstrap 4 js -->
<script src="assets/js/popper.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/owl.carousel.min.js"></script>
<script src="assets/js/metisMenu.min.js"></script>
<script src="assets/js/jquery.slimscroll.min.js"></script>
<script src="assets/js/jquery.slicknav.min.js"></script>
<!-- others plugins -->
<script src="assets/js/plugins.js"></script>
<script src="assets/js/scripts.js"></script>
</body>
</html>
Connecting to MYSQL using PHP code
12
<?php include_once('includes/header.php');?>
<div class="banner-header">
<div class="container">
<h2>contact</h2>
</div>
</div>
<!--about-->
<div class="content">
<!--advantage-->
<div class="advantages">
<div class="container">
<?php
$query=mysqli_query($con,"select * from tblpage where PageType='contactus'"); while
($row=mysqli_fetch_array($query)) {?>
<div class="advantages-grids">
<div class="col-md-12 advantage-grid">
<div class="company_ad">
<h3>Contact Info</h3>
<p>For More Information Contact Us.</p>
<address>
<p>Email : <?php echo $row['Email'];?></p>
<p>Phone : <?php echo $row['MobileNumber'];?></p>
<p><?php echo $row['PageDescription'];?></p>
<?php
session_start(); error_reporting(0);
include('includes/dbconnection.php');
?>
<!DOCTYPE HTML>
<html>
<head>
<title>Zoo Management System | Home Page</title>
<link href="css/bootstrap.css" rel="stylesheet" type="text/css" media="all">
<link href="css/style.css" rel="stylesheet" type="text/css" media="all" /> <script
type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar,
0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<script src="js/jquery-1.11.1.min.js"></script>
<script src="js/bootstrap.js"></script>
</head>
<body>
<?php include_once('includes/header.php');?>
<div class="banner-header">
<div class="container">
13
<h2>contact</h2>
</div>
</div>
<!--about-->
<div class="content">
<!--advantage-->
<div class="advantages">
<div class="container">
<?php
$query=mysqli_query($con,"select * from tblpage where PageType='contactus'");
while ($row=mysqli_fetch_array($query)) { ?>
<div class="advantages-grids">
<div class="col-md-12 advantage-grid">
<div class="company_ad">
<h3>Contact Info</h3>
<p>For More Information Contact Us.</p>
<address>
<p>Email : <?php echo $row['Email'];?></p>
<p>Phone : <?php echo $row['MobileNumber'];?></p>
<p><?php echo $row['PageDescription'];?></p>
</address>
</div>
</div>
<div class="clearfix"></div>
</div>
</div><?php } ?>
</div>
<!--advantage-->
<!--specials-->
<?php include_once('includes/special.php');?>
</div>
<!--footer-->
<?php include_once('includes/footer.php');?>
</body> </html>
14
5. TABLE ABOUT: Stores the info of ABOUT and CONTACT.
15
Fig3.1.3: Table Foreigner
17
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>View Indian Ticket - Zoo Management System</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" type="image/png" href="assets/images/icon/favicon.ico">
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/font-awesome.min.css">
<link rel="stylesheet" href="assets/css/themify-icons.css">
<link rel="stylesheet" href="assets/css/metisMenu.css">
<link rel="stylesheet" href="assets/css/owl.carousel.min.css">
<link rel="stylesheet" href="assets/css/slicknav.min.css">
<!-- amchart css -->
<link rel="stylesheet" href="https://www.amcharts.com/lib/3/plugins/export/export.css" type="text/css"
media="all" />
<!-- others css -->
<link rel="stylesheet" href="assets/css/typography.css">
<link rel="stylesheet" href="assets/css/default-css.css">
<link rel="stylesheet" href="assets/css/styles.css">
<link rel="stylesheet" href="assets/css/responsive.css">
<!-- modernizr css -->
<script src="assets/js/vendor/modernizr-2.8.3.min.js"></script>
</head>
<body>
<!-- page container area start -->
<div class="page-container">
<!-- sidebar menu area start -->
<?php include_once('includes/sidebar.php');?>
<!-- sidebar menu area end -->
<!-- main content area start -->
<div class="main-content">
<!-- header area start -->
<?php include_once('includes/header.php');?>
<!-- header area end -->
<!-- page title area start -->
<?php include_once('includes/pagetitle.php');?>
<!-- page title area end -->
<div class="main-content-inner">
<div class="row">
<div class="col-lg-12 col-ml-12">
<div class="row">
<!-- basic form start -->
<div class="col-12 mt-5">
<div class="card">
<div class="card-body" id="exampl">
<?php
18
$vid=$_GET['viewid'];
$ret=mysqli_query($con,"select * from tblticindian where ID='$vid'");
$cnt=1;
while ($row=mysqli_fetch_array($ret)) {
?>
<h4 class="header-title" style="color: blue">View Detail of Ticket ID:
<?php echo $row['TicketID'];?></h4>
<h5 class="header-title" style="color: blue">Visiting Date: <?php echo
$row['PostingDate'];?></h5>
<table border="1" class="table table-striped table-bordered first" >
<tr>
<th>#</th>
<th>No of Tickets</th>
<th>Price per unit</th>
<th>Total</th>
</tr>
<tr>
<th >Number of Adult </th>
<td style="padding-left: 10px"><?php echo
$noadult=$row['NoAdult'];?></td> <td
style="padding-left: 10px">$<?php echo
$cup=$row['AdultUnitprice'];?></td>
<td style="padding-left: 10px">$<?php echo
$ta=$cup*$noadult;?></td>
</tr>
<tr>
<th>Number of Chlidren </th> <td
style="padding-left: 10px"><?php echo
$nochild=$row['NoChildren'];?></td> <td
style="padding-left: 10px">$<?php echo
$aup=$row['ChildUnitprice'];?></td>
<td style="padding-left: 10px">$<?php echo
$tc=$aup*$nochild;?></td>
</tr>
<tr>
<th style="text-align: center;color: red;font-size: 20px" colspan="3">Total
Ticket Price</th>
<td style="padding-left: 10px;">$<?php echo ($ta+$tc);?></td>
</tr>
</table>
</div>
<?php } ?>
19
<p style="margin-top:1%" align="center">
<i class="fa fa-print fa-2x" style="cursor: pointer;" OnClick="CallPrint(this.value)" ></i>
</p>
</div>
</div>
<!-- basic form end -->
</div>
</div>
</div>
</div>
</div>
<!-- main content area end -->
<!-- footer area start-->
<?php include_once('includes/footer.php');?>
<!-- footer area end-->
</div>
<!-- page container area end -->
<!-- offset area start -->
<!-- jquery latest version --><script src="assets/js/vendor/jquery-2.2.4.min.js"></script>
<!-- bootstrap 4 js -->
<script src="assets/js/popper.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/owl.carousel.min.js"></script>
<script src="assets/js/metisMenu.min.js"></script>
<script src="assets/js/jquery.slimscroll.min.js"></script>
<script src="assets/js/jquery.slicknav.min.js"></script><!-- others plugins -->
<script src="assets/js/plugins.js"></script>
<script src="assets/js/scripts.js"></script>
<script>
function CallPrint(strid) {
var prtContent = document.getElementById("exampl");
var WinPrint = window.open('', '',
'left=0,top=0,width=800,height=900,toolbar=0,scrollbars=0,status=0');
WinPrint.document.write(prtContent.innerHTML);
WinPrint.document.close();
WinPrint.focus();
WinPrint.print();
WinPrint.close();
</script>
</body>
</html> <?php
} ?>
20
3.4.4 STORED PROCEDURE
SQL server stored procedure is the batch of statements grouped as a logical unit and stored in the database.
The stored procedure accepts the parameters and executes the SQL statements in the procedure, returns set if
anything can be easily modify the code inside the stored procedure without the need to restart or deploy the
application for example, if the SQL queries are written in the application and if we need to change the logic,
we must change the code in the application and re- deploy it. SQL Server Stored procedures eliminate such
challenges by storing the code in the database. So when we want to change the logic inside the procedure we
can just do it by simple ALTER PROCEDURE statement. Storage of information about zoo animals, if admin
wants to get particular information of tickets within a fraction of seconds, then for example in ticket table there
is a particular information about ticket. If admin wants to create a procedure when the procedure is executed
the admin will get detailed information which are available in the table by opening the routine in the project
and the routine name as get admin and type will be the procedure. Select * from a; (This is the parameter
passed to invoke procedure).
21
CHAPTER 4
USER INTERFACE
SNAPSHOTS 4.1 INDEX PAGE
22
Fig 4.2: About Page
4.3 ANIMAL DETAILS:
23
Fig 4.4: Admin Page
4.5 FORGOT PASSWORD PAGE:
24
Fig 4.6: Admin Profile
4.7 DASHBOARD PAGE:
25
Fig 4.8: Managing Ticket Issued
4.9 ADDING NEW ANIMAL TO THE SYSTEM:
26
CHAPTER 5
CONCLUSION
This project focused on the Management of the Zoo details. It successfully met its aims and objectives and all the
requirements mentioned earlier were met. It will definitely be helpful for the users who wish to know more about the
Animals and it Habitat. However, after having tested the system, in future we tend to add additional functionality like
Online ticket booking and Fingerprint login which is a secure mode of login in these days. Where the user/customer will
is informed about the ticket booked. And notification sent to them when the ticket is booked when the project is updated
in future. Zoo is a facility in which animals are housed within enclosures, cared for, displayed to the public. and in some
cases bred. Zoos educate the public about animals and conservation efforts. As of Apr. 2019, there are 236 accredited
zoos in the United States. The zoos attract over 181 million visitors annually. As the conservation of Animals are
important, we will surely need a database or a record for the safer security of the Animals.
27
CHAPTER 6
REFERENCES
1. Database Management System Ramakrishnan.
2. Fundamentals of Web development, Randy Connolly and Ricardo Hoar, First Impression, 2016 Pearson.
3. For MySQL https://www.mysql.com/downloads . 4. For Xampp https://www.apachefriends.org/download.html.
28