Professional Documents
Culture Documents
Chapter 1: Introduction: Construction Management System
Chapter 1: Introduction: Construction Management System
CHAPTER 1: INTRODUCTION
Construction management system is Web Application to manage all day to day operations
related to events for an organization. There are mainly 4 modules in this website CCD,
Account, admin, super admin. In this website admin can register the members and assign a
roles to member.
1. 1 PROJECT SUMMERY
pg.
1.2 PROJECT PROFILE
Project Title Construction Management System
Editor Notepad++
1.3 PURPOSE
The purpose of this project is to develop the user friendly and interactive website which will
reduce the paper work, faster and easy work and save the time.
1
1.4 SCOPE
The aim of the project is to build a simple, effective computerized Construction Management
System. It starts from the process of collecting relevant details and requirements from the
Companies. The Scope of this application deals with the administrator of the software. The
administrator here is the advocate who deals with the handling of addition, deletion and
updating the detail This Daily Board software is limited to advocates only who is the
administrator of the software, who manages all the working and allows the client to enroll
and handle the data of clients in their respective registered cases and its details
It is very difficult and time consuming to maintain all the details in to the
registers when the organization is very big.
Modifying the records is not very easy, since for a minute change the whole
record would be required to re-entered. For instance, if, the details of any
employee changes then locating that employee and doing modification in
registers is very tedious.
It also take much time for doing entry and checking of records.
To make and maintain the different reports is also very tough and tedious
job.
Searching particular record is very tedious job, since as a time passes the
condition of the registers becomes bad.
2
Every year, they have to maintain new registers.
MODULES
Login : this is the login module in which admin can login with his/her credentials.
Dashboard : In Dashboard, it shows a brief of no. of tools and equipments as wella s
no. of employees
List of Borrowed Equipment/Tools: It shows list of the number of equipment or
tools borrowed.
Borrowed Tools : It shows tools borrowed.
Borrowed Equipment : in this module, It shows Equipment borrowed.
Transferred Equipment : in this module, It shows Equipment Transferred
List of tools : in this module, It shows list of tools.
List of Equipment : in this module, It shows list of Equipment.
Add Employee : In this module we can add or edit employees.
Add Locations : In this module we can add or edit Locations.
3
• Borrowed Tools
• Borrowed Equipment
• List of tools
• List of Equipment
• Transferred Equipment
1. HTML
WHAT IS HTML?
1. Publish online documents with headings, text, tables, list, photos etc.
4
2. Retrieve online information via hypertext links, at the click of a button
5
<FORM> : Creating a HTML forms
HTML 4.0
6
JavaScript, originally supported by Netscape Navigator, is the most
popular Web scripting language today. JavaScript lets you embed programs
right in your Web pages and run these programs using the Web browser.
You place these programs in a
<SCRIPT> element. If you want the script to write directly to the Web page,
place it in the <BODY> element.
EX: <HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
<SCRIPT LANGUAGE=”JavaScript”>
</SCRIPT>
</BODY></HTML>
JAVASCRIPTS OBJECTS
7
JavaScript is an object-oriented language. JavaScript comes with a
number of predefined objects.
4. History: Holds the records of sites the Web browser has visited
before reaching the current page.
5. Location: Holds information about the location of the current web page.
JAVASCRIPTS EVENTS
8
1. on Change: Occurs when data in a control, like a text field, changes.
JAVASCRIPTS FUNCTIONS
Declaration of function
9
3. INTRODUCTION ABOUT PHP
The term PHP is an acronym for PHP: Hypertext Preprocessor. PHP is a server-
side scripting language designed specifically for web development. It is open-
source which means it is free to download and use. It is very simple to learn and
use. The files have the extension “.php”.
Rasmus Lerdorf inspired the first version of PHP and participating in the later
versions. It is an interpreted language and it does not require a compiler.
10
Other characteristics of PHP are as follows.
Simple and fast
Efficient
Secured
Flexible
Cross-platform, it works with major operating systems like Windows,
Linux, MacOS.
4.RDBMS CONCEPTS
1. DATA ABSTRACTION
2. CLASSIFICATION OF DATABASE
a. Hierarchical Database:
11
the root may have any number of dependents. Each of these
may have any number of low level dependents and so on up
to any number of levels. The disadvantages of the approach
are that no independent record occurrence can exist without
it’s superior.
b. Network Database:
c. Relational Database:
12
Features Of SQL
13
Basic SQL Commands
XAMPP
14
CHAPTER 2: PROJECT MANAGEMENT
For getting project on time and getting functionality completely working we have
to follow some plan. That means if you have not plan to work then you will not get
project on time. So for getting project on time we have to do some plan and we
have to follow it also. And if you have made perfect plan and you follow it also then
you will be surly got project on time.
WATER FALL MODEL was being chosen because all requirements were known
beforehand and the objective of our software development is the
15
computerization/automation of an already existing manual working system.
Reasons to choose waterfall model are:
o This model is used only when the requirements are very well
known, clear and fixed. o Product definition is stable. o Technology
is understood.
o There are no ambiguous requirements
o Ample resources with required expertise are available freely o
The project is short.
16
o Not suitable for the projects where requirements are at a moderate
to high risk of changing.
In the development of this project, we will first check to see if our project is
feasible functionally, technically and economically. Then we collect the
requirements from the end users and analyze it. We also analyze similar systems
to get an exact idea of how to create this system. Hence, we gather all the
requirements which we need to develop our system. Then, after thoroughly
understanding the need of end user, we will develop the Graphical User Interface
(GUI).
The GUI is viewed by the user and the user communicates with the system and
hence, it should be appealing an attractive. After this comes the coding part, which
involves handling databases and manages queries and forms etc. There are certain
coding standards to be followed so that the flow of program is easily understood.
17
Constraints/Goals of implementation 1 week
Coding 2 week
Risks are the dangerous conditions or potential problems for the system which
may damage the system functionalities to very high level which would not be
acceptable at any cost. so in order to make our system stable and give its 100%
performance we must have identify those risks, analyze their occurrences and
effects on our system and must prevent them to occur .
Each and every software project is developed under the shadow of risk. All
software development groups have three prime concerns with risk.
18
1. Future – what risk might cause the software project to go awry?
2. Change concern – how will change in requirement and
development in technologies will occur.
3. Choice – what methods and tools should be used, how to
distribute the work, what level of emphasis is to be given on
quality.
Types of Risks:-
• Cost Risk - The degree of uncertainty that the project budget will be
maintained. The cost of our project is already decided by management.
• Support Risk - The degree of uncertainty that the resultant software will
be easy to correct, adapt, and enhance. Client of this project is in different
premises.
• Project Risks - Threaten the project plan. If project risk become real, it is
likely that project schedule will slip and that costs will increase. The budget
of this project was decided before starting the project and it is enough to
complete it. -All the works are divided between team members. Required
all the resources are available.
19
• Technical Risks - Threaten the quality and timeliness of the s/w to be
produced. If technical risk becomes real, implementation may
become difficult or impossible. -Technology is already decided for this
project.
• Business Risks - Threaten the viability of the s/w to be built. This is live
project so no business risk is there.
20
2.3 ESTIMATION
While doing effort estimation we must keep in mind that the software must be
user friendly. That is this software can be used by any person who has a bit
knowledge about the software
The target software aims at the person who will not find jobs and resources Hence
the cost effectiveness of the software was the important factor which had to be
taken care of throughout the development process
21
CHAPTER 3: SYSTEM REQUIREMENT STUDY
22
4.1 REQUIREMENT OF SYSTEM
This Website is a very important feature used for construction management. The
primary goal of this website is to store or keep all records of construction project.
In this project only admin will have to create new user, than they create the
records, create purchase order, create vendors, etc. and super admin will provide
the role like ccd, account and admin to users.
ADMINISTATOR
• Editing/Deleting/Creating the database.
• Super admin can give roles to users.
MEMBER
• Logging into the system.
• He/she can change or create the records when access is granted by super
admin.
• Can update /edit its records.
In this we check the entire task by operation. That means when we get task at the
time first we search for what operation will going on during this task. What will
be input, output and what condition we have to put. And from this kind of
operation we get more clear idea, and thus we can understand more about client
requirement and functionality which client want. So, operational feasibility is
helpful to get more idea about task and client requirement.
23
• But the sources for guidance was not enough for my development.
24
CHAPTER 5: SYSTEM DESIGN
Member
Login
Create Branch
Create Project
Create Purchase
Order
Create Instructions
Logout
Admin
25
Construction Management System
Login
Create Member
Assign Roles
Admin
Manage Database
Logout
26
Level – 0
27
Level - 1
28
5.4 Sequence Diagram
Login
Login Succesfull
Branch
View Branches
Create Branch
Logout
Logout Succesfull
29
SOURCE CODE
LOGIN.PHP
<?php
include "include/connect.php";
session_start();
if(isset($_SESSION["name"])){
header("Location: index.php");
}else{
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
30
<meta name="author" content="">
<title>Login</title>
<link href="vendor/fontawesome-
free/css/all.min.css" rel="stylesheet" type="text/css">
</head>
<div class="container">
31
<div class="card-header">ADMIN LOG IN</div>
<div class="card-body">
<div class="form-group">
<div>
</div>
</div>
<div class="form-group">
<div>
</div>
</div>
32
<button type="submit" class="btn btn-primary btn-
block fas fa-key">Login</button>
</form>
</div>
</div>
</div>
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></sc
ript>
<script src="vendor/jquery-
easing/jquery.easing.min.js"></script>
</body>
</html>
<?php
33
}
?>
EMPLOYEES.PHP
<?php
include('include/connect.php');
include('include/header.php');
include('include/sidebar1.php')
?>
<div id="content-wrapper">
<div class="container-fluid">
<div class="card-body">
<div class="table-responsive">
<thead>
34
<tr>
<th>Name</th>
<th>Age</th>
<th>Address</th>
<th>Contact Number</th>
<th>Position</th>
<th>Options</th>
</tr>
</thead>
<?php
echo '<tr>';
35
echo '<td>'. $row['name'].'</td>';
?>
<div class="modal-dialog">
</div>
36
<div class="modal-body">
<div class="form-group">
<div class="form-label-group">
<label for="inputName1">Name</label>
</div>
</div>
<div class="form-group">
<div class="form-label-group">
<label for="inputAge1">Age</label>
37
</div>
</div>
<div class="form-group">
<div class="form-label-group">
<label for="inputAddress1">Address</label>
</div>
</div>
<div class="form-group">
<div class="form-label-group">
</div>
</div>
<div class="form-group">
<div class="form-label-group">
38
<input type="text" id="position" class="form-
control" placeholder="Position" value="<?php echo $row['position'
]; ?>" name="position" required>
<label for="position">Position</label>
</div>
</div>
<div class="modal-footer">
Close
</button>
</div>
</form>
39
</div>
</div>
</div>
</div>
<?php
if(isset($_POST['update'])){
$id = $_POST['id'];
$name = $_POST['name'];
$age = $_POST['age'];
$add = $_POST['add'];
$contact = $_POST['contact'];
$position = $_POST['position'];
date_default_timezone_set("Asia/Manila");
40
$query = "UPDATE `employees` SET `name`='$name',`age`='$age',`
address`='$add',`contact_number`='$contact',`position`='$position'
WHERE `emp_id`='$id'";
?>
<script type="text/javascript">
window.location = "employees.php";
</script>
<?php
41
?>
</table>
</div>
</div>
<div class="modal-dialog">
<div class="modal-
header"><h3>Add New Employee</h3>
</div>
<div class="modal-body">
<div class="form-group">
42
<div class="form-label-group">
<label for="inputName">Name</label>
</div>
</div>
<div class="form-group">
<div class="form-label-group">
<label for="inputAge">Age</label>
</div>
</div>
<div class="form-group">
<div class="form-label-group">
<label for="inputAddress">Address</label>
</div>
43
</div>
<div class="form-group">
<div class="form-label-group">
</div>
</div>
<div class="form-group">
<div class="form-label-group">
<label for="position1">Position</label>
</div>
</div>
<div class="modal-footer">
44
<button type="button" class="btn btn-default" data-
dismiss="modal">
Close
</button>
</div>
</form>
</div>
</div>
</div>
</div>
<?php
if(isset($_POST['submit'])){
$name = $_POST['name'];
$age = $_POST['age'];
$add = $_POST['add'];
45
$contact = $_POST['contact'];
$position = $_POST['position'];
date_default_timezone_set("Asia/Manila");
VALUES ('".$name."','".$age."','".$add."','".$contact."','".$posi
tion."')";
?>
<script type="text/javascript">
window.location = "employees.php";
</script>
46
<?php
include('include/scripts.php');
include('include/footer.php');
?>
EQUIPMENTS.PHP
<?php
include('include/connect.php');
include('include/header.php');
include('include/sidebar1.php')
?>
<div id="content-wrapper">
<div class="container-fluid">
47
<h2>List of Equipment(s)<a href="#" data-toggle="modal" data-
target="#AddEquipment" class="btn btn-sm btn-
info">Add New</a></h2>
<div class="card-body">
<div class="table-responsive">
<thead>
<tr>
<th>Code</th>
<th>Name</th>
<th>Category</th>
<!-- <th>Quantity</th>
<th>Status</th>
<th>Options</th>
</tr>
</thead>
<?php
48
$query = "SELECT * FROM equipments";
echo '<tr>';
?>
49
<div id="UpdateEquipment<?php echo $row['equip
_id']; ?>" class="modal fade" role="dialog">
<div class="modal-dialog">
<div class="modal-
header"><h3>Modify Equipment</h3>
</div>
<div class="modal-body">
<div class="form-group">
<div class="form-label-group">
50
<input type="text" id="inputName1" class="form-
control" placeholder="Name" value="<?php echo $row['name']; ?>"
name="name" autofocus="autofocus" required>
<label for="inputName1">Name</label>
</div>
</div>
</select><br>
<div class="form-group">
<div class="form-label-group">
</div>
51
</div>
<div class="form-group">
<div class="form-label-group">
<!-
- <label for="inputQty1">Available Quantity</label> -->
</div>
</div>
<div class="form-group">
<div class="form-label-group">
<label for="inputQty1">Status</label>
</div>
</div>
52
<div class="modal-footer">
Close
</button>
</div>
</form>
</div>
</div>
</div>
</div>
<?php
if(isset($_POST['update'])){
$name = $_POST['name'];
$category = $_POST['category'];
53
$qty = $_POST['qty'];
$id = $_POST['id'];
$avail_qty = $_POST['avail_qty'];
$status = $_POST['status'];
date_default_timezone_set("Asia/Manila");
?>
<script type="text/javascript">
window.location = "equipments.php";
54
</script>
<?php
?>
</table>
</div>
</div>
<div class="modal-dialog">
<div class="modal-
header"><h3>Add New Equipment</h3>
55
<button type="button" class="close" data-
dismiss="modal">×</button>
</div>
<div class="modal-body">
<div class="form-group">
<div class="form-label-group">
<label for="inputNamee">Code</label>
</div>
</div>
<div class="form-group">
<div class="form-label-group">
<label for="inputName">Name</label>
56
</div>
</div>
<option value="HEAVY">HEAVY</option>
</select><br>
<div class="form-group">
<div class="form-label-group">
</div>
</div>
<div class="modal-footer">
57
<button type="button" class="btn btn-default" data-
dismiss="modal">
Close
</button>
</div>
</form>
</div>
</div>
</div>
</div>
<?php
if(isset($_POST['submit'])){
58
$result = mysqli_query($db, $query) or die (mysqli_error($db));
$row = mysqli_fetch_assoc($result);
if ($row>0) {
?>
<script type="text/javascript">
window.location = "equipments.php";
</script>
<?php
}else{
$code = $_POST['code'];
$name = $_POST['name'];
$category = $_POST['category'];
$qty = $_POST['qty'];
date_default_timezone_set("Asia/Manila");
59
$remarks="equipment $name was Added";
VALUES ('".$code."','".$name."','".$category."','".$qty."','".$qt
y."')";
?>
<script type="text/javascript">
window.location = "equipments.php";
</script>
<?php
include('include/scripts.php');
include('include/footer.php');
60
?>
LOCATIONS.PHP
<?php
include('include/connect.php');
include('include/header.php');
include('include/sidebar1.php')
?>
<div id="content-wrapper">
<div class="container-fluid">
<div class="card-body">
<div class="table-responsive">
<thead>
<tr>
61
<th>Location Address</th>
<th>Options</th>
</tr>
</thead>
<?php
echo '<tr>';
?>
62
<div id="UpdateLocation<?php echo $row['location
_id']; ?>" class="modal fade" role="dialog">
<div class="modal-dialog">
</div>
<div class="modal-body">
<div class="form-group">
<div class="form-label-group">
63
s="autofocus" required><?php echo $row['location_address']; ?></
textarea>
</div>
</div>
<div class="modal-footer">
Close
</button>
</div>
</form>
</div>
</div>
</div>
</div>
64
<?php
if(isset($_POST['update'])){
$address = $_POST['address'];
$id = $_POST['id'];
date_default_timezone_set("Asia/Manila");
?>
<script type="text/javascript">
window.location = "locations.php";
</script>
<?php
65
}
?>
</table>
</div>
</div>
<div class="modal-dialog">
</div>
66
<div class="modal-body">
<div class="form-group">
<div class="form-label-group">
</div>
</div>
<div class="modal-footer">
Close
</button>
</div>
67
</form>
</div>
</div>
</div>
</div>
<?php
if(isset($_POST['submit'])){
$address = $_POST['address'];
date_default_timezone_set("Asia/Manila");
VALUES ('".$address."')";
68
?>
<script type="text/javascript">
window.location = "locations.php";
</script>
<?php
include('include/scripts.php');
include('include/footer.php');
?>
BORROWED_TOOLS.PHP
<?php
include('include/connect.php');
include('include/header.php');
include('include/sidebar1.php')
?>
69
<!-- DataTables Example -->
<div id="content-wrapper">
<div class="container-fluid">
<div class="card-body">
<div class="table-responsive">
<thead>
<tr>
<th>Tools</th>
<th>Qty</th>
<th>Assigned Employee</th>
<th>Location</th>
70
<th>Date/Time Borrowed</th>
<th>Due Date</th>
<th>Date Returned</th>
<th>Status</th>
<th>Options</th>
</tr>
</thead>
<?php
echo '<tr>';
71
echo '<td>'. $row['name'].'</td>';
if($row['status']=='RETURNED'){
';
'</td>';
}else if($row['tool_type']=='CONSUMABLE'){
72
echo '<td class="bg-
info"><i>This is a Consumable Tool</i></td>';
}else{
echo "<td>";
?>
<div class="modal-content">
<div class="modal-header">
73
<h5 class="modal-
title" id="exampleModalLabel">Are You Sure You Want To Return
This Tool(s)</h5>
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-
body">Select "Return" below if you want to confirm.</div>
<div class="modal-footer">
</div>
</div>
</div>
</div>
<?php
74
echo '</td>';
?>
<tbody>
</tbody>
</table>
</div>
</div>
<?php
$result = mysqli_query($db,$query);
$result1 = mysqli_query($db,$query1);
75
?>
<!--
<div class="modal-dialog">
<div class="modal-
header"><h3>Add New Equipment</h3>
</div>
<div class="modal-body">
<h3>Tool:</h3>
<div class="form-group">
76
<option>---Select Tool---</option>
</select>
</div>
<h3>Employee:</h3>
<div class="form-group">
<option>---Select Employee---</option>
</select>
</div><br>
77
<div class="form-group">
<div class="form-label-group">
<label for="inputDate">Date</label>
</div>
</div>
<div class="modal-footer">
Close
</button>
</div>
78
</form>
</div>
</div>
</div>
</div> -->
<div class="modal-dialog">
<div class="modal-
header"><h3>Assigned Employee & Location</h3>
</div>
<div class="modal-body">
79
<form method="POST" action="#">
<div class="form-group">
<label for="date">Code</label>
<?php
$row4=mysqli_fetch_array($query4);
?>
</div>
<div class="form-group">
<select class="form-
control" name="emp" tabindex="1" autofocus required>
<?php
while($row=mysqli_fetch_array($query2)){
80
?>
<?php }?>
</select>
</div>
<div class="form-group">
<select class="form-
control" name="loc" tabindex="1" autofocus required>
<?php
while($row3=mysqli_fetch_array($query3)){
?>
<?php }?>
</select>
81
</div>
<div class="form-group">
</div>
<div class="modal-footer">
Close
</button>
</div>
</form>
82
</div>
</div>
</div>
</div>
<?php
if(isset($_POST['submit'])){
$emp = $_POST['emp'];
$loc = $_POST['loc'];
$code = $_POST['unique'];
$due = $_POST['due'];
$rows=mysqli_fetch_array($querys);
if($rows==0){
83
?>
<script type="text/javascript">
</script>
<?php
}else{
?>
<script type="text/javascript">
</script>
<?php
include('include/scripts.php');
include('include/footer.php');
?>
84
</body>
</html>
BORROWED EQUIPMENTS.PHP
<?php
include('include/connect.php');
include('include/header.php');
include('include/sidebar1.php')
?>
<div id="content-wrapper">
<div class="container-fluid">
<div class="card-body">
<div class="table-responsive">
85
<table class="table table-
bordered" id="dataTable" width="100%" cellspacing="0">
<thead>
<tr>
<th>Code</th>
<th>Equipment</th>
<th>Qty</th>
<th>Assigned Employee</th>
<th>Location</th>
<th>Date/Time Borrowed</th>
<th>Due Date</th>
<th>Date Returned</th>
<th>Status</th>
<th>Options</th>
</tr>
</thead>
<?php
86
$query = "SELECT equip_mapping.map_id,equipments.name,equip
ments.uniquec,employees.name as 'Employee',employees.emp_id,e
quip_mapping.date_borrowed,equip_mapping.time_borrowed,equi
p_mapping.due_date,equip_mapping.date_returned,equip_mapping.
status,equip_mapping.qty,location.location_address, equip_mappin
g.location_id, equip_mapping.emp_id, equip_mapping.equip_id FRO
M equip_mapping left join equipments on equipments.equip_id = eq
uip_mapping.equip_id left join employees on employees.emp_id = e
quip_mapping.emp_id left join location on location.location_id = eq
uip_mapping.location_id";
echo '<tr>';
87
echo '<td>'. $row['due_date'].'</td>';
if($row['status']=='RETURNED'){
';
echo '</td>';
}else if($row['status']=='TRANSFERED'){
echo '</td>';
}else{
88
echo "<td>";
?>
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-
title" id="exampleModalLabel">Are You Sure You Want To Return
This Equipment(s)</h5>
89
<button class="close" type="button" data-
dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-
body">Select "Return" below if you want to confirm.</div>
<div class="modal-footer">
</div>
</div>
</div>
</div>
<?php
90
</td>';
?>
<div class="modal-dialog">
<div class="modal-
header"><h3>Transfer Equipment</h3>
</div>
<div class="modal-body">
91
<input type="hidden" class="form-
control" value="<?php echo $row['equip_id']; ?>" name="equipmen
t">
<label>Transfer To</label>
<div class="form-group">
<div class="form-label-group">
<select class="form-
control" name="location_to" tabindex="1" autofocus required>
<?php
while($rows2=mysqli_fetch_array($querys2)){
?>
<?php }?>
</select>
92
</div>
</div>
<label>Assign Employee</label>
<div class="form-group">
<div class="form-label-group">
<select class="form-
control" name="assign" tabindex="1" autofocus required>
<?php
while($rows3=mysqli_fetch_array($querys3)){
?>
<?php }?>
</select>
</div>
</div>
<div class="form-group">
<div class="form-label-group">
93
<input type="date" id="inputQty" class="form-
control" placeholder="Due" name="due" required>
</div>
</div>
<div class="modal-footer">
Close
</button>
</div>
</form>
94
</div>
</div>
</div>
</div>
<?php
?>
</table>
</div>
</div>
<div class="modal-dialog">
95
<div class="modal-
header"><h3>Assigned Employee & Location</h3>
</div>
<div class="modal-body">
<div class="form-group">
<label for="date">Code</label>
<?php
$row4=mysqli_fetch_array($query4);
?>
</div>
<div class="form-group">
96
<label for="date">Select Employee</label>
<select class="form-
control" name="emp" tabindex="1" autofocus required>
<?php
while($row=mysqli_fetch_array($query2)){
?>
<?php }?>
</select>
</div>
<div class="form-group">
<select class="form-
control" name="loc" tabindex="1" autofocus required>
<?php
97
$query3=mysqli_query($db,"select * from location")or di
e(mysqli_error());
while($row3=mysqli_fetch_array($query3)){
?>
<?php }?>
</select>
</div>
<div class="form-group">
</div>
<div class="modal-footer">
Close
98
<span class="glyphicon glyphicon-remove-
sign"></span>
</button>
</div>
</form>
</div>
</div>
</div>
</div>
<?php
if(isset($_POST['submit'])){
$emp = $_POST['emp'];
$loc = $_POST['loc'];
$code = $_POST['unique'];
$due = $_POST['due'];
// date_default_timezone_set("Asia/Manila");
99
// $date = date("Y-m-d H:i:s");
// $remarks="";
$rows=mysqli_fetch_array($querys);
if($rows==0){
?>
<script type="text/javascript">
</script>
<?php
}else{
?>
100
<script type="text/javascript">
</script>
<?php
include('include/scripts.php');
include('include/footer.php');
?>
101
CHAPTER 6: TESTING
It can also be stated as the process of validating and verifying that a software
program/application/product meets the business and technical requirements
that guided its design and development, so that it works as expected and can be
implemented with the same characteristics.
The primary goal of unit testing is to take the smallest piece of testable
Software in the application, isolate it from the remainder of the code, and
determine whether it behaves exactly as you expect. Each unit is tested separately
before integrating them into modules to test the interfaces between modules. Unit
testing has proven its value in that a large percentage of defects are identified
during its use.
102
Unit testing is a software verification and validation method where the
programmer gains confidence that individual units of source code are fit for use.
A unit is the smallest testable part of an application. In procedural programming
a unit may be an individual program, function, procedure, etc., while in
objectoriented programming, the smallest unit is a class, which may belong to a
base/super class, abstract class or derived/child class.
There are two major ways of carrying out an integration test, called the
bottom-up method and the top-down method. Bottom-up integration testing
begins with unit testing, followed by tests of progressively higher-level
combinations of units called modules or builds. In top-down integration testing,
the highest-level modules are tested first and progressively lower-level modules
are tested after that. In a comprehensive software development environment,
bottom-up testing is usually done first, followed by top-down testing.
At the validation level, testing focuses on user visible actions and user
recognizable output from the system. Validations testing is said to be successful
when software functions in a manner that can be reasonably expected by the
customer. Two types of validation testing,
103
• Alpha testing: alpha testing is simulated or actual operational testing by
potential users/customers or an independent test team at the developers'
site. Alpha testing is often employed for off-the-shelf software as a form of
internal acceptance testing, before the software goes to beta testing.
• Beta testing: beta testing comes after alpha testing. Versions of the
software, known as beta version, are released to a limited audience outside
of the programming team. The software is released to groups of people so
that further testing can ensure the product has few faults or bugs.
Sometimes, beta versions are made available to the open public to increase
the feedback field to a maximal number of future users.
• Gray box testing: Grey box testing is the combination of black box and
white box testing. Intention of this testing is to find out defects related to
bad design or bad implementation of the system. it is used for web
application.
Case 1: Login
Condition Action
104
CHAPTER 7: USER INTERFACE
105
106
107
108
109
110
CHAPTER 8: LIMITATION AND FURTHER ENHANCEMENT
8.1 Limitation
This system is developed based upon the basics requirement so may there is some
limitation in development. But as per global requirement it may be enhanced to
following points in next release.
111
CHAPTER 9: CONCLUSION
This website is basically used for keep data on related construction. This website
provides features that member can create Projects, Branches, Vendors, items, etc.
of construction. And also they can change the created records. This website is fast
and easy retrieval and to reduce the work and time. Use of this project would
make the website interactive.
112
CHAPTER 10: REFERENCES
http://www.w3schools.com/php/
http://www.w3schools.com/css/ http://www.php.net
113