Final Documentation
Final Documentation
Final Documentation
Advisors: -HailyieTeklesilassie&
LetebrhanAlemayehu
Submitted to:
The department of Computer Science and
Information Technology,
Submission date: June 10/2015
WolaitaSodo Ethiopia
ONLINE VEHICLE RENTAL SYSTEM
Sign: ______________________
Date: ______________________
Sign: ______________________
Date: ______________________
Sign: ______________________
Date: ______________________
Sign: ______________________
Date: ______________________
ACKNOWLEDGMENT
We have taken efforts in this project. However, it would not have been possible without the kind
support and help of GOD and many other individuals. We would like to extend our sincere thanks to
GOD and all of others.
We are highly indebted to our department teachers especially to our advisors (MrsLetebrhanAlemayehu
and MrHailyieTeklesilasie) for their guidance and constant supervision as well as for providing necessary
information regarding to our project.
Table of Contents
1. Background of the project:...................................................................................................................... 1
1.1 Motivation............................................................................................................................................. 1
1.2 Mission and vision of organization........................................................................................................ 1
Vision......................................................................................................................................................1
Mission....................................................................................................................................................1
2. The existing system................................................................................................................................. 1
3. Proposed project...................................................................................................................................... 2
4. Statement of the Problem......................................................................................................................... 2
5. Team composition................................................................................................................................... 2
6. Objective................................................................................................................................................. 4
6.1 General objective...............................................................................................................................4
6.2 Specific objective..............................................................................................................................4
7. Scope of the project................................................................................................................................. 4
8. Significance of the project....................................................................................................................... 4
9. Feasibility of the project.......................................................................................................................... 5
9.1 Technical feasibility analyses:...........................................................................................................5
9.2 Operational Feasibility.......................................................................................................................5
9.3 Economic feasibility..........................................................................................................................5
10. Methodology for the Project.................................................................................................................. 6
Data collection/ fact finding....................................................................................................................6
Observation.........................................................................................................................................6
Interview..............................................................................................................................................6
Analysis and design methodology approach............................................................................................6
Development tools...................................................................................................................................6
Hardware Requirements......................................................................................................................6
Software Requirements........................................................................................................................6
11. Estimated budget................................................................................................................................... 7
12. Tasks and Time schedule....................................................................................................................... 7
13. Limitation of the project........................................................................................................................ 8
14. Risk, assumption and constraint............................................................................................................ 8
Chapter 2................................................................................................................................................... 10
Abstract
Theonline vehicle rental System is being developed for customers so that they can reserve
their vehicles from anywhere. This application takes information from the customers through
filling their details. A customer being registered in the website has the facility to book a vehicle
which he/she requires.
The proposed system is completely integrated online systems. It automates manual procedure
in an effective and efficient way. This automated system facilitates customer and provides to fill
up the details according to their requirements. It includes type of vehicle they are trying to hire
and location. The purpose of this system is to develop a web based application for the people
who can book their vehicles along with requirements from any part of our country.
And the main objective of this proposed project is to develop a web based application that
enables the organization to post and communicate information online and to serve customers in
many activities like renter can rent the vehicle for weeding, for vacation, for trip and some other
activities.
Chapter 1
Online vehicle rental system is the most known system in developed countries. Its main goal is to
serve customers in many activities. From this the renter can rent the vehicle for weeding, for
vacation, for trip and some other activities.
1.1 Motivation
The group is motivated in order to solve the problems in manual vehicle rental system and to
automate the system.
Mission
We will consistently deliver a quality product, friendly service and great value that make
customers confident that Budget is their best vehicle rental choice.
Difficulties in checking vehicle status whether the vehicle is being used, being repaired or
available for rental.
Customer does not know the detailed information about the vehicles that they had rent.
Mistakes in giving vehicle to the correct customer due to data redundancies that occurred
because of the manual way.
Keeping track of vehicle is a bit difficult to be done since it is using manual way.
It is manual.
It has data redundancy.
There is time and energy wasting.
The existing system has no such applications and it not give information about online vehicle
rental system. And it is not practiced online renting at all. So the defect of the system will be
stated below on the statement of problem sections.
3. Proposed project
This online vehicle rental system is developed to provide the following services.
1. Customer can reserve a vehicle online form anywhere in the Ethiopia.
2. Every work process activity is done by computer means no need of hardcopy.
3. Everyone can access the system online.
As we have described before the existing system has the following problems.
Those are:-
Resource consumption:-it needs resources like man power, coast, and time,
documents to fill users or customer’s information and others.
Data redundancy:-some data’s are duplicated because of the system is manual.
It is not user friendly:-the manual system is difficult to users to use , access and
choose which vehicle they want to rent.
Difficulty in checking vehicle:-without checking the document the organization
can not differentiate the vehicle reserved.
No more customer satisfaction:-customers cannot reserve the vehicles by their
wish
5. Team composition
This online vehicle rental system team is composed of three members and each person
has its own responsibilities and their own task in the development of this project. The following
table illustrates the division of task among the group.
2 WSU CSIT 4TH YEAR GROUP 13 STUDENTS
ONLINE VEHICLE RENTAL SYSTEM
6. Objective
6.1 General objective
The general objective of this project is to develop web based online vehicle rental system for
existing system in Ethiopia.
3 WSU CSIT 4TH YEAR GROUP 13 STUDENTS
ONLINE VEHICLE RENTAL SYSTEM
The scope of this project is developing web based system Able to recommend vehicle to be
rent by the user based on requirements, provide car catalog for users and it allows the
organization to view user information from the data base if they registered or not and
updating data base. Customers as well as the organization’s staff will be able to use the
system effectively.
As we have learned many programming languages such as: c++, Java, object oriented and
php we have passed through many mini projects. So we are proudly sure that we can develop
this system by referring references, using past mini project experiences, and by contacting
our advisor.
Development tools
Hardware Requirements
Computer any type (Acer ,dell ,hp, Toshiba )
Digital Camera, CD, Flash disk, printer.
Software Requirements
Operating System
Win-XP, Win 7, Window 8
Microsoft office products such as MS-word, MS- PowerPoint To documentation and
presentation.
Time evaluation is the most important consideration in the development of project. The
time schedule required for the development of this project is very important since more
development time effect machine time, cost and cause delay in the development of the systems.
Regarding our current source, technology and our ability the time that takes to complete this
system successfully will be. (7 months.)
Tasks Months
Nov
No Steps Nov1-16 17- De 03- Dec Fe Ma App May June
Dec 18 19-Jan b r
02 12
1 Proposal
preparation and
Presentation
3 System analysis
4 System design
5 Implementation
6 Testing
7 Documentation
1 Computer viruses, computer Backup the files, scanning with anti-viruses and
failures recovering the system
2 Time when Power and computer Working when the power and computer lab is
lab is not available available, and using our time effectively
Assumption
We feel that the computer lab is available for us every time we need.
Backup the files, scanning with anti-viruses and recovering the system will make our
working environment free from computer viruses.
Constraints
Time constraint:-The time allotted for the project was not enough.
Chapter 2
Manager
Responsible for allotting specific job for the employees.
Maintain performance check by keeping in touch with the entire employee’s.
Conduct business meeting to promote new vehicle sales.
Prepare and manage budget.
Employees
Coordinates to increase the quality of services
Inform the vehicles if the vehicles may be reserved or not for manage
In the existing system different activities are accomplished. The activities are;
Input: - in the existing system there are different input forms which help to customers.
In the existing system there is no any kind form which helps to user to search
keywords, and login forms to the administrator to enter his/her username and
password because it is manual.
The input is customer order on face to face contact only.
Process: - in the existing system only one process activity is accomplished.
For example the customer can only fill the information’s on a given manual form to
rent a vehicle which is not reserved by others.
Output: - in the existing system only one output activity is accomplished.
Finallythe inputted form if valid and available and the user or customer agreed on the
agreement then he pays the money to rent vehicle.
Vehicles reserved, rented and free for rent.
The output is payment.
Normally the owner expects customers to make payment before they rent the vehicle.
But it’s allowed to pay for their expenditure in check-out time.
Customers that use the vehicles make payment immediately before getting served. This
means there is no credit involved for customers who want to pay after their rent.
No payment is done without manual receipt.
Service charge is applied on every service given by the system.
The report is generated from based on the work done. Some of them are explained as follows:
In any business documents and forms are the fundamental for the existence of different process
but in the existing system there is no form. Because it is working with the help of manual receipt.
All the necessary information about the vehicle rented is filled in receipt and interconnects with
the master sheet.
The existing result in MS-word or spread sheet format this is for rent and reserve vehicle.
2.7.2 Input:
The input in the existing system is only customer order but others are not available
because;
data is not correctly captured (gathered)
Data is not flexible: not easy to meet new information needs from stored data.
2.7.3 Output
2.7.5Efficiency
The existing system lacks much efficiency because it takes time to perform tasks, the data
may be redundantly recorded and data entry procedure may be exposed to errors. The
system is not wellorganized to perform each activities and it is not flexible to change or
modify the data whenever needed.
Means things we are going to take from the existing system in the proposed system. The newly
proposed system comes up with new and updated information, lookout and dynamic. From the
existing system we will add the following things to our proposed system
2.9 Proposed solution for the new system that address problems of the
existing system
Our proposed system is a complete new design of the existing system. Depending on the
problems identified under section 2.7 the following alternative solutions can be considered to
address the problems.
Since we are going to develop a web based application for online vehicle rental system the
system will have different functions some of the function are;
Reserve Vehicle: - The system shall allow staff to display customers, who rent vehicles.
View Reservation:-the system allows the staff to view reservations of vehicles that
which are reserved and which are available for customers.
Vehicle Registration:-the system allows the manager to add new vehicles to the system
for customers to choose new vehicle and increase their satisfaction.
Rent registration: - the system allows customer to register for renting vehicles .
Update Rent:-the system should allow the staff/employee or manager to update rent
where customer wants to add days for use vehicles more than rent registration
agreements and to cancel their registration.
View Vehicle:-the system should allow customers, staff and others to view vehicles
available for rent and which are reserved by customers.
Update Vehicle:-the system shall allow the manager to drop or deleted vehicles that
have already rented from the database.
Cancel Reservation:-the system allows the customer to cancel the renting agreement
online.
Generate report:-the system allows manager to generate reports about rented, reserved
or free vehicles.
Non-functional requirement is a requirement that specifies criteria that can be used to judge the
operation of a system, rather than specific behaviors.
Non-functional requirements are often called qualities of a system. Other terms for non-
functional requirements are "constraints", "quality attributes", "quality goals" and "quality of
service requirements". Qualities, that is, non-functional requirements, can be divided into two
main categories:
1. Execution qualities, such as security and usability, which are observable at run time.
2. Evolution qualities, such as testability, maintainability, extensibility and scalability,
which are embodied in the static structure of the software system.
Performance
Computer performance is characterized by the amount of useful work accomplished by a
computer system compared to the time and resources used.
User interface
The user interface of our system is displaying the overall information of system which is the
homepages.
The system will back up all its information in to the server of organization server and, the
website will also be available in external storage devices like CD disks.
Storage related
The application that we are going to develop will store all its data in to the MYSQLdatabase
which is the backend or panel of the website.
Resources
To develop our web based application we have used different types of hardware and software
resources. Some of the resources are
Hardware
Computer, digital camera, paper etc.
Software
Operating systems like Window 7/XP
Chapter 3
3.1 Introduction
System analysis is the process of gathering and interpreting facts, diagnosing problems
and using the information to recommend improvements on the system. System analysis is a
problem Activity that requires intensive communication between the system users and system
developers.
System analysis or study is an important phase of any system development process. The
system is viewed as a whole and the inputs to the system are identified. The outputs from the
organization are traced through the various processing that the inputs phase through in the
organization.
A detailed study of these processes must be made by various techniques like Interviews,
Questionnaires etc. The data collected by these sources must be studied to arrive to a conclusion.
The conclusion is an understanding of how the system functions. This system is called the
existing system. Now, the existing system is subjected to close study and the problem areas are
identified. The designer now functions as a problem solver and tries to sort out the difficulties
that the enterprise faces. The solutions are given as a proposal. The proposal is then weighed
with the existing system analytically and the best one is selected. The proposal is reviewed on
user request and suitable changes are made.
It provides feedback to the customer. An SRS is the customer's assurance that we have
understood the issues or problems to be solved and the software behavior necessary to
address those problems.
It decomposes the problem into component parts. The simple act of writing down software
requirements in a well-designed format organizes information, places borders around the
problem, solidifies ideas, and helps break down the problem into its component parts in an
orderly fashion.
It serves as an input to the design specification. The SRS serves as the parent document
to subsequent documents, such as the software design specification and statement of
work. Therefore, the SRS must contain sufficient detail in the functional system
requirements so that a design solution can be devised.
It serves as a product validation check. The SRS also serves as the parent document for
testing and validation strategies that will be applied to the requirements for verification.
Informally speaking, a use case is a story or a case of using a system by some users to carry out a
process. A bit more precisely speaking, a use case describes the sequence of events of some
types of users, called Actors, using some part of the system functionality to complete a process.
Actor
An actor represents a coherent set of roles that are entities external to the system can play in
using the system, rather than representing a particular individual. An actor represents a type of
users of the system or external systems that the system interacts with.
login Reserve
vehicle
Rent Vehicle
em ploye
e/staff
Vehicle
registration
Update
vehicle
View
Customer
vehicle
Update Rent
view
rese rvation
Manager
Generate
Report Cancel
resrvation
logout
This part describes the pictorially represented use case documentations. As we have drawn the
use case diagram for administrator to login and for the search box form, now we are going to
define them each and individually (for the login form and for the search box form)
1. Use-case Login
2. The customer clicks reservation information had been filled and the
page. date entered dates are valid
4. The customer enters the 7. The system presents information
following information customer to accept or decline the rental
(full name, ID/Passport No, Agreement.
Country, Mobile number and 9. The system shows the customer
selects vehicle plate number, that the reservation has been
Pickup date & return date) completed, and presents the customer
5. The customer clicks reserve a reservation confirmation number.
button to reserve. 10. Use case ends.
8. The customer accepts the
reservation and clicks Accept.
Alternate course 6.1 If the customer enters invalid date and time, the system goes back to
of Action step 4 to enter the valid date and time.
6.1 If the customer fills invalid information, the system goes back to step 4
to enter the invalid field again.
7.1 If the customer declines the agreement, the system displays a message
that reservation canceled.
3. Rent Registration
4. Vehicle Registration
5. Update Vehicle
Action
6. View Vehicle
Alternate course of 4.1 If match is not found go back to basic course of action 3.
Action 7.1if the entered information is invalid the system back to basic course
of action 5
8. Cancel Reservation
9. View Reservation
11. Logout
login
staff/ma controller OVRS
Home<<UI>>
nager <<UI>> database
staff/manager wants
to login if username and
password is empty
enter
username and
password
if all filled request page check authentication
click login
loged in
Reservation Reservation<<
Home<<UI>> OVRS:database
<<UI>> controller>>
custom
er
Request page
wants to check vehicle
reserve vehicle availablity
check input
store in
click Reserve
confirm
Rent
Home<<UI>> Rent<<UI>> vehicle OVRS:database
<< controller>>
staff
form
wants to
register rented
vehicles
click Rent
staff enters
customer info
Rent information
*
Vehicle vehicle
Home<<UI>> available
registration << controller>> OVRS:database
vehicle
staff <<UI>>
form
wants to
register new
vehicles
click Register
new
staff enters
vehicle info
Vehicle
registered
*
Update
Home<<UI>> Update<<UI>> vehicle OVRS:database
<< controller>>
staff
Form
* Check form
validity
update success
Reservation has
Show message been canceled()
rent update
OVRS
Home<<UI>> update controller Rent
staff database
<<UI>> <<UI>>
clicks update
rent
matched rent()
Request rent()
Select rent number
Request f or update reterive rent()
inf o()
Rent update()
form() check form validity()
view reserve
Home<<UI>> reservation inventary OVRS
staff database
<<UI>> <<UI>>
staff wants to view
reservation
click view
request reservation getReservations()
reservation
retrive all
reservations
show all reserv ations
Report OVRS
staff/ma Home<<UI>> Rent DB
<<UI>> database
nager
staff/manager
generate report
click generate
report
requests rented
getReport()
click report vehicles()
request rent()
show repot
e nte r user
na me
e nte r pa ss
w ord
login
if invalid if valid
The class diagram is the main building block of object oriented modeling. It is used both for
general conceptual modeling of the systematic of the application, and for detailed modeling
translating the models into programming code. Class diagrams can also be used for data
modeling. The classes in a class diagram represent both the main objects, interactions in the
application and the classes to be programmed.
In the diagram, classes are represented with boxes which contain three parts:
The bottom part gives the methods or operations the class can take or undertake
In the design of a system, a number of classes are identified and grouped together in a class
diagram which helps to determine the static relations between those objects. With detailed
modeling, the classes of the conceptual design are often split into a number of subclasses.
This section discusses classes and their variations, including templates and instantiated classes,
and the relationships between classes association and the contents of classes (attributes and
operations).Class diagrams show the static structure of the model, in particular, the things that
exist (such as classes and types), their internal structure, and their relationships to other things.
+RentVehicle()
r e ig st er
+Reserve Vehicle()
1
+View vehicle()
+Cancel reservation() 1 rent
Employee
1 makes -plate number:string
aproved by -Username:string
-rante date:date
m akes
-password:string
-return date:date 1..*
-fullname:string
-rentid:string 1 -address:string
1..*
-customerid:custom -phone
er number:integer
reservation manager
1..* -employeeid:emplo
yee +login()
-plate
reservation +rentVehicle() +generate report()
number:string
-plate
+viewreservation() user name:string +update rent()
-picup date:date
number:string
+update rent() password:string +view vehicle()
-returndate:date
-picup date:date m a n a g 1..*
1 +register vehicle()
-customerid:string +viewRent() es
-returndate:date +logout()
-customerid:string
+view vehicle() +login()
+view vehicle()
+select vehicle() +generate report()
+select vehicle()
+reserve vehicle() logout()
+reserve vehicle()
Note: The above user interface prototyping has the big hyperlinks and have their some sub links.
But because of space we didn’t mention all sub links for hyperlinks.
It will have additional hyperlinks which were not on the existing system. That the existing
system is manual and it not contains much other information.
Chapter 4
System Design
4.1 Introduction
Systems design is simply the design of systems. It implies a systematic and rigorous approach to
design an approach demanded by the scale and complexity of many systems problems.
Systems design is the process of defining the architecture, components, modules, interfaces, and data for a
system to satisfy specified requirements. Systems design could be seen as the application of systems
And finally this chapter mainly focuses on how the system is going to be built. Here Object Oriented
Design (OOD) methodology is used for transforming the analysis model into design model. This serves as
a blue print for the construction of the software.
Interaface
(user interface ,system
interface)
Process
(application
controller) System
(infrastructure
Domain ,Platform)
(business)
Persistence
(Data)
Data store
Business This layer implements the concepts pertinent to your business domain such as
/Domain Student or forums, focusing on the data aspects of the business objects, plus
behaviors specific to individual objects. Enterprise Java Bean (EJB) entity classes
are a common approach to implementing domain classes within Java.
The Class Model is at the core of object-oriented development and design - it expresses both the
persistent state of the system and the behavior of the system. A class encapsulates state (attributes) and
offers services to manipulate that state (behavior). Good object-oriented design limits direct access to
class attributes and offers services which manipulate attributes on behalf of the caller. This hiding of data
and exposing of services ensures data updates are only done in one place and according to specific rules -
for large systems the maintenance burden of code which has direct access to data elements in many places
is extremely high.
vehicle
+brand:string
-model:string
customer -plate number:string
-Fullname:string -vehicle Id:string
-IDnumber:string -daily price:double
-Nationality:string
+register Vehicle()
-City:string
rents +Update Vehicle()
PhoneNumber:Intege 1 1..*
r 0..1
register
+RentVehicle()
+Reserve Vehicle()
1
+View vehicle()
+Cancel reservation() 1 rent
Employee
1 makes -plate number:string -Username:string
aproved by
makes
loged in to the
system
Fig
ure 4.3 State chart diagrams for login
4.5Collaboration modeling
Collaboration diagram show the message flow between objects in an OO application, and also imply the
basic associations or relationships between classes. The rectangle represent the various objects involves
that make up the application, and the line between the classes represents the relationships (association,
aggregation, composition, dependencies, or inheritance
employee/mana
g er
Database
rent registration
home page
form
employee/mana
ger
security
controler
error massage if
customer info is invalid
Database
system
login security
employee reserve
vehicle
rent
vehicle
vehicle
registration
customer persistence
OVRS update
vehicle
view
vehicle
update
manager rent
OVRS
view
DATA BASE
reservation
generate
report
cancel
res ervation
logout
Deployment diagrams depict the physical resources in a system including nodes, components, and
connections.
Component
Association
Java Database Connectivity (JDBC);-a client may access a database. It provides methods for querying
and updating data in a database.
The Apache JServ Protocol (AJP) is a binary protocol that can proxy inbound requests from a web server
through to an application server that sits behind the web server.
Apache is a web server application notable for playing a key role in the initial growth of the World Wide
Web.
MySQL is a popular choice of database for use in web applications. It is a relational database
management system (RDBMS), and ships with no GUI tools to administer.
Since our project deal on developing a web based online vehicle rental system application, it is hard to
show all single pages which are found within the website, but for the time being we would like to rough
design of the hyperlinks of website.
CHAPTER 5
Implementation
5.1 Introduction
In this chapter we mainly focuses on the implementation part, implementation concerned with
the type of material (Hardware and software required), techniques to develop the system,
algorithm for the system, code samples of the system, data preparation, some testing techniques,
startup strategy for the new installed system are briefly described in this part of documentation.
We test the interface the website in different systems and it is compatible all systems. System testing is
also intended to demonstrate whether the system meets its objective.
Hardware acquisition: since our project is developing ones organization website. The user
should have a computer to browse the website.
Server computer: Server computer is capable of efficiently handling as much as possible for
the clients accessing to it.
Software acquisition
The client should have any browser; such as Google chrome, Opera, or other browser in
order to browse the website.
In the website the login form found in pages of the website. He/she first need to fill the username and
the password correctly in the provided forms. And if he/she becomes the valid user the system will show
him/her the back panel of the website. Then by being in the back panel of the website he/she can do
anything concerned to the website, such adding, deleting, updating the datas.
5.3 Training
Since our project is based on development of a website, it does not need any sort of training for the
client. Because if a person can use an internet he/she have the ability how to browse a website, Just
being online and browse the website
HOMRE PAGE
<?php
50 WSU CSIT 4TH YEAR GROUP 13 STUDENTS
ONLINE VEHICLE RENTAL SYSTEM
session_start();
include("connect.php");
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript">
demo1.src="images/DSC01855.jpg"
demo2.src="images/DSC01867.jpg"
demo3.src="images/DSC01899.jpg"
demo4.src="images/DSC01909.jpg"
demo5.src="images/DSC01908.jpg"
demo6. src="images/DSC01872.jpg"
demo7=new Image();
demo7.src="images/DSC01865.jpg"
if (document.images) {
document["demo"].src = eval("demo7.src");
timeimgs('1');
else {
timeimgs(numb = ++numb);
</script>
</head>
<body onLoad="timeimgs('1');">
<center>
<tr>
</tr>
<tr>
<td colspan="3" height="40px" width="900" style="border:1px solid gray; font-size: 18px; font-
family: Verdana, Arial, Helvetica, sans-serif, times-new-roman;" id="dropdown">
<!--Main Menus-->
<li><b><a href="indx.php">Home</a></b></li>
<li><b><a href="photogalary.php">PhotoGallary</a></b></li>
<li><b><a href="">Users</a></b>
<ul>
<li><b><a href="login2.php">manager</a></b></li>
<li><b><a href="login2.php">employee</a></b></li>
</ul>
<tr>
</tr>
</td>
</tr>
</table>
<tr>
<!--Slide show-->
<div id="sliderFrame">
<div id="slider">
<!--<img src="images/product-img1.jpg"-->
<img src="images/DSC01870.jpg">
</div>
<div class="group1-Wrapper">
</div>
<!--nav bar-->
<div style="text-align:center;padding:2px;z-index:2;">
</div>
</td>
</tr>
</table>
<tr>
<!--Side Bar-->
<table width="18">
<tr>
<td>
<li><b><a href="signup.php">signup</a></b></li>
</td>
</tr>
<h4>login</h4>
</table>
</form></table>
</td>
<td width="0"></td>
justify;padding-left:0px; margin-top:0px;'>
Campany Background</font></marquee></h1>
organization and its head office is located in wolaita sodo.The <strong>online vehicle rental
System</strong> is being developed for customers so that they can reserve their vehicles from
anywhere. This application takes information from the customers through filling their details. A
customer being registered in the website has the facility to book a vehicle which he/she
requires.</span></p>
<span class="F"></font></span>
</p>
</td>
</tr>
</table>
</td>
</fieldset></font>
</td>
</tr>
</table></td>
</tr>
</table>
</body>
</center>
</html>
<br><br>
<tr><td><font color=red><imgsrc="images/ert.png"><br>
</form>
<?php
if (isset($_POST['log'])){
$username=$_POST['e_mail'];
$password=$_POST['pass'];
$result = mysql_query($sql);
$rowCheck = mysql_num_rows($result);
$row=mysql_fetch_array($result);
$status=$row['status'];
if($row['role']=='Manager'){
if($status==1)
$_SESSION['user_id']=$row['user_id'];
echo "<script>window.location='manager.php';</script>";
else
}}
else if($row['role']=='employee'){
if($status==1)
$_SESSION['user_id']=$row['user_id'];
echo "<script>window.location='employee.php';</script>";
//echo "<script>window.location='employee.php';</script>";
else
}}
else if($row['role']=='customer'){
if($status==1)
$_SESSION['user_id']=$row['user_id'];
echo "<script>window.location='customer.php';</script>";
else
}}
else {
echo'<br>';
// mysql_close($conn);
?>
Vehicle-Name:</font></p>
plate-number:</font></p>
</form>
<?php
$vehiclename=$_POST['vehiclename'];
$plate_no=$_POST['plate_no'];
$brand=$_POST['brand'];
$model=$_POST['model'];
$daily_price=$_POST['daily_price'];
$status=$_POST['status'];
$query="INSERT INTO
vehicleregistration(vehiclename,plate_no,brand,model,daily_price,status)";
$query.="VALUES ('$vehiclename','$plate_no','$brand','$model','$daily_price','$status');";
$resu=mysql_query($query) or die(mysqli_errno());
if($resu)
mysql_close($con);
?>
customer_id:</font></p>
Customer_Name:</font></p>
margin-top:0px; '>
<option></option>
<option>Male</option>
<option>Female</option>
</select></td></tr>
<p> </p>
margin-top:0px; '>
<option></option>
<option>WolaitaSodo</option>
<option>Arbaminch</option>
<option>Shashamane</option>
<option>Hossana</option>
<option>Hawassa</option>
<option>Adama</option>
<option>Addis</option>
<option>Dire</option>
</select></td></tr>
</p>
<div class="date"></div>
<p> </p></form>
<?php
$customer_id=$_POST['customer_id'];
$Customer_Name=$_POST['Customer_Name'];
$sex=$_POST['sex'];
$City=$_POST['City'];
$phone_no=$_POST['phone_no'];
$vehicle_name=$_POST['vehicle_name'];
$plate_number=$_POST['plate_number'];
$brand=$_POST['brand'];
68 WSU CSIT 4TH YEAR GROUP 13 STUDENTS
ONLINE VEHICLE RENTAL SYSTEM
$model=$_POST['model'];
$dailyprice=$_POST['dailyprice'];
$rdate=$_POST['rdate'];
$ddate=$_POST['ddate'];
$query="INSERT INTO
reservation(customer_id ,Customer_Name,sex,City,phone_no,vehicle_name,plate_number,brand,mode
l,dailyprice,rdate,ddate)VALUES('$customer_id','$Customer_Name','$sex','$City','$phone_no','$vehicle_
name','$plate_number','$brand','$model','$dailyprice','$rdate','$ddate')";
$resu=mysql_query($query);
if(!$resu)
else
mysql_close($con);
?>
<?php
session_start();
include 'connect.php';
if($log != "log"){
$ctrl = $_REQUEST['key'];
mysql_query($SQL);
mysql_close($db_handle);
?>
Chapter Six
By having this over the existing system our aim was to build a new system that have greater
functionality that enhance effectiveness and efficiency related parameters on the system. By
keeping in mind that the new system will [have greater usage on]/bring the existing system fully
functional.
70 WSU CSIT 4TH YEAR GROUP 13 STUDENTS
ONLINE VEHICLE RENTAL SYSTEM
To achieve our goal [to design new system] the project team has spent all of its time on the
project on performing the tasks individually and in group based on the schedule available.
The team has faced many challenges starting from the lab due to electric power loss, lack of
resources like time, money and other resources.
6.2 Recommendation
While doing this system the team has faced different challenges. But by the cooperation of all the group
members and an advisor the team is now able to reach to the final result. Now all the group members
recommend to other developers who want to maintain this system, to add some features which are not
completed on this system. Among the limitations generating report by selecting id plate number and
other online cash or use bank data bases and update vehicles using their plate number.
SO
Acronyms
1. PHP …………………………....Hypertext Pre processor
6. MS …………………………...........Microsoft
References