0% found this document useful (0 votes)
5 views27 pages

Documentation Final Edited

The document outlines the development of an online car rental reservation system by a group of students from the School of Informatics. It details the project's objectives, implementation algorithms, testing phases, and coding standards, emphasizing the transition from manual to automated processes for managing customer information. The system aims to enhance efficiency in data processing and improve user experience through a web-based interface using PHP and MySQL.

Uploaded by

daniel abebe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views27 pages

Documentation Final Edited

The document outlines the development of an online car rental reservation system by a group of students from the School of Informatics. It details the project's objectives, implementation algorithms, testing phases, and coding standards, emphasizing the transition from manual to automated processes for managing customer information. The system aims to enhance efficiency in data processing and improve user experience through a web-based interface using PHP and MySQL.

Uploaded by

daniel abebe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 27

SCHOOL OF INFORMATICS

INFORMATION SYSTEM PROGRAM


INDUSTRIAL PROJECT II
TITLE: GENE ONLINE CAR-RENTAL SYSTEM

BY:
NO. NAME OF MEMBERS ID
1 MESEHEB TESHALE IS/664/05
2 BEKAM ADUGNA IS/883/05
3 SIEDOM ABRAHALEY IS/905/05
4 HAFIZ TEYEB IS/105/04

ADVISOR: K.N.V.RATNA KUMAR

JUNE, 2016
HU
Approval Sheet of project

Submitted by:

Name of Student ID Signature Date

MESEHEB TESHALE.............................IS/664/05 _____________ ___________

BEKAM ADUGNA..................................IS/883/05 _____________ ___________

SIEDOM ABRAHALEY...........................IS/905/05 _____________ ___________

HAFIZ TEYEB.......................................... IS/105/04 _____________ ___________

Approved by:

K.N.V.RATNA KUMAR ___________________ __________________

Name of Advisor Signature Date

Acknowledgment

First we would like to thank almighty God in which he was with us in our work and next to that
we give thanks to our advisor instructor K.N.V.Ratna Kumar who assisted us in doing the
project, documentation, and GENE UNITED company manager by giving relevant information
about their company profile as well as Hawassa university School of Informatics and Department
of Information System.
ABSTRACT
The Project online car rental reservation deals with the mechanization of rent reservation this
project will help reserved user in managing the various types of Records pertaining to his/her
customer. The product will help the user to work in a highly effective and efficient environment.

Online rent reservation system mainly provides effective and fast data processing and controlling
of stocks. In designing such a system, PHP has been employed as a development language and
MySQL as a backend database with CSS implemented for the interface.

The reserved user has been recording the customer information in the past and even in the
present through their personal manual efforts. And indeed, it consumes their considerable time
and energy that could be utilized in the better productive activities. Apart from that, with
increasing customer Strength, the task of managing information of each individual customer is
indeed cumbersome task.

In the manual System, there are number of inefficiencies that reserved user faces. The
information retrieval is one of the foremost problems. It is very difficult to gather the overall
performance reports of the customer. Generally the main goal of online rent reservation system is
to shorten data-processing time, to reduce errors, to improve the accuracy of input.
Chapter 5

IMPLEMENTATION REPORT

5.1 Introduction

The Coding of all the documents gathered starting from Requirement Analysis to Design
phase refers to what we call Implementation. Therefore, we are converting all documents
gathered and designed into the code so that the system will be implemented for the user to be
used for the purpose it has been developed for. In order to implement the system, the user must
have a server where in the system will be hosted.

5.2 Description of Algorithms

5.2.1 Algorithms of the system

 Login algorithm
1. Start.
2. Enter username and password.
3. Check the validity.
o If user name and password are correct, LOGIN.
o If username and password are not correct, TRY AGAIN.
(Display error message)

4. Display the main menu as needed.

 Reservation algorithm
1. Start.
2. Input the reservation information.
o If information is valid, ACCEPT.
o If information is not valid, REJECT.
(Display error message)
3. Reserve the customer.
4. Display car lists.
5. Send to database.

 Registration algorithm
1. Start.
2. Input registration form.
o If information is valid, ACCEPT.
o If information is not valid, REJECT.
3. Register the customer.
4. Display registered/available car lists.
5. Send to database.

 Decline algorithm
1. Start.
2. Fill decline form.
o If data is valid, ACCEPT.
o If data is not valid, REJECT.
3. Check the validity of the data.
4. Store request to a database.

 Re-reservation algorithm
1. Start

2. Input re-reservation form.

o If the customer decline formally, ACCEPT.


o If the customer decline informally, REJECT.
3. Check the validity of the data.

4. Make the customer active.

 Report algorithm
1. Start
2. Display main menu.
o Customer information
o Service given/taken
o Contract.
o Customer report copy
o General report.
3. Select the appropriate/correct report type.
4. Fill needed information.
5. Check the validity.
o If it is valid, PRINT.
o If it is not valid, RETURN TO MAIN PAGE
6. Print the report.

5.5 Installation
For the customer to access this system, there is no need to install this system on any
computer to use it. It can be accessed easily in any computer or mobile phone that has
internet access. But, for the administrator and any other user with full privilege the
computer must support the same software like Adobe Dream Weaver, which is portable so
it can be installed easily on any computer and is used for the page designing portion of the
system. MYSQL server, which needs optimum size of approximately 1 Gigabyte of RAM and
should be monitored while installation and this portion is used to store data. After these
two softwares are installed, the computer will be ready for the system to work properly.

5.6 System Testing


In an ideal situation, every program produced is expected to work properly every time it
runs. When the system responds in a way that is not desired, it has failed due to any of the
several reasons. The system is tested for volume of transaction, stress recovery from
failure and durability. Testing of the system is carried out mainly in six phases :
 Unit testing
 Integration testing
 Module testing
 System testing
 Acceptance testing
 Volume testing

5.6.1 Unit Testing


This testing is performed on our system mainly for two types of errors : syntax and logic.
First the code of the system is examined by reading through it, trying to sort arguments,
data and syntax faults. Next it is compiled and remaining errors are eliminated. Finally, to
show the input, data is properly converted to desire output test cases are developed. We
entered some sample data on the forms of our system, when we clicked on the command
buttons we found out that they are all functional.

5.6.2 Integration Testing


After the above mentioned testing, our system then undergoes another testing just to make
sure it is functioning without any undetected errors when the individual modules or
components are integrated. So next we performed the integration test to find and
eliminate remaining errors. This testing is done by focusing on small groups of
components. Two or more components of the system are integrated and tested. The idea
is to test combination of units and identify problems that occur when units are combined.

5.6.3 Module Testing


After the individual content are being tested for working correctly and expected outcome
of our system, the components are combined into working system and checked for
occurrence of failure. The logic of our system is checked because the output of one service
will affect other service.

5.6.4 System Testing


In this testing, our complete system and its environment is tested to ensure that the system
is doing what the user wants the system to do and perform as intended. It also tests to find
discrepancies between the complete system and the original objectives.

5.6.5 Acceptance Testing


This testing helped the customer based on usability, financial performance tests in the
development environment against acceptance criteria. This system is designed for the
fulfillment of bachelor degree. Even though the system fulfills the basic requirements
identified during the analysis phase, this system has not yet been tested by customer.

5.6.6 Volume Testing


The group members performed this test in order to check the efficiency of the application.
The amount of data that is processed by the system through the application (which is being
tested) in order to check the limitation of the system.

5.7 Standard Coding

5.7.1 Code for insert, delete, search and update

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<?php
mysql_pconnect("localhost","root","");
mysql_select_db("adika");
$fname=$_POST['fname'];
$lname=$_POST['lname'];
$gender=$_POST['gender'];
$age=$_POST['age'];
$tel=$_POST['tel'];
$email=$_POST['email'];
$payment=$_POST['payment'];
$carid=$_POST['carid'];
$password=$_POST['password'];
$availability=$_POST['availability'];

$q="insert into customerbuy


values('','$fname','$lname','$gender','$age','$tel','$email','$payment','New','$carid','$passw
ord');";

$q=mysql_query($q);

$qq="update NewCar set availability='Not available' where Id='$carid'";


$qq=mysql_query($qq);
if(!$q)
{
echo mysql_error();
exit;
}
else
{
echo '<script>';
echo 'alert("success! you have successfully booked")';
echo '</script>';
include("reserve.php");
}
?>
</body>
</html>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<link type="text/css" rel="stylesheet" href="admin.css" />
<body bgcolor="#2D2D2D">
<div class="page">
<div class="header"><h1>Wellcome to Adika car sell and rental PLC.</h1><a
href="logout.php" class="signout">sign out</a>
</div>
<div class="content">
<div class="menu">
<a href="addadmin.php"><div class="menuitems">Add administrator</div></a>
<a href="newcarlist.php"><div class="menuitems"> New car list</div></a>
<a href="usedcarlist.php"><div class="menuitems"> Used car list</div></a>
<a href="rentcarlist.php"><div class="menuitems"> Rent car list</div></a>
<a href="#"><div class="menuitems">View customer info</div></a>
</div>
<div class="pic">
<?php
mysql_pconnect("localhost","root","");
mysql_select_db("CPU");
$brand=$_POST['brand'];
$model=$_POST['model'];
$wheel=$_POST['wheel'];
$transmission=$_POST['transmission'];
$hp=$_POST['hp'];
$kmperliter=$_POST['kmperliter'];
$year=$_POST['year'];
$price=$_POST['price'];
$carpic=$_POST['carpic'];
$availability=$_POST['availability'];
$Id=$_POST['Id'];
$bttn=$_POST['bttn'];
if($bttn==">")
{
$qq="select * from NewCar";
$qq=mysql_query($qq);
$num=mysql_num_rows($qq);

if ($Id==$num)

$Id=$num;

else
$Id++;
}
elseif($bttn=="<")
{
$qq="select * from NewCar";
$qq=mysql_query($qq);
if ($Id==1)
$Id=1;
else
$Id--;
}
elseif($bttn=="<<")
$Id=1;
elseif($bttn==">>")
{
$qq="select * from NewCar";
$qq=mysql_query($qq);
$num=mysql_num_rows($qq);
$Id=$num;
}
elseif($bttn=="update")
{
$qqq="update NewCar set
Brand='$brand',model='$model',wheel='$wheel',transmission='$transmission',horsepower
='$hp',kmperliter='$kmperliter',year='$year',price='$price',carpic='$carpic',availability='$a
vailability' where Id='$Id'";
$qqq=mysql_query($qqq);
echo '<script>';
echo 'alert("NewCar updated")';
echo '</script>';
}

elseif($bttn=="delete")
{
$qqqq="delete from NewCar where Id='$Id'";
$qqqq=mysql_query($qqqq);
echo '<script>';
echo 'alert("car deleted")';
echo '</script>';
}
$q="select * from NewCar where Id=$Id";
$q=mysql_query($q);
$row=mysql_fetch_array($q);
?>
<form action="next2.php" method="post" name="f1" class="form">
<table width="600" border="0" cellspacing="10">
<tr>
<td width="183">Brand</td>
<td width="218"><input type="text" name="brand" value="<?php echo $row['Brand'];?
>"/>&nbsp;</td>
<td width="169">&nbsp;</td>
</tr>
<tr>
<td>Model</td>
<td><input type="text" name="model" value="<?php echo
$row['model'];?>"/>&nbsp;</td>
<td align="center">Available</td>
</tr>
<tr>
<td>Wheel</td>
<td><input type="text" name="wheel" value="<?php echo
$row['wheel'];?>"/>&nbsp;</td>
<td align="center"><input type="text" name="availability" value="<?php echo
$row['availability'];?>"/>&nbsp;</td>
</tr>
<tr>
<td>Fuel type</td>
<td><input type="text" name="fueltype" value="<?php echo
$row['fueltype'];?>"/>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>Transmission</td>
<td><input type="text" name="transmission" value="<?php echo $row['transmission'];?
>"/>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>Horse power</td>
<td><input type="text" name="hp" value="<?php echo
$row['horsepower'];?>"/>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>Kilometer per liter</td>
<td><input type="text" name="kmperliter" value="<?php echo
$row['kmperliter'];?>"/>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>Year</td>
<td><input type="text" name="year" value="<?php echo $row['year'];?>"/>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>Price</td>
<td><input type="text" name="price" value="<?php echo $row['price'];?>"/>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td colspan="2"><input type="submit" value="<" name="bttn"/>
<input type="submit" value=">" name="bttn"/>
<input type="submit" value="<<" name="bttn"/>
<input type="submit" value=">>" name="bttn"/>
<input type="submit" value="delete" name="bttn"/>
<input type="submit" value="update" name="bttn"/>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input type="hidden" name="Id" value="<?php echo $row['Id'];?>"/><input
type="hidden" name="carpic" value="<?php echo $row['carpic'];?>"/>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</form>
</div>
</div>
<div class="footer">
<div class="left"><a href="http://www.facebook.com>"><img
src="images/facebook.jpg"/></a><a href="http://www.google.com"><img
src="images/google.jpg" style="margin-left:10px"/></a><a
href="http://www.twitter.com"><img src="images/twitter.jpg" style="margin-
left:10px"/></a></div>
<div class="right"><h1><span style="color:
#2291FF">Car</span> Dealer</h1></div>
</div>
</div>
</body>
</html>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<link type="text/css" rel="stylesheet" href="admin.css" />
<body bgcolor="#2D2D2D">
<div class="page">
<div class="header"><h1>Wellcome to Adika car sell and rental PLC.</h1><a
href="logout.php" class="signout">sign out</a>
</div>
<div class="content">
<div class="menu">
<a href="addadmin.php"><div class="menuitems">Add administrator</div></a>
<a href="newcarlist.php"><div class="menuitems"> New car list</div></a>
<a href="usedcarlist.php"><div class="menuitems"> Used car list</div></a>
<a href="rentcarlist.php"><div class="menuitems"> Rent car list</div></a>

<a href="#"><div class="menuitems">View customer info</div></a>


</div>

<div class="pic">
<?php
mysql_pconnect("localhost","root","");
mysql_select_db("adika");
$q="select distinct Brand from NewCar";
$q=mysql_query($q);
echo "<form method='POST' action='displaynew.php'>";
echo "<select name='Brand' class='brand'>";
while($row=mysql_fetch_array($q)){
echo "<option value=".$row[Brand].">".$row["Brand"]."</option>";
}
echo "</select>";
echo "<input type='submit' value='show car'/>";
echo "</form>";
?>
</div>
</div>
<div class="footer">
<div class="left"><a href="http://www.facebook.com>"><img
src="images/facebook.jpg"/></a><a href="http://www.google.com"><img
src="images/google.jpg" style="margin-left:10px"/></a><a
href="http://www.twitter.com"><img src="images/twitter.jpg" style="margin-
left:10px"/></a></div>
<div class="right"><h1><span style="color:
#2291FF">Car</span> Dealer</h1></div>
</div>
</div>
</body>
</html>

4.7.2 Login Form


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<script src="SpryAssets/SpryValidationPassword.js" type="text/javascript"></script>
<link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
<link href="SpryAssets/SpryValidationPassword.css" rel="stylesheet" type="text/css" />
head>
<bo</dy bgcolor="#FFFFFF" class="body">
<form method="get" action="authenticate.php">
<h1 class="text"><marquee scrollamount="60" behavior="slide"><span style="margin-
left:20px"><a href="../geni.html">geni car sell and rental
PLC.</a></span></marquee></h1>
<table width="608" border="0" cellspacing="15" style="margin-left:40px">
<tr>
<td colspan="2"><h2>Please login below:</h2></td>
</tr>
<tr>
<td width="188" class="tds">Administrator Name</td>
<td width="386"><span id="sprytextfield1">
<input name="uname" type="text" autofocus="autofocus" id="textfield" size="35"
maxlength="10"/>
<span class="textfieldRequiredMsg">Please enter name.</span></span></td>
</tr>
<tr>
<td class="tds">Password</td>
<td><span id="sprypassword1">
<input name="password" type="password" id="pass" size="35" />
<span class="passwordRequiredMsg">Please enter password.</span></span></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input type="submit" name="Login" id="Login" value="Submit" class="submit"/><a
href="../adika.html" class="submit"><input type="button" value="cancel"
class="submit"/></a></td>
</tr>
</table>
<h3 style="margin-left:30px">click <a href="login2.html">here</a> to login as
customer</h3>
</form>
<script type="text/javascript">
var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1");
var sprypassword1 = new Spry.Widget.ValidationPassword("sprypassword1");
</script>
</body>
</html>

5.7.3 Authenticate code

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<?php
session_start();
mysql_pconnect("localhost","root",'');
mysql_select_db("adika");
$uname=$_POST['uname'];
$password=$_POST['password'];
$q="select * from adminaccountwhere uname='$uname' and password='$password'";
$q=mysql_query($q);
$row=mysql_fetch_array($q);
$num=mysql_num_rows($q);
if($num>0)
{
$_SESSION['uname'] = "$uname";
$_SESSION['password'] = "$password";
header("Location: adminpage.php");
}
else{
echo '<script>';
echo 'alert("wrong username and password ")';
echo '</script>';
header("Location: login.php");
}
?>
</body>
</html>

5. 8 User Manual
Home page screen shot of user interface
Procedures to login into the system
Administrator Login Form
Customer Login Form

Location Form
Contact us Form
Car Rent Form
Conclusion
Since the success and failures of any system depends on gathering the right information
through different fact-finding techniques and user involvement, the team has made the
effort to gather the right information or requirements. After a detailed review and study of
the existing system of Geni car rental campany registration and reservation system
modeled to reflect the new system that will help in solving or minimizing the problems that
existed in the existing system.

Designing an online reservation and registration system for Geni car rental system helped
in maintaining a computerized system for customers. The system helps in facilitating
customer reservation for rent and sell, displaying available cars, and any documents that is
needed from the customer and avoid some of the problems related to the above activities.

In order to solve different problems existed, the team members have tried to propose a
solution to minimize these problems that occur frequently, such as if a customer wants to
buy a car he/she has to go directly to the company’s branch and initiate any transaction
personally. But now, the customers can easily access their account existed in the system.
The team used different tools and techniques which helped a lot in capturing real user
requirements and model the right system for the users for their needs with Car rental or
selling tasks.

At last the team had developed a computerized registration system that can accomplish the
following tasks :
 It reduces the time to accomplish the tasks.
 It facilitates the work as a result reduce the work load and security related issues.
 It provides a simple interface for information retrieval, modification and
dissemination.
 It makes customer reservation, registration and decline simper.

5. Appendix

5.4.1 REFFERENCE
 Learning PHP and MySQL 2nd edition, Michele E. Davis & Jon A.Philips,
 Essential system analysis & design, 2nd edition: Joseph S.valacichi,joey.George and
Jeffery A.Hoffer
 Addis car sell & rental PLC at
http://www.addiscarmarket.com Accessed at 4/4/2015
 ABC car rental PLC at
http://www.mekina.net
http://www.abccarrent.com Accessed at 12/4/2015

5.4.2 GLOSSARY

 UI :user interface
 WB :work breakdown structure
 MS SQL :Microsoft structured query language
 PLC :private limited company

You might also like