Satyam Pyasi
Satyam Pyasi
BY : SATYAM PYASI
Y21170846
1
2
PLAGIARISM UNDERTAKING
I undertake that if I am found guilty of formal plagiarism in the above titled report
even award of degree, the University reserves the rights to withdraw/revoke my
degree.
Signa
ture of Student:
Date:
Mr:
3
DEPARTMENT OF COMPUTER DR.
SCIENCE AND APPLICATIONS
HARISI
NGH
GOUR
CERTIFICATE
Forwarded by:
4
DECLARATION
presented in this report is my own work and has been carried out under the
10/06/2024.
This work has not been previously submitted to any other University/College for
any examination.
Date: Y21170846
5
ACKNOWLEDGEMENT
6
7
ABSTRACT
8
9
Contents
INTRODUCTION.........................................................................................................................................10
1.1 Background..........................................................................................................................................11
1.2 Objectives............................................................................................................................................12
1.3 Purpose, Scope, and Applicability........................................................................................................13
1.4 Achievements......................................................................................................................................14
SURVEY OF TECHNOLOGIES......................................................................................................................15
2.1 Front-end Development:......................................................................................................................15
2.2 Back-end Development:......................................................................................................................15
2.3 Database Management.........................................................................................................................15
2.4 Payment Gateway Integration:.............................................................................................................16
2.5 Hosting and Deployment:....................................................................................................................16
2.6 Security:..............................................................................................................................................16
2.7 Testing and Quality Assurance:...........................................................................................................16
REQUIREMENTS AND ANALYSIS...............................................................................................................17
3.1 Problem Definition..............................................................................................................................17
3.2 Requirements Specification.................................................................................................................18
3.2.1 User Requirements:..........................................................................................................................18
3.2.2 Admin Requirements:.......................................................................................................................19
3.2.3 Functional Requirements:.................................................................................................................20
3.2.4 Non-functional Requirements:..........................................................................................................21
3.3 Planning and scheduling......................................................................................................................21
3.4 Hardware And Software Requirement:...............................................................................................22
3.4.1 Hardware configuration....................................................................................................................22
3.4.2 Software configuration.....................................................................................................................22
3.4.3 Software Environment:.....................................................................................................................23
3.5 Preliminary Product Description..........................................................................................................29
SYSTEM DESIGN..................................................................................................................................29
4.1 BASIC MODULES.............................................................................................................................29
4.2 DFDs IN CASE OF DATEBASE PROJECTS................................................................................................30
10
4.2.1 DFD SYMBOLS:..................................................................................................................................31
4.2.2 0-LEVEL DFD......................................................................................................................................33
4.2.3 1-LEVEL DFD......................................................................................................................................34
4.3 E-R Diagrams......................................................................................................................................35
4.3.1 ER -DIAGRAM………………………………………………………………………………………………………………………………..36
11
6.3.3 CONTACT:-........................................................................................................................................83
CONCLUSIONS...........................................................................................................................................84
7.1 ADVANTAGES AND LIMITATION................................................................................................84
7.1.1 Advantages.......................................................................................................................................84
7.1.2 Disadvantages...................................................................................................................................85
7.2 SDLC LIFE CYCLE...........................................................................................................................85
7.2.1 What is SDLC and Phases................................................................................................................85
7.2.2 Preliminary analysis:........................................................................................................................86
7.2.3 Systems analysis, requirements definition:.......................................................................................86
7.2.4 Systems design:................................................................................................................................87
7.2.5 Acceptance, installation, deployment:..............................................................................................87
7.3 FUTURE SCOPE..............................................................................................................................88
7.4 CONCLUSION...................................................................................................................................89
7.4.1 REFERENCES.................................................................................................................................89
7.4.2 Books:...............................................................................................................................................89
12
INTRODUCTION
Today most of website are not good enough online for vehicle purchase
customers will not get proper way to find their car so that’s way we are making
this website to provide best choice car to you.
The aim of our application is to reduce burden of customers who spend time to
search a place where they go for big city and find car .This website show the live
& true information to the customer.
13
1.1 Background
MySQL is an open-source relational database management system (RDBMS) that utilizes SQL for
data processing within databases. It offers APIs for various programming languages including C,
C++, Eiffel, Java, Perl, PHP, and Python. Renowned for its speed and reliability, MySQL is
extensively used in web and embedded applications, making it a popular alternative to
proprietary database systems. It is compatible with UNIX, Windows, and Mac OS.
MySQL is a crucial component of nearly every open-source PHP application. Notable examples of
PHP/MySQL-based scripts include phpBB, osCommerce, and Joomla. An important aspect of
working with MySQL is having a specialized host for MySQL.
As the most widely used open-source relational SQL database management system, MySQL
stands out as one of the best RDBMS options for developing web-based software applications. It
runs on nearly all platforms, including Linux, UNIX, and Windows. While MySQL can be utilized in
various applications, it is particularly associated with web-based applications and online
publishing. It is a key part of the LAMP stack, a web development platform that includes Linux
(operating system), Apache (web server), MySQL (RDBMS), and PHP (object-oriented scripting
language), though Perl or Python can be used in place of PHP.
14
1.2 Objectives
To overcome the current framework issues and diminish the time utilization
of the client for overhauling their vehicle.
This application is a site that can run on any program on portable, tablet, or
PC. This framework will permit clients to book the accessible time
allotment.
Use the system to make sure we are following all the rules and laws about
runnning vehicles.
Make sure the system is easy for everyone to understand and use, whether
they are at a computer or on their phone.
Make sure the systems can work together with other computer systems we
already use in our business.
15
1.3 Purpose, Scope, and Applicability
Purpose:
The Vehicle Hub projcet aims to revolutionize the management of vehicle fleets by
offering a comprehensive and centralized solution. At its core, the purpose is to
optimize every aspect of fleet operations, from tracking vehicle locations to
managing maintainance schedules and ensruing regulatory compliance. By
consolidating these tasks into a single platrofm, the Vehicle Hub enhances
operational efficinecy, reduce costs, and improves overall fleet performance. The
purpose of Vehicle Hub project is to driver customer satisfaction by delivering
reliable and efficient fleet services while also empowering organizations to stay
competitive in an increasingly dynamic market landscape.
Scope:
The scope of Vehicle Hub project, as a car buying platform, encompasses various
facets aimed at simplifying and enhanching the car purchasing experience for
customers. It involves the management of a comprehensive database of vehicle
availabe for sale, including detailed specifications, pricing information, and vehicle
history reports. The platform facilitates easy searching and filtering of vehicles
based on customer’s preferences, such as make, model, price range, and features,
providing a user-friendly interface for browsing available inventory. Overall, the
Vehicle Hub project aims to revolutionize the car buying experience by leveraging
technology to make it more transparent, conveninet, and customer-centric.
Applicability:
The applicability of the Vehicle Hub project spans acroess the automotive industry,
offering a comprehensive solution that benefits various stakeholders. For
customers, the platform serves as a one-stop destination for researching, browsing
and purchasing vehicles, providing transparency in pricing, detailed vehicle
information, and convenient tools for scheduling test drives and exploring
financing options.
16
1.4 Achievements
5. Data-Driven Insights: The Vehicle Hub generates valuable data insights for
automotive businesses, enabling informed decision-making, strategic
planning, and targating marketing efforts.
17
SURVEY OF TECHNOLOGIES
18
2.4 Payment Gateway Integration:
- Cloud Services: Platforms like Amazon Web Services (AWS), Google Cloud
Platform (GCP), or Microsoft Azure provide scalable hosting solutions.
- Web Servers: Nginx or Apache HTTP Server can handle incoming requests and
serve the web application to users.
2.6 Security:
- Content Security Policy (CSP): Specifying a policy that limits and controls
external resources can mitigate potential security risks.
Testing Frameworks: Tools like Jest, Pytest, or Mocha provide a framework for
writing and executing unit tests and integration tests.
19
Continuous Integration and Deployment (CI/CD): Services like Jenkins or Travis
CI automate the testing and deployment process to ensure code quality and
maintain stability.
It's important to note that the choice of technologies may vary based on the specific
requirements of the project and the preferences and expertise of the development
team. Conducting thorough research and considering factors such as scalability,
maintainability, and security will aid in selecting the most suitable technologies for
the web application.
The problem defitniton for the Vehicle Hub project revolves around the challenges
faced by both customers and automotive businesses in the traditional car buying
process. These challenges include:
2. Inefficient Sales Process: The traditional car buying process is often time-
consuming and cumbersome, involving multiple visits to dealerships,
negotiations, and paperwork, resulting in frustration for customers and
inefficiencies for dealerships.
20
4. Limited Market Reach: Automotive businesses may face limitations in
reaching potential customers beyond their local markets, restricting growth
opportunities and revenue potential.
1. Customers:
Ability to easily search and browse available vehicles based on
preferences such as make, model, price range, and features.
Clear and detailed vehicle information including specifications,
photos, and vehicle history reports.
2. Dealerships and Retailers:
Tools for easily managing vehicle inventory, including adding new
listings, updating information, and removing sold vehicles.
Features for tracking customer inquiries, managing leads, and
scheduling test drives.
3. Financial Institutions:
21
Integration with the Vehicle Hub platform to offer financing options
such as loans and leases to customers.
Secure access to customer information and loan application data for
processing and approval.
4. Service Providers:
Integration with the Vehicle Hub platform to offer ancillary services
such as insurance, extended warranties, and vehicle maintenance.
Access to customer data and vehicle information for providing
personalized service offerings.
5. Administrators:
Administrative tools for managing user accounts, permissions, and
access levels within the system.
Monitoring and reporting functionalities for tracking system
performance, usage metrics, and user activity.
22
includes features for tracking customer communication, scheduling follow-
ups, and maintaining customer profiles.
23
3.2.4 Non-functional Requirements:
2. Test Drive Scheduling: Customers should have the ability to schedule test
drives for vehicles they are interested in purchasing. The system should
provide a calendar view of available time slots, allowing customers to select
a convenient date and time for their test drive appointment.
24
3. Appointment Booking: In addition to test drives, the Vehicle Hub should
support appointment booking for other services such as vehicle inspections,
appraisals, and maintenance appointments. Customers should be able to
schedule appointments online or through the platform's mobile app.
5. Real-Time Updates: The Vehicle Hub should provide real-time updates and
notifications for changes to appointments, inventory availability, or
scheduling conflicts. This allows for quick adjustments and ensures that
customers and staff are informed of any changes promptly.
Table 3.4.1
25
2. Web server Personal Web Server
3. Web Browser Internet Explorer 5.0
4. Designing Tool Dreamweaver3.0, HTML
5. Server Side Scripting WAMP
6. Client Side Scripting JS
7. Backend MYSQL
Table 3.4.2
Technology used:
i. HTML
ii. CSS
iii. BOOTSTRAP
iv. MYSQL
v. PHP
vi. JAVA SCRIPT
i. HTML
HTML stands for HYPER TEXT MARKUP LANGUAGE, which is most widely
used language on web to develop web pages. HTML refers to the way in which
Web pages (HTML documents) are linked together. Thus, the link available on a
web page is called Hypertext.
26
HTML was created by Berners-Lee in late 1991 but “HTML 2.0” was the first
standard HTML specification which was published in 1995. HTML 4.01 was a
major version of HTML and it was published in late 1999. Though HTML 4.01
version is widely used but currently we are having HTML-5 version which is an
extension to HTML 4.01, and this version was published in 2012.
As its name suggests, HTML is a Mark-up Language which means you use HTML
to simply “mark-up” a text document with tags that tells a web browser how to
structure it to display.
Originally, HTML was develop with the intent of defining the structure of
documents like heading, paragraph, lists, and so forth to facilitate the sharing of
scientific information between researchers. Now, HTML is being widely used to
format web pages with the help of different tags available in HTML.
ii. CSS
27
control in the specification of presentation characteristics, enable multiple
HTML pages to share formatting by specifying the relevant CSS in a
separate .css file, and reduce complexity and repetition in the structural
content.
The CSS specifications are maintained by the World Wide Web
Consortium (W3C). Internet media type (MIME type) text/css is registered for
use with CSS by RFC 2318 (March 1998). The W3C operates a free CSS
validation service for CSS documents
CSS has a simple syntax and uses a number of English keywords to specify the
names of various style properties .A style sheet consists of a list of rules. Each
rule or rule-set consists of one or more selectors, and a declaration block.
iii. Bootstrap
28
As of Bootstrap 4, Sass is used instead of less for the stylesheets.Each
Bootstrap component consists of an HTML structure, CSS declarations, and in
some cases accompanying JavaScript code.
iv. My SQL
MySQL is an open source RDBMS that relies on SQL for processing the data in
database. MySQL provides APIs for the languages like C, C++, Eiffel, JAVA,
Perl, PHP and Python. MySQL is most commonly used for web applications and
for embedded applications and has become a popular alternative to proprietary
database system because of its speed and reliability. MySQL can run on UNIX,
Windows and Mac OS.
MySQL is an essential part of almost every open source PHP application.
Good examples for PHP/MySQL-based scripts are phpBB, osCmmerce and
Joomla. One of the most important things about using MySQL is to have a
MySQL specialized host.
MySQL is the most popular Open Source Relational SQL database
management system. MySQL is one of the best RDBMS being used for
developing web based software applications.
MySQL is an open source relational database management system (RDBMS)
based on Structured Query Language (SQL). MySQL runs on virtually all
platforms, including Linux, UNIX, and Windows. Although it can be used in a
wide range of applications, MySQL is most often associated with web-based
applications and online publishing and is an important component of an
enterprise stack called LAMP. LAMP is a Web development platform that
uses .Linux as the operating system, Apache as the Web server, MySQL as the
relational database management system and PHP as the object oriented
scripting language. (Sometimes Perl or Python is used instead of PHP.)
29
v. PHP
30
vi. JavaScript
31
client side, JavaScript has been traditionally implemented as an interpreted
language, but more recent browsers perform just-in-time compilation.
The Vehicle Hub is an innovative platform set to transform the car buying
experience for both customers and automotive dealerships. It serves as a
centralized solution, offering a range of features designed to streamline operations
and enhance customer interactions. With Vehicle Hub, dealerships can effortlessly
manage their vehicle inventory, from adding new listings to updating details and
tracking availability. Customers benefit from convenient booking and appointment
scheduling capabilities, including test drives and service appointments, accessible
through an intuitive web interface or mobile app. Integration with financial
institutions enables seamless financing options, while robust CRM tools facilitate
lead management and follow-ups. Real-time reporting and analytics dashboards
provide insights into sales performance and customer satisfaction, empowering
dealerships to make data-driven decisions. With scalable architecture and
dedicated support resources, Vehicle Hub aims to drive growth, increase revenue,
and establish itself as a leader in digital transformation within the automotive
industry.
SYSTEM DESIGN
The system after careful analysis has been identified to be presented with the
following modules:
32
1. Login
3. Forget password
4. Search records/categories
5. Add/update record
6. Contact
7. Logout
1. Login
4. Forget password
5. Search records/categories
6. update record
7. Contact
8. Logout
A data flow diagram is graphical tool used to describe and analyze movement
of data through a system. These are the central tool and the basis from which
the other components are developed. The transformation of data from input to
33
output, through processed, may be described logically and independently of
physical components associated with the system.
These are known as the logical data flow diagrams. The physical data flow
diagrams show the actual implements and movement of data between people,
departments and workstations.
A full description of a system actually consists of a set of data flow diagrams.
Using two familiar notations Yourdon, Gane and Sarson notation develops the
data flow diagrams. Each component in a DFD is labeled with a descriptive
name. Process is further identified with a number that will be used for
identification purpose.
The development of DFD’S is done in several levels. Each process in lower
level diagrams can be broken down into a more detailed DFD in the next level.
The lop-level diagram is often called context diagram.
It consists single process bit, which plays vital role in studying the current
system. The process in the context level diagram is exploded into other
process at the first level DFD.
The idea behind the explosion of a process into more process is that
understanding at one level of detail is exploded into greater detail at the next
level.This is done until further explosion is necessary and an adequate amount
of detail is described for analyst to understand the process.
34
An arrow identifies data flow. It is the pipeline through which the
information flows.
A circle or a bubble represents a process that transforms incoming
data flow into outgoing data flows.
An open rectangle is a data store, data at rest or a temporary
repository of data.
Process that Process that transforms data flow.
Source or Source or Destination of data.
• Data flow
• Data Store
Table 4.2.1
35
4.2.2 0-LEVEL DFD
37
4.3 E-R Diagrams
38
Table 4.3
39
4.3.1 ER-DIAGRAM
40
4.4 CONTROL FLOW DIAGRAM
41
Fig: 4.4 CONTROL FLOW DIAGRAM
VEHICLE HUB
42
IMPLEMENTATION AND TESTING
Implementation and testing of the Vehicle Hub project involve several stages to
ensure the successful development, deployment, and validation of the system.
Here's an overview of the implementation and testing process:
43
expectations. Users perform predefined test scenarios and provide
feedback on the system's usability, functionality, and performance.
8. Deployment: Once testing is complete and the system is approved for
release, it is deployed to the production environment. This involves
deploying the application code, configuring servers and databases, and
setting up monitoring and logging systems.
9. Post-Deployment Testing: After deployment, additional testing may be
conducted to verify the stability and performance of the system in the
production environment. This includes monitoring system metrics,
analyzing logs, and addressing any issues that arise.
10.Maintenance and Support: After the system is deployed, ongoing
maintenance and support are provided to address bugs, implement new
features, and ensure the continued reliability and performance of the
system.
<?php
session_start();
include('includes/config.php');
error_reporting(0);
?>
<!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">
44
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="keywords" content="">
<meta name="description" content="">
<title>Vehicle Booking</title>
<!--Bootstrap -->
<link rel="stylesheet" href="assets/css/bootstrap.min.css" type="text/css">
<link rel="stylesheet" href="assets/css/style.css" type="text/css">
<link rel="stylesheet" href="assets/css/owl.carousel.css" type="text/css">
<link rel="stylesheet" href="assets/css/owl.transitions.css" type="text/css">
<link href="assets/css/slick.css" rel="stylesheet">
<link href="assets/css/bootstrap-slider.min.css" rel="stylesheet">
<link href="assets/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" id="switcher-css" type="text/css"
href="assets/switcher/css/switcher.css" media="all" />
<link rel="alternate stylesheet" type="text/css"
href="assets/switcher/css/red.css" title="red" media="all" data-default-
color="true" />
<link rel="alternate stylesheet" type="text/css"
href="assets/switcher/css/orange.css" title="orange" media="all" />
<link rel="alternate stylesheet" type="text/css"
href="assets/switcher/css/blue.css" title="blue" media="all" />
<link rel="alternate stylesheet" type="text/css"
href="assets/switcher/css/pink.css" title="pink" media="all" />
<link rel="alternate stylesheet" type="text/css"
href="assets/switcher/css/green.css" title="green" media="all" />
<link rel="alternate stylesheet" type="text/css"
href="assets/switcher/css/purple.css" title="purple" media="all" />
<link rel="apple-touch-icon-precomposed" sizes="144x144"
href="assets/images/favicon-icon/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114"
href="assets/images/favicon-icon/apple-touch-icon-114-precomposed.html">
<link rel="apple-touch-icon-precomposed" sizes="72x72"
href="assets/images/favicon-icon/apple-touch-icon-72-precomposed.png">
45
<link rel="apple-touch-icon-precomposed"
href="assets/images/favicon-icon/apple-touch-icon-57-precomposed.png">
<link rel="shortcut icon" href="assets/images/favicon-icon/favicon.png">
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,900"
rel="stylesheet">
</head>
<body>
<!--Header-->
<?php include('includes/header.php');?>
<!-- /Header -->
46
<!-- Resent Cat-->
<section class="section-padding gray-bg">
<div class="container">
<div class="section-header text-center">
<h2>It is best place <span>to find your best car</span></h2>
<p>Now a days everyone want to reach their destination in a short time
period , here we are providing thousand of cars to choose a take a ride.</p>
</div>
<div class="row">
<div class="col-list-3">
<div class="recent-car-list">
<div class="car-info-box"> <a href="vehical-details.php?vhid=<?php echo
htmlentities($result->id);?>"><img src="admin/img/vehicleimages/<?php echo
htmlentities($result->Vimage1);?>" class="img-responsive" alt="image"></a>
<ul>
<li><i class="fa fa-car" aria-hidden="true"></i><?php echo htmlentities($result-
>FuelType);?></li>
<li><i class="fa fa-calendar" aria-hidden="true"></i><?php echo
htmlentities($result->ModelYear);?> Model</li>
<li><i class="fa fa-user" aria-hidden="true"></i><?php echo
htmlentities($result->SeatingCapacity);?> seats</li>
</ul>
</div>
<div class="car-title-m">
<h6><a href="vehical-details.php?vhid=<?php echo htmlentities($result->id);?
>"><?php echo htmlentities($result->BrandName);?> , <?php echo
htmlentities($result->VehiclesTitle);?></a></h6>
<span class="price">$<?php echo htmlentities($result->PricePerDay);?>
/Day</span>
</div>
<div class="inventory_info_m">
<p><?php echo substr($result->VehiclesOverview,0,70);?></p>
</div>
</div>
</div>
<?php }}?>
48
</div>
</div>
</div>
</section>
<!-- /Resent Cat -->
<!--Testimonial -->
<!-- /Testimonial-->
<!--Footer -->
<?php include('includes/footer.php');?>
<!-- /Footer-->
<!--Back to top-->
<div id="back-top" class="back-top"> <a href="#top"><i class="fa fa-angle-up"
aria-hidden="true"></i> </a> </div>
<!--/Back to top-->
<!--Login-Form -->
<?php include('includes/login.php');?>
<!--/Login-Form -->
<!--Register-Form -->
<?php include('includes/registration.php');?>
<!--/Register-Form -->
49
<!--Forgot-password-Form -->
<?php include('includes/forgotpassword.php');?>
<!--/Forgot-password-Form -->
</body>
<?php
session_start();
include('includes/config.php');
error_reporting(0);
50
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);
$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)
{
echo "<script>alert('Booking successfull.');</script>";
}
else
{
echo "<script>alert('Something went wrong. Please try again');</script>";
}
?>
<!DOCTYPE HTML>
<html lang="en">
<head>
51
<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>Car Rental Port | Vehicle Details</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">
52
<link rel="apple-touch-icon-precomposed" sizes="144x144"
href="assets/images/favicon-icon/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114"
href="assets/images/favicon-icon/apple-touch-icon-114-precomposed.html">
<link rel="apple-touch-icon-precomposed" sizes="72x72"
href="assets/images/favicon-icon/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed"
href="assets/images/favicon-icon/apple-touch-icon-57-precomposed.png">
<link rel="shortcut icon" href="assets/images/favicon-icon/favicon.png">
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,900"
rel="stylesheet">
</head>
<body>
<!--Header-->
<?php include('includes/header.php');?>
<!-- /Header -->
<!--Listing-Image-Slider-->
<?php
$vhid=intval($_GET['vhid']);
$sql = "SELECT tblvehicles.*,tblbrands.BrandName,tblbrands.id as bid from
tblvehicles join tblbrands on tblbrands.id=tblvehicles.VehiclesBrand where
tblvehicles.id=:vhid";
$query = $dbh -> prepare($sql);
$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)
53
{
$_SESSION['brndid']=$result->bid;
?>
<section id="listing_img_slider">
<div><img src="admin/img/vehicleimages/<?php echo htmlentities($result-
>Vimage1);?>" class="img-responsive" alt="image" width="900"
height="560"></div>
<div><img src="admin/img/vehicleimages/<?php echo htmlentities($result-
>Vimage2);?>" class="img-responsive" alt="image" width="900"
height="560"></div>
<div><img src="admin/img/vehicleimages/<?php echo htmlentities($result-
>Vimage3);?>" class="img-responsive" alt="image" width="900"
height="560"></div>
<div><img src="admin/img/vehicleimages/<?php echo htmlentities($result-
>Vimage4);?>" class="img-responsive" alt="image" width="900"
height="560"></div>
<?php if($result->Vimage5=="")
{
} else {
?>
<div><img src="admin/img/vehicleimages/<?php echo htmlentities($result-
>Vimage5);?>" class="img-responsive" alt="image" width="900"
height="560"></div>
<?php } ?>
</section>
<!--/Listing-Image-Slider-->
<!--Listing-detail-->
<section class="listing-detail">
<div class="container">
<div class="listing_detail_head row">
<div class="col-md-9">
<h2><?php echo htmlentities($result->BrandName);?> , <?php echo
htmlentities($result->VehiclesTitle);?></h2>
54
</div>
<div class="col-md-3">
<div class="price_info">
<p>Rs.<?php echo htmlentities($result->PricePerDay);?> </p>Per Day
</div>
</div>
</div>
<div class="row">
<div class="col-md-9">
<div class="main_features">
<ul>
<tr>
<td>AntiLock Braking System</td>
<?php if($result->AntiLockBrakingSystem==1)
{
?>
<td><i class="fa fa-check" aria-hidden="true"></i></td>
<?php } else {?>
56
<td><i class="fa fa-close" aria-hidden="true"></i></td>
<?php } ?>
</tr>
<tr>
<td>Power Steering</td>
<?php if($result->PowerSteering==1)
{
?>
<td><i class="fa fa-check" aria-hidden="true"></i></td>
<?php } else { ?>
<td><i class="fa fa-close" aria-hidden="true"></i></td>
<?php } ?>
</tr>
<tr>
<td>Power Windows</td>
<?php if($result->PowerWindows==1)
{
?>
<td><i class="fa fa-check" aria-hidden="true"></i></td>
<?php } else { ?>
<td><i class="fa fa-close" aria-hidden="true"></i></td>
<?php } ?>
</tr>
<tr>
<td>CD Player</td>
<?php if($result->CDPlayer==1)
{
?>
<td><i class="fa fa-check" aria-hidden="true"></i></td>
<?php } else { ?>
<td><i class="fa fa-close" aria-hidden="true"></i></td>
57
<?php } ?>
</tr>
<tr>
<td>Leather Seats</td>
<?php if($result->LeatherSeats==1)
{
?>
<td><i class="fa fa-check" aria-hidden="true"></i></td>
<?php } else { ?>
<td><i class="fa fa-close" aria-hidden="true"></i></td>
<?php } ?>
</tr>
<tr>
<td>Central Locking</td>
<?php if($result->CentralLocking==1)
{
?>
<td><i class="fa fa-check" aria-hidden="true"></i></td>
<?php } else { ?>
<td><i class="fa fa-close" aria-hidden="true"></i></td>
<?php } ?>
</tr>
<tr>
<td>Power Door Locks</td>
<?php if($result->PowerDoorLocks==1)
{
?>
<td><i class="fa fa-check" aria-hidden="true"></i></td>
<?php } else { ?>
<td><i class="fa fa-close" aria-hidden="true"></i></td>
<?php } ?>
</tr>
<tr>
<td>Brake Assist</td>
58
<?php if($result->BrakeAssist==1)
{
?>
<td><i class="fa fa-check" aria-hidden="true"></i></td>
<?php } else { ?>
<td><i class="fa fa-close" aria-hidden="true"></i></td>
<?php } ?>
</tr>
<tr>
<td>Driver Airbag</td>
<?php if($result->DriverAirbag==1)
{
?>
<td><i class="fa fa-check" aria-hidden="true"></i></td>
<?php } else { ?>
<td><i class="fa fa-close" aria-hidden="true"></i></td>
<?php } ?>
</tr>
<tr>
<td>Passenger Airbag</td>
<?php if($result->PassengerAirbag==1)
{
?>
<td><i class="fa fa-check" aria-hidden="true"></i></td>
<?php } else {?>
<td><i class="fa fa-close" aria-hidden="true"></i></td>
<?php } ?>
</tr>
<tr>
<td>Crash Sensor</td>
<?php if($result->CrashSensor==1)
{
?>
<td><i class="fa fa-check" aria-hidden="true"></i></td>
59
<?php } else { ?>
<td><i class="fa fa-close" aria-hidden="true"></i></td>
<?php } ?>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<?php }} ?>
</div>
<!--Side-Bar-->
<aside class="col-md-3">
<div class="share_vehicle">
<p>Share: <a href="#"><i class="fa fa-facebook-square" aria-
hidden="true"></i></a> <a href="#"><i class="fa fa-twitter-square" aria-
hidden="true"></i></a> <a href="#"><i class="fa fa-linkedin-square" aria-
hidden="true"></i></a> <a href="#"><i class="fa fa-google-plus-square" aria-
hidden="true"></i></a> </p>
</div>
<div class="sidebar_widget">
<div class="widget_heading">
<h5><i class="fa fa-envelope" aria-hidden="true"></i>Book Now</h5>
</div>
<form method="post">
<div class="form-group">
<input type="text" class="form-control" name="fromdate"
placeholder="From Date(dd/mm/yyyy)" required>
</div>
<div class="form-group">
<input type="text" class="form-control" name="todate"
placeholder="To Date(dd/mm/yyyy)" required>
60
</div>
<div class="form-group">
<textarea rows="4" class="form-control" name="message"
placeholder="Message" required></textarea>
</div>
<?php if($_SESSION['login'])
{?>
<div class="form-group">
<input type="submit" class="btn" name="submit" value="Book
Now">
</div>
<?php } else { ?>
<a href="#loginform" class="btn btn-xs uppercase" data-toggle="modal" data-
dismiss="modal">Login For Book</a>
<?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,tblvehic
les.FuelType,tblvehicles.ModelYear,tblvehicles.id,tblvehicles.SeatingCapacity,tb
lvehicles.VehiclesOverview,tblvehicles.Vimage1 from tblvehicles join tblbrands
on tblbrands.id=tblvehicles.VehiclesBrand where
tblvehicles.VehiclesBrand=:bid";
61
$query = $dbh -> prepare($sql);
$query->bindParam(':bid',$bid, PDO::PARAM_STR);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$cnt=1;
if($query->rowCount() > 0)
{
foreach($results as $result)
{ ?>
<div class="col-md-3 grid_listing">
<div class="product-listing-m gray-bg">
<div class="product-listing-img"> <a href="vehical-details.php?vhid=<?
php echo htmlentities($result->id);?>"><img src="admin/img/vehicleimages/<?
php echo htmlentities($result->Vimage1);?>" class="img-responsive"
alt="image" /> </a>
</div>
<div class="product-listing-content">
<h5><a href="vehical-details.php?vhid=<?php echo
htmlentities($result->id);?>"><?php echo htmlentities($result->BrandName);?> ,
<?php echo htmlentities($result->VehiclesTitle);?></a></h5>
<p class="list-price">$<?php echo htmlentities($result->PricePerDay);?
></p>
<ul class="features_list">
62
</div>
</div>
<!--/Similar-Cars-->
</div>
</section>
<!--/Listing-detail-->
<!--Footer -->
<?php include('includes/footer.php');?>
<!-- /Footer-->
<!--Back to top-->
<div id="back-top" class="back-top"> <a href="#top"><i class="fa fa-angle-up"
aria-hidden="true"></i> </a> </div>
<!--/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');?>
<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>
63
</body>
</html>
<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['login'])==0)
{
header('location:index.php');
}
else{
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'];
$sql="update tblusers set
FullName=:name,ContactNo=:mobileno,dob=:dob,Address=:adress,City=:city,C
ountry=:country where EmailId=:email";
$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);
64
$query->execute();
$msg="Profile Updated Successfully";
}
?>
<!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>Car Rental Portal | My Profile</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">
65
<link rel="alternate stylesheet" type="text/css"
href="assets/switcher/css/blue.css" title="blue" media="all" />
<link rel="alternate stylesheet" type="text/css"
href="assets/switcher/css/pink.css" title="pink" media="all" />
<link rel="alternate stylesheet" type="text/css"
href="assets/switcher/css/green.css" title="green" media="all" />
<link rel="alternate stylesheet" type="text/css"
href="assets/switcher/css/purple.css" title="purple" media="all" />
<link rel="apple-touch-icon-precomposed" sizes="144x144"
href="assets/images/favicon-icon/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114"
href="assets/images/favicon-icon/apple-touch-icon-114-precomposed.html">
<link rel="apple-touch-icon-precomposed" sizes="72x72"
href="assets/images/favicon-icon/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed"
href="assets/images/favicon-icon/apple-touch-icon-57-precomposed.png">
<link rel="shortcut icon" href="assets/images/favicon-icon/favicon.png">
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,900"
rel="stylesheet">
<style>
.errorWrap {
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
border-left: 4px solid #dd3d36;
-webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
}
.succWrap{
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
border-left: 4px solid #5cb85c;
-webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
}
</style>
66
</head>
<body>
<!--Header-->
<?php include('includes/header.php');?>
<!-- /Header -->
<!--Page Header-->
<section class="page-header profile_page">
<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>
<!-- Dark Overlay-->
<div class="dark-overlay"></div>
</section>
<!-- /Page Header-->
<?php
$useremail=$_SESSION['login'];
$sql = "SELECT * from tblusers where EmailId=:useremail";
$query = $dbh -> prepare($sql);
$query -> bindParam(':useremail',$useremail, PDO::PARAM_STR);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$cnt=1;
67
if($query->rowCount() > 0)
{
foreach($results as $result)
{ ?>
<section class="user_profile inner_pages">
<div class="container">
<div class="user_profile_info gray-bg padding_4x4_40">
<div class="upload_user_logo"> <img src="assets/images/dealer-logo.jpg"
alt="image">
</div>
<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');?>
<div class="col-md-6 col-sm-8">
<div class="profile_wrap">
<h5 class="uppercase underline">Genral Settings</h5>
<?php
if($msg){?><div class="succWrap"><strong>SUCCESS</strong>:<?php
echo htmlentities($msg); ?> </div><?php }?>
<form method="post">
<div class="form-group">
<label class="control-label">Reg Date -</label>
<?php echo htmlentities($result->RegDate);?>
</div>
<?php if($result->UpdationDate!=""){?>
<div class="form-group">
<label class="control-label">Last Update at -</label>
<?php echo htmlentities($result->UpdationDate);?>
68
</div>
<?php } ?>
<div class="form-group">
<label class="control-label">Full Name</label>
<input class="form-control white_bg" name="fullname" value="<?php
echo htmlentities($result->FullName);?>" id="fullname" type="text" required>
</div>
<div class="form-group">
<label class="control-label">Email Address</label>
<input class="form-control white_bg" value="<?php echo
htmlentities($result->EmailId);?>" name="emailid" id="email" type="email"
required readonly>
</div>
<div class="form-group">
<label class="control-label">Phone Number</label>
<input class="form-control white_bg" name="mobilenumber"
value="<?php echo htmlentities($result->ContactNo);?>" id="phone-number"
type="text" required>
</div>
<div class="form-group">
<label class="control-label">Date of Birth (dd/mm/yyyy)</label>
<input class="form-control white_bg" value="<?php echo
htmlentities($result->dob);?>" name="dob" placeholder="dd/mm/yyyy"
id="birth-date" type="text" >
</div>
<div class="form-group">
<label class="control-label">Your Address</label>
<textarea class="form-control white_bg" name="address" rows="4" ><?
php echo htmlentities($result->Address);?></textarea>
</div>
<div class="form-group">
<label class="control-label">Country</label>
<input class="form-control white_bg" id="country" name="country"
value="<?php echo htmlentities($result->City);?>" type="text">
</div>
<div class="form-group">
<label class="control-label">City</label>
69
<input class="form-control white_bg" id="city" name="city" value="<?
php echo htmlentities($result->City);?>" type="text">
</div>
<?php }} ?>
<div class="form-group">
<button type="submit" name="updateprofile" class="btn">Save
Changes <span class="angle_arrow"><i class="fa fa-angle-right" aria-
hidden="true"></i></span></button>
</div>
</form>
</div>
</div>
</div>
</div>
</section>
<!--/Profile-setting-->
<<!--Footer -->
<?php include('includes/footer.php');?>
<!-- /Footer-->
<!--Back to top-->
<div id="back-top" class="back-top"> <a href="#top"><i class="fa fa-angle-up"
aria-hidden="true"></i> </a> </div>
<!--/Back to top-->
<!--Login-Form -->
<?php include('includes/login.php');?>
<!--/Login-Form -->
<!--Register-Form -->
<?php include('includes/registration.php');?>
<!--/Register-Form -->
<!--Forgot-password-Form -->
70
<?php include('includes/forgotpassword.php');?>
<!--/Forgot-password-Form -->
</body>
</html>
<?php } ?>
5.2.4 MY BOOKING
<?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">
71
<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">
72
<link rel="apple-touch-icon-precomposed" sizes="144x144"
href="assets/images/favicon-icon/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114"
href="assets/images/favicon-icon/apple-touch-icon-114-precomposed.html">
<link rel="apple-touch-icon-precomposed" sizes="72x72"
href="assets/images/favicon-icon/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed"
href="assets/images/favicon-icon/apple-touch-icon-57-precomposed.png">
<link rel="shortcut icon" href="assets/images/favicon-icon/favicon.png">
<!-- Google-Font-->
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,900"
rel="stylesheet">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media
queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script
src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<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">
73
<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'];
$sql = "SELECT * from tblusers where EmailId=:useremail";
$query = $dbh -> prepare($sql);
$query -> bindParam(':useremail',$useremail, PDO::PARAM_STR);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$cnt=1;
if($query->rowCount() > 0)
{
foreach($results as $result)
{ ?>
<section class="user_profile inner_pages">
<div class="container">
<div class="user_profile_info gray-bg padding_4x4_40">
<div class="upload_user_logo"> <img src="assets/images/dealer-logo.jpg"
alt="image">
</div>
<div class="dealer_info">
<h5><?php echo htmlentities($result->FullName);?></h5>
<p><?php echo htmlentities($result->Address);?><br>
74
<?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">
75
<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>
76
</div>
</div>
</div>
</section>
<!--/my-vehicles-->
<?php include('includes/footer.php');?>
<?php
session_start();
include('includes/config.php');
if(isset($_POST['login']))
{
$email=$_POST['username'];
$password=$_POST['password'];
$sql ="SELECT UserName,Password FROM admin WHERE UserName=:email
and Password=:password";
$query= $dbh -> prepare($sql);
$query-> bindParam(':email', $email, PDO::PARAM_STR);
77
$query-> bindParam(':password', $password, PDO::PARAM_STR);
$query-> execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
if($query->rowCount() > 0)
{
$_SESSION['alogin']=$_POST['username'];
echo "<script type='text/javascript'> document.location = 'change-password.php';
</script>";
} else{
?>
<!doctype html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1,
minimum-scale=1, maximum-scale=1">
<meta name="description" content="">
<meta name="author" content="">
78
</head>
<body>
<label for=""
class="text-uppercase text-sm">Your Username </label>
<input type="text"
placeholder="Username" name="username" class="form-control mb">
<label for=""
class="text-uppercase text-sm">Password</label>
<input type="password"
placeholder="Password" name="password" class="form-control mb">
</form>
</div>
</div>
</div>
</div>
79
</div>
</div>
</div>
</body>
</html>
The software units in a system are modules and routines that are assembled and
integrated to perform a specific function. Unit testing focuses first on modules,
independently of one another, to locate errors. This enables, to detect errors in
coding and logic that are contained within each module.
80
5.3.2 Integrated Testing
Data can be lost across any interface, one module can have an adverse effect on
another, sub functions when combined, may not produce the desired major
functions. Integration testing is a systematic testing to discover errors associated
within the interface. The objective is to take unit tested modules and build a
program structure. All the modules are combined and tested as whole. Here the
server module and client module options are integrated and tested. This testing
provides the assurance that the application is well integrated functional unit with
smooth transition of data.
Testing how the software performs under different work loads. Load testing, for
example, is used to evaluate performance under real-life load conditions.
Checking whether new features break or degrade functionality. Sanity testing can
be used to verify menus, functions and commands at the surface level, when there
is no time for a full regression test.
Testing how much strain the system can take before it fails. Considered to be a
type of non-functional testing.
81
RESULTS AND DISCUSSION
Test Report is a document which contains a summary of all test activities and final
test results of a testing project. Test report is an assessment of how well the Testing
is performed. Based on the test report, stakeholders can evaluate the quality of the
tested product and make a decision on the software release.
The terms data dictionary and data repository indicate a more general software
utility than a catalogue. A catalogue is closely coupled with the DBMS software. It
provides the information stored in it to the user and the DBA, but it is mainly
accessed by the various software modules of the DBMS itself, such as DDL and
DML compilers, the query optimizer, the transaction processor, report generators,
and the constraint enforcer. On the other hand, a data dictionary is a data structure
that stores metadata, i.e., (structured) data about information. The software
package for a stand-alone data dictionary or data repository may interact with the
software modules of the DBMS, but it is mainly used by the designers, users and
82
administrators of a computer system for information resource management. These
systems maintain information on system hardware and software configuration,
documentation, application and users as well as other information relevant to
system administration.
If a data dictionary system is used only by the designers, users, and administrators
and not by the DBMS Software, it is called a passive data dictionary. Otherwise, it
is called inactive data dictionary or data dictionary. When a passive data dictionary
is updated, it is done so manually and independently from any changes to a DBMS
(database) structure. With an active data dictionary, the dictionary is updated first
and changes occur in the DBMS automatically as a result.
Table 6.2.1
6.2.2.1 Admin
It includes admin data basically in this table we can store.The information about
admin id, user name, password, updation date etc.
Table Admin
83
Table 4.2.2.1
6.2.2.2 User
This module is used to store the information and details of users. Basically in this table we can
store information about the users like id, full name, email id, password, contact no, dob, dob,
address, city, country, registration date, updation date etc.
TableUser
Table 4.2.2.2
This module is used to store the information and details of products category.
Basically in this table we can store information about the category data like id,
category, status, date added date etc.
84
Table 4.2.2.3
85
6.3 Output Screens / Results:
Home page is the main page of the website .This page is tell about the information
and look and feel of the website. This page is very important to make attractive.
This page include all the features and functions of that website.
86
6.3.2 LOGIN
User login access the full system and can add or delete data as well. The admin
have to fill the user name and unique password and the press to the submit
button to access user area user view all details.
VEHICLE HUB
87
6.3.3 CONTACT
88
CONCLUSIONS
7.1.1 Advantages
Reliable:
Very much connected to the time topic but there is more. I would like to mention,
getting the workers on time and which is more reliable. You will get here fully
trusted data and all details and self verified contents.
Searching problem…
Less accuracy…
Time saving…
More accuracy…
89
7.1.2 Disadvantages
All types of products availability here but how much time he/she is free for your
work it depends on time.
The software development life cycle (SDLC), also referred to as the application
development life-cycle, is a term used in systems engineering, information
systems and software engineering to describe a process for planning, creating,
testing, and deploying an information system. The software development life-cycle
concept applies to a range of hardware and software configurations, as a system
can be composed of hardware only, software only, or a combination of both.
The SDLC adheres to important phases that are essential for developers, such
as planning, analysis, design, and implementation, and are explained in the section
below. It includes evaluation of present system, information gathering, and
90
feasibility study and request approval. A number of SDLC models have been
created: waterfall, fountain, spiral, build and fix, rapid prototyping, incremental,
synchronize and stabilize. The oldest of these, and the best known, is the waterfall
model: a sequence of stages in which the output of each stage becomes the input
for the next. These stages can be characterized and divided up in different ways,
including the following:
Conduct the preliminary analysis: in this step, you need to find out the
organization's objectives and the nature and scope of the problem under study.
Even if a problem refers only to a small segment of the organization itself, you
need to find out what the objectives of the organization itself are. Then you need to
see how the problem being studied fits in with them.
Defines project goals into defined functions and operation of the intended
application. It is the process of gathering and interpreting facts, diagnosing
problems and recommending improvements to the system. Analyzes end-user
information needs and also removes any inconsistencies and incompleteness in
these requirements.
91
A series of steps followed by the developer are:
Scrutiny of the existing system: Identify pros and cons of the current system in-
place, so as to carry forward the pros and avoid the cons in the new system.
Analyzing the proposed system: Solutions to the shortcomings in step two are
found and any specific user proposals are used to prepare the specifications.
The final stage of initial development, where the software is put into production
and runs actual business.
92
as well as the entire process, is evaluated. Some of the questions that
need to be answered include: does the newly implemented system
meet the initial business requirements and objectives? Is the system
reliable and fault-tolerant? Does the system function according to the
approved functional requirements? In addition to evaluating the
software that was released, it is important to assess the effectiveness
of the development process. If there are any aspects of the entire
process, or certain stages, that management is not satisfied with, this is
the time to improve. Evaluation and assessment is a difficult issue.
However, the company must reflect on the process and address
weaknesses.
As there was a little number of contact person’s information given, some people
may face difficulty in getting connecting fast. So like to gather more information
regarding the contact persons in other cities as well as villages and will provide
much more services for the people and help everyone with humanity.
93
We are planning to connect with social networking site because people today all
around them.
7.4 CONCLUSION
This project has given me an ample opportunity to design, code, test and
implements an application. This has helped in putting into practice of various
Software Engineering principles and Database Management concepts like
maintaining integrity and consistency of data. Further, this has helped me to learn
more about MYSQL, PHP, HTML, JS Script, Adobe Photoshop 7.0 and wamp
Server.
I thank my guide for his invaluable contribution in guiding me through out the
project. I also thank my parents and friends who have supported and motivated me
to complete this project successfully.
7.4.1 REFERENCES
www.tutorials.com
www.freesourcecode.com
www.dhsgsu.ac.in(to make VEHICLE HUB project)
7.4.2 Books:
HTML Programming
PHP programming
MYSQL tutorials
94