You are on page 1of 70

TASK MANAGEMENT SYSTEM

CHAPTER 1
1. INTRODUCTION

1.1 COLLEGE PROFILE

“Thiyagi Dharmakkan Amirtham(TDA) College of Arts and Science “was started


in the year 2012 in Kannirajapuram, Ramanathapuram and one of the leading Arts college in
Ramnad district.”Mr. C.Rangananathan” (founder), who has the helping minded have
established a strong college in the district. They provide a service to the younger people to
produce a knowledge to the rural area peoples.

They have few students in the first few years and later they have several students because
they produce a quality students to the society. They also provide a service for the student to
give knowledge at low fees.

Nowadays they have several students and also they want to decide give more knowledge to
the poor people so they want to start PG courses in the college. They started PG courses in
2014 with low fees. The college management give opportunity to their students who have
completed PG in their college to work in college at assistant professor it was very helpful for
the poor peoples.

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 1


TASK MANAGEMENT SYSTEM

2. PROJECT ANALYSIS

2.1 EXISTING SYSTEM

Existing system is manual system which contains many ledgers for storing all the
information regarding employee details, employee tasks, etc. Since human manages all the
activities belonging to the employee working in the company there are large chances for
human error.

As there is lot of data work involved, skilled employees are used. So it becomes
dependable for the management on these people. The reports are not verified to the highest
extend to avoid any miscommunication and misfortune of the company. Existing system is a
manual one in which all the arrangement is maintained and producing report manually. It is a
slow process. So the employee assessment time was very high they spend lot a time also the
database management was not secure.

2.2 DRAWBACKS OF EXISTING SYSTEM


The draw backs faced by the existing system are as follows:
 There may be errors occurring while entering the details manually.
 Various activities are difficult to carryout manually.
 Time consumption is very high.
 No security, More expensive

2.3 PROPOSED SYSTEM

The proposed system overcomes all the drawbacks in the existing system. This project
gets the details of the employees and their assigned tasks systemized work so the employees
and admin view data at a seconds.

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 2


TASK MANAGEMENT SYSTEM

The proposed system has its own advantage such as quick in processing. The
proposed system would avoid all the errors in the manual system. It also reduces human
Labors and time. The proposed system is found necessary to reduce the lot of manual work in
the system. It also has the security to maintain a data in the company.

2.4 ADVANTAGES OF PROPOSED SYSTEM


 Efficient recording of details at various stages.
 More efficient insertion, deletion and modification capabilities of the recorded
details.
 New system with user friendly menus.
 It take less time and low cost
2.5 FEASIBILITY STUDIES

Feasibility studies aim to objectively and rationally uncover the strengths and
weaknesses of an existing business or proposed venture, opportunities and threats present in
the environment, the resources required to carry through, and ultimately the prospects for
success. In its simplest terms, the two criteria to judge feasibility are cost required and value
to be attained.

There are four types of feasibility studies

 Operational Feasibility
 Economic Feasibility
 Technical Feasibility
 Social feasibility

2.5.1 OPERATIONAL FEASIBILITY

Operational feasibility is a measure of how well a proposed system solves the problems, and
takes advantage of the opportunities identified during scope definition and how it satisfies the
requirements identified in the requirements analysis phase of system development.

The operational feasibility assessment focuses on the degree to which the proposed
development projects fits in with the existing business environment and objectives with

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 3


TASK MANAGEMENT SYSTEM

regard to development schedule, delivery date, corporate culture, and existing business
processes.

2.5.2 ECONOMIC FEASIBILITY

The purpose of the economic feasibility assessment is to determine the positive economic
benefits to the organization that the proposed system will provide. It includes quantification
and identification of all the benefits expected. This assessment typically involves a cost/
benefits analysis.

2.5.3 TECHNICAL FEASIBILITY

The technical feasibility assessment is focused on gaining an understanding of the present


technical resources of the organization and their applicability to the expected needs of the
proposed system. It is an evaluation of the hardware and software and how it meets the need
of the proposed system.

2.5.4 SOCIAL FEASIBILITY

Social feasibility is a detailed study on how one interact with others within a system or an
organization. This study is to check the level of acceptance by the user and this level of
acceptance depends on the methods employed to know about the system utility to the users.

2.6 PROJECT SCOPE

2.6.1 HORIZONTAL SCOPE


 Horizontal scope is another type of project scope, in which the first phase can be
continued after the second phase and vice versa.
 Since the RAD application is very helpful to go back to the previous phases, therefore
this application follows horizontal scope.
2.6.2 VERTICAL SCOPE

 Vertical scope is another type of project scope, in which the second phase will start
only after the completion of first phase.

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 4


TASK MANAGEMENT SYSTEM

2.7 PROJECT ESTIMATION

2.7.1COST ESTIMATION

Project plan : 1,500

Software and implementation : 5,000

Testing : 1,000

Training and support : 1,000

Maintenance : 1,500

Total Rs. 10,000

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 5


PROBLEM SOLUTION
TASK MANAGEMENT SYSTEM
System failure To Keep Backups Safely

Staffs may not have technical skills To give training for workers

Natural calamities earth quakes To Keep printouts.

2.7.2 TIME ESTIMATION

Month November December January February March D

Phase Y

S
Title confirmation 9

Project initiation 10

Project plan 15

Project analysis 15

Project design 18

Project 20
development

Project audit and 15


control

Testing 9

Final 14
Implementation

TOTAL DAYS 125

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 6


TASK MANAGEMENT SYSTEM

OPERATING SYSTEM : Windows 7

ENVIRONMENT : PHP

FRONT END : HTML & CSS

BACKEND : MySQL

4. PROJECT DESIGN

4.1 MODULE DESIGN AND DESCRIPTION


The Modules Are

 Login Page
 Admin Home Page
 User Home Page
 Task
 Commenting on task page
 All Task (View Only)

4.1.1 LOGIN PAGE


Every user must login by his user name and password. After clicking on Log in
button codes behind the page will call a method of UserManager class, Check UserId And

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 7


TASK MANAGEMENT SYSTEM

Password (userID, password), which takes user ID and password as parameter check it with
database if any match found returns user type. If no match found this method will return
empty string and which conclude as wrong password. Code also adds a session variable
which is user id.

After log in Admin user and user will see different type of home page according to their
user type.

4.1.2 ADMIN HOME PAGE


Admin Home Page have used two different Master pages for two different user types.
Admin master page has a manu which provides administrative privilege.
4.1.3 USER HOME PAGE
This module mainly for the Employees Both Master page retrieve the user id from
session variable and populate users task and project list.
4.1.4 TASK
If a user clicks a task, page is redirect to another page, where he will be able to see
task detail, comments, and attachments with this task. He can comment on the task, attach
files, and download files attached with the task. If user wants to forward the task to any other
employee he can also forward the task.

4.1.5 COMMENTING ON TASK PAGE


User can comment on this task. This comment can be used as a note or as an
instruction.

4.1.6 ALL TASK (VIEW ONLY)


An admin can view all tasks (assigned + non-assigned)

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 8


TASK MANAGEMENT SYSTEM

4.2 DATA FLOW DIAGRAM/ENTITY RELATIONSHIP DIAGRAM

DESIGN NOTATIONS

- Entity

- Dataflow

- Process

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 9


TASK MANAGEMENT SYSTEM

- Storage

- Relationship

- Attributes

- Multi-valued attribute

LEVEL 0

Admin Task

Management
Task details system
Database
AttendanceSales
details

User

LEVEL 1

Admin Data Entry


Thiyagi Dharmakkan Amirtham College of Arts and Science Page 10
TASK MANAGEMENT SYSTEM

User User details

Attendance Attendance details

Task allotment Task allotment


details

LEVEL 2

View Process
Admin
Task
allotment

Attendance
User
Details

User Profile

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 11


TASK MANAGEMENT SYSTEM

Figure 4.2 DATA FLOW DIAGRAM

4.3 FLOW CHART/ USE CASE DIAGRAM

USECASE DIAGRAM FOR DEPARTMENTAL STORE MAINTENANCE SYSTEM

USER

Task details
ADMIN

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 12


TASK MANAGEMENT SYSTEM

Attendance details

User Profile

User details

Figure 4.3.USE CASE DIAGRAM

4.4DATABASE TABLE DESIGN


A database is a collection of information. A primary objective of a database management
system is to provide a convenient environment to retrieve and store database information. The
most popular and flexible database system is the relational database management system. The
RDBMS organizes data in the form of tables.

4.4.1 ADMIN LOGIN TABLE


Number Of fields :2

Field name Type Size Description


Uname Varchar 50 User name
Pass Varchar 50 Password

4.4.2 USER LOGIN TABLE


Number Of fields :2

Field name Type Size Description


Uuname Varchar 50 User name

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 13


TASK MANAGEMENT SYSTEM

Upass Varchar 50 Password

4.4.3 USER DETAILS TABLE


Primary key :Username

Number Of fields :7

Field name Type Size Description


Name Char 10 Employee name
Department Varchar 50 EmployeeDepartment
DOJ Varchar 30 Date of Join
Edu_qual Varchar 10 Educational
Qualification
Uname Varchar 50 User name
Pass Varchar 50 Password
Cpass Varchar 50 Confirm password

4.4.4 TASK DETAILS TABLE


Primary key :taskid

Number of fields :5

Field name Type Size Description


taskid Varchar 50 Task ID
taskname Varchar 50 Task name
Ass_date Varchar 50 Task Assigned Date
Task_status Varchar 50 Task Status
Total_days Int 50 Total days for task
completion

4.4.5 ATTENDANCE DETAILS TABLE


Primary key :attno

Number of fields :3

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 14


TASK MANAGEMENT SYSTEM

Field name Type Size Description


attno Int 10 Attendance ID
Time_in Int 10 Time In
Time_out Int 10 Time Out

CHAPTER 5
5. PROJECT DEVELOPMENTS AND TESTING

5.1 SAMPLE CODING

DBConnection
<?php

$servername = "localhost";

$username = "root";

$password = "tiger";

$dbname = "task";

// Create connection

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 15


TASK MANAGEMENT SYSTEM

$conn = mysqli_connect($servername, $username, $password, $dbname);

// Check connection

if (!$conn) {

die("Connection failed: " . mysqli_connect_error());

?>

HOME PAGE

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8">

<link rel="icon" href="images/demo/postulate.png" />

<meta http-equiv="X-UA-Compatible" content="IE=edge">

<title>Postulate Payroll | Log in</title>

<!-- Tell the browser to be responsive to screen width -->

<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"


name="viewport">

<!-- Bootstrap 3.3.7 -->

<!-- Bootstrap 3.3.7 -->

<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css">

<!-- Font Awesome -->

<link rel="stylesheet" href="bower_components/font-awesome/css/font-awesome.min.css">

<!-- Ionicons -->

<link rel="stylesheet" href="bower_components/Ionicons/css/ionicons.min.css">

<!-- Theme style -->

<link rel="stylesheet" href="dist/css/AdminLTE.min.css">

<!-- iCheck -->

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 16


TASK MANAGEMENT SYSTEM

<link rel="stylesheet" href="plugins/iCheck/square/blue.css">

<!-- HTML5 Shim and Respond.js 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="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>

<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>

<![endif]-->

<!-- Google Font -->

<link rel="stylesheet" href="https://fonts.googleapis.com/css?


family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">

<style>

.wrapper.col1 {

height: 15%;

</style>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<link rel="stylesheet" href="layout/styles/layout.css" type="text/css" />

<script type="text/javascript" src="layout/scripts/jquery.min.js"></script>

<script type="text/javascript" src="layout/scripts/jquery.slidepanel.setup.js"></script>

<!-- Homepage Only Scripts -->

<script type="text/javascript" src="layout/scripts/jquery.cycle.min.js"></script>

<style>

img.logo {

margin-bottom: -5%;

margin-left: 9%;

margin-top: 0%;

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 17


TASK MANAGEMENT SYSTEM

</style>

</head>

<body class="hold-transition login-page">

<div class="login-box">

<div class="login-logo">

<a href="../index.php"><img src="images/demo/infotech.png" alt="Postulate Info Tech" /></a>

</div></br></br>

<!-- /.login-logo -->

<div class="login-box-body">

<p class="login-box-msg">Sign in to start your session</p>

<form action="login.php" method="post" autocomplete="on">

<div class="form-group has-feedback">

<input type="text" class="form-control" placeholder="User Name" id="ename" name="ename"


value= "<?php if(isset($_COOKIE['username'])) echo $_COOKIE['username']; ?>" required>

<span class="glyphicon glyphicon-envelope form-control-feedback"></span>

</div>

<div class="form-group has-feedback">

<input type="password" class="form-control" placeholder="Password" id="epsw" name="epsw"


value= "<?php if(isset($_COOKIE['password'])) echo $_COOKIE['password']; ?>" required>

<span class="glyphicon glyphicon-lock form-control-feedback"></span>

</div>

<div class="row">

<div class="col-xs-8">

<div class="checkbox icheck">

<label>

<input type="checkbox" id="remember" name="remember" <?php


if(isset($_COOKIE['password'])) echo "Checked"; ?>> Remember Me

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 18


TASK MANAGEMENT SYSTEM

</label>

</div>

</div>

<!-- /.col -->

<div class="col-xs-4">

<button type="submit" class="btn btn-primary btn-block btn-flat">Sign In</button>

</div>

<!-- /.col -->

</div>

</form> </br>

<div class="form-group">

<button type="button" class= "btn btn-primary btn-block btn-flat"


style="text-align:right;" id="addemp" name="addemp" data-toggle="modal" data-
target="#regdlg">Employee Registration Form</button></br>

</div>

<a href="#">I forgot my password</a><br>

</div>

<!-- /.login-box-body -->

</div>

<!-- /.login-box -->

<div class="modal fade" id="regdlg">

<div class="modal-dialog">

<div class="modal-content">

<div class="modal-header" style="background-color:#00a7d0 !important">

<button type="button" class="close" data-dismiss="modal" aria-label="Close">

<span aria-hidden="true">&times;</span></button>

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 19


TASK MANAGEMENT SYSTEM

<h4 class="modal-title" style="color:white; text-align: center;">Employee Registration


Form</h4>

</div>

<div class="modal-body" >

<div class="imgcontainer" style="text-align: center;" >

<img src="images/employee.png" alt="Avatar" class="img"


style="text-align:center;">

</div>

<form class="modal-content animate" action="register.php"


method="post" enctype="multipart/form-data">

<div class="form-group">

<label><b> Employee name</b></label>

<input type="text" class ="form-control" placeholder="Enter


Employee name" name="ename" id="ename" required>

</div>

<div class="form-group">

<label><b> Gender</b></label>

<input type="radio" name="gender" value="male"


checked> Male &nbsp &nbsp

<input type="radio" name="gender" value="female">


Female &nbsp &nbsp</br>

</div>

<div class="form-group">

<label><b> Date of Birth</b></label>

<input type="date" class ="form-control"


placeholder="Enter Employee Date of Birth" name="edob" id="edob">

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 20


TASK MANAGEMENT SYSTEM

</div>

<div class="form-group">

<label><b>Personal Mail Id</b></label>

<input type="email" class ="form-control"


placeholder="Employee Personal E-mail Id" name="emmail" id="emmail" required>

</div>

<div class="form-group">

<label><b> Office Mail Id</b></label>

<input type="email" class ="form-control"


placeholder="Employee Office E-mail Id" name="eoffmail" id="eoffmail">

</div>

<div class="form-group">

<label><b> Phone Number</b></label>

<input type="text" class ="form-control" placeholder="Enter


Phone Number" name="ephone" id="ephone" required>

</div>

<div class="form-group">

<label><b> Qualification </b></label>

<input type="text" class ="form-control" placeholder="Enter


Qualification" name="empqual" id="empqual" required>

</div>

<div class="form-group">

<label><b> Date of Joining</b></label>

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 21


TASK MANAGEMENT SYSTEM

<input type="date" class ="form-control"


placeholder="Enter Employee Date of Join" name="empdoh" id="empdoh">

<!-- <div class="input-group date">

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

<i class="fa fa-calendar"></i>

</div>

<input type="text" class="form-control pull-right" id="datepicker" name="empdoh"


placeholder="Select Date mm/dd/yyyy" >

</div>-->

</div>

<div class="form-group">

<label><b> Designation </b></label>

<select class="form-control" id="edes" name= "edes" >

<?php

include("db_conection.php");

$select="select des_id, name from


designation";

$run_query=mysqli_query($conn,$select);

while($row =
mysqli_fetch_array($run_query))

echo '<option value="'.


$row['name'].'">'.$row['name'].'</option>';

?>

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 22


TASK MANAGEMENT SYSTEM

</select>

</div>

<div class="form-group">

<label><b> Shift </b></label>

<select class="form-control" id="shift" name= "shift" >

<?php

include("db_conection.php");

$select="select shift_id, name from shift";

$run_query=mysqli_query($conn,$select);

while($row = mysqli_fetch_array($run_query))

echo '<option value="'.$row['name'].'">'.


$row['name'].'</option>';

?>

</select>

</div>

<div class="form-group">

<label><b> Salary Package </b></label>

<select class="form-control" id="salary" name= "salary" >

<?php

include("db_conection.php");

$select="select sal_id, name from salary";

$run_query=mysqli_query($conn,$select);

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 23


TASK MANAGEMENT SYSTEM

while($row = mysqli_fetch_array($run_query))

echo '<option value="'.$row['name'].'">'.


$row['name'].'</option>';

?>

</select>

</div>

<div class="form-group">

<label><b> Employee Level </b></label>

<select class="form-control" id="level" name= "level">

<option value="1">1</option>

<option value="2">2</option>

<option value="3">3</option>

<option value="4">4</option>

</select>

</div>

<div class="form-group">

<label><b> User Name </b></label>

<input type="text" class ="form-control"


placeholder="Enter The User Name For Employee" name="uname" id="uname" required>

</div>

<div class="form-group">

<label><b>Password</b></label>

<input type="text" class ="form-control" placeholder="Enter


Password" name="epsw" id="epsw" required>

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 24


TASK MANAGEMENT SYSTEM

</div>

<div class="form-group">

<label> <b>Upload The Employee Photo</b></label>

<input type="file" class ="form-control" name="empimg1"


id="empimg1" placeholder="Employee Photo" style="width:350px; height:25px">

</div>

</div>

<div class="modal-footer" style="background-color:#dd4b39 !important">

<button type="button" class="btn btn-default pull-left"


data-dismiss="modal">Close</button>

<button type="submit" class="btn btn-default pull-right" style="" name="register"


id="register">Register</button>

</div>

</form>

</div>

<!-- /.modal-content -->

</div>

<!-- /.modal-dialog -->

</div>

<!-- jQuery 3 -->

<script src="bower_components/jquery/dist/jquery.min.js"></script>

<!-- Bootstrap 3.3.7 -->

<script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>

<!-- iCheck -->

<script src="plugins/iCheck/icheck.min.js"></script>

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 25


TASK MANAGEMENT SYSTEM

<script>

$(function () {

$('input').iCheck({

checkboxClass: 'icheckbox_square-blue',

radioClass: 'iradio_square-blue',

increaseArea: '20%' // optional

});

});

</script>

</body>

</html>

REGISTRATION PAGE

<?php

include("db_conection.php");

if(isset($_POST['register']))

$ename = $_POST['ename'];

$gender= $_POST['gender'];

$dob=$_POST['edob'];

$emmail = $_POST['emmail'];

$ofmail=$_POST['eoffmail'];

$ephone = $_POST['ephone'];

$designation=$_POST['edes'];

$empqual = $_POST['empqual'];

$doh=$_POST['empdoh'];

$dates = preg_split('/[/\-]/',$doh);

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 26


TASK MANAGEMENT SYSTEM

$month = $dates[0];

$day = $dates[1];

$year = $dates[2];

$finalDate = $year.'-'.$month.'-'.$day;

$doh=$finalDate;

$shift=$_POST['shift'];

$salary=$_POST['salary'];

$lvl=$_POST['level'];

$uname=$_POST['uname'];

$epsw = $_POST['epsw'];

$check_user="select * from employee WHERE del_flg !='1' and (mail='$emmail' or


mobile='$ephone' or user_name='$uname') ";

$run_query=mysqli_query($conn,$check_user);

if(mysqli_num_rows($run_query)>0)

echo "<script>alert('The Employee is already exist, Please try another one!')</script>";

//echo"<script>window.open('../index.php','_self')</script>";

exit();

$chkid="SELECT count(*) as count FROM employee";

$query = mysqli_query($conn,$chkid);

while($row = mysqli_fetch_array($query)) {

$id1= $row['count'] + 1;

if($row['count']<10)

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 27


TASK MANAGEMENT SYSTEM

$id="PIT00";

$id .= $id1;

elseif($row['count']==0){

$id="PIT001";

else{

$id= "PIT0";

$id .=$id1;

$saveaccount="insert into employee


(emp_id,name,gender,mail,office_mail,mobile,qualification,designation,doh,dob,shift,salary,l
evel,user_name,password) VALUE

('$id','$ename','$gender','$emmail','$ofmail','$ephone','$empqual','$designation','$doh','$dob','
$shift','$salary','$lvl','$uname','$epsw')";

mysqli_query($conn,$saveaccount);

echo "<script>alert('Data successfully saved')</script>";

$conn->close();

?>

<?php

include("db_conect.php");

//if(isset($_POST['register']))

//{

function GetImageExtension($imagetype)

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 28


TASK MANAGEMENT SYSTEM

if(empty($imagetype)) return false;

switch($imagetype)

{ case 'image/bmp': return '.bmp';

case 'image/jpeg': return '.jpg';

case 'image/png': return '.png';

default: return false;

if (!empty($_FILES["empimg1"]["name"])) {

$file_name=$_FILES["empimg1"]["name"];

$temp_name=$_FILES["empimg1"]["tmp_name"];

$imgtype=$_FILES["empimg1"]["type"];

$ext= GetImageExtension($imgtype);

$imagename=date("d-m-Y")."-".time().$ext;

$target_path = "../images/employee/".$imagename;

if($ext !=".jpg")

if(move_uploaded_file($temp_name, $target_path)) {

$query_upload="update employee set image= '".$target_path."' where emp_id='$id'";

mysql_query($query_upload) or die("error in $query_upload == ----> ".mysql_error());

}else{

exit("Error While uploading image on the server");

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 29


TASK MANAGEMENT SYSTEM

echo "<script>window.open('manage employee.php','_self')</script>";

//}

?>

EMPLOYEE PAGE
<?php

session_start();

if(!isset($_SESSION['ppemployee']) && empty($_SESSION['ppemployee']))

echo "<script>window.open('../index.php','_self')</script>";

?>

<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="utf-8">

<link rel="icon" href="images/postulate.png" />

<meta http-equiv="X-UA-Compatible" content="IE=edge">

<meta name="viewport" content="width=device-width, initial-scale=1">

<title>Postulate Payroll | Employee</title>

<!-- Bootstrap -->

<link href="css/bootstrap.min.css" rel="stylesheet">

<link rel="stylesheet" href="css/font-awesome.min.css">

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 30


TASK MANAGEMENT SYSTEM

<link href="css/animate.min.css" rel="stylesheet">

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

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

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

<!--[if lt IE 9]>

<script src="js/html5shiv.js"></script>

<script src="js/respond.min.js"></script>

<![endif]-->

</head>

<body class="homepage">

<header id="header">

<nav class="navbar navbar-fixed-top" role="banner">

<div class="container">

<div class="navbar-header">

<button type="button" class="navbar-toggle" data-toggle="collapse" data-


target=".navbar-collapse">

<span class="sr-only">Toggle navigation</span>

<span class="icon-bar"></span>

<span class="icon-bar"></span>

<span class="icon-bar"></span>

</button>

<a class="navbar-brand" href="index.php">Postulate Payroll</a></br>


<small>Postulate Info Tech </small>

</div>

<div class="collapse navbar-collapse navbar-right">

<ul class="nav navbar-nav">

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 31


TASK MANAGEMENT SYSTEM

<li class="active"><a href="index.php">Home</a></li>

<li><a href="attendance.php">Attendance</a></li>

<li><a href="daily report.php">Daily Report</a></li>

<li><a href="update info.php">Update Info</a></li>

<li><a
href="pitcloud/pitcloud.php">PITCloud</a></li>

<li><a href="logout.php">Logout</a></li>

</ul>

</div>

</div><!--/.container-->

</nav><!--/nav-->

</header><!--/header-->

<div class="slider">

<div class="container">

<div id="about-slider">

<div id="carousel-slider" class="carousel slide" data-


ride="carousel">

<!-- Indicators -->

<ol class="carousel-indicators visible-xs">

<li data-target="#carousel-slider" data-slide-to="0"


class="active"></li>

<li data-target="#carousel-slider" data-slide-


to="1"></li>

<li data-target="#carousel-slider" data-slide-


to="2"></li>

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 32


TASK MANAGEMENT SYSTEM

<li data-target="#carousel-slider" data-slide-


to="3"></li>

</ol>

<div class="carousel-inner">

<div class="item active">

<img src="images/1.jpg" class="img-


responsive" alt="">

</div>

<div class="item">

<img src="images/2.jpg" class="img-


responsive" alt="">

</div>

<div class="item">

<img src="images/3.jpg" class="img-


responsive" alt="">

</div>

<div class="item">

<img src="images/4.jpg" class="img-


responsive" alt="">

</div>

</div>

<a class="left carousel-control hidden-xs"


href="#carousel-slider" data-slide="prev">

<i class="fa fa-angle-left"></i>

</a>

<a class=" right carousel-control hidden-


xs"href="#carousel-slider" data-slide="next">

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 33


TASK MANAGEMENT SYSTEM

<i class="fa fa-angle-right"></i>

</a>

</div> <!--/#carousel-slider-->

</div><!--/#about-slider-->

</div>

</div>

<section id="feature" >

<div class="container">

<div class="center wow fadeInDown">

<h2>Features</h2>

<p class="lead"></p>

</div>

<div class="row">

<div class="features">

<div class="col-md-4 col-sm-6 wow fadeInDown" data-wow-


duration="1000ms" data-wow-delay="600ms">

<div class="feature-wrap">

<i class="fa fa-laptop"></i>

<h2>Online Access</h2>

<h3>Lorem ipsum dolor sit amet, consectetur adipisicing elit</h3>

</div>

</div><!--/.col-md-4-->

<div class="col-md-4 col-sm-6 wow fadeInDown" data-wow-


duration="1000ms" data-wow-delay="600ms">

<div class="feature-wrap">

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 34


TASK MANAGEMENT SYSTEM

<i class="fa fa-comments"></i>

<h2>Daily Report</h2>

<h3>Lorem ipsum dolor sit amet, consectetur adipisicing elit</h3>

</div>

</div><!--/.col-md-4-->

<div class="col-md-4 col-sm-6 wow fadeInDown" data-wow-


duration="1000ms" data-wow-delay="600ms">

<div class="feature-wrap">

<i class="fa fa-cloud-download"></i>

<h2>Easy to Customize</h2>

<h3>Lorem ipsum dolor sit amet, consectetur adipisicing elit</h3>

</div>

</div><!--/.col-md-4-->

<div class="col-md-4 col-sm-6 wow fadeInDown" data-wow-


duration="1000ms" data-wow-delay="600ms">

<div class="feature-wrap">

<i class="fa fa-leaf"></i>

<h2>Online Attendance</h2>

<h3>Lorem ipsum dolor sit amet, consectetur adipisicing elit</h3>

</div>

</div><!--/.col-md-4-->

<div class="col-md-4 col-sm-6 wow fadeInDown" data-wow-


duration="1000ms" data-wow-delay="600ms">

<div class="feature-wrap">

<i class="fa fa-cogs"></i>

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 35


TASK MANAGEMENT SYSTEM

<h2>Salary Management</h2>

<h3>Lorem ipsum dolor sit amet, consectetur adipisicing elit</h3>

</div>

</div><!--/.col-md-4-->

<div class="col-md-4 col-sm-6 wow fadeInDown" data-wow-


duration="1000ms" data-wow-delay="600ms">

<div class="feature-wrap">

<i class="fa fa-heart"></i>

<h2>Quick Support</h2>

<h3>Lorem ipsum dolor sit amet, consectetur adipisicing elit</h3>

</div>

</div><!--/.col-md-4-->

</div><!--/.services-->

</div><!--/.row-->

</div><!--/.container-->

</section><!--/#feature-->

<section id="bottom">

<div class="container wow fadeInDown" data-wow-duration="1000ms" data-wow-


delay="600ms">

<div class="row">

<div class="col-md-3 col-sm-6">

<div class="widget">

<h3>Company</h3>

<ul>

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 36


TASK MANAGEMENT SYSTEM

<li><a href="//www.postulateinfotech.com/" target="_blank">About


us</a></li>

<li><a href="//postulateinfotech.com/careers/" target="_blank">We are


hiring</a></li>

<li><a href="#">Meet the team</a></li>

<li><a href="//postulateinfotech.com/contact/" target="_blank">Contact


us</a></li>

</ul>

</div>

</div><!--/.col-md-3-->

<div class="col-md-3 col-sm-6">

<div class="widget">

<h3>Support</h3>

<ul>

<li><a href="#">Faq</a></li>

<li><a href="#">Blog</a></li>

<li><a href="#">Forum</a></li>

<li><a href="#">Documentation</a></li>

</ul>

</div>

</div><!--/.col-md-3-->

<div class="col-md-3 col-sm-6">

<div class="widget">

<h3>Developers</h3>

<ul>

<li><a href="#">Web Development</a></li>

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 37


TASK MANAGEMENT SYSTEM

<li><a href="#">SEO Marketing</a></li>

<li><a href="#">Bussiness Service</a></li>

<li><a href="#">Development</a></li>

</ul>

</div>

</div><!--/.col-md-3-->

<div class="col-md-3 col-sm-6">

<div class="widget">

<h3>Services</h3>

<ul>

<li><a href="//postulateinfotech.com/services/" target="_blank"> Web


Development</a></li>

<li><a href="//postulateinfotech.com/services/" target="_blank">Android


Development</a></li>

<li><a href="//postulateinfotech.com/services/" target="_blank">Web


Application</a></li>

<li><a href="//postulateinfotech.com/services/" target="_blank">Software


Development</a></li>

</ul>

</div>

</div><!--/.col-md-3-->

</div>

</div>

</section><!--/#bottom-->

<div class="top-bar">

<div class="container">

<div class="row">
Thiyagi Dharmakkan Amirtham College of Arts and Science Page 38
TASK MANAGEMENT SYSTEM

<div class="col-lg-12">

<div class="social">

<ul class="social-share">

<li><a href="#"><i class="fa fa-


facebook"></i></a></li>

<li><a href="#"><i class="fa fa-


twitter"></i></a></li>

<li><a href="#"><i class="fa fa-


linkedin"></i></a></li>

<li><a href="#"><i class="fa fa-


dribbble"></i></a></li>

<li><a href="#"><i class="fa fa-


skype"></i></a></li>

</ul>

</div>

</div>

</div>

</div><!--/.container-->

</div><!--/.top-bar-->

<footer id="footer" class="midnight-blue">

<div class="container">

<div class="row">

<div class="col-sm-6">

&copy; 2017 <a target="_blank" href="http://postulateinfotech.com/"


title="Postulate Info Tech">Postulate Info Tech</a>. All Rights Reserved.

</div>

<div class="col-sm-6">

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 39


TASK MANAGEMENT SYSTEM

<ul class="pull-right">

<li><a href="index.php">Home</a></li>

<li><a href="attendance.php">Attendance</a></li>

<li><a href="daily report.php">Daily Report</a></li>

</ul>

</div>

</div>

</div>

</footer><!--/#footer-->

<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->

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

<script src="js/bootstrap.min.js"></script>

<script src="js/jquery.prettyPhoto.js"></script>

<script src="js/jquery.isotope.min.js"></script>

<script src="js/wow.min.js"></script>

<script src="js/main.js"></script>

</body>

</html>

TASK ALLOTMENT

<?php

session_start();

if(!isset($_SESSION['ppemployee']) && empty($_SESSION['ppemployee']))

echo "<script>window.open('../index.php','_self')</script>";

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 40


TASK MANAGEMENT SYSTEM

?>

<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="utf-8">

<link rel="icon" href="images/postulate.png" />

<meta http-equiv="X-UA-Compatible" content="IE=edge">

<meta name="viewport" content="width=device-width, initial-scale=1">

<title>Postulate Payroll | Daily Report</title>

<!-- Bootstrap -->

<link href="css/bootstrap.min.css" rel="stylesheet">

<link rel="stylesheet" href="css/font-awesome.min.css">

<link href="css/animate.min.css" rel="stylesheet">

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

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

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

<!--[if lt IE 9]>

<script src="js/html5shiv.js"></script>

<script src="js/respond.min.js"></script>

<![endif]-->

</head>

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 41


TASK MANAGEMENT SYSTEM

<body class="homepage">

<header id="header">

<nav class="navbar navbar-fixed-top" role="banner">

<div class="container">

<div class="navbar-header">

<button type="button" class="navbar-toggle" data-toggle="collapse" data-


target=".navbar-collapse">

<span class="sr-only">Toggle navigation</span>

<span class="icon-bar"></span>

<span class="icon-bar"></span>

<span class="icon-bar"></span>

</button>

<a class="navbar-brand" href="index.php">Postulate Payroll</a></br>


<small>Postulate Info Tech </small>

</div>

<div class="collapse navbar-collapse navbar-right">

<ul class="nav navbar-nav">

<li><a href="index.php">Home</a></li>

<li><a href="attendance.php">Attendance</a></li>

<li class="active"><a href="daily report.php">Daily Report</a></li>

<li><a href="update info.php">Update Info</a></li>

<li><a href="logout.php">Logout</a></li>

</ul>

</div>

</div><!--/.container-->

</nav><!--/nav-->

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 42


TASK MANAGEMENT SYSTEM

</header><!--/header-->

<section id="about-us">

<div class="container">

<div class="skill-wrap clearfix">

<div class="center wow fadeInDown">

<h2>Daily <span>Report</span></h2>

<!--</section><p class="lead">Lorem ipsum dolor sit


amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut <br> et dolore magna
aliqua. Ut enim ad minim veniam</p>-->

</div>

</div>

</div>

<?php

include("../db_conection.php");

$usrnm=$_SESSION['ppemployee'];

$usr="select emp_id from employee where user_name='$usrnm'";

$run_query=mysqli_query($conn,$usr);

while($row = mysqli_fetch_array($run_query))

extract($row);

$date=date("Y-m-d");

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 43


TASK MANAGEMENT SYSTEM

$task="select t.task_id,t.task_name,t.description,t.remarks,t.rating,t.date from task as t


where t.date='$date' limit 1";

if(isset($_GET['srchdate']) && !empty($_GET['srchdate']))

$date= $_GET['srchdate'];

$task="select t.task_id,t.task_name,t.description,t.remarks,t.rating,t.date from


task as t where t.date='$date' limit 1";

$run_query=mysqli_query($conn,$task);

if(mysqli_num_rows($run_query)>0)

while($row = mysqli_fetch_array($run_query))

extract($row);

$buttontext="Update Task";

$isread="readonly";

$rqrd="required";

else{

$task_id="";

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 44


TASK MANAGEMENT SYSTEM

$task_name="";

$description="";

$remarks="";

$rating="5";

$feedback="";

$report="";

$buttontext="Add Task";

$isread="";

$rqrd="";

$rept="select report, feedback from daily_report where task_id='$task_id' and


date='$date'";

$run_query=mysqli_query($conn,$rept);

if(mysqli_num_rows($run_query)>0)

while($row = mysqli_fetch_array($run_query))

extract($row);

else{

$feedback="";

$report="";

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 45


TASK MANAGEMENT SYSTEM

?>

<div class="container">

<div class="row contact-wrap">

<div class="status alert alert-success" style="display: none"></div>

<form name="attendance-form" method="post" action="update task.php?


edit_id=<?php echo $task_id; ?>&emp_id=<?php echo $emp_id; ?>">

<div class="col-sm-5 col-sm-offset-1">

<div class="form-group">

<label><b> Task Date </b></label>

<input type="date" class ="form-


control" placeholder="Enter Task Name" id="srchdt" name="srchdt" value="<?php
if(isset($_GET['srchdate'])){ echo $_GET['srchdate'];} else {echo date('Y-m-d'); }?>"
required/></br>

<button class="btn btn-default" type="button" id="search" name="search"

onclick="srchtbl()" > Search</button>

<script>

function srchtbl() {

var
date=document.getElementById("srchdt").value;

location.href = "daily report.php?


srchdate="+date;

</script>

</div>

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 46


TASK MANAGEMENT SYSTEM

<p></p>

<div class="form-group">

<label><b> Task Name </b></label></br>

<input type="text" class ="form-control"


placeholder="Enter Task Name" name="taskname" id="taskname" value="<?php echo
$task_name; ?>" required <?php echo $isread; ?>/>

</div>

<div class="form-group">

<label><b> Description</b></label></br>

<textarea class ="form-control"


rows="5" placeholder="Description About The Task" name="description" id="description"
required <?php echo $isread; ?>><?php echo $description; ?></textarea>

</div>

<div class="form-group">

<label><b> Remarks</b></label></br>

<input type="text" class ="form-control"


placeholder="Remarks About The Task" name="remarks" id="remarks" value="<?php echo
$remarks; ?>" <?php echo $isread; ?>/>

</div>

<div class="form-group">

<label><b> Task Completed</b></label></br>

<textarea class ="form-control"


rows="5" placeholder="Task Completed Today" name="report" id="report" <?php echo
$rqrd; ?> ><?php echo $report; ?></textarea>

</div>

<div class="form-group">

<button type="submit" name="updttask"


id="updttask"><?php echo $buttontext; ?></button>

<button type="button" onclick="location.href =


'daily report.php';" class="cancelbtn">Cancel</button>

</div>

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 47


TASK MANAGEMENT SYSTEM

</div>

<div class="col-sm-5">

<div class="form-group">

<h2>Task Info</h2>

<?php $tdate = date("d-m-Y",


strtotime($date));?>

<p class="imgholder1" style="text-align:center"><center><img


src="images/report.gif" alt="task" width="150" height="150" /> </center></p>

<p><?php echo "<b>Task Name:</b> ", $task_name ,"</br></br><b>Feedback:</b>


", $feedback , "</br></br><b>Rating:</b> " ?>

<?php

for($x=1;$x<=$rating;$x++) {

echo '<img src="../images/demo/star.png" alt="task" width="25" height="25"/>';

}?>.

</p>

</div>

</div>

</form>

</div><!--/.row-->

</div><!--/.container-->

</section>

<!--/.top-bar-->

<section id="bottom">

</section>

<div class="top-bar">

<div class="container">

<div class="row">

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 48


TASK MANAGEMENT SYSTEM

<div class="col-lg-12">

<div class="social">

<ul class="social-share">

<li><a href="#"><i class="fa fa-


facebook"></i></a></li>

<li><a href="#"><i class="fa fa-


twitter"></i></a></li>

<li><a href="#"><i class="fa fa-


linkedin"></i></a></li>

<li><a href="#"><i class="fa fa-


dribbble"></i></a></li>

<li><a href="#"><i class="fa fa-


skype"></i></a></li>

</ul>

</div>

</div>

</div>

</div><!--/.container-->

</div>

</div>

<footer id="footer" class="midnight-blue">

<div class="container">

<div class="row">

<div class="col-sm-6">

&copy; 2017 <a target="_blank" href="http://postulateinfotech.com/"


title="Postulate Info Tech">Postulate Info Tech</a>. All Rights Reserved.

</div>

<div class="col-sm-6">

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 49


TASK MANAGEMENT SYSTEM

<ul class="pull-right">

<li><a href="index.php">Home</a></li>

<li><a href="attendance.php">Attendance</a></li>

<li><a href="daily report.php">Daily Report</a></li>

</ul>

</div>

</div>

</div>

</footer><!--/#footer-->

<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->

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

<script src="js/bootstrap.min.js"></script>

<script src="js/jquery.prettyPhoto.js"></script>

<script src="js/jquery.isotope.min.js"></script>

<script src="js/wow.min.js"></script>

<script src="js/main.js"></script>

</body>

</html>

ATTENDANCE PAGE

<?php

session_start();

if(!isset($_SESSION['ppemployee']) && empty($_SESSION['ppemployee']))

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 50


TASK MANAGEMENT SYSTEM

echo "<script>window.open('../index.php','_self')</script>";

?>

<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="utf-8">

<link rel="icon" href="images/postulate.png" />

<meta http-equiv="X-UA-Compatible" content="IE=edge">

<meta name="viewport" content="width=device-width, initial-scale=1">

<title>Postulate Payroll | Attendance</title>

<!-- Bootstrap -->

<link href="css/bootstrap.min.css" rel="stylesheet">

<link rel="stylesheet" href="css/font-awesome.min.css">

<link href="css/animate.min.css" rel="stylesheet">

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

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

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

<!--[if lt IE 9]>

<script src="js/html5shiv.js"></script>

<script src="js/respond.min.js"></script>

<![endif]-->

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 51


TASK MANAGEMENT SYSTEM

</head>

<body class="homepage">

<header id="header">

<nav class="navbar navbar-fixed-top" role="banner">

<div class="container">

<div class="navbar-header">

<button type="button" class="navbar-toggle" data-toggle="collapse" data-


target=".navbar-collapse">

<span class="sr-only">Toggle navigation</span>

<span class="icon-bar"></span>

<span class="icon-bar"></span>

<span class="icon-bar"></span>

</button>

<a class="navbar-brand" href="index.php">Postulate Payroll</a></br>


<small>Postulate Info Tech </small>

</div>

<div class="collapse navbar-collapse navbar-right">

<ul class="nav navbar-nav">

<li><a href="index.php">Home</a></li>

<li class="active"><a href="attendance.php">Attendance</a></li>

<li><a href="daily report.php">Daily Report</a></li>

<li><a href="update info.php">Update Info</a></li>

<li><a href="logout.php">Logout</a></li>

</ul>

</div>

</div><!--/.container-->

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 52


TASK MANAGEMENT SYSTEM

</nav><!--/nav-->

</header><!--/header-->

<section id="about-us">

<div class="container">

<div class="skill-wrap clearfix">

<div class="center wow fadeInDown">

<h2>Employee <span>Attendance</span></h2>

<!--</section><p class="lead">Lorem ipsum dolor sit


amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut <br> et dolore magna
aliqua. Ut enim ad minim veniam</p>-->

</div>

</div>

</div>

<?php

include("../db_conection.php");

$usrnm=$_SESSION['ppemployee'];

$usr="select emp_id from employee where user_name='$usrnm'";

$run_query=mysqli_query($conn,$usr);

while($row = mysqli_fetch_array($run_query))

extract($row);

$date=date("Y-m-d");

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 53


TASK MANAGEMENT SYSTEM

$chk="select time_in,time_out from attendance where user_name='$usrnm' and


date='$date'";

$run_query=mysqli_query($conn,$chk);

if(mysqli_num_rows($run_query)>0)

while($row = mysqli_fetch_array($run_query))

extract($row);

if($time_in=="")

$do="Punch In";

$clr="#4CAF50";

$btntyp="";

else{

$do="Punch Out";

$clr="#f44336";

$btntyp="";

if($time_out!="")

$do="Punched";

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 54


TASK MANAGEMENT SYSTEM

$clr="#f44336";

$btntyp="disabled";

else{

$do="Punch In";

$clr="#4CAF50";

$btntyp="";

?>

<div class="container">

<div class="row contact-wrap">

<div class="status alert alert-success" style="display: none"></div>

<form name="attendance-form" method="post" action="do attendance.php?do=<?


php echo $do;?>">

<div class="col-sm-5 col-sm-offset-1">

<div class="form-group">

<img src="images/img-timekeep.jpg" alt="Attendance" width="200"


height="100"> </img>

</div>

<p></p>

<div class="form-group">

<label style="font-size: 22pt"><b> <?php

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 55


TASK MANAGEMENT SYSTEM

$Today=date('y:m:d');

$new=date('l, F d, Y',strtotime($Today));

echo $new; ?></b></label></br><p></p>

<label id="timer" class="timer"


style="font-size: 26pt"></label>

<Script>

setInterval(function() {

var currentTime = new


Date ( );

var currentHours =
currentTime.getHours ( );

var currentMinutes =
currentTime.getMinutes ( );

var currentSeconds =
currentTime.getSeconds ( );

currentMinutes =
( currentMinutes < 10 ? "0" : "" ) + currentMinutes;

currentSeconds =
( currentSeconds < 10 ? "0" : "" ) + currentSeconds;

var timeOfDay =
( currentHours < 12 ) ? "AM" : "PM";

currentHours =
( currentHours > 12 ) ? currentHours - 12 : currentHours;

currentHours =
( currentHours == 0 ) ? 12 : currentHours;

var currentTimeString =
currentHours + ":" + currentMinutes + ":" + currentSeconds + " " + timeOfDay;

document.getElementById("timer").innerHTML = currentTimeString;

}, 1000);

</script>

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 56


TASK MANAGEMENT SYSTEM

</div>

<div class="form-group">

<button type="submit" class="btn btn-primary


btn-lg" name="submit" style="font-size: 14pt ; background-color: <?php echo $clr; ?>;" <?
php echo $btntyp; ?>><?php echo $do; ?></button>

</div>

</div>

<div class="col-sm-5">

<div class="form-group">

<img src="images/attendance_hands.jpg" alt="Attendance" style="width:


100%; margin-bottom: -29%;"> </img>

</div>

</div>

</form>

</div><!--/.row-->

</div><!--/.container-->

</section>

<section id="bottom">

</section>

<!--/.top-bar-->

<div class="top-bar">

<div class="container">

<div class="row">

<div class="col-lg-12">

<div class="social">

<ul class="social-share">

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 57


TASK MANAGEMENT SYSTEM

<li><a href="#"><i class="fa fa-


facebook"></i></a></li>

<li><a href="#"><i class="fa fa-


twitter"></i></a></li>

<li><a href="#"><i class="fa fa-


linkedin"></i></a></li>

<li><a href="#"><i class="fa fa-


dribbble"></i></a></li>

<li><a href="#"><i class="fa fa-


skype"></i></a></li>

</ul>

</div>

</div>

</div>

</div><!--/.container-->

</div>

<footer id="footer" class="midnight-blue">

<div class="container">

<div class="row">

<div class="col-sm-6">

&copy; 2017 <a target="_blank" href="http://postulateinfotech.com/"


title="Postulate Info Tech">Postulate Info Tech</a>. All Rights Reserved.

</div>

<div class="col-sm-6">

<ul class="pull-right">

<li><a href="index.php">Home</a></li>

<li><a href="attendance.php">Attendance</a></li>

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 58


TASK MANAGEMENT SYSTEM

<li><a href="daily report.php">Daily Report</a></li>

</ul>

</div>

</div>

</div>

</footer><!--/#footer-->

<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->

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

<script src="js/bootstrap.min.js"></script>

<script src="js/jquery.prettyPhoto.js"></script>

<script src="js/jquery.isotope.min.js"></script>

<script src="js/wow.min.js"></script>

<script src="js/main.js"></script>

</body>

</html>

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 59


TASK MANAGEMENT SYSTEM

5.2 TESTING
Testing is vital role for the success of this system. System testing makes a logical
assumption that if all the parts of the system are correct, the goal will be successfully
achieved. System testing is the stage of implementation that is aimed at assuring that the
system works accurately and efficiently.

Software testing is the process of evaluation of software item to detect difference


between given input and expected output. Also to assess the feature of a software item.
Testing assesses the quality of the product. Software testing is a process that should be done
during the development process. In other words software testing is a verification and
validation process.

 VERIFICATION
Verification is the process to make sure the product satisfies the conditions
imposed at the start of the development phase. In other words, to make sure the
product behaves the way we want it to.
 VALIDATION
Validation is the process to make sure the product satisfies the specified
requirements at the end of the development phase. In other words, to make sure
product is built as per customer requirements.

5.2.1 UNIT TESTING

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 60


TASK MANAGEMENT SYSTEM

Unit testing is the testing of an individual unit or group of related units. The purpose
of unit testing is to determine the correct working of the individual modules. Unit testing
involves a precise definition of test cases, testing criteria and management of test cases.

In this application, customer login form has checked user name and password based
on unit testing. Refer test case and screen shots. If the user gave wrong user name and
password, the error message box will be display.

5.2.2 INTEGRATION TESTING

Integration testing is testing in which a group of components are combined to


produce output. Also, the integration between hardware and software is tested in integration
testing if software and hardware components have any relation. Integration testing was
carried out successfully for all the modules.

5.2.3 BLACK BOX TESTING

Black box testing is a testing technique that ignores the internal mechanism of the
system and focuses on the output generated against any input and execution of the system. It
is also called functional testing. Black box testing is often used for validation.

In this application, customer registration form has checked based on black box
testing. This form validated all fields in customer registration form. The customer must enter
all the fields; otherwise an error message will be display. Refer test cases and screen shots.

5.2.4 WHITE BOX TESTING

White box testing is a testing technique that takes into account the internal mechanism of a
system. It is also called structural testing and glass box testing. White box testing is often
used for verification.

In this application, admin login form has checked user name and password based
on white box testing. Refer test case and screen shots. If the admin gave wrong user name
and password, the error message box will be display. This form is used to verify correct
admin or not.

5.3TEST CASES
UNIT TESTING

Test Case Test Case Test case Expected Observed Result


No Description Result Result Pass/Fail
1. Enter the Check The The
username and whether the username and username and Pass
password. valid password has password
username and to be entered
password. accepted. correctly.

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 61


TASK MANAGEMENT SYSTEM

BLACK BOX TESTING

Test Case Test Case Test Case


Expected Observed Result
No Description Result Result Pass/Fail
1. Validation Checking Error Error
checking whether all
message is message is Pass
the fields are
displayed displayed
inputted. when a field when a field
is not is not
inputted. inputted.
2. Don’t select Checking Error Error
ant field and whether message has message is Fail
click next system will to be shown shown.
show error if no field is
message or selected.
not.

WHITE BOX TESTING

Test Case Test Case Test Case Expected Observed Result


No Description Result Result Pass/Fail
1. Enter the Check The task The task
task details whether the detail has to details are Pass
task details be same and same and
are same or store it on a store it on a
not in database. database.
database.

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 62


TASK MANAGEMENT SYSTEM

CHAPTER 6

6. PROJECT IMPLEMENTATION

6.1 COLLEGE LEVEL


The project entitled “TASK MANAGEMENT SYSTEM” has been explained and
implemented in front of the principal and the evidence is enclosed.

6.2 COMPUTER LAB LEVEL


The project entitled “TASK MANAGEMENT SYSTEM “ has been explained and
executed in front of the project guide.

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 63


TASK MANAGEMENT SYSTEM

SIGNATURE OF THE PROJECT GUIDE

CHAPTER 7

7. CONCLUSION AND FUTURE ENHANCEMENTS

7.1 CONCLUSION

It is concluded that the application works well and satisfy the end users. The
application is tested very well and errors are properly debugged. The application is
simultaneously accessed from more than one system. Simultaneous login from more than
one place is tested.

This system is user friendly so everyone can use easily. Proper documentation is
provided. The end user can easily understand how the whole system is implemented by going
through the documentation. The system is tested, implemented and the performance is found
to be satisfactory. All necessary output is generated. Thus the project is completed
successfully.

The application is developed according to the system development lifecycle and each
module is performed step by step. The project “Task Management System” has overcome
Thiyagi Dharmakkan Amirtham College of Arts and Science Page 64
TASK MANAGEMENT SYSTEM

many of the limitations that are present in the existing process followed and it also has many
new and innovative features.

7.2 FUTURE ENHANCEMENTS

There is scope for future development of this project. The world of computer fields is
not static it is always subject to be dynamic. The technology which is famous today becomes
outdated the very next day. To keep abstract of technical improvements, the system may be
further refined. So it is not concluded. Yet it will improve with further enhancements.

Enhancements can be done in efficient manner. We can even update the same with
further modification establishment and can be integrated with minimal modification. Thus the
project is flexible and can be enhanced at anytime with more advanced features.

CHAPTER 8

8. APPENDIX

8.1 SCREEN SHOTS- INPUT FORMS

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 65


TASK MANAGEMENT SYSTEM

Figure 8.1.1 LOGIN FORM

Figure 8.1.2 REGISTRATION FORM

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 66


TASK MANAGEMENT SYSTEM

Figure 8.1.3 HOME PAGE

Figure 8.1.4 ATTENDANCE PUNCH IN FORM

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 67


TASK MANAGEMENT SYSTEM

Figure 8.1.5 DAILY REPORT FORM

Figure 8.1.6 PROFILE UPDATE FORM

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 68


TASK MANAGEMENT SYSTEM

CHAPTER 9
REFERENCES

9.1BOOKS
1. Elias M Awad 1996 ‘System analysis and design’, Galgotia Publication, Second
Edition
2. Jeff Prosise 2001 ‘Programming PHP’ ,, Second Edition
3. Thuan L.Thai, Hoang Lam 2001 ‘ MYSQLEssentials’ , O’Reilly Publications,
Second Edition
4. Pressman S.Roger 1990 ‘Software Engineering – A Practitioners Approach’ ,
McGraw-Hill book company, Fourth Edition
9.2 WEB URLS

1. http://www.w3schools.com
2. http://www.c_sharpcorner.com
3. www.phpspider.com
4. www.programmersheaven.com

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 69


TASK MANAGEMENT SYSTEM

Thiyagi Dharmakkan Amirtham College of Arts and Science Page 70

You might also like