You are on page 1of 92

A WEB-BASED RENTAL SYSTEM

(A CASE-STUDY OF UNIBEN TRANSPORT SERVICES)

BY

OKOGUN IMUENTIYAN

PSC0808970

COMPUTER SCIENCE DEPARTMENT

FACULTY OF PHYSICAL SCIENCES

UNIVERSITY OF BENIN

BENIN CITY.

FEBRUARY, 2015

0
CHAPTER ONE

INTRODUCTION

1.0 INTRODUCTION

Database driven websites are commonplace in the web today. The purpose of

designing a website that is database oriented is to bring in dynamism and interaction

between the website and its user. To have such liveliness in a website, the data

presented to the website users have to be updated frequently without manual

intervention. The data is displayed from the database automatically. Such automated

process is less prone to errors. But such cannot be said of the manual update process

which may be error prone.

In the course of this study, Uniben transport services will be termed “Uniben

Maingate car rental (UMCR)”

Uniben Maingate car rental (UMCR) is a private limited organization

established under the commercial law of Edo state and it is located in the capital city

of Benin. It is owned and Managed by UNIBEN. Eligibly registered members are

allowed into the organization to operate with their own car for as long as they abide by

the rules and regulations of the UMCR organization. Thus, the organization has about

80 employees and 80 cars. Uniben Maingate car rental (UMCR) organization gives

car rental service mainly to students and staffs in and around the school campuses.

This organization carries out its daily work by providing its services to the customers

using manual system. The organization uses a manual system for reserving and

renting a car through phone calls placed to the car operators by intending users. Under

1
this manual method, there is little or no record of all the rental activities and customer

information. The detailed existing system functions are listed as follows: -

 During vehicle reservation, the customers reserve a vehicle by making a phone

call to the organization; otherwise he/she is expected to go to the organization

to make reservation.

Its mission includes:

 To be a growth-oriented car rental organization by efficiently serving value-

conscious customers for all of their car rental occasions.

 To consistently deliver a quality product, friendly service and great value that

make customers confident that UMCR is their best car rental choice.

Various companies form their database based on what they need from and what

they present to their customers and with respect to that, UMCR form its database

based on the following:

 When was the car rented? (date)

 When was the car returned? (date)

 For how long was the car rented?

 How much was deposited?

 Is there an outstanding?

 Customers name

 Employee name

The value of any financial institution rests on its ability to quickly make

informed and effective decisions. But the institution’s decision-making power is only

as strong as its underlying data. Weak data erodes confidence, creates delays or worse

2
– it could lead to misguided judgment. Alternatively, a robust data platform provides a

foundation for accountability, operational efficiency and the development of

innovative products and portfolios.

1.1 MOTIVATION

Database driven websites has its demand in so many areas of life. Since the

inception of UMCR, it has carried out its daily work by providing its service to

customers using manual system. The organization uses a manual system for reserving

and renting a car through phone calls placed to the car operators by intending users.

Under this manual method, there is little or no record of all the rental activities and

customer information. During vehicle reservation, the customers reserve a vehicle by

making a phone call to the organization; otherwise he/she is expected to go to the

organization to make reservation.

Such manual system is ineffective due to the following bottleneck and

drawback associated with it:

1. During reservation a customer reserves a vehicle via phone call or he/she is

expected to go to the organization for reservation. This has the following

problems

(i) The organization phone may be busy or may not work when customer

is calling to make reservation.

(ii) It may be difficult for customers to get the phone number or the

location of the organization.

3
(iii) The customers may make unnecessary extra expenses and waste their

time.

(iv) There may accrue duplicated reservation of the same vehicle.

(v) The organization may not be able to serve many customers.

(vi) The customers may not get service of the organization 24/7 (twenty

four hours a day and seven days a week), the service thus being limited

by time.

2. When renting a vehicle, the customer information and contract made between

them are stored on the operator’s memory.

 The customer information and contract made between them may be

difficult to recall due to massive collection of data.

3. When generating report.

 When generating report, it takes time and it may not be easy to manage and

analyze work due to massive collection of data and the generated report

may not be accurate.

1.2 OBJECTIVES OF THE STUDY

The general objective of this project is to develop interactive web based system

for Uniben Maingate Car Rental (UMCR) organization that will enable customers to

reserve a vehicle of choice online from anywhere. A system where every work process

is done using computer, thus there is no need for expensive, difficult and time

consuming hard copies.

4
To achieve the objective stated above, this project aims at:

a) Studying the existing system to find out its problem.

b) Finding the solution to the problem found in the existing system

c) Designing and building a web-application of the system.

d) Carrying out a case study of the transportation system in the university

of Benin

1.3 METHODOLOGY

1. Introspection

This method has been the primary base for the project. Therefore using the

current or background knowledge and experience gotten from my study of the

internet, World Wide Web application (www), decision support system, HTML,

JavaScript, PHP, MySQL, window OS 7 platform, I was able to identify and list out

the common functionalities and requirements for the project. This background

knowledge aided the proper conduction of other methodologies applied herein.

2. Interview

This methodology encapsulates two types of methods. These methods are

closed and open interview. I selected an open interview for interviewing the manager

and employees for recognizing the existing working procedure of the organization. So

I was able to gather information about the organization and requirements (see

Appendix A)

5
1.4 CONTRIBUTION TO KNOWLEDGE

This project is expected to create a database of UMCR service and to use a web

based application for projecting the information that would be beneficial for making

informed decision both for the company and the customers.

6
CHAPTER TWO

LITERATURE REVIEW

2.0 INTRODUCTION

A lot has been written about the subject of web based car rental service all

aiming at offering a credible service which can be accessed by customers at any time

irrespective of the terminal or location. This chapter provides the literature review

that is related with what will be developed later. This chapter comprises two sections:

The first section reviews the method, equipment, and technology used. The second

section reviews the existing similar systems. References are made to books, articles,

journals, magazines, conference paper, thesis and also sources from Internet.

2.1 MANAGEMENT INFORMATION SYSTEM

The rapid growth of interactive Internet services has led to constantly

increasing Web sites (Berners-Lee, et cal; 1992). We have also experienced an

increase in their functionality, which, in turn, makes them more complicated to use.

Thus, a useful web application should be based on traditional graphical user interface

design which relies on menu selection and navigation. But these interfaces require a

considerable cognitive overhead. This may be tolerable to frequent users, but will in

many cases deter casual users, especially those who are not yet used to computers.

(Nielsen, 1993)

Management Information System is a system or process that provides

information needed to manage organizations efficiently and effectively. Management

information systems involve three primary resources namely: technology, information,

7
and people. It is important to recognize that while all three resources are key

components when studying management information systems, the most important

resource is people. Management information systems are regarded as a subset of the

overall internal controls procedures in a business, which cover the application of

people, documents, technologies, and procedures used by management accountants to

solve business problems such as costing a product, service or a business-wide strategy.

Management information systems are distinct from regular information systems in that

they are used to analyze other information systems applied in operational activities in

the organization. Academically, the term is commonly used to refer to the group of

information management methods tied to the automation or support of human decision

making, e.g. decision support systems, expert systems, and executive information

systems (Wikipedia, Online).

Meanwhile a web service is a collection of protocols and standards used for

exchanging data between applications or systems. Software applications written in

various programming languages and running on various platforms can use web

services to exchange data over computer networks like the Internet in a manner

similar to inter-process communication on a single computer. Furthermore, the

meaning of software engineering is the computer science discipline concerned with

developing large applications. Software engineering covers not only the technical

aspects of building software systems but also management issues such as directing

programming teams, scheduling and budgeting. Software engineering has several

documentation that must be done with the development of the system. There are

8
Software Development Plan (SDP), Software Requirements Specification (SRS) and

Software Design Development (SDD).

2.2 DATABASE MANAGEMENT SYSTEM (DBMS)

To understand Database Management System (DBMS), it is necessary to know

about Database and even before that, about Data. Data is any facts or figures which

can be recorded and which has a latent meaning. Database is a collection of such data,

more accurately it is a collection of related data. For example a database of countries

of the world and their calling code. Here, countries and calling codes are related to

each other and the database serves a purpose, to provide user with correct calling

code. A random collection where, data is neither related nor serve a purpose cannot

be called a database. In summary a database is a collection of logically coherent data,

which come together to serve a particular purpose and they emulate some aspect of

real world. Software which is used to manage such databases is called DBMS. For

example Oracle, IBM DB2, Microsoft Access, Microsoft SQL Server, Sybase.

Another source defined it thus:

A DBMS is a software package designed to define, manipulate, retrieve and

manage data in a database.

From the various definitions above, we can conclude that DBMS is a software

tool to manage a database. The ultimate purpose of a database management system is

to store and transform data into information to support decision making. This is very

necessary especially to firms and organizations that make use of large data.

9
2.2.1 FUNCTIONS OF A DBMS

A DBMS makes it possible for users to create, edit and update data in database

files. Once created, the DBMS makes it possible to store and retrieve data from those

database files.

More specifically, a DBMS provides the following functions:

Concurrency: Concurrent access (meaning 'at the same time') to the same database by

multiple users.

Security: Security rules to determine access rights of users.

Backup and recovery: Processes to back-up the data regularly and recover data if a

problem occurs.

Integrity: Database structure and rules improve the integrity of the data.

Data Descriptions: A data dictionary provides a description of the data.

Within an organization, the development of the database is typically controlled

by database administrators (DBAs) and other specialists. This ensures the database

structure is efficient and reliable.

2.2.2 PROS AND CONS OF A DBMS

There are a number of benefits to using a DBMS.

 A DBMS provides automated methods to create, store and retrieve data. It may

take some time to set up these methods, but once in place, a DBMS can make

tedious manual tasks a thing of the past.

 A DBMS reduces data redundancy and inconsistency.

10
 It allows for concurrent access by multiple users, each with their own specific

role. Some users only need to view the data, some contribute to adding new

data, while others design and manage the database - all at the same time!

 A DBMS increases security and reliability. Database administrators are

responsible for creating backups of databases, controlling access and, in

general, making sure it works the way it was intended. Having one or more

specialists control these tasks is a lot more effective than having each computer

user in an organization having to worry about the security of their data.

 A DBMS improves data quality. It is easy to make mistakes when entering

data. A DBMS makes it possible to set up rules for the database. For example,

when entering the phone number of a customer you should not be entering text

characters. A rule can be set up such that you cannot enter text in the phone

number field. Or think of specifying the state where a customer resides. It is

easier to select from a pre-defined list of states than to have to type in the

name.

As with any information system, there are also some challenges associated with

using a DBMS one of them is that implementing a DBMS can be expensive and time-

consuming. Typically, it requires database specialists to implement and maintain a

database. More importantly, for a database to be really useful, it needs to be integrated

into the existing business processes. In many cases, implementing a DBMS actually

means some of those processes need to be changed. This may require training of

existing staff and hiring of new staff. And of course, there are costs associated with

the hardware and software needed to run a DBMS.

11
Moreover, any database remains vulnerable to security issues. As databases get

larger and more complex, so does the challenge of keeping all the data secure.

2.3 THE INTERNET

The term Internet today refers to the global network of public computers

running internet protocol. The Internet supports the public World Wide Web

(www) and many special-purpose client/server software systems.

Yet another source defined the internet as the wired or wireless mode of

communication through which one can receive, transmit information that can be used

for single or multiple operations.

Psychologist and computer scientist Joseph Licklider published a paper entitled

Man-Computer Symbiosis, which articulated the idea of networked computers

providing advanced information storage and retrieval. In 1962, whilst working for

ARPA as the head of the information processing office, he formed a group to further

computer research, but left the group before any actual work was done on the idea.

The plan for this computer network (to be called ARPANET) was presented in

October 1967, and in December 1969 the first four-computer network was up and

running. The core problem in creating a network was how to connect separate physical

networks without tying up network resources for constant links. The technique that

solved this problem is known as packet switching and it involves data requests being

split into small chunks (packets,) which can be processed quickly without blocking

communication from other parties - this principle is still used to run the Internet today.

12
This proliferation of different networking protocols soon became a problem

when trying to get all the separate networks to communicate. There was a solution in

sight however – Robert Kahn, whilst working on a satellite packet network project for

ARPA, started defining some rules for a more open networking architecture to replace

the current protocol used in ARPANET. Later joined by Vinton Cerf from Stanford

University, the two created a system that masked the differences between networking

protocols using a new standard. In the publication of the draft specification in

December 1974, this was called the Internet Transmission Control Program.

This specification reduced the role of the network and moved the responsibility

of maintaining transmission integrity to the host computer. The result was that it

became possible to easily join almost all networks together. ARPA funded

development of the software, and in 1977 a successful demonstration of three different

networks communicating was conducted. By 1981, the specification was finalized,

published and adopted; and in 1982 the ARPANET connections outside of the US

were converted to use the new TCP/IP protocol. The Internet as we know it had

arrived.

2.4 THE WORLD WIDE WEB

The World Wide Web (abbreviated as WWW or W3, commonly known as the

Web) is a system of Internet servers that support specially formatted documents. The

documents are formatted in a markup language called HTML (Hypertext Markup

Language) that supports links to other documents, as well as graphics, audio, and

video files.

13
The World Wide Web is a system of interlinked hypertext documents that are

accessed via the Internet. With a web browser, one can view web pages that may

contain text, images, videos, and other multimedia and navigate between them via

hyperlinks.

2.5 WEB BASED APPLICATIONS

Web-based applications are distributed systems that can be accessed using a

Web browser. During recent years the extent and scope of their use has grown

rapidly, significantly affecting all aspects of our lives. Industries such as

manufacturing, travel and hospitality, banking, education, and government are Web-

enabled to improve and enhance their operations. The scope and complexity of

current Web applications varies widely from small-scale, short-lived services to

large-scale enterprise applications distributed across the Internet and corporate

intranets and extranets.

2.6 EXISTING SYSTEM REVIEW

This section is to review the current, existing system that relates to car rental

service.

2.6.1 SURIA CAR RENTAL & TOUR SDN Bill

Suria Car Rental & Tour (SCR & TOUR) focus on corporate incentive tour,

corporate group outing, MICE and also individual group outing in Malaysia and

Overseas. Our customer service in the travel industry has benefited our clients from

government, large corporation, small and medium industries and individual clients.

14
Figure 2.1: the home page of SCR Travel& Tour Website Graphical User

Interface.

Figure 2.2: the booking form of SCR Travel & Tour Website Graphical User
Interface.
15
2.6.2 NOVA CAR HIRE

Our focus is to save you time and money when it comes to hiring a car. We

provide you with the cheapest deals as well as a friendly & helpful service (Nova Car

Hire, Online). Our website is user friendly. Furthermore, at Nova Car Hire, we try to

make user booking experience as safe & comfortable as possible.

Figure 2.3: the booking form of Nova Car Hire Website Graphical User
Interface.

Figure 2.4: the help interface of Nova Car Hire Website Graphical User
Interface.

16
2.6.3 WS RENT-A-CAR

WSRAC offers a wide choice of vehicles, and all the cars are well-maintained,

ranging from economical to luxury cars, vans, MPVS, and 4 wheel drives, for you to

choose the one most appropriate for your trip and traveling comfort. To help you with

your way, all our rentals are competitively priced. WSRAC has also engaged the

Kurnia Auto Assist's 24 hours Breakdown Service to assist its customers in the event

of an Unfortunate emergency situation. WSRAC also offers a variety of other

services, such as chauffeur drive Service, Airport Shuttle Service, Corporate Rate

Program, Long-term Lease Program Weekend Rate Program, Fleet Management and

etc. (WS Rent-A- Car, Online)

Figure 2.5: the home page of WS RENT-A-CAR Website Graphical User


Interface.

17
Figure 2.6: the catalog for available vehicles of WS RENT-A-CAR Website
Graphical User Interface.

2.7 CAR RENTAL

A car rental, hire car, or car hire agency is a company that rents automobiles

for short periods of time (generally ranging from a few hours to a few weeks). It is

often organized with numerous local branches (which allow a user to return a vehicle

to a different location), and primarily located near airports or busy city areas and often

complemented by a website allowing online reservations.

Car rental agencies primarily serve people who require a temporary vehicle, for

example those who do not own their own car, travelers who are out of town, or owners

of damaged or destroyed vehicles who are awaiting repair or insurance compensation.

Car rental agencies may also serve the self-moving industry needs, by renting vans or

trucks, and in certain markets other types of vehicles such as motorcycles or scooters

may also be offered.

Alongside the basic rental of a vehicle, car rental agencies typically also offer

extra products such as insurance, global positioning system (GPS) navigation systems,

18
entertainment systems, and even such things as mobile phones. Horses, chariots,

carriages, and the like have been rented since time immemorial. The earliest known

example of cars being offered for rent dates to 1904. The German company Sixt was

established in 1912 with three cars for rent.

Joe Saunders of Omaha, Nebraska first started with only one borrowed Model

T Ford in 1916, but by 1917, his Ford Livery Company was renting out 18 Model Ts

at 10 cents per mile. The company name became Saunders Drive-It-Yourself System

and then Saunders System. By 1926, Saunders had expanded to 56 cities. Saunders'

company was bought by Avis in 1955.

An early competitor to Saunders was Walter L. Jacobs, whose Chicago-based

Rent-a-Car opened in 1918 with twelve Ford Model T. The company was bought in

1923 by John Hertz.

In Britain, car rental started with Godfrey Davis, established in 1920, and

bought by Europcar in 1981.

The sector expanded rapidly in the US; in 1926, the American Driveurself

Association assembled over 1200 delegates in Chicago.

The growth in travel after World War II led to the establishment of several well

known international companies, including National Car Rental (1947), Europcar

(1949), Enterprise Rent-A-Car (1957), Thrifty Rent A Car (1958), and Budget Rent a

Car (1958).

19
2.8 WHY ONLINE CAR RENTAL?

1. Saves valuable time and cuts cost

Availability check and instant confirmations eliminate email exchanges

between customers and your reservations department. Valuable reservations

staff time is saved because reservation requests will no longer have to be

processed. Customers can check availability and book instantly, thus closing a

booking without having to wait for your reservations staff to confirm the

reservation by email.

2. Stay ahead of competitors

With the growing trend towards Internet-based bookings across the

industry, online bookings from websites are increasing dramatically. With

Online car rental service, you are at the forefront of this industry's booking

trend.

3. Customer convenience

Customers can conveniently rent their choice cars.

20
CHAPTER THREE

SYSTEM ANALYSIS AND DESIGN

3.0 METHODOLOGY

This chapter provides the method and approach which have been used for the

system development. A detailed explanation of each phase in developing this project

will be discussed. A methodology is important for managing and controlling a

research in order to achieve the specified objectives within a given time. In order to

complete this research, there are some major phases involved. Each phase involved in

this project have significance in achieving the objectives of the project. This

project begins with knowledge acquisition phase and finished with the

documentation of result. As mentioned in the objective of this project, data

matching technique is applied to provide car recommendation service to the users.

3.1 ANALYSIS OF TRADITIONAL CAR RENTAL SERVICE

Uniben Car Rental service operates a manual form of car rental service. Under

this system of operation, a customer places a call to the car operator and makes a

reservation or he goes to the park to rent a car. Little or no records are kept and the

customer may make a poor reservation choice because he cannot see through a phone

call the car he is reserving.

21
3.2 PROBLEMS OF THE EXISTING SYSTEM

1. During reservation a customer reserves a vehicle via phone call or he/she is

expected to go to the organization for reservation. There are many

inconsistencies associated with such method.

2. When renting a vehicle, the customer information and contract made between

them may be difficult to recall due to massive collection of data.

3. When generating report, it takes time and it may not be easy to manage and

analyze work due to massive collection of data and the generated report may

not be accurate.

3.3 DESIGN OF A PROPOSED SYSTEM

Management software has been designed to carry out the following operations

 Make online reservation– the software would enhance the process of reserving

car by suggesting cars to suit and by presenting catalogue of available cars so

that customers can make an informed choice.

 Managing user accounts – users would create account on the platform with

different access rights.

 Cancel reservation – the software would make it possible to cancel reservation

where necessary.

3.4 USERS AND CHARACTERISTICS

3.4.1 ADMIN

 Admin can login to the system.

22
 Verify the car information database.

 Generate price strategy.

 Handle the payment system.

 Finalize the order.

 Cancel the order.

3.4.2 EMPLOYEE

 Update the database.

 Give information to the customer about the car.

 Place the order.

 Provide the alternatives.

 Maintain contacts.

3.4.3 MAINTENANCE MANAGER

 Checks if maintenance is due

 Give information to admin.

 Update the database.

3.4.4 CUSTOMER

 Customer can login to the system.

 Visit the website.

 Place the order.

 Cancel the order.

23
3.5 DESIGN OF A PROPOSED SYSTEM

3.5.1 RESERVATION

1. The system shall allow the customer to register for reservation.

2. The system shall allow the customer to view detailed description of particular

vehicle.

3. The system shall notify on selection of unavailable vehicles during reservation.

4. The system shall present an option for advanced search to limit the vehicle

search to specific categories of vehicles search. E.g. By Brand, Type and

Model.

5. The system shall allow the customers to select specific vehicle using different

search category during reservation.

6. The system shall allow customers to view list of available vehicles during

reservation.

7. The system shall allow the customers to cancel reservation using reservation

confirmation number.

8. The system shall allow the employee to update reservation information.

9. The system shall allow the employee to view reservations made by customers.

10. The system shall presents information on products and their daily costs and

requests the customer to accept or decline regulation and terms during

reservation.

11. The system must be able to provide a unique reservation confirmation number

for all successfully committed reservations.

24
12. The system must be able to display reservation summary for successfully

committed reservation.

3.5.2 LOG IN

13. The system should allow manager to login to the system using their username

and password.

14. The system should allow staff to login to the system using their username and

password.

15. The system shall allow the manager to create new user account.

16. The system shall allow manager to change account password.

17. The system shall allow staff to change account password.

18. The system shall allow staff to logout.

19. The system shall allow manager to logout.

3.5.3 VEHICLE

20. The system should allow staff to register new vehicles.

21. The system shall allow staff to select vehicles in the list.

22. The system shall allow customer to select vehicles in the list.

23. The system shall allow staff to Search vehicles by specific record.

24. The system shall allow customers to Search vehicles by specific record.

25. The system shall allow staff to update information of the vehicle in need of

modification.

26. The system shall allow staff to display all lists of vehicle.

27. The system shall allow staff to display all available vehicles.

28. The system shall allow customer to display all available vehicle.

25
29. The system shall allow staff to display all rented vehicle.

30. The system shall allow staff to display all off duty vehicles.

3.5.4 RENT

31. The system shall allow staff to register customers into rental list.

32. The system shall allow staff to update customer rent record details in the rental

list.

33. The system shall be able to save all changes made on the customer rent list.

34. The system shall allow staff to select customer rent record by specific search

category.

35. The system shall allow staff to search rent record of customers using specific

categories.

36. The system shall allow staff to display customers who rent vehicles.

37. The system shall allow staff to display all customers rent record

38. The system must provide printable summary for successfully committed rent.

3.6 SYSTEMS DESIGN DIAGRAMS/ANALYSIS MODEL

This section presents the use case diagrams and description tables, activity and

sequence diagram representation of the proposed system.

3.6.1 USE-CASE DIAGRAM

Use case diagram at its simplest is a representation of a user’s interaction with

the system and depicting the specifications of a use-case. A use case diagram can

portray the different types of users of a system and the case and will often be

accompanied by other types of diagrams as well

26
Figure 3.1: Use-Case Diagram of the Proposed Uniben Maingate car rental
(UMCR)

27
3.6.2 USE-CASE DESCRIPTION

1. USE-CASE LOGIN

Table 1: Use Case – Login

Use-case UC-01
Number

Use-Case Log in
Name

Priority High

Actor Staff

Description This use case describes how Staffs login to the UMCR System.

Precondition None

Post-condition If the use case was successful, the actor is now logged into the
UMCR system. If not, the system state is unchanged.

Basic course of User Action System Response


Action
1. The staff is on the home page 2. The system prompts the staff to
to login to the system. enter Username, Password.
4. The system verifies that all the
fields have been filled out and
3. The staff enters username valid.
and password, Click on 5. The staff successfully logged
Login Button. into the system.
6. Use case Exit

Alternate 6.1 If all fields are not filled out and not matched to the username
course of and password the system notifies the actor a message Verify
Action Username or Password and then goes back or returns to step 4 of
basic course of Action to enter again.

28
2. USE-CASE RESERVE VEHICLE

Table 2: Use Case - Reserve Vehicle

Use-case UC-02
Number
Use-Case Name Reserve vehicle
Priority High
Actor Customer
Description This use case permits customers to reserve and make schedule for
renting vehicle, based on the availability of the vehicle.
Precondition Customer wants to reserve a vehicle and reservation details about
customer have to be entered.
Post-condition Customers reserve successfully
Basic course of User Action System Response
Action 1. The customer wants to 3. The system prompts the
reserve a vehicle. customer to fill a reservation
2. The customer clicks form.
reservation page. 6. The system checks that all
4. The customer enters the required information have
following information been filled and the date
customer (full name, entered are valid
ID/Passport No, Country, 7. The system presents
Mobile number and selects information to accept or decline
vehicle plate number, Pickup the rental Agreement.
date & return date) 9. The system shows the
5. The customer clicks reserve customer that the reservation has
button to reserve. been completed, and presents the
8. The customer accepts the customer a reservation
reservation and clicks confirmation number.
Accept. 10. Use case ends.

Alternate course 6.1 If the customer enters invalid date and time, the system goes
of Action back to 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.

29
3. RENT REGISTRATION

Table 3: Use Case - Rent Registration

Use-case UC-03
Number
Use-Case Name Rent Registration
Priority High
Actor Staff
Description This use case permits to register rental information of the
customers and the vehicle that the customer rents.
Precondition UC-1
Post-condition Customer rent information
Basic course of User Action System Response
Action
1. The customer wants to take the 3. The system displays a
reserved vehicle. form to be filled out for
2. The staff open rent page. renting the vehicle.
4.The staff enters Full name, 4. The system prompts to
Nationality, Country, City, enter the following
Identification Number, Phone, Plate information.
No, Down Payment, Daily Price, 6. The system verifies that
Rent Date, Return Date, Total Rent basic fields have been filled
Day, Total Payment, Refund out.
5. The staff clicks on rent button. 7. The system displays
successful rent summary
8. Use case Exit.
Alternate course 6.1 If Full name, Nationality, country, City, Id/Passport, Phone,
of Action Car Plate No, Down Payment, Price/day, Rent Date, Return date
and Total Payment fields are not filled out, system goes back or
returns to step 4 of basic course of Action. To fill invalid field.

30
4. VEHICLE REGISTRATION

Table 4: Use Case - Vehicle Registration

Use-Case UC-04
Number
Use-Case Name Vehicle Registration
Priority High
Actor Staff
Description These use case permits staff to register New Vehicles to the system
with detail descriptions about the Vehicle such as condition,
Model, Brand, fuel type, Number of sits and amount of price per
day.
Precondition New vehicle Purchased
Post-condition New Vehicle information stored successfully.
Basic course of User Action System Response
Action
1. The staff wants to add a new 3. The system responds or
vehicle displays a form to be filled
2. The staff requests add new out for vehicle registration.
vehicle form page. 6. The system verifies that
4. The staff enters the following the fields have been filled
information in the form. out correctly.
Vehicle Brand, Vehicle Type, 7. The system displays a
Vehicle Model, Fuel Type, Plate successfully stored message
Number, Number of Sits, Condition, to the employee.
Price per day 8. Use case Exit
5. The staff clicks on the save or
insert button.
Alternate course 6.1 If all fields are not filled out the system goes back or returns to
of Action step 4 of basic course of Action. To fill the invalid or the empty
field.

31
5. SEARCH VEHICLE

Table 5: Use Case - Search Vehicle

Use-Case UC-05
Number
Use-Case Name Search Vehicle
Priority Medium
Actor Staff and customer
Description This use case permits staff and customer to search vehicle from the
vehicle list in order to display.
Precondition UC-3, UC-2
Post-condition Display
Basic course of User Action System Response
Action
1. The staff or Customers clicks 2. The system displays combo
on search vehicle link. box to select search to a vehicle.
3. The staff or customers select 4. Then the system display all
one of the following lists from information about the vehicle
the combo Box, Vehicle Brand. based on selected list.
Vehicle Type. Vehicle Model or 6. Use case End.
default is All.
Clicks on search button.
Alternate course 4.1 If any lists are not selected from the combo box system goes
of Action back or returns to step 3 of basic course of Action to select from the
combo box.

6. UPDATE VEHICLE

Table 6: Use Case - Update Vehicle

Use-Case Number UC-06


Use-Case Name Update Vehicle
Priority High
Actor Staff
Description This use case permits staff to update or modify vehicle information.
Precondition UC-1, UC-5,
Post-condition updated vehicle information
32
Basic course of User Action System Response
Action 1. The user wants to update 3. The system will display all
vehicle information. information about the vehicle.
2. Search vehicle by plate 6. The system successfully
number. updates information in to
4. The staff enters update database.
information of vehicle. 7. Use case Ends.
5. The employee click on update
button.
Alternate course 3.1 If vehicle is not found, the system goes back to basic course of
of Action action 2

7. VIEW VEHICLE

Table 7: Use Case – View Vehicle


Use-Case UC-07
Number
Use-Case Name View Vehicle
Priority Medium
Actor Staff and customer
Description This use case allows staff and customer to view or display all
vehicles with their detailed description about the vehicle.
Precondition Vehicle Rent, Reserve
Post-condition Views all vehicles
Basic course of User Action System Response
Action 1. The staff or Customer wants 3. The system retrieves all
view vehicle. information about the vehicles.
2. The staff or customer click on 4. Use case exit.
view vehicles button.
Alternate course 3.1 If in the database no matched vehicle is available, the system
of Action goes back to Basic course of action 4.

8. UPDATE RENT

Table 8: Use Case - Update Rent

Use-Case UC-08
Number
Use-Case Name Update Rent

33
Priority High
Actor Staff
Description This use case permits employee to update or modify Rent
information incase when there is a need for editing
Precondition Need to Change information
Post-condition Successful Update Message
Basic course of User Action System Response
Action 1. Staff wants to update rent. 4. The system displays the
2.Open the rent page rent information.
3. Search by unique attribute 7. The system validates
which is give to customer during updated information and
rent. saves updated information in
5.The Staff update the to database.
information 8. Exit use case.
6. Click on update button.
Alternate course 4.1 If match is not found go back to basic course of action 3.
of Action 7.1 if the entered information is invalid the system goes back to
basic course of action 5

9. CANCEL RESERVATION

Table 9: Use case - Cancel Reservation

Use-Case UC-09
Number
Use-Case Name Cancel a Reservation
Priority Medium
Actor Customer
Description This use case permits a customer to cancel a reservation.
Precondition Customer has already reserved and wants to cancel the reservation
Post-condition Customer successfully cancel a vehicle
Basic course of User Action System Response
Action 1. The customer wants to cancel 3. The system
reservation displays a form
2. The customer opens reservation 5. The system verifies the field
page and clicks cancel reservation has been filled out correctly
link and checks validity of
4. The customer enters confirmation number, then
reservation confirmation number popup a message to verify the
and clicks cancel reservation canceling.
button. 7. The system cancels the
6. Are you sure you want to reservation and display a

34
cancel, the customer clicks “Yes” message that the reservation is
button. canceled.
8.use case Exit

Alternate course 5.1 If the customer enters invalid number system goes back or
of Action returns to step 4 of basic course of Action. To fill invalid or the
empty field again.
6.1 If the customer clicks “NO” reservation canceling will be
terminated.

10. VIEW RESERVATION

Table 10: Use Case - View Reservation

Use-Case UC-10
Number
Use-Case Name View Reservation
Priority Medium
Actor Staff
Description These use case allow staff to view or display customer reservation.
Precondition UC-1
Post Condition Display all reservations
Basic Course of User Action System Response
Action 1. The staff wants to view 3. The system responds to the
reservation. requested page.
2. The staff requests the 5. The system puts on view or
reservation Page. displays all reservation
4. Then on reservation page information to the employee.
the employee clicks view 6. Use case ends
button.
Alternate course 5.1
of If reservation is not found, system goes to basic course of
Action action 6.

35
11. GENERATE REPORT

Table 11: Use Case - Generate Report

Use-Case UC-11
Number
Use-Case Name Generate Report
Priority High
Actor Manager
Description These use case allows the manager of the organization to generate a
report about the renting information of the month.
Precondition Manager wants to see report
Post Condition Generate monthly Report Information
Basic Course of User Action System Response
Action 1. The Manager wants to generate report. 3. The system
2. The Manager clicks rent pages. responds to the
5. Then on the rent page the Manager requested page.
specifies the month and then clicks on the 7. Use case ends
generate button.
Alternate course 7.1 If the reservation information is empty or not found go to 8.
of Action

12. LOGOUT

Table 12: Use Case – Logout

Use-Case Number UC-12


Use-Case Name Log out
Priority High
Actor Staff
Description These use case allow Staff to log out from the system at a time
of accomplishing their work.
Precondition UC-1
Post Condition System logs out
Basic Course of User Action System Response
Action 1. The Staff or 3. The system responds to the requested
manager wants to action.
log out 4. The system displays a message that
2. The Staff or the Staff or manager logged out from
manager clicks the system.
the log out 5. Use case Ends
button

36
3.6.3 ACTIVITY DIAGRAM

An activity diagram is a variation of a state machine in which the states

represent the performance of actions or sub activities and the transitions are triggered

by the completion of the actions or sub activities. It represents a state machine of a

procedure itself.

Figure 3.2: Activity Diagram - Login

37
Figure 3.3: Activity Diagram – Reserve a Vehicle

38
Figure 3.4: Activity Diagram – Rent registration

39
Figure3.5: Activity Diagram – Vehicle registration

40
Figure 3.6: Activity Diagram – Search Vehicle

41
Figure 3.7: Activity Diagram – Update Vehicle

42
Figure 3.8: Activity Diagram – View Vehicle

43
Figure 3.9: Activity Diagram – Update Rent

44
Figure 3.10: Activity Diagram – Cancel Reservation

45
3.6.4 SEQUENCE DIAGRAM (SD)

A sequence diagram shows an interaction arranged in time sequence. In

particular, it shows the instances participating in the interaction by their “lifelines”

and the stimuli with which they are arranged in time sequence. It does not show the

associations among the objects. (Sawyer I. a.)

UMCR
Login
Data
base

Figure 3.11: Sequence Diagram – Login

46
UMCR Data
base

Figure 3.12: Sequence Diagram – Vehicle Reservation

UMCR Data
base

Figure 3.13: Sequence Diagram – Rent Registration

47
UMCR Data
base

a)

Figure 3.14: Sequence Diagram – Vehicle Registration

BRC:
UMCRDatabase
Data base

Staff, Customer

Figure 3.15: Sequence Diagram – Search Vehicle

48
UMCR
Data base

Figure 3.16: Sequence Diagram – Update Vehicle

49
UMCR
Data base

Figure 3.17: Sequence Diagram – View Vehicle

UMCR
Data base

Figure 3.18: Sequence Diagram – Cancel Reservation

50
UMCR
Data base

Figure 3.19: Sequence Diagram – Update Rent

51
UMCR
Data base

Figure 3.20: Sequence Diagram – View Reservation

UMCR
Data base

Figure 3.21: Sequence Diagram – Generate Report

52
CHAPTER FOUR
SYSTEM IMPLEMENTATION, TESTING AND DOCUMENTATION

4.0 SYSTEM IMPLEMENTATION REQUIREMENT

The implementation of a system entails all those processes undertaken in the

conversion of the old system to the new system. It begins from testing and debugging

of the program to ensuring the elimination of potential problems users may face in the

future. The process involves coding the instructions in a programming language of

choice, testing the system, training the user on how to use it, and so on. The overall

system is very user-friendly; that is, it is designed so that any level of user can easily

use it without having any sort of problem. To implement any system design into a

computer program the most important consideration is first and foremost the

programming language to be used for implementation. Because it can be a major

factor in determining the cost, complexity, user – operability and that which can be

used for a wide array of programming functions. Some are more suited for writing

certain types of program than the others, based on their functionality or on criteria set

by programmer.

The choices of programming language for this project are:

 HTML (Hypertext Makeup Language)

 MYSQL (MY-Structure Query Language)

 PHP (Hypertext Pre-Processor)

 CSS (Cascading Style Sheet)

53
4.1 HTML LANGUAGE

Hypertext Markup Language (HTML), the standard text-formatting language

for documents on the interconnected computing network known as the World Wide

Web. HTML documents are text files that contain two parts: content that is meant to

be rendered on a computer screen; and markup or tags, encoded information that

directs the text format on the screen and is generally hidden from the user. Some tags

in an HTML document determine the way certain text, such as titles, will be

formatted. Other tags cue the computer to respond to the user's actions on the

keyboard or mouse. For instance, the user might click on an icon (a picture that

represents a specific command), and that action might call another piece of software to

display a graphic, play a recording, or run a short movie. Another important tag is a

link, which may contain the Uniform Resource Locator (URL) of another document.

HTML also includes markups for forms that let the user fill out information and

electronically send, or e-mail, the data to the document author, and initiate

sophisticated search of information on the Internet, or order goods and services.

4.2 MYSQL DATABASE SERVER

MySQL is a popular choice of database for use in web applications, and is a

central component of the widely used LAMP open source web application software

stack—LAMP is an acronym for "Linux, Apache, MySQL, Perl/PHP/Python". The

MySQL Database powers the most demanding Web, E-commerce and Online

Transaction Processing (OLTP) applications. It is a fully integrated transaction-safe,

ACID compliant database with full commit, rollback, crash recovery and row level

54
locking capabilities. MySQL delivers the ease of use, scalability, and performance that

has made MySQL the world's most popular open source database.

MySQL is the database construct that enables PHP and Apache to work

together to access and display data in a readable format to a browser. It is a Structured

Query Language server designed for heavy loads and processing of complex queries.

As a relational database system, MySQL allows many different tables to be joined

together for maximum efficiency and speed.

Some of the more popular features of MySQL are as follows:

 Multiple CPUs usable through kernel threads

 Multi-platform operation

 Numerous column types cover virtually every type of data

 Group functions for mathematical calculations and sorting

 Commands that allow information about the databases to be easily and

succinctly shown to the administrator

 Function names that do not affect table or column names

 A password and user verification system for added security

 Up to 32 indexes per table permitted; this feature has been successfully

implemented at levels

 of 60,000 tables and 5,000,000,000 rows (version 4.1.2, currently in

development, will allow 64

 indexes)

 International error reporting usable in many different countries

55
MySQL is the perfect choice for providing data via the Internet because of its

ability to handle heavy loads and its advanced security measures.

4.3 PHP

PHP is a server-side scripting language that allows your Web site to be truly

dynamic. PHP stands for PHP: Hypertext Preprocessor its flexibility and relatively

small learning curve (especially for programmers who have a background in C, Java,

or Perl) make it one of the most popular scripting languages around. PHP’s popularity

continues to increase as businesses, and individuals everywhere embrace it as an

alternative to Microsoft’s ASP language and realize that PHP’s benefits most certainly

outweigh the costs.

4.4 MACROMEDIA DREAMWEAVER CSS

Macromedia Dreamweaver CS5 integrates with Adobe BrowserLab, one of the

new CS Live online services, which provides a fast and accurate solution for cross-

browser compatibility testing. With BrowserLab you can preview web pages and local

content using multiple viewing and comparison tools. Dreamweaver lets you build

everything from basic data-driven websites to powerful online stores. Dreamweaver

CS5 includes updated and simplified CSS starter layouts.

56
4.4.1 DYNAMICALLY-RELATED FILES

The Dynamically-Related Files feature lets you discover all of the external files

and scripts necessary to assemble PHP-based Content Management System (CMS)

pages, and displays their filenames in the Related Files toolbar. By default

Dreamweaver supports file discovery for the Wordpress, Drupal, and Joomla CMS

frameworks.

Live view navigation activates links in live view, allowing you to interact with

server-side applications and dynamic data. The feature also allows you to enter a URL

to inspect pages served from a live web server and edit pages you have browsed to if

they exist in one of your locally defined sites. A Dreamweaver site provides a way to

organize and manage all of your web documents, upload your site to a web server,

track and maintain your links, and manage and share files. It consists of as many

folders, whose numbers depend on your development environment and the type of

website you are developing:

4.4.2 LOCAL ROOT FOLDER

Stores the files you are working on. Dreamweaver refers to this folder as your

local site. This folder is typically on your local computer, but it can also be on a

network server.

4.4.3 REMOTE FOLDER

Stores files for testing, production, collaboration, and so on. Dreamweaver

refers to this folder as your ―remote site in the Files panel. Typically, your remote

folder is on the computer where your web server is running. The remote folder holds

the files that users access on the Internet. Together, the local and remote folders

57
enable you to transfer files between your local hard disk and web server, making it

easy to manage files in your Dreamweaver sites. You work on files in the local folder,

and then publish them to the remote folder when you want other people to view them.

4.5 WHY USE PHP/MYSQL?

i. Using PHP scripting and MySQL database enables programmers to create

applications that will run on just about any computer, regardless of operating

system. PHP has thousands of programming functions to facilitate almost any

task.

ii. If the computer can run web server software, the PHP / MySQL application is

portable across operating systems and environments ... PC, Mac, Linux, Unix,

Windows, Internet, Intranet, etc.

iii. PHP / MySQLis most often used to create dynamic web sites. On this web site,

one script drives about 60 pages of content. Additional scripts are used here to

process form data but that too could be done through the main script using

included files.

iv. Data can be exported from MySQL for use in spreadsheets or databases on

your PC. Similarly, data residing in existing PC spreadsheets and databases can

be imported to an online database. The portability of data opens up all sorts of

uses, especially for workgroups and for those who need to access data from

both home and work.

58
4.6 DATABASE DESIGN SPECIFICATIONS

The database management system used as the backend for the design and

development of the system is MySQL. The database management system was used to

create different database schema objects that store, retrieve, and manipulate the data in

different dimensions for the automated system. The major schema objects created in

the database are database tables that are used to store the data for the application. The

database tables were fully accessed using PHP (Hypertext Pre-Processor) connection

from the application programme interface (API) to the backend, which is the database

server (MySQL Server). PHPMyADMIN provides an API for accessing database

system programmatically. SQL statements were used to manipulate the database

schema objects to the maximum. The automated system was designed and developed

with HTML/PHP (Hypertext Makeup Language/Hypertext Pre-Processing) as the

programming language of choice for the research. The HTML/PHP is an object

oriented programming language that provides a dynamic interface in programming

with PHPMyADMIN for the implementation and manipulation of the database

management system. The software is expected to work and run efficiently and

effectively in a Windows based Operating system.

4.7 SYSTEM REQUIREMENTS

This section specifies the hardware and software requirements of the proposed

UMCR car rental management system.

59
4.7.1 HARDWARE REQUIREMENTS

Then UMCR online management system requires a good internet connection

since it requires upload of car catalogue and other digital media which are data

intensive. LAN/WAN Products and peripherals needed for car rental computerization

and record analysis at a competitive price includes:

i. Internet Servers - ISP Turnkey, LAN/WAN Gateways WEB, FTP, DNS,

NFS Servers, Proxy/Firewall, News Servers, Sun/Sparc (Ultra Axi) Servers,

Intel/Alpha Servers.

ii. RAID Products - Raid 0, 1, (0+1) & 5, (Rackmount/Towers) Software &

Hardware based RAID SCSI to SCSI, PCI to SCSI Solutions

iii. PC Work-Stations - P-II/III/IV/M, AMD, Ultra-Flat Monitors and Xenon

based, high speed/graphics, Multi-media, CAD/CAM Systems for

developers and graphic designers.

iv. LAN/WAN Products - CSU/DSU Terminal Server, Multiport Serial Cards,

ISDN/T1-Routers, Rack Modem Pool, Hubs/Switches.

v. Rackmounts - Racks, Drawers, Slides, Keyboards, Monitors, UPSs, Single

Board Computers, AC/DC Options, Mouse-digital Switch Boxes.

vi. Other Accessories - Scanners, Printers, Web Cam, Digital Camera, etc.

4.7.2 SOFTWARE REQUIREMENTS

The software requirement of the system is specified below:

i. Windows Xp/Vista/7/8 Operating system/Linux Operating System.

60
ii. MySQL Server

iii. Wamp Server

4.8 CHOICE OF PROGRAMMING LANGUAGE

A lot of programming languages, especially Object Oriented Programming

Languages such as HTML/PHP, Visual Basic 6.0, C++, C#, Java, C, Visual Basic.Net,

Pascal, FORTRAN, Visual Basic etc., are available and appropriate for the

implementation of the design. The choice of programming language for this project is

HTML/PHP because PHP is a web based program that can be accessed on-line from

any part of the world even with a mobile device.

PHP is a scripting language that is often embedded into HTML to add dynamic

functions. PHP allows you collect process and utilize data to create a desired output.

PHP is able to perform a number of tasks including printing data, making numeric

calculations (such as addition or multiplication), making comparisons (which is

bigger, are they equal, etc.) and making simple Boolean choices. From this you can

create more complex loops and functions to make your page generate more

specialized data.

MySQL is a relational database system that is used to store information.

MySQL can store many types of data from something as tiny as a single character to

as large as complete files or graphics. Although it can be accessed by most

programing languages, it is often coupled with PHP because they work together with

ease. Information stored in a MySQL database hosted on a web server can be accessed

from anywhere in the world with a computer.


61
4.9 USNG THE SOFTWARE

To start the UMCR Online Management System, open a web browser and enter

the address of UMCR Online Management System website which for now is

http://localhost/cab

The UMCR Online Management System webpage opens.

i. Input Username and Password for Administrator or Staff Authentication

ii. For Staff; record available cars and also generate report on rented cars.

iii. For Administrator; generate report on rental history and other administrative

privileges.

iv. Click on the Print report button to print preview the report and print if need be.

4.10 SYSTEM TESTING

System testing is an integral part of a system development life cycle, which

aims at ensuring that the system works accurately and efficiently before the actual

commencement of operation. The system is designed to meet the UMCR Online

Management System needs, but since no system design is perfect, it is proper the

system is initially tested to ensure it meets users’ requirements.

The system application is tested after it has been successfully installed into the

UMCR Online Management System host computer, from the login screen via a

username and a password entering. After entering the valid username and password,

the operator clicks on login to display the menu screen. After which he/she clicks on

62
any command from the screen to perform a task. Simply follow the easy to use GUI

controls available in the various forms in the system application.

4.11 SYSTEM INSTALLATION

System installation is the process of installing the necessary software and hardware

without which the new system cannot function optimally. The installation should be

carried out in the presence of a trained staff. However, the steps listed below can be

followed to installing the new system application:

i. Open My computer

ii. Open the Wamp Server setup.exe file

iii. Click install application

iv. After the installation process, click finish

v. Start Wamp Server

vi. Open Web Browser (Opera Mini/Mozilla Fire Fox)

vii. Enter the address: http://localhost/cab

Also it is most important to create the database that the application will use as the

backend. The application also, creates the database once the application is opened for

the first time, after which the database is created once and for all.

63
4.12 SYSTEM OPERATIONAL DOCUMENTATION (USER’S MANUAL)

This “ONLINE MANAGEMENT SYSTEM” was specially designed for

UMCR Online car rental service and it brings to focus a global strategy for achieving

efficiencies and facilitating the provision of high quality car rental management. This

goes beyond just having computers at the comfort of our homes to the actual

utilization of computer technology in strengthening the quality of service information

and management (Data processing and Management). In essence, computerization

represents a radical transition from slow and inflexible paper and manual processes to

digital and automated processes, which is far more accurate and easier to work with.

This is tantamount to transforming a car rental into a near paperless system, reducing

cost and workload, saving time and thereby aiding in quick decision making and

increasing the efficiency of the total system of car rental.

For the software to be used successfully, the user should meet the requirements

and follow the installation procedure mentioned above.

4.13 MAINTENANCE

Maintenance and upgrading of the web based car rental management system

will be carried out from time to time so as to allow for more innovations and also

newly discovered functions. This will help in making the system up-to-date and thus

enhance speed, efficiency and quality of delivery in terms of car rental management.

64
CHAPTER 5

CONCLUSION

5.0 CONCLUSION:

This web-based car rental system is developed to be an interactive web-based

environment for car rental services that intends to overcome the problems faced by

users and car rental service organizations. For customers, the proposed UMCR online

rental management system will provide car recommendation service to help users to

choose the suitable car for them to rent based on their budget, the number of

passenger, and their journey distance. Besides, users may view the car catalogue

provided in the system, while for the organization, UMCR online is able to produce

transaction report and thereby able to make informed business decisions. To access

the administrator page, UMCR provides security access level for authorized

administrator only.

Today, various online systems make the life of human very comfortable. By

some clicks only, we can get whatever we want at home. We already know about the

online shopping, e-banking, etc. Similarly, The Car Rental System is the online

facility to book cars online with just few clicks. Some people cannot afford a car, for

those people this system becomes very helpful. This system includes various cars to

suit the customer’s needs as per budget and comfort.

Based on research conducted while executing this project, some specific

conclusions can be drawn as follows:

1. This application can help UMCR offer timely and effective web based

car rental service

65
2. This application makes transaction processing and data management that

occurs in Rental easier for UMCR

3. This application will help UMCR give reliable transaction report

4. Data storage which is already computerized will ease UMCR's data

storage, retrieval and report

5. UMCR will experience a huge upsurge in customer patronage because

customers can comfortable make reservations.

5.1 RECOMMENDATIONS

Some suggestions exist that can be considered against UMCR even with the

use of this system, namely:

1. Need to open branches in other major parts of the city in order to achieve more

growth and development

2. The interface can be made more attractive

3. It is necessary to develop the credit card payment system, so that when the

customers do not have a PayPal account, they can pay with credit cards.

66
REFRENCES

1) Berners-Lee, et cal; (1992). WorldWide Web; CERN; Invited talk at conference:

Computing in High Energy Physics 92, Annecy, France, 2327 Sep 1992.

2) Berners-Lee T.J., et al, (2001). The World Wide Web, Communications of the

ACM

3) Nielsen, J. (1993). Usability Engineering. Academic Press, Boston, ISBN 0-12-

518405-0

4) Ian Peter, (2004, Retrieved 27 June 2014) the Internet History Project. “So,

who really did invent the Internet?"

5) Barry M. Leiner, et al. (Retrieved 27 June 2014) Brief History of the Internet:

The Initial Internetting Concepts". Internet Society.

6) MIT 150 Exhibitions. (2011, Retrieved April 20, 2013). Man-Computer

Symbiosis

67
BIBLIOGRAPHY

1) Laura M Haas, Walteer Chang et al, (1990). Staburstmid flight: As The Dust

Clears, volume 2, No1, March

2) Okpara Okezie Stanley, (2012). Design and implementation of online facility

and time table management system. Pg. 2-7.

3) http://en.wikipedia.org/wiki/Car_rental.

4) http://www.onlinebookingmanager.com/benefits.php.

5) http://www.ccs.neu.edu/home/mirek/classes/2012-FCS3200/Slides/1

Introduction.pdf

6) O’Brien, J (1999). Management Information Systems – Managing Information

Technology in the Internetworked Enterprise. Boston: Irwin McGraw-Hill.

7) Jeffrey Ullman 1997: First course in database systems, Prentice–Hall Inc.,

Simon & Schuster, Page 1, ISBN 0-13-861337-0.

8) Beynon-Davies P. (2004). Database Systems 3rd Edition. Palgrave,

Basingstoke, UK. ISBN 1-4039-1601-2

9) Berners-Lee, Tim; Cailliau, Robert (12 November 1990, Retrieved 27 July

2009). "WorldWideWeb: Proposal for a hypertexts Project".

10) Alex Chaffee (2000-08-17, Retrieved 2008-07-27). "What is a web application

(or "webapp")?".

11) Berners-Lee, Tim; Connelly, Daniel (November 1995, Retrieved 1 December

2010). "RFC 1866 - Hypertext Markup Language - 2.0". Internet Engineering

Task Force.

68
12) Guy Harrison; Steven Feuerstein (2008). MySQL Stored Procedure

Programming. O'Reilly Media. p. 49. ISBN 978-0-596-10089-6.

13) Oracle. (Retrieved 17 September 2012). What is MySQL?". MySQL 5.1

Reference Manual.

14) Lerdorf, Rasmus (2007-04-26, Retrieved 2009-12-11.). "PHP on Hormones –

history of PHP presentation by Rasmus Lerdorf given at the MySQL

Conference in Santa Clara, California". The Conversations Network.

15) Jackson, Joab (2014-07-31). "PHP gets a formal specification, at last". ITworld.

IDG.

16) PHP Group. (Retrieved 2008-02-25). The History of PHP and related projects

17) World Wide Web Consortium, (Retrieved December 2010). "What is CSS?".

18) Meyer, Eric A. (2006). Cascading Style Sheets: The Definitive Guide (3rd ed.).

O'Reilly Media, Inc. ISBN 0-596-52733-0.

19) David Powers (July 12, 2010). "Time to Learn PHP? Dreamweaver CS5 Is

Here to Help You". Pearson Education, Adobe Press. Retrieved July 11, 2012.

20) . Adobe Systems Incorporated, ( Retrieved 2011-01-29) “Adobe Dreamweaver

CS5: System Requirements and languages"

21) Gehani, N. (2006). The Database Book: Principles and practice using MySQL.

1st ed., Summit, NJ.: Silicon Press

22) Teorey, T.J., Lightstone, S.S., et al., (2009). Database Design: Know it all.1st

ed. Burlington, MA.: Morgan Kaufmann Publishers

69
23) Andreas Mauthe; Peter Thomas (2004). Professional Content Management

Systems: Handling Digital Media Assets. John Wiley & Sons. ISBN 978-0-

470-85542-3.

24) OMG (2011). OMG Unified Modeling Language (OMG UML),

Superstructure, V2.4.1, p. 507.

25) J. Rumbaugh, I. Jacobson, and G. Booch, (1999). The Unified Modeling

Language Reference Manual. Addison-Wesley.

26) Dumas, Marlon, and Arthur H.M. Ter Hofstede, (2001). "UML activity

diagrams as a workflow specification language." ≪ UML≫—the Unified

Modeling Language. Modeling Languages, Concepts, and Tools. Springer

Berlin Heidelberg, 2001. 76-90.

27) McGraw-hill.com, (Retrieved 20 July 2008). Glossary of Key Terms

28) Gemino, A., Parker, D.(2009) "Use case diagrams in support of use case

modeling: Deriving understanding from the picture", Journal of Database

Management, 20(1), 1-24.

29) Vidgen, R. (2003). "Requirements Analysis and UML: Use Cases and Class

Diagrams", Computing & Control Engineering, 14(2), 12.

30) Matthew West and Julian Fowler (1999). Developing High Quality Data

Models. The European Process Industries STEP Technical Liaison Executive

31) Whitten, Jeffrey L.; Lonnie D. Bentley, Kevin C. Dittman. (2004). Systems

Analysis and Design Methods. 6th edition. ISBN 0-256-19906-X.

70
APPENDIX
APPENDIX A
QUESTIONAIRES

Questions asked during requirement elicitation using interview

Q1. What makes your organization different from other organization who rents a car?

Q2. What are the objectives of your organization?

Q3. What is the mission of your organization?

Q4. How many branches does your organization have?

Q5. How many employees do you have?

Q6. How does your current system work?

Q8. How many cars do you have?

Q9. What kinds of car models do you have?

Q10. What are the procedures or steps when a customer rents a car?

Q11. What qualifications are expected from a customer who wants to rent a car?

Q12. Where do you keep customer and rental information?

Q13. How do you keep track of which cars are rented and which are not?

Q14.How many cars can a client rent at a time?

Q15. How do you generate customer and rental information?

71
APENDIX B
SCREENSHOTS FROM THE PROPOSED UMCR WEBSITE

Figure 4.1: Homepage of Proposed UMCR website Graphical User Interface

Figure 4.2: Admin Login of Proposed UMCR website Graphical User Interface

72
Figure 4.3: Customer Login of Proposed UMCR website Graphical User
Interface

Figure 4.3: Staff Login of Proposed UMCR website Graphical User Interface

73
APPENDIX C
PROGRAM SOURCE CODE

INDEX.PHP
<?php
session_start();
mysql_connect("localhost", "root", "");
mysql_select_db("cab");

if (isset($_POST['submit'])){
$username = $_POST['customer'];
$password = $_POST['password'];

$sql = "select * from customer where username = \"$username\" and password = \"$password\"";
$query = mysql_query($sql);

$num = mysql_num_rows($query);

if ($num > 0){


$row = mysql_fetch_array($query);

session_register("ID");
session_register("FIRSTNAME");
session_register("SURNAME");
session_register("ADDRESS");
session_register("PHONE");

$_SESSION['ID'] = $row['id'];
$_SESSION['FIRSTNAME'] = $row['firstname'];
$_SESSION['LASTNAME'] = $row['lastname'];
$_SESSION['ADDRESS'] = $row['address'];
$_SESSION['PHONE'] = $row['phone'];

header("location: customer/index.php");

}else{
$error = 1;
}

if (isset($_POST['submit2'])){
$username = $_POST['user'];
$password = $_POST['pass'];

$sql = "select * from admin where username = \"$username\" and password = \"$password\"";
$query = mysql_query($sql);

74
$num = mysql_num_rows($query);

if ($num > 0){


$row = mysql_fetch_array($query);

session_register("ID");

$_SESSION['ID'] = $row['id'];

header("location: admin/index.php");

}else{
$error = 1;
}

if (isset($_POST['staffsubmit'])){
$username = $_POST['staff'];
$password = $_POST['staffpass'];

$sql = "select * from staff where username = \"$username\" and password = \"$password\"";
$query = mysql_query($sql);

$num = mysql_num_rows($query);

if ($num > 0){


$row = mysql_fetch_array($query);

session_register("FIRSTNAME");
session_register("LASTNAME");

$_SESSION['ID'] = $row['id'];
$_SESSION['FIRSTNAME'] = $row['firstname'];
$_SESSION['LASTNAME'] = $row['lastname'];

header("location: staff/index.php");

}else{
$error = 1;
}
}

?>
<!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">

75
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
#outercon {
height: auto;
width: 1000px;
margin-right: auto;
margin-left: auto;
}
#head {
height: auto;
width: 1000px;
margin-right: auto;
margin-left: auto;
}
#content {
height: auto;
width: 1000px;
margin-right: auto;
margin-left: auto;
position: relative;
font-family: Tahoma, Geneva, sans-serif;
font-size: 14px;
padding-top: 15px;
padding-bottom: 20px;
text-align: justify;
}
#footer {
height: auto;
width: 1000px;
margin-right: auto;
margin-left: auto;
}
#con1 {
float: left;
height: auto;
width: 600px;
font-family: Tahoma, Geneva, sans-serif;
font-size: 12px;
}
#con2 {
float: right;
height: 300px;
width: 300px;
}
#s1 {
height: auto;
width: auto;

76
font-family: Tahoma, Geneva, sans-serif;
font-size: 12px;
}
#s2 {
height: auto;
width: auto;
font-family: Tahoma, Geneva, sans-serif;
font-size: 12px;
}
fieldset {
background-color: #D5D5BF;
}
.forggg {
width: 240px;
}
h2 {
font-family: Tahoma, Geneva, sans-serif;
}
#conn {
height: auto;
width: auto;
font-family: Tahoma, Geneva, sans-serif;
font-size: 13px;
font-weight: bold;
text-align: center;
}
</style>
<link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
<link href="SpryAssets/SpryValidationPassword.css" rel="stylesheet" type="text/css" />
<style type="text/css">
body {
margin-top: 15px;
margin-bottom: 15px;
}
</style>
<script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<script src="SpryAssets/SpryValidationPassword.js" type="text/javascript"></script>
</head>

<body>
<div id="outercon">
<div id="head"><img src="image/banner.jpg" width="1000" height="120" /></div>
<div id="content">
Uniben Maingate car rental (UMCR) organization gives car rental service mainly to students and staffs in
and around the school campuses. The scope of this project is developing web based car rental system for
Uniben Maingate car rental (UMCR). The main functions covered in this project include online car rental
and reservation. Customers as well as the organization&rsquo;s staff will be able to use the system
effectively.
<br />

77
<b><br />
Vision</b>:<br />
We are growth-oriented car rental organization by efficiently serving value-conscious customers for all of
their car rental occasions.<br />
<br />

<b>Mission</b> :<br />


We consistently deliver quality product, friendly service and great value that make customers confident that
our services is the best car rental choice.

</div>
<div id="footer">
<div id="con1" >
<table width="100%" cellspacing="0" cellpadding="8">
<tr class="centre">
<td width="20%">&nbsp;</td>
<td width="56%"><strong><u>WE ARE THE BEST AROUND TOWN</u></strong></td>
<td width="24%">&nbsp;</td>
</tr>
<?php
$sql = "select * from car order by id desc limit 4";
$query = mysql_query($sql) ;
$num = mysql_num_rows($query);
if($num > 0){
while($row = mysql_fetch_array($query)){
?>
<tr>
<td><img src="customer/cab/<?php echo $row['image'] ?>" width="100%" /></td>
<td><?php
echo $row['name'] . "<br />" . $row['descrption'] . "<br />";
echo "<b>No of Seat: " . $row['seat'] . "<br />";
echo "Speed: " . $row['speed'] . "Km/H<br />";
echo "Price Per Hour: ₦" . $row['price'] . "</b><br />";
?></td>
<td><?php
if($row['outt'] == 0){
echo "<a href='checkout.php?id=" . $row['id'] . "'>CHECKOUT</a>";
}else{
echo "Car Currently Not Avialable";
}
?></td>
</tr>
<?php
}
}

?>
</table>
<div id="conn"></div>

78
</div>
<div id="con2">
<div id="s1">
<fieldset>
<legend>Customer's Login:</legend>
<form id="form1" name="form1" method="post" action="">
<table width="100%" border="0" cellspacing="1" cellpadding="4">
<tr>
<td>username:<br />
<span id="sprytextfield1">
<label for="customer"></label>
<input name="customer" type="text" class="forggg" id="customer" />
<span class="textfieldRequiredMsg">A value is required.</span></span></td>
</tr>
<tr>
<td>password:<br />
<span id="sprypassword1">
<label for="password"></label>
<input name="password" type="password" class="forggg" id="password" />
<span class="passwordRequiredMsg">A value is required.</span></span></td>
</tr>
<tr>
<td><input type="submit" name="submit" id="submit" value="Submit" />&nbsp; &nbsp; &nbsp; &nbsp; <a
href="register.php">Sign Up For New Account</a></td>
</tr>
</table>
</form>
</fieldset>
</div>
<div id="s2"><br />
<fieldset>
<legend>Administrative Login:</legend>
<form id="form2" name="form2" method="post" action="">
<table width="100%" border="0" cellspacing="4" cellpadding="4">
<tr>
<td>username<br />
<span id="sprytextfield2">
<label for="user"></label>
<input name="user" type="text" class="forggg" id="user" />
<span class="textfieldRequiredMsg">A value is required.</span></span></td>
</tr>
<tr>
<td>password:<br />
<span id="sprypassword2">
<label for="pass"></label>
<input name="pass" type="password" class="forggg" id="pass" />
<span class="passwordRequiredMsg">A value is required.</span></span></td>
</tr>
<tr>

79
<td><input type="submit" name="submit2" id="submit2" value="Submit" /></td>
</tr>
</table>
</form>
</fieldset><br />
<br />
<fieldset>
<legend>Staff Login:</legend>
<form id="form3" name="form3" method="post" action="">
<table width="100%" border="0" cellspacing="4" cellpadding="4">
<tr>
<td>username:<br />
<span id="sprytextfield3">
<label for="staff"></label>
<input name="staff" type="text" class="forggg" id="staff" />
<span class="textfieldRequiredMsg">A value is required.</span></span></td>
</tr>
<tr>
<td>password:<br />
<span id="sprypassword3">
<label for="staffpass"></label>
<input name="staffpass" type="password" class="forggg" id="staffpass" />
<span class="passwordRequiredMsg">A value is required.</span></span></td>
</tr>
<tr>
<td><input type="submit" name="staffsubmit" id="staffsubmit" value="Submit" /></td>
</tr>
</table>
</form>
</fieldset>
</div>
</div>
</div>
</div>
<script type="text/javascript">
var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1");
var sprypassword1 = new Spry.Widget.ValidationPassword("sprypassword1");
var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2");
var sprypassword2 = new Spry.Widget.ValidationPassword("sprypassword2");
</script>

<?php
if(isset($error)){
if($error == 1){
?>
<script type="text/javascript">
alert("UnKnown Login Credentials");
var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3");
var sprypassword3 = new Spry.Widget.ValidationPassword("sprypassword3");

80
</script>
<?php
}
}
?>

</body>
</html>

ADD CUSTOMER PAGE:


<?php
session_start();
mysql_connect("localhost", "root", "");
mysql_select_db("cab");

if (isset($_POST['submit'])){
$firstname = $_POST['firstname'];
$lastname = $_POST['lastname'];
$username = $_POST['username'];
$password = $_POST['password'];
$address = $_POST['address'];
$phone = $_POST['phone'];
$email = $_POST['email'];

$test = "select * from customer where username = \"$username\"";


$tq = mysql_query($test);
$tn = mysql_num_rows($tq);

if ($tn > 0){


$error = 1;
}else{
$sql = "insert into customer set
firstname = \"$firstname\",
lastname = \"$lastname\",
username = \"$username\",
password = \"$password\",
address = \"$address\",
phone = \"$phone\",
email = \"$email\"";

$query = mysql_query($sql);
$id = mysql_insert_id();

if($query){

$sql1 = "select * from customer where id = \"$id\"";


$query1 = mysql_query($sql1);

$num1 = mysql_num_rows($query1);

81
if ($num1 > 0){
$row = mysql_fetch_array($query1);

session_register("ID");
session_register("FIRSTNAME");
session_register("SURNAME");
session_register("ADDRESS");
session_register("PHONE");

$_SESSION['ID'] = $row['id'];
$_SESSION['FIRSTNAME'] = $row['firstname'];
$_SESSION['SURNAME'] = $row['surname'];
$_SESSION['ADDRESS'] = $row['address'];
$_SESSION['PHONE'] = $row['phone'];

header("location: customer/index.php");

}
}

?>
<!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>
<style type="text/css">
#outercon {
height: auto;
width: 1000px;
margin-right: auto;
margin-left: auto;
}
#head {
height: auto;
width: 1000px;
margin-right: auto;
margin-left: auto;
}
#content {
height: auto;
width: 1000px;

82
margin-right: auto;
margin-left: auto;
position: relative;
font-family: Tahoma, Geneva, sans-serif;
font-size: 14px;
padding-top: 15px;
padding-bottom: 20px;
text-align: justify;
}
#footer {
height: 360px;
width: 1000px;
margin-right: auto;
margin-left: auto;
}
#con1 {
float: left;
height: 355px;
width: 600px;
}
#con2 {
float: right;
height: 350px;
width: 300px;
font-family: Tahoma, Geneva, sans-serif;
font-size: 12px;
}
#s1 {
height: auto;
width: auto;
font-family: Tahoma, Geneva, sans-serif;
font-size: 12px;
}
#s2 {
height: auto;
width: auto;
font-family: Tahoma, Geneva, sans-serif;
font-size: 12px;
}
fieldset {
background-color: #D5D5BF;
}
.forggg {
width: 240px;
}
h2 {
font-family: Tahoma, Geneva, sans-serif;
}
</style>

83
<style type="text/css">
body {
margin-top: 15px;
margin-bottom: 15px;
}
</style>
<link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
<link href="SpryAssets/SpryValidationTextarea.css" rel="stylesheet" type="text/css" />
<script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<script src="SpryAssets/SpryValidationTextarea.js" type="text/javascript"></script>
</head>

<body>
<div id="outercon">
<div id="head"><img src="image/banner.jpg" width="1000" height="120" /></div>
<div id="content">
Uniben Maingate car rental (UMCR) organization gives car rental service mainly to students and staffs in
and around the school campuses. The scope of this project is developing web based car rental system for
Uniben Maingate car rental (UMCR). The main functions covered in this project include online car rental
and reservation. Customers as well as the organization&rsquo;s staff will be able to use the system
effectively.
<br />
<b><br />
Vision</b>:<br />
We are growth-oriented car rental organization by efficiently serving value-conscious customers for all of
their car rental occasions.<br />
<br />

<b>Mission</b> :<br />


We consistently deliver quality product, friendly service and great value that make customers confident that
our services is the best car rental choice.

</div>
<div id="footer">
<div id="con1" style="border-radius:8px 8px 8px 8px; box-shadow:2px 2px 7px #666666">
<h2><img src="image/jerry-keys-cab-1_C.jpg" width="600" height="300" /><br />&nbsp; Superior Car
Delivery Services
</h2>
</div>
<div id="con2">
<fieldset>
<strong>
<legend>New User Registration:</legend>
</strong>
<form id="form1" name="form1" method="post" action="">
<table width="100%" border="0" cellspacing="2" cellpadding="2">
<tr>
<td>Firstname:<br />
<span id="sprytextfield1">

84
<label for="firstname"></label>
<input name="firstname" type="text" class="forggg" id="firstname" />
<span class="textfieldRequiredMsg">A value is required.</span></span></td>
</tr>
<tr>
<td>lastname:<br />
<span id="sprytextfield2">
<label for="lastname"></label>
<input name="lastname" type="text" class="forggg" id="lastname" />
<span class="textfieldRequiredMsg">A value is required.</span></span></td>
</tr>
<tr>
<td>username:<br />
<span id="sprytextfield3">
<label for="username"></label>
<input name="username" type="text" class="forggg" id="username" />
<span class="textfieldRequiredMsg">A value is required.</span></span></td>
</tr>
<tr>
<td>password:<br />
<span id="sprytextfield4">
<label for="password"></label>
<input name="password" type="password" class="forggg" id="password" />
<span class="textfieldRequiredMsg">A value is required.</span></span></td>
</tr>
<tr>
<td>address:<br />
<span id="sprytextarea1">
<label for="address"></label>
<textarea name="address" cols="45" rows="1" class="forggg" id="address"></textarea>
<span class="textareaRequiredMsg">A value is required.</span></span></td>
</tr>
<tr>
<td>email:<br />
<span id="sprytextfield5">
<label for="email"></label>
<input name="email" type="text" class="forggg" id="email" />
<span class="textfieldRequiredMsg">A value is required.</span></span></td>
</tr>
<tr>
<td>mobile contact:<br />
<span id="sprytextfield6">
<label for="mobile"></label>
<input name="mobile" type="text" class="forggg" id="mobile" />
<span class="textfieldRequiredMsg">A value is required.</span></span></td>
</tr>
<tr>
<td><input type="submit" name="submit" id="submit" value="Register" />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="index.php"> Back to Main Menu</a></td>

85
</tr>
</table>
</form>
</fieldset>
</div>
</div>
</div>
<script type="text/javascript">
var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1");
var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2");
var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3");
var sprytextfield4 = new Spry.Widget.ValidationTextField("sprytextfield4");
var sprytextarea1 = new Spry.Widget.ValidationTextarea("sprytextarea1");
var sprytextfield5 = new Spry.Widget.ValidationTextField("sprytextfield5");
var sprytextfield6 = new Spry.Widget.ValidationTextField("sprytextfield6");
</script>
<?php
if(isset($error)){
if($error == 1){
?>
<script type="text/javascript">
alert("Username Already Exist | Please Try With Another Username");
</script>
<?php
}
}
?>

</body>
</html>

ADMINISTRATOR VIEW ORDER PAGE


<?php
session_start();
mysql_connect("localhost", "root", "");
mysql_select_db("cab");

if (!isset($_SESSION['ID'])){
session_destroy();
header("location: ../index.php");
}

if(isset($_GET['package'])){
$id = $_GET['package'];

$up = "update orders set


delivered = 1 where id = \"$id\"";

$query = mysql_query($up);

86
header("order.php");
}

?>
<!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>
<style type="text/css">
#outercon {
height: auto;
width: 1000px;
margin-right: auto;
margin-left: auto;
}
#head {
height: auto;
width: 1000px;
margin-right: auto;
margin-left: auto;
}
#content {
height: auto;
width: 1000px;
margin-right: auto;
margin-left: auto;
position: relative;
font-family: Tahoma, Geneva, sans-serif;
font-size: 14px;
padding-top: 15px;
padding-bottom: 20px;
text-align: justify;
}
#footer {
height: auto;
width: 1000px;
margin-right: auto;
margin-left: auto;
position: relative;
}
#con1 {
float: left;
height: auto;
width: 150px;
font-family: Tahoma, Geneva, sans-serif;
font-size: 14px;

87
}
#con2 {
float: right;
height: auto;
width: 800px;
font-family: Tahoma, Geneva, sans-serif;
font-size: 12px;
position: relative;
}
#s1 {
height: auto;
width: auto;
font-family: Tahoma, Geneva, sans-serif;
font-size: 12px;
}
#s2 {
height: auto;
width: auto;
font-family: Tahoma, Geneva, sans-serif;
font-size: 16px;
font-weight: bold;
}
fieldset {
background-color: #D5D5BF;
}
.forggg {
width: 500px;
}
h2 {
font-family: Tahoma, Geneva, sans-serif;
}
#f1 {
height: auto;
width: auto;
}
.but {
width: 100px;
height: 35px;
font-size: 14px;
}
.centre {
text-align: center;
}
.butt {
height: 35px;
}
</style>
<style type="text/css">
body {

88
margin-top: 15px;
margin-bottom: 15px;
}
</style>
<link href="../customer/SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
<script src="../customer/SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
</head>

<body>
<div id="outercon">
<div id="head"><img src="../image/banner.jpg" width="1000" height="120" /></div>
<div id="content">
Uniben Maingate car rental (UMCR) organization gives car rental service mainly to students and staffs in
and around the school campuses. The scope of this project is developing web based car rental system for
Uniben Maingate car rental (UMCR). The main functions covered in this project include online car rental
and reservation. Customers as well as the organization&rsquo;s staff will be able to use the system
effectively.
<br />
<b><br />
Vision</b>:<br />
We are growth-oriented car rental organization by efficiently serving value-conscious customers for all of
their car rental occasions.<br />
<br />

<b>Mission</b> :<br />


We consistently deliver quality product, friendly service and great value that make customers confident that
our services is the best car rental choice.

<br />
<br />
<b> WELCOME ADMINISTRATOR</b>
</div>
<div id="footer">
<div id="con1" style="border-radius:8px 8px 8px 8px; box-shadow:2px 2px 7px #666666">
<ul id="MenuBar1" class="MenuBarVertical">
<li><a href="index.php">Add Cab</a></li>
<li><a href="cab.php">Cab Info</a></li>
<li><a href="staff.php">Add Staff</a></li>
<li><a href="order.php">View Orders</a></li>
<li><a href="return.php">Return Cab</a></li>
<li><a href="password.php">Change Password</a></li>
<li><a href="logout.php">Logout</a></li>
</ul>
</div>
<div id="con2">
<div id="s2"> VIEW CAB ORDER<br />
</div>
<div id="s1"><br />
<?php

89
$sql = "SELECT orders.id, customer.firstname, lastname, address, phone, reciept, timed, hours,
amount, car.car_number FROM customer, orders, car where orders.customer_id = customer.id and
orders.cab_id = car.id and orders.delivered = 0";

$query = mysql_query($sql);
$num = mysql_num_rows($query);

?>
<table width="100%" border="1" cellspacing="0" cellpadding="6"><br />

<?php
if($num > 0){
?>
<tr class="centre">
<td width="10%"><strong>FIRSTNAME</strong></td>
<td width="10%"><strong>SURNAME</strong></td>
<td width="10%"><strong>ADDRESS</strong></td>
<td width="10%"><strong>MOBILE</strong></td>
<td width="10%"><strong>RECEIPT</strong></td>
<td width="10%"><strong>DELIVERY</strong></td>
<td width="10%"><strong>HOURS</strong></td>
<td width="10%"><strong>AMOUNT</strong></td>
<td width="10%"><strong>NUMBER</strong></td>
<td width="10%">&nbsp;</td>
</tr>
<?PHP
while($row = mysql_fetch_array($query)){
?>
<tr class="centre">
<td width="10%"><?php echo strtoupper($row['lastname']); ?></td>
<td width="10%"><?php echo strtoupper($row['firstname']) ?></td>
<td width="10%"><?php echo $row['address'] ?></td>
<td width="10%"><?php echo $row['phone'] ?></td>
<td width="10%"><?php echo $row['reciept'] ?></td>
<td width="10%"><?php echo $row['timed'] ?></td>
<td width="10%"><?php echo $row['hours'] ?></td>
<td width="10%"><?php echo $row['amount'] ?></td>
<td width="10%"><?php echo $row['car_number'] ?></td>
<td width="10%"><a href="order.php?package=<?php echo $row['id']; ?>">PACKAGE</a></td>
</tr>
<?php
}
}else{
echo "<b>&bull; <-- NO ORDER MADE | EMPTY ORDER --></b>";
}
?>
</table>
</div>
<br />

90
</div>
</div>
</div>
<script type="text/javascript">
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1",
{imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
</script>
</body>
</html>

LOGOUT PAGE
<?php
session_start();
session_destroy();
header("location: ../index.php");
?>

91

You might also like