Beruflich Dokumente
Kultur Dokumente
1605714823
1
Prateek Ranjan Maurya Online Cab Portel. 1605714823
INTRODUCTION
Firstly, Online cab Portal web-based application intended to provide automated solution and
services to customer. This site offers information to help you site safely and wisely online.
You can learn, for example, how to use online payment services, participate in an Internet
auction or resolve a complaint with an online dealer. It’s the most important aspect of our
online cab searching.
This document provides details about the entire software requirements specification for the
software online cab searching can online. This site offers information to help you search
safely and wisely online. You can learn, for example, how to use online payment services,
participate in an Internet auction or resolve a complaint with an online dealer.
Another most important fact is that many customers on the internet will expect the customer
service you offer online to match or exceed that which you offer in the real world. Through
this site not only the consumers on the internet feel empowered in a way that has not existed
offline, but they actually have been empowered. You can quickly find out if your previous
customer is satisfied with your company. You can also post your cab ad online if at any time
you are satisfied with our site.
2
Prateek Ranjan Maurya Online Cab Portel. 1605714823
OBJECTIVES
Today’s world is computer world because most of work is doing with the help of computer.
Dependency on computer is behind the few reasons. We cannot easily cab for long drive
Search or information single handle. If we will be need some information or cab in Search
then we cannot manage in manually these works are very difficult if we cannot use computer.
So the objective of this project is to overcome the limitation of the manual approach. This
project is started towards systematically Search to more Cab’s
To provide easy assistance both to the administrator and User with proper database
and information.
A tools through which customers can reserve cars online prior to their expected pick
up date or time.
A registration portal to hold customer’s details, monitor their transaction and used
Same to offer better and improve services to them.
Allows the customer to book space for a group in the case of wedding or corporate
meeting .
Reporting of the cars booking etc.
3
Prateek Ranjan Maurya Online Cab Portel. 1605714823
Problem Definition
A car rental is a vehicle that can used temporarily for a fee during a specified period. Getting
a rental car helps people get around despite the fact they do not have access to thire own
personal vehicle or don’t own vehicle at all. The individual who needs a car must contact a
rental car company and contact out for a vehicle . this system increases customer relation and
simply vehicle and staff management.
4
Prateek Ranjan Maurya Online Cab Portel. 1605714823
PRELIMINARY INVESTIGATION
In this process, the development team visits the people and studies their problem that they
face during helping the other person. They investigate the need for possible software
automation in the given system. By the end of Preliminary Investigation, the team furnishes a
document that holds the different specific recommendations for the candidate system. Main
Tasks of the preliminary investigation phase are:
To conclude the preliminary examination, the systems analyst writes a brief report to
management in which the following are listed:
The analyst should then arrange a meeting with management to discuss about the report and
other matters if need be.
5
Prateek Ranjan Maurya Online Cab Portel. 1605714823
Feasibility study
All projects are feasible given unlimited resources and infinite time! Unfortunately, the
development of system is more likely to be plagued by a scarcity of resources and difficult
delivery dates. It is both necessary and prudent to evaluate the feasibility of the project at the
earliest possible time. Months or years of effort, Money loss and untold professional
embarrassment can be averted I few better understand the project at its study time.
In feasibility study phase we had undergone through various steps which are describe as
under:
1. Technical Feasibility
2. Operational Feasibility
3. Economic Feasibility
4. Legal Feasibility
Technical Feasibility
As we know the technical feasibility is concerned with specifying equipment and software
that will successfully satisfy the user requirement. The technical needs of the system may
vary considerably, but might include:
6
Prateek Ranjan Maurya Online Cab Portel. 1605714823
Operational Feasibility
Proposed app are beneficial only if they can be turned into information system that will meet
the requirements of the Customer. This test of feasibility asks if the system will work when it
developed and installed. Are there major barriers to implementation?
Some of the important questions that are useful to test the operational feasibility of a project
are given below:
Is there sufficient support for the project from the implementation? From user? If the
present system is well liked and used to the extent that persons will not be able to see
reasons for change, there may be resistance.
Are current business methods acceptable to the user? If they are not, user may welcome a
change that will bring about a more operational and useful system
Have the user been involved in the planning and development of theProject? If they are
involved at the earliest stage of project development, the chances of resistance can be
possibly reduced.
Will the proposed system cause harm? Will it produce poorer result in any case or area?
Appears to be quite minor at the early stage can grow into major problem after
Implementation.
Economic Feasibility
Economic analysis is the most frequently used technique for evaluating the effectiveness of
the proposed system. More commonly known as cost/benefits analysis, the procedure is to
determine the benefits and savings that are expected from the purposed system and compared
with costs.
If benefits outweigh cost, a decision is taken to design and implement the system. Otherwise,
further justification or alternative of the proposed system will have to be made if it has a
chance of being approved. This is an ongoing effort that improves in accuracy at each phase
of the system life cycle. The analysis part also clears the doubt of economic problems which
could be possible in developing the system. As already mentioned that the company has to
just pay the developed software cost and no other investment is needed at the time of
implementation of the new system as the preliminary requirements already exist in the
company.
7
Prateek Ranjan Maurya Online Cab Portel. 1605714823
Legal Feasibility
In the legal feasibility is necessary to check that the software we are going to develop is
legally correct which means that the ideas which we have taken for the proposed system will
be legally implemented or not so, it is also an important step in feasibility study.
8
Prateek Ranjan Maurya Online Cab Portel. 1605714823
Software Requirement:
Server
Browser Web Browser any updated.
Database MY SQL (6.0)
Web server XAMP
Operating System Widows
Client
Browser Web Browser any updated
Operating System Any O.S. Windows
Developer
Browser web Browser any updated
Database MY SQL(6.0)
Operating System Window 8.1
Web server XAMP
Documentation tool Ms. Word, MS power point
Language HTML, CSS, PHP, Bootstrap
Scripting language JavaScript and AJAX
Hardware Requirement:
Server:
Processor i3 Processor
RAM 2 GB
Display 1024 x 768 High color-32-bit
HDD 80 GB
Client:
Processor i3 866 MHz or Later
RAM 256 MB
Display 1024 x 768 High color-32-bit
HDD 20 GB
9
Prateek Ranjan Maurya Online Cab Portel. 1605714823
Developer:
Processor i3 Processor
RAM 2 GB
Display 1024 x 768 High color-32-bit
HDD 40 GB
Dataflow Diagram
The data flow diagram shows the flow of data within any system. It is an important tool for
designing phase of software engineering. Larry Constantine first developed it. It represents
graphical view of flow of data. It’s also known as BUBBLE CHART. The purpose of DFD is
major transformation that will become in system design symbols used in DFD:-
In the DFD, four symbols are used and they are as follows.
3. A circle or a “bubble “(Some people use an oval bubble) represents a process that
transfers informing data flows into outgoing data flows.
10
Prateek Ranjan Maurya Online Cab Portel. 1605714823
repository of data.
This level shows the overall context of the system and its operating environment and
shows the whole system as just one process. Online book store is shown as one process
in the context diagram; which is also known as zero level DFD, shown below. The
context diagram plays important role in understanding the system and determining the
boundaries. The main process can be broken into sub-processes and system can be
studied with more detail; this is where 1st level DFD comes into play.
O-Level DFD
11
Prateek Ranjan Maurya Online Cab Portel. 1605714823
1 Level DFD
Broadly, following are the different activities to be considered while defining the system
development life cycle for the said project:
Problem Definition
System Analysis
Study of existing system
Drawback of the existing system
12
Prateek Ranjan Maurya Online Cab Portel. 1605714823
Proposed system
System Requirement study
Data flow analysis
Feasibility study
System design
Input Design (Database & Forms)
Updating
Query /Report design
Administration
Testing
Implementation
Maintenance
System development can generally be thought of having two major components: systems
analysis and systems design. In System Analysis more emphasis is given to understanding the
details of an existing system or a proposed one and then deciding whether the proposed
system is desirable or not and whether the existing system needs improvements. Thus, system
analysis is the process of investigating a system, identifying problems, and using the
information to recommend improvements to the system.
Systems design is the process of defining the architecture, components, modules, interfaces,
and data for a system to satisfy specified requirements. One could see it as the application of
systems theory to product development. There is some overlap with the disciplines of systems
analysis, systems architecture and systems engineering. If the broader topic of product
development "blends the perspective of marketing, design, and manufacturing into a single
approach to product development,"then design is the act of taking the marketing information
13
Prateek Ranjan Maurya Online Cab Portel. 1605714823
and creating the design of the product to be manufactured. Systems design is therefore the
process of defining and developing systems to satisfy specified requirements of the user.
Until the 1990s systems design had a crucial and respected role in the data processing
industry. In the 1990s standardization of hardware and software resulted in the ability to build
modular systems. The increasing importance of software running on generic platforms has
enhanced the discipline of software engineering.
Object-oriented analysis and design methods are becoming the most widely used methods for
computer systems design. The UML has become the standard language in object-oriented
analysis and design. It is widely used for modeling software systems and is increasingly used
for high designing non-software systems and organizations
ER Diagram:-
Entity-relationship model: -
In the case of the design of an information system that is based on a database, the
conceptual data model is, at a later stage (usually called logical design), mapped to a logical
data model, such as the relational model; this in turn is mapped to a physical model during
physical design.
There are a number of conventions for entity-relationship diagrams (ERDs). The classical
notation is described in the remainder of this article, and mainly relates to conceptual
modeling. There are a range of notations more typically employed in logical and physical
database design.
14
Prateek Ranjan Maurya Online Cab Portel. 1605714823
15
Prateek Ranjan Maurya Online Cab Portel. 1605714823
Requirement Specification
Process Model
A process model for software engineering is chosen based on the nature of the project and
application, the methods and tools to be used, and the controls and deliverables that are
required.
Among the various available Software Process Models (Waterfall model, Spiral model,
Prototyping model, Fourth Generation Techniques etc.) the best suited for this project is the
Iterative Water Fall Model.
Establishing requirements for all system elements and then allocating some subset of these
requirements to software
To understand the nature of the program to be built, the software engineer (analyst) must
understand the information domain for the software, as well as the required function,
performance, and interfacing. Requirements for both the system and the software are
documented and reviewed with the customer.
Design
Software design is actually a multi-step process that focuses on four distinct attributes of the
program: data structure, software architecture, procedural detail and interface
characterization. The design process translates requirements into a representation of the
software.
Coding
The design must be translated into a machine readable form. The coding step performs this
task.
Testing
16
Prateek Ranjan Maurya Online Cab Portel. 1605714823
Maintenance
Software will undoubtedly undergo change after it is delivered to the customer. Software
maintenance reapplies each of the preceding life-cycle steps to an existing program rather
than a new one.
It works only for systems designed to automate an existing manual system. For absolutely
new system determining the requirement is difficult as the user himself does not know them
in advance what is being built or finalized at each stage
Freezing the requirements means freezing the hardware. A large project might take few
years to complete, by the time the product is available the hardware become obsolete.
It assumes that requirements are frozen before the rest of the development can proceed. In
some situation it might be desirable to develop a part of the system completely, and later
enhance the system in phases. This is often done for the software products that are
developed not necessarily for a client, but for general marketing in which case the
requirements are likely to be determined largely by developer themselves.
Hence the best suited paradigm for our project is Iterative Water Fall Model Technique
Functional Requirement
17
Prateek Ranjan Maurya Online Cab Portel. 1605714823
Functional requirement are those requirement that used to illustrate the internal working
nature of the system .the description of the system and explanation of each subsystem .it
consist of what task the system should perform .the process involved which data should the
system holds and the user .the functional requirement identified are:-
a) Customer registration:- the system should allow new users to register online.
b) Online reservation cars:- customer should be able to use the system to make booking
and online reservation.
Non-Functional Requirement
Product Requirements
Efficiency Requirement
When app will be implemented the customer will easily access from anywhere.
Reliability Requirement
The system should accurately performs registration, member validation, report generation and
search.
Usability Requirement
The system is designed for a user friendly environment so that any user type of customer can
perform the various tasks easily and in an effective way.
Implementation Requirements
In implementing whole system it uses Java and XML in front end with SQLite as backend
which will be used for database connectivity.
18
Prateek Ranjan Maurya Online Cab Portel. 1605714823
Gantt charts (developed by Henry L. Gantt) are project control techniques that can be used
for several purposes, including scheduling, budgeting and resource planning. A Gantt chart is
a bar chart, with each bar representing an activity. The bars are drawn against a time line. The
length of each bar is proportional to the length of time planned for the activity. We have to
estimate the number of weeks required for each of the seven tasks as follows
1. Analysis 2 Weeks
2. Design 2 Weeks
3. Coding 3 Weeks
4. Testing 2 Weeks
5. Write Manual 1 Week
6. Implementation 1 Week
7. Maintenance 1 Weeks
1 RequirementAnalysis
2 Design
3 Coding
4 Testing
5 Documentation
19
Prateek Ranjan Maurya Online Cab Portel. 1605714823
PERT CHART:
A PERT chart is a project management tools used to schedule, organize, and coordinate tasks
within a project. PERT stands for Program Evaluation Review Technique. A PERT chart
presents a graphic illustration of a project as network diagram consisting of numbered
nodes(either circles or rectangles) representing events, or milestones in the project linked by
labeled vectors (directional lines) representing tasks in the project.
The direction of the arrows on the lines indicates the sequence of tasks.
Alpha Testing
Programming Beta Testing
SRS And Design
3 5 8 10
10 15 30 10 10
1 2
3 4 10 6 10 7 10 9 5 11
1) List of courses.
2) List of Students details.
3) List offaculty details.
4) List of feedback about the site.
20
Prateek Ranjan Maurya Online Cab Portel. 1605714823
Introduction
PHP 4 is a development framework for building web pages and web sites with HTML, CSS,
JavaScript and server scripting.
MVC is a framework for building web applications using a MVC (Model View Controller)
design:
The Model represents the application core (for instance a list of database records).
The View displays the data (the database records).
The Controller handles the input (to the database records).
The MVC model also provides full control over HTML, CSS, and JavaScript.
The Model is the part of the application that handles the logic for the application data.
Often model objects retrieve data (and store data) from a database.
The View is the parts of the application that handles the display of the data.
Most often the views are created from the model data.
The Controller is the part of the application that handles user interaction.
Typically controllers read data from a view, control user input, and send input data to the
model.
21
Prateek Ranjan Maurya Online Cab Portel. 1605714823
The MVC separation helps you manage complex applications, because you can focus on one
aspect a time. For example, you can focus on the view without depending on the business
logic. It also makes it easier to test an application.
The MVC separation also simplifies group development. Different developers can work on
the view, the controller logic, and the business logic in parallel.
The MVC programming model is a lighter alternative to traditional ASP.NET (Web Forms).
It is a lightweight, highly testable framework, integrated with all existing ASP.NET features,
such as Master Pages, Security, and Authentication.
MySQL:-
MySQL ("My S-Q-L" officially, but also called "My Sequel") is (as of July 2013) the world's
second most widely used relational database management system (RDBMS) and most widely
used open-source RDBMS. It is named after co-founder Michael Widenius's daughter,
My. The SQL acronym stands for Structured Query Language.
The MySQL development project has made its source code available under the terms of
the GNU General Public License, as well as under a variety of proprietary agreements.
MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL
AB, now owned by Oracle Corporation.
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 (and
other 'AMP' stacks). LAMP is an acronym for "Linux, Apache, MySQL, and
Perl/PHP/Python." Free-software-open source projects that require a full-featured database
management system often use MySQL.
For proprietary use, several paid editions are available, and offer additional functionality.
Applications which use MySQL databases
include: TYPO3, MODx, Joomla, WordPress, phpBB, MyBB, Drupal and other software.
MySQL is also used in many high-profile, large-scale websites, including Google (though not
for searches), Facebook, Twitter, Flickr and YouTube.
22
Prateek Ranjan Maurya Online Cab Portel. 1605714823
Advantages of MySQL
It's easy to use: While a basic knowledge of SQL is required—and most relational
databases require the same knowledge—MySQL is very easy to use. With only a few
simple SQL statements, you can build and interact with MySQL.
It's secure: MySQL includes solid data security layers that protect sensitive data from
intruders. Rights can be set to allow some or all privileges to individuals. Passwords
are encrypted.
It's inexpensive: MySQL is included for free with NetWare® 6.5 and available by free
download from MySQL Web site.
It's fast: In the interest of speed, MySQL designers made the decision to offer fewer
features than other major database competitors, such as Sybase* and Oracle*.
However, despite having fewer features than the other commercial database products,
MySQL still offers all of the features required by most database developers.
It's scalable: MySQL can handle almost any amount of data, up to as much as 50
million rows or more. The default file size limit is about 4 GB. However, you can
increase this number to a theoretical limit of 8 TB of data.
It manages memory very well: MySQL server has been thoroughly tested to prevent
memory leaks.
It supports Novell Cluster Services: MySQL on NetWare runs effectively with
Novell® Cluster Services™, letting you add your database solution to a Novell
cluster. If one server goes down, MySQL on an alternate server takes over and your
customers won't know that anything happened.
It runs on many operating systems: MySQL runs on many operating systems,
including Novell NetWare, Windows* Linux*, many varieties of UNIX* (such as
Sun* Solaris*, AIX, and DEC* UNIX), OS/2, FreeBSD*, and others.
It supports several development interfaces: Development interfaces include JDBC,
ODBC, and scripting (PHP and Perl), letting you create database solutions that run
not only in your NetWare 6.5 environment, but across all major platforms, including
Linux, UNIX, and Windows.
23
Prateek Ranjan Maurya Online Cab Portel. 1605714823
System Design
Designing part includes its Designing of this software is done with high cohesiveness, i.e.
there is a minimized interaction between two different modules. There is no intra modular
relationship between modules. Most of the modules are self-independent. At the same time
modules are loosely coupled i.e. inter – modular relation exists. Hence the Software is
Loosely Coupled and Highly Cohesive.
System design aims to identify the modules there should be in the system, the specification of
these modules and how they interact with each other to produce the desired results. At the
end of system design all the major data structures, file formats and the major modules in the
system and their specifications are decided.
Database Schema
Admin
TableBooking
24
Prateek Ranjan Maurya Online Cab Portel. 1605714823
TblBrands
TblcontactUs Info
Tblcontact Us Query
TblPages
25
Prateek Ranjan Maurya Online Cab Portel. 1605714823
TblSubscriber
TblTestMonial
Tbluser:-
Tblvehical
26
Prateek Ranjan Maurya Online Cab Portel. 1605714823
Module
Admin
Registration
a) Employee Registration
b) Vehicles Registrartion
Booking Detail
a) Online booking
b) Manual booking
Booking Operation
a) Booking conformation
b) Booking cancellation
User Module
Vehicles catalog
Booking
a) Online booking
b) Manual booking
27
Prateek Ranjan Maurya Online Cab Portel. 1605714823
The proposed system facilitates the customer to fill up their details ,and to give a brief
description of vehicle they want to book. This new system Is very helpful for customer who
want to hire their vehicles through this site.
First the customer has to make a reservation and later on it the process has to do
registration.
Second if the customer had already registered himself then he can continue booking in
his own account by giving his customer Id or mail id .
The main output are whether the booking is confirmed or not and regular information
services to the site.
28
Prateek Ranjan Maurya Online Cab Portel. 1605714823
Project Screenshot
Home.php
Carlisting
29
Prateek Ranjan Maurya Online Cab Portel. 1605714823
Login
SignUp
30
Prateek Ranjan Maurya Online Cab Portel. 1605714823
Booking Confirm
31
Prateek Ranjan Maurya Online Cab Portel. 1605714823
Admin Dashboard
Registered user
32
Prateek Ranjan Maurya Online Cab Portel. 1605714823
Manage Subscriber
33
Prateek Ranjan Maurya Online Cab Portel. 1605714823
Coding
Login.php
<?php
if(isset($_POST['login']))
$email=$_POST['email'];
$password=md5($_POST['password']);
$query-> execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
if($query->rowCount() > 0)
34
Prateek Ranjan Maurya Online Cab Portel. 1605714823
$_SESSION['login']=$_POST['email'];
$_SESSION['fname']=$results->FullName;
$currentpage=$_SERVER['REQUEST_URI'];
} else{
?>
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title">Login</h3>
</div>
<div class="modal-body">
<div class="row">
35
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<div class="login_wrap">
<form method="post">
<div class="form-group">
</div>
<div class="form-group">
</div>
</div>
<div class="form-group">
</div>
</form>
</div>
</div>
</div>
</div>
36
Prateek Ranjan Maurya Online Cab Portel. 1605714823
</div>
</div>
</div>
</div>
SignUp:
<?php
//error_reporting(0);
if(isset($_POST['signup']))
$fname=$_POST['fullname'];
$email=$_POST['emailid'];
$mobile=$_POST['mobileno'];
$password=md5($_POST['password']);
$query = $dbh->prepare($sql);
$query->bindParam(':fname',$fname,PDO::PARAM_STR);
$query->bindParam(':email',$email,PDO::PARAM_STR);
$query->bindParam(':mobile',$mobile,PDO::PARAM_STR);
$query->bindParam(':password',$password,PDO::PARAM_STR);
37
Prateek Ranjan Maurya Online Cab Portel. 1605714823
$query->execute();
$lastInsertId = $dbh->lastInsertId();
if($lastInsertId)
else
?>
<script>
function checkAvailability() {
$("#loaderIcon").show();
jQuery.ajax({
url: "check_availability.php",
data:'emailid='+$("#emailid").val(),
type: "POST",
success:function(data){
$("#user-availability-status").html(data);
38
Prateek Ranjan Maurya Online Cab Portel. 1605714823
$("#loaderIcon").hide();
},
error:function (){}
});
</script>
<script type="text/javascript">
function valid()
if(document.signup.password.value!= document.signup.confirmpassword.value)
document.signup.confirmpassword.focus();
return false;
return true;
</script>
<div class="modal-content">
<div class="modal-header">
39
Prateek Ranjan Maurya Online Cab Portel. 1605714823
</div>
<div class="modal-body">
<div class="row">
<div class="signup_wrap">
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
40
Prateek Ranjan Maurya Online Cab Portel. 1605714823
</div>
</div>
<div class="form-group">
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
41
Prateek Ranjan Maurya Online Cab Portel. 1605714823
MyBooking
<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['login'])==0)
{
header('location:index.php');
}
else{
?><!DOCTYPE HTML>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="keywords" content="">
<meta name="description" content="">
<title>CarForYou - Responsive Car Dealer HTML5 Template</title>
<!--Bootstrap -->
<link rel="stylesheet" href="assets/css/bootstrap.min.css" type="text/css">
<!--Custome Style -->
<link rel="stylesheet" href="assets/css/style.css" type="text/css">
<!--OWL Carousel slider-->
<link rel="stylesheet" href="assets/css/owl.carousel.css" type="text/css">
<link rel="stylesheet" href="assets/css/owl.transitions.css" type="text/css">
<!--slick-slider -->
<link href="assets/css/slick.css" rel="stylesheet">
<!--bootstrap-slider -->
<link href="assets/css/bootstrap-slider.min.css" rel="stylesheet">
<!--FontAwesome Font Style -->
<link href="assets/css/font-awesome.min.css" rel="stylesheet">
42
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!--Header-->
<?php include('includes/header.php');?>
<!--Page Header-->
<!-- /Header -->
<!--Page Header-->
<section class="page-header profile_page">
<div class="container">
<div class="page-header_wrap">
<div class="page-heading">
<h1>My Booking</h1>
</div>
<ul class="coustom-breadcrumb">
<li><a href="#">Home</a></li>
<li>My Booking</li>
</ul>
</div>
</div>
<!-- Dark Overlay-->
<div class="dark-overlay"></div>
</section>
<!-- /Page Header-->
<?php
$useremail=$_SESSION['login'];
44
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<div class="dealer_info">
<h5><?php echo htmlentities($result->FullName);?></h5>
<p><?php echo htmlentities($result->Address);?><br>
<?php echo htmlentities($result->City);?> <?php echo htmlentities($result-
>Country); }}?></p>
</div>
</div>
<div class="row">
<div class="col-md-3 col-sm-3">
<?php include('includes/sidebar.php');?>
<li>
<div class="vehicle_img"> <a href="vehical-details.php?vhid=<?php echo
htmlentities($result->vid);?>""><img src="admin/img/vehicleimages/<?php echo
htmlentities($result->Vimage1);?>" alt="image"></a> </div>
<div class="vehicle_title">
<h6><a href="vehical-details.php?vhid=<?php echo htmlentities($result-
>vid);?>""> <?php echo htmlentities($result->BrandName);?> , <?php echo
htmlentities($result->VehiclesTitle);?></a></h6>
<p><b>From Date:</b> <?php echo htmlentities($result->FromDate);?><br />
<b>To Date:</b> <?php echo htmlentities($result->ToDate);?></p>
</div>
<?php if($result->Status==1)
{ ?>
<div class="vehicle_status"> <a href="#" class="btn outline btn-xs active-
btn">Confirmed</a>
<div class="clearfix"></div>
</div>
</ul>
</div>
</div>
</div>
</div>
</div>
</section>
<!--/my-vehicles-->
<?php include('includes/footer.php');?>
<script src="assets/js/bootstrap-slider.min.js"></script>
<!--Slider-JS-->
<script src="assets/js/slick.min.js"></script>
<script src="assets/js/owl.carousel.min.js"></script>
</body>
</html>
<?php } ?>
Vehical Detaile:-
<?php
session_start();
include('includes/config.php');
error_reporting(0);
if(isset($_POST['submit']))
$fromdate=$_POST['fromdate'];
$todate=$_POST['todate'];
$message=$_POST['message'];
$useremail=$_SESSION['login'];
$status=0;
$vhid=$_GET['vhid'];
$sql="INSERT INTO
tblbooking(userEmail,VehicleId,FromDate,ToDate,message,Status)
VALUES(:useremail,:vhid,:fromdate,:todate,:message,:status)";
$query = $dbh->prepare($sql);
$query->bindParam(':useremail',$useremail,PDO::PARAM_STR);
$query->bindParam(':vhid',$vhid,PDO::PARAM_STR);
$query->bindParam(':fromdate',$fromdate,PDO::PARAM_STR);
48
Prateek Ranjan Maurya Online Cab Portel. 1605714823
$query->bindParam(':todate',$todate,PDO::PARAM_STR);
$query->bindParam(':message',$message,PDO::PARAM_STR);
$query->bindParam(':status',$status,PDO::PARAM_STR);
$query->execute();
$lastInsertId = $dbh->lastInsertId();
if($lastInsertId)
else
?>
<!DOCTYPE HTML>
<html lang="en">
<head>
49
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<!--Bootstrap -->
<!--slick-slider -->
<!--bootstrap-slider -->
50
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,900"
rel="stylesheet">
</head>
<body>
<?php include('includes/colorswitcher.php');?>
<!--Header-->
51
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<?php include('includes/header.php');?>
<!--Listing-Image-Slider-->
<?php
$vhid=intval($_GET['vhid']);
$query->bindParam(':vhid',$vhid, PDO::PARAM_STR);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$cnt=1;
if($query->rowCount() > 0)
foreach($results as $result)
$_SESSION['brndid']=$result->bid;
?>
<section id="listing_img_slider">
52
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<?php if($result->Vimage5=="")
} else {
?>
<?php } ?>
</section>
<!--/Listing-Image-Slider-->
<!--Listing-detail-->
<section class="listing-detail">
53
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<div class="container">
<div class="col-md-9">
</div>
<div class="col-md-3">
<div class="price_info">
</div>
</div>
</div>
<div class="row">
<div class="col-md-9">
<div class="main_features">
<ul>
<p>Reg.Year</p>
</li>
<p>Fuel Type</p>
54
Prateek Ranjan Maurya Online Cab Portel. 1605714823
</li>
<p>Seats</p>
</li>
</ul>
</div>
<div class="listing_more_info">
<div class="listing_detail_wrap">
</ul>
<div class="tab-content">
55
Prateek Ranjan Maurya Online Cab Portel. 1605714823
</div>
<!--Accessories-->
<table>
<thead>
<tr>
<th colspan="2">Accessories</th>
</tr>
</thead>
<tbody>
<tr>
<td>Air Conditioner</td>
<?php if($result->AirConditioner==1)
?>
56
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<tr>
<?php if($result->AntiLockBrakingSystem==1)
?>
<?php } ?>
</tr>
<tr>
<td>Power Steering</td>
<?php if($result->PowerSteering==1)
?>
<?php } ?>
</tr>
<tr>
57
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<td>Power Windows</td>
<?php if($result->PowerWindows==1)
?>
<?php } ?>
</tr>
<tr>
<td>CD Player</td>
<?php if($result->CDPlayer==1)
?>
<?php } ?>
</tr>
<tr>
58
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<td>Leather Seats</td>
<?php if($result->LeatherSeats==1)
?>
<?php } ?>
</tr>
<tr>
<td>Central Locking</td>
<?php if($result->CentralLocking==1)
?>
<?php } ?>
</tr>
<tr>
<?php if($result->PowerDoorLocks==1)
59
Prateek Ranjan Maurya Online Cab Portel. 1605714823
?>
<?php } ?>
</tr>
<tr>
<td>Brake Assist</td>
<?php if($result->BrakeAssist==1)
?>
<?php } ?>
</tr>
<tr>
<td>Driver Airbag</td>
<?php if($result->DriverAirbag==1)
?>
60
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<?php } ?>
</tr>
<tr>
<td>Passenger Airbag</td>
<?php if($result->PassengerAirbag==1)
?>
<?php } ?>
</tr>
<tr>
<td>Crash Sensor</td>
<?php if($result->CrashSensor==1)
?>
61
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<?php } ?>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<?php }} ?>
</div>
<!--Side-Bar-->
<aside class="col-md-3">
<div class="share_vehicle">
</div>
<div class="sidebar_widget">
62
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<div class="widget_heading">
</div>
<form method="post">
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
<?php if($_SESSION['login'])
{?>
<div class="form-group">
</div>
63
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<?php } ?>
</form>
</div>
</aside>
<!--/Side-Bar-->
</div>
<div class="space-20"></div>
<div class="divider"></div>
<!--Similar-Cars-->
<div class="similar_cars">
<h3>Similar Cars</h3>
<div class="row">
<?php
$bid=$_SESSION['brndid'];
$sql="SELECT
tblvehicles.VehiclesTitle,tblbrands.BrandName,tblvehicles.PricePerDay,tblvehicles.F
uelType,tblvehicles.ModelYear,tblvehicles.id,tblvehicles.SeatingCapacity,tblvehicles.
VehiclesOverview,tblvehicles.Vimage1 from tblvehicles join tblbrands on
tblbrands.id=tblvehicles.VehiclesBrand where tblvehicles.VehiclesBrand=:bid";
$query->bindParam(':bid',$bid, PDO::PARAM_STR);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
64
Prateek Ranjan Maurya Online Cab Portel. 1605714823
$cnt=1;
if($query->rowCount() > 0)
foreach($results as $result)
{ ?>
</div>
<div class="product-listing-content">
<ul class="features_list">
</ul>
65
Prateek Ranjan Maurya Online Cab Portel. 1605714823
</div>
</div>
</div>
<?php }} ?>
</div>
</div>
<!--/Similar-Cars-->
</div>
</section>
<!--/Listing-detail-->
<!--Footer -->
<?php include('includes/footer.php');?>
<!-- /Footer-->
<!--Back to top-->
<!--/Back to top-->
<!--Login-Form -->
<?php include('includes/login.php');?>
<!--/Login-Form -->
66
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<!--Register-Form -->
<?php include('includes/registration.php');?>
<!--/Register-Form -->
<!--Forgot-password-Form -->
<?php include('includes/forgotpassword.php');?>
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/interface.js"></script>
<script src="assets/switcher/js/switcher.js"></script>
<script src="assets/js/bootstrap-slider.min.js"></script>
<script src="assets/js/slick.min.js"></script>
<script src="assets/js/owl.carousel.min.js"></script>
</body>
</html>
Testmonials .php
<?php
session_start();
error_reporting(0);
67
Prateek Ranjan Maurya Online Cab Portel. 1605714823
include('includes/config.php');
if(strlen($_SESSION['login'])==0)
header('location:index.php');
else{
?>
<!DOCTYPE HTML>
<html lang="en">
<head>
<!--Bootstrap -->
<!--slick-slider -->
68
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<!--bootstrap-slider -->
69
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<!-- Google-Font-->
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,900"
rel="stylesheet">
</head>
<body>
<?php include('includes/colorswitcher.php');?>
<!--Header-->
<?php include('includes/header.php');?>
<!--Page Header-->
<div class="container">
<div class="page-header_wrap">
<div class="page-heading">
<h1>My Testimonials</h1>
</div>
<ul class="coustom-breadcrumb">
<li><a href="#">Home</a></li>
<li>My Testimonials</li>
70
Prateek Ranjan Maurya Online Cab Portel. 1605714823
</ul>
</div>
</div>
<div class="dark-overlay"></div>
</section>
<?php
$useremail=$_SESSION['login'];
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$cnt=1;
if($query->rowCount() > 0)
foreach($results as $result)
{ ?>
<div class="container">
71
Prateek Ranjan Maurya Online Cab Portel. 1605714823
</div>
<div class="dealer_info">
</div>
</div>
<div class="row">
<?php include('includes/sidebar.php');?>
<div class="profile_wrap">
<div class="my_vehicles_list">
<ul class="vehicle_listing">
<?php
$useremail=$_SESSION['login'];
72
Prateek Ranjan Maurya Online Cab Portel. 1605714823
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
if($cnt=$query->rowCount() > 0)
foreach($results as $result)
{ ?>
<li>
<div>
</div>
<div class="clearfix"></div>
</div>
73
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<div class="clearfix"></div>
</div>
<?php } ?>
</li>
<?php } } ?>
</ul>
</div>
</div>
</div>
</div>
</div>
</section>
<!--/my-vehicles-->
<<!--Footer -->
<?php include('includes/footer.php');?>
<!-- /Footer-->
<!--Back to top-->
74
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/interface.js"></script>
<!--Switcher-->
<script src="assets/switcher/js/switcher.js"></script>
<!--bootstrap-slider-JS-->
<script src="assets/js/bootstrap-slider.min.js"></script>
<!--Slider-JS-->
<script src="assets/js/slick.min.js"></script>
<script src="assets/js/owl.carousel.min.js"></script>
</body>
</html>
<?php } ?>
Profile.php:-
<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['login'])==0)
header('location:index.php');
else{
75
Prateek Ranjan Maurya Online Cab Portel. 1605714823
if(isset($_POST['updateprofile']))
$name=$_POST['fullname'];
$mobileno=$_POST['mobilenumber'];
$dob=$_POST['dob'];
$adress=$_POST['address'];
$city=$_POST['city'];
$country=$_POST['country'];
$email=$_SESSION['login'];
$query = $dbh->prepare($sql);
$query->bindParam(':name',$name,PDO::PARAM_STR);
$query->bindParam(':mobileno',$mobileno,PDO::PARAM_STR);
$query->bindParam(':dob',$dob,PDO::PARAM_STR);
$query->bindParam(':adress',$adress,PDO::PARAM_STR);
$query->bindParam(':city',$city,PDO::PARAM_STR);
$query->bindParam(':country',$country,PDO::PARAM_STR);
$query->bindParam(':email',$email,PDO::PARAM_STR);
$query->execute();
?>
76
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<!DOCTYPE HTML>
<html lang="en">
<head>
<!--Bootstrap -->
<!--slick-slider -->
<!--bootstrap-slider -->
77
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,900"
rel="stylesheet">
<style>
.errorWrap {
padding: 10px;
78
Prateek Ranjan Maurya Online Cab Portel. 1605714823
margin: 0 0 20px 0;
background: #fff;
.succWrap{
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
</style>
</head>
<body>
<?php include('includes/colorswitcher.php');?>
<!--Header-->
<?php include('includes/header.php');?>
79
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<!--Page Header-->
<div class="container">
<div class="page-header_wrap">
<div class="page-heading">
<h1>Your Profile</h1>
</div>
<ul class="coustom-breadcrumb">
<li><a href="#">Home</a></li>
<li>Profile</li>
</ul>
</div>
</div>
<div class="dark-overlay"></div>
</section>
<?php
$useremail=$_SESSION['login'];
80
Prateek Ranjan Maurya Online Cab Portel. 1605714823
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$cnt=1;
if($query->rowCount() > 0)
foreach($results as $result)
{ ?>
<div class="container">
</div>
<div class="dealer_info">
</div>
</div>
<div class="row">
81
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<?php include('includes/sidebar.php');?>
<div class="profile_wrap">
<?php
<form method="post">
<div class="form-group">
</div>
<?php if($result->UpdationDate!=""){?>
<div class="form-group">
</div>
<?php } ?>
<div class="form-group">
</div>
<div class="form-group">
82
Prateek Ranjan Maurya Online Cab Portel. 1605714823
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
<label class="control-label">Country</label>
</div>
<div class="form-group">
83
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<label class="control-label">City</label>
</div>
<?php }} ?>
<div class="form-group">
</div>
</form>
</div>
</div>
</div>
</div>
</section>
<!--/Profile-setting-->
<<!--Footer -->
<?php include('includes/footer.php');?>
<!-- /Footer-->
<!--Back to top-->
84
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<!--/Back to top-->
<!--Login-Form -->
<?php include('includes/login.php');?>
<!--/Login-Form -->
<!--Register-Form -->
<?php include('includes/registration.php');?>
<!--/Register-Form -->
<!--Forgot-password-Form -->
<?php include('includes/forgotpassword.php');?>
<!--/Forgot-password-Form -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/interface.js"></script>
<!--Switcher-->
<script src="assets/switcher/js/switcher.js"></script>
<!--bootstrap-slider-JS-->
<script src="assets/js/bootstrap-slider.min.js"></script>
85
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<!--Slider-JS-->
<script src="assets/js/slick.min.js"></script>
<script src="assets/js/owl.carousel.min.js"></script>
</body>
</html>
<?php } ?>
Dashboard Admin:-
<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['alogin'])==0)
header('location:index.php');
else{
?>
<!doctype html>
<head>
<meta charset="UTF-8">
86
Prateek Ranjan Maurya Online Cab Portel. 1605714823
</head>
87
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<body>
<?php include('includes/header.php');?>
<div class="ts-main-content">
<?php include('includes/leftbar.php');?>
<div class="content-wrapper">
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<h2 class="page-title">Dashboard</h2>
<div class="row">
<div class="col-md-12">
<div class="row">
<div class="col-
md-3">
<div
class="panel panel-default">
88
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<?php
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$regusers=$query->rowCount();
?>
</div>
</div>
<a
href="reg-users.php" class="block-anchor panel-footer">Full Detail <i class="fa fa-
arrow-right"></i></a>
</div>
</div>
<div class="col-
md-3">
<div
class="panel panel-default">
89
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<?php
$query1->execute();
$results1=$query1->fetchAll(PDO::FETCH_OBJ);
$totalvehicle=$query1->rowCount();
?>
</div>
</div>
<a
href="manage-vehicles.php" class="block-anchor panel-footer text-center">Full
Detail <i class="fa fa-arrow-right"></i></a>
</div>
</div>
<div class="col-
md-3">
90
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<div
class="panel panel-default">
<?php
$query2->execute();
$results2=$query2->fetchAll(PDO::FETCH_OBJ);
$bookings=$query2->rowCount();
?>
</div>
</div>
<a
href="manage-bookings.php" class="block-anchor panel-footer text-center">Full
Detail <i class="fa fa-arrow-right"></i></a>
</div>
91
Prateek Ranjan Maurya Online Cab Portel. 1605714823
</div>
<div class="col-
md-3">
<div
class="panel panel-default">
<?php
$query3->execute();
$results3=$query3->fetchAll(PDO::FETCH_OBJ);
$brands=$query3->rowCount();
?>
</div>
</div>
92
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<a
href="manage-brands.php" class="block-anchor panel-footer text-center">Full Detail
<i class="fa fa-arrow-right"></i></a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="row">
<div class="col-md-12">
<div class="row">
<div class="col-
md-3">
<div
class="panel panel-default">
93
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<?php
$query4->execute();
$results4=$query4->fetchAll(PDO::FETCH_OBJ);
$subscribers=$query4->rowCount();
?>
</div>
</div>
<a
href="manage-subscribers.php" class="block-anchor panel-footer">Full Detail <i
class="fa fa-arrow-right"></i></a>
</div>
</div>
<div class="col-
md-3">
<div
class="panel panel-default">
94
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<?php
$query6->execute();
$results6=$query6->fetchAll(PDO::FETCH_OBJ);
$query=$query6->rowCount();
?>
</div>
</div>
<a
href="manage-conactusquery.php" class="block-anchor panel-footer text-
center">Full Detail <i class="fa fa-arrow-right"></i></a>
</div>
</div>
95
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<div class="col-
md-3">
<div
class="panel panel-default">
<?php
$query5->execute();
$results5=$query5->fetchAll(PDO::FETCH_OBJ);
$testimonials=$query5->rowCount();
?>
</div>
</div>
96
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<a
href="testimonials.php" class="block-anchor panel-footer text-center">Full Detail
<i class="fa fa-arrow-right"></i></a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
97
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap-select.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.dataTables.min.js"></script>
<script src="js/dataTables.bootstrap.min.js"></script>
<script src="js/Chart.min.js"></script>
<script src="js/fileinput.js"></script>
<script src="js/chartData.js"></script>
<script src="js/main.js"></script>
<script>
window.onload = function(){
responsive: true,
scaleShowVerticalLines: false,
scaleBeginAtZero : true,
});
98
Prateek Ranjan Maurya Online Cab Portel. 1605714823
</script>
</body>
</html>
<?php } ?>
RegUser.php
<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['alogin'])==0)
header('location:index.php');
99
Prateek Ranjan Maurya Online Cab Portel. 1605714823
else{
if(isset($_GET['del']))
$id=$_GET['del'];
$query = $dbh->prepare($sql);
?>
<!doctype html>
<head>
<meta charset="UTF-8">
100
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<style>
.errorWrap {
padding: 10px;
101
Prateek Ranjan Maurya Online Cab Portel. 1605714823
margin: 0 0 20px 0;
background: #fff;
.succWrap{
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
</style>
</head>
<body>
<?php include('includes/header.php');?>
<div class="ts-main-content">
<?php include('includes/leftbar.php');?>
<div class="content-wrapper">
102
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<h2 class="page-title">Registered
Users</h2>
<div class="panel-heading">Reg
Users</div>
<div class="panel-body">
<?php if($error){?><div
class="errorWrap"><strong>ERROR</strong>:<?php echo htmlentities($error); ?>
</div><?php }
else if($msg){?><div
class="succWrap"><strong>SUCCESS</strong>:<?php echo htmlentities($msg); ?>
</div><?php }?>
<table id="zctb"
class="display table table-striped table-bordered table-hover" cellspacing="0"
width="100%">
<thead>
<tr>
<th>#</th>
<th> Name</th>
103
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<th>Email </th>
<th>Contact no</th>
<th>DOB</th>
<th>Address</th>
<th>City</th>
<th>Country</th>
<th>Reg
Date</th>
</tr>
</thead>
<tfoot>
<tr>
<th>#</th>
<th> Name</th>
<th>Email </th>
<th>Contact no</th>
104
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<th>DOB</th>
<th>Address</th>
<th>City</th>
<th>Country</th>
<th>Reg
Date</th>
</tr>
</tr>
</tfoot>
<tbody>
<?php $sql =
"SELECT * from tblusers ";
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$cnt=1;
if($query->rowCount() > 0)
foreach($results as $result)
{ ?>
<tr>
105
Prateek Ranjan Maurya Online Cab Portel. 1605714823
</tr>
<?php
$cnt=$cnt+1; }} ?>
</tbody>
</table>
</div>
106
Prateek Ranjan Maurya Online Cab Portel. 1605714823
</div>
</div>
</div>
</div>
</div>
</div>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap-select.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.dataTables.min.js"></script>
<script src="js/dataTables.bootstrap.min.js"></script>
<script src="js/Chart.min.js"></script>
<script src="js/fileinput.js"></script>
<script src="js/chartData.js"></script>
<script src="js/main.js"></script>
</body>
</html>
<?php } ?>
107
Prateek Ranjan Maurya Online Cab Portel. 1605714823
Manging Booking
<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['alogin'])==0)
header('location:index.php');
else{
if(isset($_REQUEST['eid']))
$eid=intval($_GET['eid']);
$status="2";
$query = $dbh->prepare($sql);
108
Prateek Ranjan Maurya Online Cab Portel. 1605714823
if(isset($_REQUEST['aeid']))
$aeid=intval($_GET['aeid']);
$status=1;
$query = $dbh->prepare($sql);
?>
<!doctype html>
<head>
<meta charset="UTF-8">
109
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<style>
.errorWrap {
110
Prateek Ranjan Maurya Online Cab Portel. 1605714823
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
.succWrap{
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
</style>
</head>
<body>
<?php include('includes/header.php');?>
<div class="ts-main-content">
<?php include('includes/leftbar.php');?>
111
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<div class="content-wrapper">
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<h2 class="page-title">Manage
Bookings</h2>
<div class="panel-
heading">Bookings Info</div>
<div class="panel-body">
<?php if($error){?><div
class="errorWrap"><strong>ERROR</strong>:<?php echo htmlentities($error); ?>
</div><?php }
else if($msg){?><div
class="succWrap"><strong>SUCCESS</strong>:<?php echo htmlentities($msg); ?>
</div><?php }?>
<table id="zctb"
class="display table table-striped table-bordered table-hover" cellspacing="0"
width="100%">
<thead>
<tr>
<th>#</th>
112
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<th>Name</th>
<th>Vehicle</th>
<th>From Date</th>
<th>To Date</th>
<th>Message</th>
<th>Status</th>
<th>Posting date</th>
<th>Action</th>
</tr>
</thead>
<tfoot>
<tr>
<th>#</th>
<th>Name</th>
<th>Vehicle</th>
<th>From Date</th>
113
Prateek Ranjan Maurya Online Cab Portel. 1605714823
<th>To Date</th>
<th>Message</th>
<th>Status</th>
<th>Posting date</th>
<th>Action</th>
</tr>
</tfoot>
<tbody>
<?php $sql =
"SELECT
tblusers.FullName,tblbrands.BrandName,tblvehicles.VehiclesTitle,tblbooking.FromD
ate,tblbooking.ToDate,tblbooking.message,tblbooking.VehicleId as
vid,tblbooking.Status,tblbooking.PostingDate,tblbooking.id from tblbooking join
tblvehicles on tblvehicles.id=tblbooking.VehicleId join tblusers on
tblusers.EmailId=tblbooking.userEmail join tblbrands on
tblvehicles.VehiclesBrand=tblbrands.id ";
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$cnt=1;
if($query->rowCount() > 0)
114
Prateek Ranjan Maurya Online Cab Portel. 1605714823
foreach($results as $result)
{ ?>
<tr>
<td><?php
if($result->Status==0)
} else if ($result->Status==1) {
echo htmlentities('Confirmed');
else{
echo htmlentities('Cancelled');
115
Prateek Ranjan Maurya Online Cab Portel. 1605714823
?></td>
<td><a
href="manage-bookings.php?aeid=<?php echo htmlentities($result->id);?>"
onclick="return confirm('Do you really want to Confirm this booking')">
Confirm</a> /
</td>
</tr>
<?php
$cnt=$cnt+1; }} ?>
</tbody>
</table>
</div>
</div>
116
Prateek Ranjan Maurya Online Cab Portel. 1605714823
</div>
</div>
</div>
</div>
</div>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap-select.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.dataTables.min.js"></script>
<script src="js/dataTables.bootstrap.min.js"></script>
<script src="js/Chart.min.js"></script>
<script src="js/fileinput.js"></script>
<script src="js/chartData.js"></script>
<script src="js/main.js"></script>
</body>
</html>
<?php } ?>
117
Prateek Ranjan Maurya Online Cab Portel. 1605714823
Testing
System Testing
System testing is a critical element of quality assurance and represents the ultimate review of
analysis, design and coding. Test case design focuses on a set of techniques for the creation
of test because that meet overall testing objective. When a system is developed it is hoped
that it performs properly. The main purpose of testing an information system is to find the
errors and correct them. The scope of system testing should include both manual and
computerized operations. System testing is comprehensive evaluation of the programs,
manual procedures, computer operations and controls.
System testing is the process of checking whether the developed system is working
according to the objective and requirement. All testing is to be conducted in accordance to
the test conditions specified earlier. This will ensure that the test coverage meets the
requirements and that testing is done in a systematic manner.
The process of analyzing the software item to detect the differences between existing or
required condition and evaluate the features of the software items. The thorough testing of the
system before release of the software needs to be done vide the various test cases and modes
so that the software becomes devoid of bugs and uses minimum space requirements as well
as minimum time to perform. The test cases were selected beforehand with expected results
defined and actual results recorded for comparison. The selection of test cases is done vide
“White Box Testing” technique to check the internal programming logic and efficiency and
vide ”Black Box Testing” technique to check software requirement fulfillment with intension
of finding maximum number of errors with minimum effort and time. Although test cases are
a design by considering the cyclomatic complexity, conditional test, still the software code is
not in its optional form, as all other possible alternative parts in the software are not
considered. At the integration level, the software will be passing to the third party tests which
would further enhance the software optimality and efficiency.
TEST CHARACTERS :
118
Prateek Ranjan Maurya Online Cab Portel. 1605714823
UNIT TESTING:
The unit testing is performed to test the validity of the individual units. This is done in the
coding phase with the interactive testing. Thus it itself constitutes a majority of functionality
test for each logical unit.
INTEGRITY TESTING:
VALIDATIONTESTING:
Login:
119
Prateek Ranjan Maurya Online Cab Portel. 1605714823
Registration:
Cab Add:-
120
Prateek Ranjan Maurya Online Cab Portel. 1605714823
Ad Renew:-
Search Room:-
121
Prateek Ranjan Maurya Online Cab Portel. 1605714823
Types of Testing:
White-Box Testing:
This testing is also known as “glass-box testing”. Using white-box testing, test cases are
derived that
Guarantee that all independent paths within a module have been exercised at last
once;
Exercise all logical decisions on their true and false sides;
Execute all loops at their boundaries and within their operational bounds; and
Exercise internal data structures to assure their validity.
Logic errors and incorrect assumptions are inversely proportional to the probability that
a program path will be executed.
We often believe that a logical path is not likely to be executed when in fact it may be
executed on a regular basis.
Black-Box Testing:
This testing focuses on the functional requirements of the software i.e. it enables to derive set
of input conditions that will folly exercise all functional requirements for a program. It is not
an alternative to white-box techniques rather it is a complementary approach i.e. likely to
uncover a different class of errors than white-box methods.
122
Prateek Ranjan Maurya Online Cab Portel. 1605714823
Alpha Testing:
The alpha test is conducted at developer’s site by a customer. The software is used in a
natural setting with the developer “looking over the shoulder” of the user and recording errors
and usage problems. Alpha test is conducted in controlled environment.
Beta Testing:
The beta test is conducted at one or more customer’s sites by end users of the software.
Unlike alpha testing, the developer is generally not present. Therefore, the beta test is a
“Live” application of the software in an environment that cannot be controlled by the
developer. The customer records all problems that are encountered during beta testing and
reports these to developer at regular interval. As a result of problems reported during beta
tests, software engineers make modifications and then prepare for release of the software
product to the entire customer base.
123
Prateek Ranjan Maurya Online Cab Portel. 1605714823
Limitation
124
Prateek Ranjan Maurya Online Cab Portel. 1605714823
Future Scope
125
Prateek Ranjan Maurya Online Cab Portel. 1605714823
BIBLOGRAPHY
REFERENCE SITE
http://www.Kayak.com
http://www.Zoomcar.com
126