Employee Management & Attendance System
Employee Management & Attendance System
MANAGEMENT SYSTEM”
By
Computer Application
Mr.Vivek sir
CERTIFICATE
(BCA Dept.)
DECLARATION
We have declared that the Project entitled “online room booking in resort”
Submitted by us for the partial fulfillment of (BCA) is carried out by project group
Comprising of “Anil Kumar Gupta , Arun Kumar Yadav, Deepak Meena, Deepak
Singh ” in “under the guidance of faculty of “Extol College of computer science”.
Project Members:
1.0 Introduction
• Purpose of the System
• Scope of the project
• Definitions, acronyms and abbreviations
• System Description
• Problem Statement
• Present System
• Proposed System
• Software requirements
• .Net framework
• HTML
• PHP
• SQL Server
• Hardware requirements
• System Analysis
• System study
Product perspective
• Development methodology
• Development architecture
• Feasibility study
• System Design
• Normalization
• Data dictionary
• Data design diagrams
• E-R diagrams
• Data flow diagram
• Use case diagrams
• Development
• Coding
• Screens
• Post Development
• Test plans
• Manual test cases
• Conclusion
• Bibliography
Introduction
• Introduction
Providing the facility to the Employee that can submit their Self Evaluation details, self
assessment details into a system that details view the corresponding Project Manager. The
Project Manager assigns comments and assessment to the Employee. Super visor will view
the associate and project manager comments and ratings. Supervisor calculates the final
ratings with comments and assign to the corresponding associates. This status will be
shared with the Employer who made request of the status.
Term Definition
System Description
•
• System Description
Through the existing system of the Employee performance process which is purely manual
process and more complex to evaluate the performance. In the existing system, the
Employer has to make his performance through his own that information will give to the
higher authorities.
In this system Employee performance process which is purely manual process and more
complex to evaluate the performance. It is time consuming process. There is no security for
the data.
The development of this new system contains the following activities, which try to
automate the entire process keeping in the view of database integration approach. This
Employee performance management system is evaluate the performance of Employee. This
system mainly focuses on various competencies essential for organization’s growth.
By considering the existing system the new proposed system providing the facility to the
Employee to fill the self comments and self assessment details as well as receives the
performance status. That data can be accessed by authorized persons.
Providing the facility to the Employee that can submit their Self Evaluation details, self
assessment details into a system that details view the corresponding Project Manager. The
Project Manager assigns comments and assessment to the Employee. Super visor will view
the associate and project manager comments and ratings. Supervisor calculates the final
ratings with comments and assign to the corresponding associates. This status will be
shared with the Employer who made request of the status.
Software Requirements
Specifications
3.0 Software Requirements Specifications
The web site provides easy links for easy navigation (browse) in the site. A visitor with
minimum knowledge of web browsing/surfing can access the site very easily. Due to
dynamic nature of features, the members, Admin members should be able to understand
the provided facilities. An online help documentation will be provided to help the users and
visitors in using the facilities.
• Quality attributes
Maintainability
The site's maintainability will depend on clean, easy-to-read pages. Being a Dynamic Site
we need to generate the dynamic output clean and well formatted
Availability
The site should be accessible to as many browsers as possible; including text browsers.
Reliability
The reliability of the website depends on the web server it will be hosted on, and also on
LOGIN mechanisms.
Security
All the necessary steps has been taken to provide security t the site by following the latest
technology because all the data of all members is proprietary data of the Client’s
Organization and its Associates (Visitors and members)
System Analysis
• System Analysis
At the time of registration a visitor should provide adequate information to use the provided
facilities, like Name, e-mail id, phone numbers, etc.
5.1.3
The web site provides easy links for easy navigation (browse) in the site. A user with
minimum knowledge of web browsing/surfing can access the site very easily. But, due to
dynamic nature of the website the user should be able to understand the usage of the each
facility.
If a user feels any difficulty in understanding any feature, he/she can go through the help
provided in different levels.
Also, if any user is unable to find required information in the web site, he/she can contact
the Experts using Ask-expert service page.
The browser at client side should enable Java script, because of implementation of java-
based client side technology. For the browsers, in which java script is disabled, a page will
be displayed to explain the procedure to enable java script.
Input:
• Admin adds Associate details like Name, Gender Name and generates User ID,
Password
• Admin Add the project details like project name.
• Associate enter the self comments and self assessment details.
• Project manager see the Associate comments and assessment he has
fill his comments and assessment details.
• Supervisor View the Associate and project manager comments finally
he will give the comments and Rating.
Output:
• Associate view his Performance.
• Project manager view the associate self comments and self assessment.
• Supervisor view the Associate and project manager comments.
• Admin generate the Associate performance report.
Software engineering is the practice of using selected process techniques to improve the
quality of a software development effort. This is based on the assumption, subject to
endless debate and supported by patient experience, that a methodical approach to
software development results in fewer defects and, therefore, ultimately provides shorter
delivery times and better value. The documented collection of policies, processes and
procedures used by a development team or organization to practice software engineering is
called its software development methodology (SDM) or system development life cycle
(SDLC).
V-model
The V-model is used to regulate the software development process within the German
federal administration. Nowadays it is still the standard for German federal administration
and defense projects, as well as software developers within in the region.
The concept of the V-Model was developed simultaneously, but independently, in Germany
and in the United States in the late 1980s
The V-Model (or VEE model) is a systems development model designed to simplify the
understanding of the complexity associated with developing systems. In systems
engineering it is used to define a uniform procedure for product or project development.
Advantages
These are the advantages V-Model offers in front of other systems development models:
The users of The V-Model participate in the development and maintenance of The V-Model.
A change control board publicly maintains the V-Model. The change control board meets
once a year and processes all received change requests on The V-Model
At each project start, the V-Model can be tailored into a specific project V-Model, this being
possible because the V-Model is organization and project independent.
The V-Model provides concrete assistance on how to implement an activity and its work
steps, defining explicitly the events needed to complete a work step: each activity schema
contains instructions, recommendations and detailed explanations of the activity.
Limits
The following aspects are not covered by the V-Model, they must be regulated in addition,
or the V-Model must be adapted accordingly.
The organization and execution of operation, maintenance, repair and disposal of the
system are not covered by the V-Model. However, planning and preparation of a concept for
these tasks are regulated in the V-Model.
The V-Model addresses software development within a project rather than a whole
organization.
• Development architecture
1. UI or Presentation Layer,
Presentation layer contains pages like .PHP form where data is presented to the user or
input is taken from the user.
BAL contains business logic, validations or calculations related with the data, if needed. We
will call it Business Access Layer in our project.
The proposed/developed system is a web application and does not require any additional
software requirements except hosting. A web hosting company hosts the web application in
their web servers. Any client (end-user) with an internet connection and a web browsing
software (at client side) can immediately start accessing/using the system. So, the system
does not need any installation/setup procedure. Hence, the system is functionally feasible.
• Economic feasibility
Author (project stakeholder) does not need to purchase any software and hardware to host
the developed system. Web hosting companies purchase and maintain all necessary
hardware and software for hosting the websites. Author has to pay only hosting charges to
the hosting company. When it comes to the end-user, he/she does not need to purchase
any software to use the website. Now-a-days every computer’s operating system is
providing built in web browser and so many web browsing software products are available in
the market for free.
Only the cost that the author should bare is cost of development. Before starting the
development, the development team estimates cost of development depends on the
features asked by the client. If any new features to be added as per the new requirements
of the client, cost of new additions are submitted to the client and after getting the
confirmation from the client the new features will be added by the development team.
Development team will take care of in-time delivery of the project to avoid excess cost of
development due to delay.
• Technical feasibility
This is about acceptance of the new system by the existing end-users and employees of the
system and author. The website is aiming at employees and now-a-days all of them are
aware of web browsing. If any person does not have any idea of web browsing, he/she will
be trained to use the system within one hour time. So, the system can easily be accepted
by any kind of end-user. Hence the proposed system is technically feasible.
System Design
6.0 System Design
6.1 Normalization
What is Normalization?
Normalization is the process of efficiently organizing data in a database. There are two goals
of the normalization process: eliminating redundant data (for example, storing the same
data in more than one table) and ensuring data dependencies make sense (only storing
related data in a table). Both of these are worthy goals as they reduce the amount of space
a database consumes and ensure that data is logically stored.
The database community has developed a series of guidelines for ensuring that databases
are normalized. These are referred to as normal forms and are numbered from one (the
lowest form of normalization, referred to as first normal form or 1NF) through five (fifth
normal form or 5NF). In practical applications, you'll often see 1NF, 2NF, and 3NF along
with the occasional 4NF. Fifth normal form is very rarely.
Before we start of the normal forms, it's important to point out that they are guidelines and
guidelines only. Occasionally, it becomes necessary to stray from them to meet practical
business requirements. However, when variations take place, it's extremely important to
evaluate any possible ramifications they could have on your system and account for possible
inconsistencies. That said, let's explore the normal forms.
First normal form (1NF) sets the very basic rules for an organized database:
Second normal form (2NF) further addresses the concept of removing duplicative data:
These normalization guidelines are cumulative. For a database to be in 2NF, it must first
fulfill all the criteria of a 1NF database.
The data dictionary (or data repository) or system catalog is an important part of the DBMS.
It contains data about data (or metadata). It means that it contains the actual database
descriptions used by the DBMS. In most DBMSs, the data dictionary is active and
integrated. It means that the DBMS checks the data dictionary every time the database is
accessed. The data dictionary contains the following information.
Tables here:
1)TblRole
2)TblProjects
3) tblProjectManagerAssessment
4)tblFinalRatings
5) tblEmployeesRegistration
6) tblEmp_Projects
7) TblEmp_Comments
8) tblAssociatePerformanceAppraisal
9) tblAssociateAssessment
10) tbl_ManagerComments
Data Flow Diagramming is a means of representing a system at any level of detail with a
graphic network of symbols showing data flows, data stores, data processes, and data
sources/destinations.
Purpose:
The purpose of data flow diagrams is to provide a semantic bridge between users and
systems developers. The diagrams are:
The goal of data flow diagramming is to have a commonly understood model of a system.
The diagrams are the basis of structured systems analysis. Data flow diagrams are
supported by other techniques of structured systems analysis such as data structure d
diagrams, data dictionaries, and procedure-representing techniques such as decision tables,
decision trees, and structured English.
Data flow diagrams have the objective of avoiding the cost of:
Description:
Data Flow Diagrams are composed of the four basic symbols shown below.
The External Entity symbol represents sources of data to the system or destinations of
data from the system.
The Data Flow symbol represents movement of data.
The Data Store symbol represents data that is not moving (delayed data at rest).
The Process symbol represents an activity that transforms or manipulates the data
(combines, reorders, converts, etc.).
Any system can be represented at any level of detail by these four symbols.
DFD diagrams
DFD Diagrams
Login
HR(Admin) Activities DFD
1st Level
2nd Level
Associate
1st Level
2nd Level
Project Manager
1st Level
Project Manager
2nd Level
Supervisor
1st Level
Supervisor
2nd Level
6.3.3 Use case diagrams
1) Employee Performance Use case Diagram
The Unified Modeling Language is a powerful tool that can allow developers to construct
high quality applications. While it has existed since the 1990s, it has become more valuable
to developers who are building complex applications. It is also valuable to teams of
developers who are working from remote locations.
UML is both flexible and robust, and it offers teams of developers high levels of
communication. In a time where more developers are working together on projects through
the Internet, high levels of communication have become more important than ever before.
However, there are a number of other things which make UML highly valuable.
The Unified Modeling Language was designed around an object oriented approach. This
means that it is much more flexible than other development approaches. Some UML tools
can allow you to study source code, and reverse engineer in a way which allows it to be
viewed as UML diagrams. There are a number of different UML tools available on the market
today, and they can allow you to execute UML in a number of different ways. While some of
these tools will execute the model in a manner that allows you to define what you want,
they may not have the scalability you need in your for your application.
Some UML tools can allow you to study source code, and reverse engineer in a way which
allows it to be viewed as UML diagrams. There are a number of different UML tools available
on the market today, and they can allow you to execute UML in a number of different ways.
While some of these tools will execute the model in a manner that allows you to define what
you want, they may not have the scalability you need in your for your application.
How UML Helps Projects
When a team of developers is designing a large application, one that must be used by an
enterprise, it is not enough to just put together a collection of code modules. The code
modules must be designed in a way that is scalable, secure, and flexible. In addition to this,
the application must be able to carry out complex processes during stressful conditions.
The structure of an application is often known as its architecture, and the architecture must
be defined in a way which allows the maintenance programmer to easily find bugs and fix
them. Because many bugs don't show up until long after the develop process, the
programmer should be able to fix them quickly.
Once this happens, fixing bugs will become time consuming and difficult. Once you're done
with one project, it’s very likely that you will want to move on to another one. Having to go
back and find difficult bugs in an older project is time consuming, and it reduces the
productivity of your team. Instead of focusing on your new project, you're spending time
fixing up old ones. UML is powerful because it can make your team more efficient, and if
you need to go fix a bug on an older project, it can be done with ease. UML is also proficient
in allowing developers to communicate efficiently if they're working from different locations.
UML Symbols
6.4 Functional design diagrams
2) Registration Diagram
3) Admin (HR) Add Projects collaboration Diagram
1)Login Diagram
2)Registration Diagram
7.1 Coding
Login
<?php
session_start();
$mp=1;
include("header.php");
include("slider.php");
?>
<div id="templatemo_content">
<div id="templatemo_content_left">
<div class="header_02">Welcome to Design Team</div>
<div class="image_frame_02"><a href="#"><img
src="images/templatemo_image_02.jpg" alt="image" /></a></div>
<p class="bi_para">This website template is provided by <a
href="http://www.templatemo.com" target="_parent">TemplateMo.com</a>. You may
download, modify and apply this layout for your personal or business
websites. Credit go to <a href="http://king-manga-man.deviantart.com/"
target="_blank">King-manga-man</a> and <a href="http://www.photovaco.com"
target="_blank">Free Photos</a> for photos.</p>
<p>Sed consectetur, lacus et dictum tristique, odio neque elementum
ante, nec eleifend leo dolor vel tortor. Vivamus vulputate felis. Etiam
luctus. Quisque facilisis suscipit elit. Curabitur eleifend.</p>
<div class="rc_btn_02"><a href="#">Read more</a></div>
<div class="margin_bottom_40"></div>
<div class="content_left_two_column">
<div class="header_02"> Innovations</div>
<p>Fusce faucibus tincidunt leo vitae pretium. Fusce auctor
risus sit amet metus viverra vestibulum. Nunc at arcu nisl.</p>
<ul>
<li>Praesent nec placerat ipsum</li>
<li>Curabitur vitae semper arcu</li>
<li>Sed mattis mi sit amet</li>
<li>Nunc sit amet erat in nibh</li>
</ul>
<div class="rc_btn_02"><a href="#">Read more</a></div>
</div>
<div class="cleaner"></div>
</div> <!-- end of content left -->
<div id="templatemo_content_right">
<div class="content_right_section">
<div class="news_section">
<div class="news_image"></div>
</div>
<div class="margin_bottom_20"></div>
<div class="margin_bottom_20"></div>
<div class="margin_bottom_20"></div>
</div>
<div class="cleaner"></div>
</div>
<?php
include("footer.php");
?>
Index
<?php
session_start();
if(@$_SESSION['logintype'] == "Admin")
{
header("Location: adminhome.php");
}
if(@$_SESSION["logintype"] == "Employee")
{
header("Location: employeehome.php");
}
$mp=1;
include("header.php");
include("dbconnection.php");
include("slider.php");
?>
<div id="templatemo_content">
<div id="templatemo_content_left">
<div class="header_02">Online Employee payroll and Task
management system</div>
<div class="image_frame_02"><a href="#"><img
src="images/templatemo_image_02.jpg" alt="image" /></a></div>
<p>Our project <strong>Employee payroll and Task Management
System </strong>is an online application we create a website to check No. of
employees in each branch, Employees records, Tasks and time frame,
attendance records, salary details, etc.</p>
<p class="bi_para"> </p>
<div class="rc_btn_02"></div>
<div class="margin_bottom_40"></div>
</div>
<div class="content_left_two_column">
<div class="header_02"></div>
<ul>
<li><strong>Administrator</strong>: The administrator is a
super user and he has complete control over all activities the can be
performed. The administrator can view Branch details, Employee details, task
details, salary details, etc.</li>
<li><strong>Brach Manager:</strong> The branch manager who
handles employees and he assign tasks to his employees. </li>
<li><strong>Employees</strong>: Employees are the co-
workers and they will complete the task given by the branch manager.</li>
</ul>
<p> </p>
</div>
<div class="cleaner"></div>
</div> <!-- end of content left -->
<div id="templatemo_content_right">
<div class="content_right_section">
<div class="margin_bottom_20"></div>
<div class="margin_bottom_20"></div>
<div class="margin_bottom_20"></div>
</div>
<div class="cleaner"></div>
</div>
<?php
include("footer.php");
?>
Admin Profile
<?php
session_start();
include("header.php");
include("dbconnection.php");
$insdb =@"INSERT INTO
project(projectname,projectdescription,teammember,branchid,startdate,enddate,
noofdays,projectdocs,projectstatus) VALUES
('$_POST[projectname]','$_POST[description]','$_POST[teammember]','$_POST[bra
nchid]',
'$_POST[startdate]','$_POST[enddate]','$_POST[noofdays]','$_POST[projectdocs]
','$_POST[projectstatus]')";
mysql_query($insdb,$con);
?>
<div id="templatemo_content">
<div id="templatemo_content_left">
<div class="header_02">Admin home</div>
<p class="bi_para">Administrator Home Page</p>
<p class="bi_para"> Welcome <?php echo
@$_SESSION['names']; ?></p>
<div class="rc_btn_02"></div>
<div class="margin_bottom_40"></div>
<div class="cleaner"></div>
</div> <!-- end of content left -->
<div id="templatemo_content_right">
<div class="content_right_section">
<?php
include("adminsidebar.php");
?>
<div class="news_section">
<div class="news_image"></div>
</div>
<div class="margin_bottom_20"></div>
<div class="margin_bottom_20"></div>
<div class="margin_bottom_20"></div>
</div>
<div class="cleaner"></div>
}
?>
<div id="templatemo_content">
<div id="templatemo_content_left">
<div class="header_02">
<h2>View Project</h2>
</div>
<div class="header_02">
<?php
if(isset($_SESSION['loginid']))
{
?>
<strong><a href="addnewprojects.php">Add Project</a></strong><br
/>
</a>
<?php
}
?>
</div>
<table width="630" border="1">
<tr bgcolor="#FFFFCC">
<th width="127" scope="col">Project Name</th>
<th width="99" scope="col">Branch ID</th>
<th width="146" scope="col">Start Date</th>
<th width="109" scope="col">End Date</th>
<th width="115" scope="col">Project status</th>
</tr>
<?php
while($arrvarpro=mysql_fetch_array($qresult))
{
echo "</td>
<td> $arrowsbr[branchname]</td>
<td> $arrvarpro[startdate]</td>
<td> $arrvarpro[enddate]</td>
<td> $arrvarpro[projectstatus]</td>
</tr>";
}
?>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
<p> </p>
<div class="rc_btn_02"></div>
<div class="margin_bottom_40"></div>
<div class="cleaner"></div>
</div> <!-- end of content left -->
<div id="templatemo_content_right">
<div class="content_right_section">
<?php
if(isset($_SESSION['emid']))
{
include("empsidebar.php");
}
else
{
include("adminsidebar.php");
}
?>
<div class="news_section">
<div class="news_image"></div>
<div class="news_content">
<div class="news_title"></div>
</div>
</div>
<div class="news_section">
<div class="news_content"> </div>
</div>
<div class="margin_bottom_20"></div>
</div>
<div class="cleaner"></div>
</div>
<?php
include("footer.php");
?>
Massage
<?php
session_start();
include("header.php");
include("dbconnection.php");
if(isset($_SESSION['loginid']))
{
$sentto = $_SESSION['loginid'];
}
else
{
$sentto = $_SESSION['login'];
}
$dttim = date("Y-m-d h:i:s");
$result = mysql_query("SELECT * FROM employees");
if(isset($_POST["sendmesage"]))
{
$insdb ="INSERT INTO message(senderid,receiverid,msgtitle,msg,datetime)
VALUES
('$sentto','$_POST[senderid]','$_POST[subject]','$_POST[message]','$dttim')";
mysql_query($insdb,$con);
if(mysql_affected_rows() == 1)
{
$msgres ="Message Sent successfully...";
}
}
?>
<div id="templatemo_content">
<div id="templatemo_content_left">
<div class="header_02">Compose Message</div>
<p class="bi_para"><a href="inbox.php"><strong> View
Message</strong></a> <?php echo @$msgres; ?></p>
<form id="form1" name="form1" method="post" action="">
<table width="500" border="0">
<tr>
<th height="41" scope="col">
<?php
if(isset($_POST["messageid"]))
{
echo "<label for='to2'>Reply to:</label>";
}
else
{
echo "<label for='to2'>TO:</label>";
}
?>
<label for="subject2"></label></th>
<th scope="col" align="left">
<?php
if(isset($_POST["messageid"]))
{
echo $_POST["senderid"];
echo "<input name='senderid' type='hidden'
value='$_POST[senderid]' />";
}
else
{
?>
<select name="senderid" id="to">
<option> Select Employee</option>
<?php
while($row = mysql_fetch_array($result))
{
echo "<option value='". $row['loginid'] . "'>"
. $row['loginid'] ."</option>";
}
?>
</select>
<?php
}
?>
</th>
</tr>
<tr>
<td><label for="subject3">Subject:</label>
<label for="message2"></label></td>
<td><input name="subject" type="text" id="subject"
value="" size="40" /></td>
</tr>
<tr>
<td><label for="message3">Message</label></td>
<td><textarea name="message" id="message" cols="45"
rows="5"></textarea></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="sendmesage"
id="sendmesage" value="Send Message" />
<input type="submit" name="cancel" id="cancel"
value="Cancel" /></td>
</tr>
</table>
<br>
</form>
<p> </p>
<div class="rc_btn_02"></div>
<div class="margin_bottom_40"></div>
<div class="cleaner"></div>
</div> <!-- end of content left -->
<div id="templatemo_content_right">
<div class="content_right_section">
<?php
if($_SESSION["logintype"] = "Admin")
{
include("adminsidebar.php");
}
else
{
include("empsidebar.php");
}
?>
<div class="margin_bottom_20"></div>
<a href="http://jigsaw.w3.org/css-validator/check/referer"></a>
</div>
<div class="cleaner"></div>
</div>
<?php
include("footer.php");
?>
Chat
<?php
session_start();
include("header.php");
include("dbconnection.php");
$result1 = @mysql_query("SELECT * FROM project where
branchid='$_SESSION[brid]'");
if(isset($_POST['branchid']))
{
$resul = mysql_query("SELECT * FROM employees where
branchid='$_POST[branchid]'");
}
?>
<div id="templatemo_content">
<div id="templatemo_content_left">
<div id="templatemo_content">
<div id="templatemo_content_left">
<input type="button" value="Click Here to Chat"
onclick="window.open('chatsend.php','popUpWindow','height=550,width=425,left=
100,top=100,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,d
irectories=no, status=yes');">
<form action="" method="post" enctype="multipart/form-data"
name="form1" id="form1">
<p>
<label for="Branch">Select project : </label>
</tr>
<?php
while(@$arrvar=mysql_fetch_array(@$resul))
{
$resul2 = mysql_query("SELECT * FROM branch where
branchid='$arrvar[branchid]'");
$arrvar2=mysql_fetch_array($resul2);
echo " <tr>
<td> $arrvar[fname] $arrvar[lname]</td>
<td> $arrvar[loginid]</td>
<td> $arrvar2[branchname]</td>
<td> ";
?>
<input type="button" value="Click Here to Chat"
onclick="window.open('chatsend.php','popUpWindow','height=550,width=425,left=
100,top=100,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,d
irectories=no, status=yes');">
<?php
echo " </td>
</tr>";
}
?>
</table>
<p><br />
</p>
</table>
</form>
<p> </p>
<div class="rc_btn_02"></div>
<div class="margin_bottom_40"></div>
<div class="cleaner"></div>
</div> <!-- end of content left -->
<div id="templatemo_content_right">
<div class="content_right_section">
<?php
if($_SESSION["logintype"] = "Admin")
{
include("adminsidebar.php");
}
else
{
include("empsidebar.php");
}
?>
<div class="margin_bottom_20"></div>
<div class="margin_bottom_20"></div>
<div class="margin_bottom_20"></div>
</div>
<div class="cleaner"></div>
</div>
<?php
include("footer.php");
?>
Salary
<?php
session_start();
include("header.php");
include("dbconnection.php");
if(isset($_SESSION['emid']))
{
$qresult=mysql_query("select * from salary where empid='$_SESSION[emid]'");
}
else
{
$qresult=mysql_query("select * from salary");
}
?>
<div id="templatemo_content">
<div id="templatemo_content_left">
<div>
<p>View Salary<br />
</p>
</div>
<table width="500" border="1">
<tr>
<th scope="col">Employee ID</th>
<th scope="col">Branch ID</th>
<th scope="col">Month & year</th>
<th scope="col">Basic Salary</th>
<th scope="col">Bonus Salary</th>
<th scope="col">PF</th>
<th scope="col">HRA</th>
<th scope="col">LIC</th>
<th scope="col">Total Salary</th>
</tr>
<?php
while($arrvarsal=mysql_fetch_array($qresult))
{
?>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
<p> </p>
<div class="rc_btn_02"></div>
<div class="margin_bottom_40"></div>
<div class="cleaner"></div>
</div> <!-- end of content left -->
<div id="templatemo_content_right">
<div class="content_right_section">
<?php
if($_SESSION["logintype"] = "Admin")
{
include("adminsidebar.php");
}
else
{
include("empsidebar.php");
}
?>
<div class="news_section">
<div class="news_image"></div>
<div class="news_content">
<div class="news_title"></div>
</div>
</div>
<div class="news_section">
<div class="news_content"> </div>
</div>
<div class="margin_bottom_20"></div>
</div>
</div> <!-- end of content right -->
<?php
include("footer.php");
?>
GALLERY
<?php
session_start();
include("header.php");
include("dbconnection.php");
if(isset($_SESSION['emid']))
else
{
?>
<div id="templatemo_content">
<div id="templatemo_content_left">
<div>
</p>
</div>
<tr>
<th scope="col">PF</th>
<th scope="col">HRA</th>
<th scope="col">LIC</th>
</tr>
<?php
while($arrvarsal=mysql_fetch_array($qresult))
<td> $arrvarsal[empid]</td>
<td> $arrvarsal[branchid]</td>
<td> $arrvarsal[month]$arrvarsal[year]</td></td>
<td> $arrvarsal[basicsalary]</td>
<td> $arrvarsal[bonussalary]</td>
<td> $arrvarsal[pf]</td>
<td> $arrvarsal[hra]</td>
<td> $arrvarsal[lic]</td>
<td> $arrvarsal[totalsalary]</td>
</tr>";
?>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
<p> </p>
<div class="rc_btn_02"></div>
<div class="margin_bottom_40"></div>
<div class="cleaner"></div>
<?php
if($_SESSION["logintype"] = "Admin")
include("adminsidebar.php");
else
include("empsidebar.php");
?>
<div class="news_section">
<div class="news_image"></div>
<div class="news_content">
<div class="news_title"></div>
</div>
</div>
<div class="news_section">
</div>
<div class="margin_bottom_20"></div>
</div>
<div class="cleaner"></div>
</div>
<?php
include("footer.php");
?>
Index
<?php
session_start();
if(@$_SESSION['logintype'] == "Admin")
header("Location: adminhome.php");
if(@$_SESSION["logintype"] == "Employee")
header("Location: employeehome.php");
$mp=1;
include("header.php");
include("dbconnection.php");
include("slider.php");
?>
<div id="templatemo_content">
<div id="templatemo_content_left">
<p class="bi_para"> </p>
<div class="rc_btn_02"></div>
<div class="margin_bottom_40"></div>
<div class="header_02"></div>
</div>
<div class="content_left_two_column">
<div class="header_02"></div>
<ul>
</ul>
<p> </p>
</div>
<div class="cleaner"></div>
<div id="templatemo_content_right">
<div class="content_right_section">
<div class="header_02"><u>New Projects</u></div>
<?php
?>
<div class="news_section">
<div class="news_image"></div>
</div>
<div class="margin_bottom_20"></div>
<div class="margin_bottom_20"></div>
<div class="margin_bottom_20"></div>
</div>
<div class="cleaner"></div>
</div>
<?php
include("footer.php");
?>
Employee
<?php
$timezone = "Asia/Calcutta";
if(function_exists('date_default_timezone_set'))
date_default_timezone_set($timezone);
include("header.php");
include("dbconnection.php");
$logindt = date("Y-m-d");
$counts = mysql_num_rows($qresult);
if(isset($_POST["login"]))
mysql_query($insdb,$con);
$affrow = mysql_affected_rows();
if($affrow == 1)
$_SESSION["emplogin"] ="SET";
if(isset($_POST["logout"]))
mysql_query($insdb,$con);
$affrow = mysql_affected_rows();
if($affrow == 1)
$counts = mysql_num_rows($qresult);
?>
<div id="templatemo_content">
<div id="templatemo_content_left">
<tr>
</p>
<?php
if(@$affrow == 1)
echo $att;
?>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
<td> <?php
$rowsrec = mysql_fetch_array($txtb);
echo $rowsrec["branchname"];
?></td>
</tr>
<?php
if($counts == 0)
?>
<tr>
</tr>
<?php
}
else
?>
<tr>
</tr>
<?php
?>
<tr>
<th scope="row"> </th>
<td>
<?php
if($counts == 0)
?>
<?php
else
?>
<?php
?>
</td>
</tr>
</table>
</form>
<p> </p>
<div class="rc_btn_02"></div>
<div class="margin_bottom_40"></div>
<div class="cleaner"></div>
<div id="templatemo_content_right">
<div class="content_right_section">
<?php
if(@$_SESSION["loginid"] == "admin")
include("adminsidebar.php");
else
include("empsidebar.php");
?>
<div class="news_section">
<div class="news_content">
<div class="news_title"></div>
</div>
</div>
<div class="margin_bottom_20"></div>
<div class="margin_bottom_20"></div>
<div class="margin_bottom_20"></div>
</div>
<div class="cleaner"></div>
</div>
<?php
include("footer.php");
?>
Task
<?php
session_start();
include("header.php");
include("dbconnection.php");
if(isset($_POST['submit']))
$docfile = $_FILES["file"]["name"];
move_uploaded_file($_FILES["file"]["tmp_name"],"upload/" .
$_FILES["file"]["name"]);
VALUES ('$_POST[teamid]','$_POST[employee]',
'$_POST[task]','$_POST[others]','$docfile')";
mysql_query($insdb,$con);
$rowsrecd = mysql_fetch_array($txtc);
$proinfo =$rowsrecd['teaminfo'];
?>
<div id="templatemo_content">
<div id="templatemo_content_left">
<?php
if($_SESSION["logintype"] != "Admin")
?>
<tr>
<?php
echo $proinfo;
?>
</td>
</tr>
<tr>
<?php
while($rw = mysql_fetch_array($txtd))
?>
</select></td>
</tr>
<tr>
</th>
</tr>
<tr>
</tr>
<tr>
<th scope="row"><label
for="documents2">Documents</label></th>
</tr>
<tr>
</tr>
</table>
</form>
<?php
?>
<tr bgcolor="#99CCFF">
<th scope="col">Task</th>
<th scope="col">Documents</th>
</tr>
<?php
while($arrrecs = mysql_fetch_array($txtef))
while($arrg = mysql_fetch_array($txtefg))
echo "<tr>
<td>
$names
</td>
<td> $arrrecs[task]</td>
<td> $arrrecs[others]</td>
<td> <a
href='upload/$arrrecs[documents]'>$arrrecs[documents]</a></td>
</tr>";
?>
</table>
<p> </p>
<div class="rc_btn_02"></div>
<div class="margin_bottom_40"></div>
<div class="cleaner"></div>
<div id="templatemo_content_right">
<div class="content_right_section">
<?php
if(isset($_SESSION['emid']))
{ include("empsidebar.php");
}else
{include("adminsidebar.php");
?>
<div class="margin_bottom_20"></div>
<div class="margin_bottom_20"></div>
<div class="margin_bottom_20"></div>
</div>
<div class="cleaner"></div>
</div>
<div class="news_section">
<div class="news_image"></div>
</div>
<div class="margin_bottom_20"></div>
<div class="margin_bottom_20"></div>
<div class="margin_bottom_20"></div>
</div>
<?php
include("footer.php");
?>
7.2 Screens
Login
Home
Admin Profile
New Branch
Projects
Message
Chat
Salary
Employee
Task
Post Development
8.0 Post Development
A test plan documents the strategy that will be used to verify and ensure that a product or
system meets its design specifications and other requirements. A test plan is usually
prepared by or with significant input from Test Engineers.
Depending on the product and the responsibility of the organization to which the test plan
applies, a test plan may include one or more of the following:
Service and Repair test - to be performed as required over the service life of the product.
A complex system may have a high level test plan to address the overall requirements and
supporting test plans to address the design details of subsystems and components.
Test plan document formats can be as varied as the products and organizations to which
they apply. There are three major elements that should be described in the test plan: Test
Coverage, Test Methods, and Test Responsibilities. These are also used in a formal test
strategy.
Manual testing is the oldest and most rigorous type of software testing. Manual testing
requires a tester to perform manual test operations on the test software without the help of
Test automation. Manual testing is a laborious activity that requires the tester to possess a
certain set of qualities; to be patient, observant, speculative, creative, innovative, open-
minded, resourceful, unopinionated, and skillful.
Steps for Manual Testing
A manual tester would typically perform the following steps for manual testing:
• Record any new defects uncovered during the test case execution
There is no complete substitute for manual testing. Manual testing is crucial for testing
software applications more thoroughly. Test automation has become a necessity mainly due
to shorter deadlines for performing test activities, such as regression testing, performance
testing, and load testing.
Conclusion
9.0 Conclusion
The developed project is fulfilling all the currently addressed requirements of the client
(stakeholder). The development team will provide the following services after successful
deployment of the project.
www.tutorialspoint.com
• FOR MY SQL
www.mysql.net
FOR PHP
www.php.net
Korth