Car Wash Riya
Car Wash Riya
It is an Car Washing Management System that enables users to check for different washing points
accessible at the online store. The project consists list of car washing Points displayed in various
categories. The user may browse through these washing plans as per categories. If the user likes a
washing plans he/she may add it to his/her cart. he/she must register on the site first. He/she can then
login using same id password next time. In this way, the Car washing Management system project
brings a whole Washing Points on the web and makes it simple for both Washing Plans purchaser and
dealer.
Advantage :-
Disadvantage:-
Chapter 1
1. Project Overview....................................................................................................................................7
Chapter 2
2. Feasibility Report................................................................................................................................10
3. System Analysis....................................................................................................................................12
Chapter 3
4. Requirement Specification..................................................................................................................14
5. System Design........................................................................................................................................17
Chapter 4
6. Data flow diagram.................................................................................................................................18
7.E-R Model..............................................................................................................................................21
8. Database Implementation.....................................................................................................................22
9. Screenshots............................................................................................................................................25
Chapter 5
10. Coding..................................................................................................................................................39
Chapter 6
11. Conclusion…....................................................................................................................................196
12. Bibliography.....................................................................................................................................197
1. Project Overview
We aim to become a pioneer in the car washing industry by completely focusing on customers, our
employees, growth, innovation and efficiency. All of these elements will drive us towards success and
show us as one company that can perform and give value for money.
When it comes car washing services, Cool Service is the most trusted and reliable name in the car washing
business. This system uses large quantity of water, thus water recycling plant is also an integral part of
the car washing system but at this level we are only presented the car washing only. And this
project continually strive to offer the best of services - both in terms of man and machine, to our clients
Moreover, car washing system is fully automated with different stages of foaming, washing, drying and
brushing. And this project claim to offer the best of rates, which are tailor-made depending upon the
facilities, availed and offer both intercity and intra-city car washing facilities. In Car Washing System,
we performed all the operations needed to clean the car successfully by using higly expert and
experience worker, also developed mimic of the whole system and works and checked the overall
process step by step by visualization. Car washing workers are educated, polite, and reliable and are
trained to handle acute breakdowns. Further, this project’s utmost priority is quality. A car wash is a
service that cleans both the outside and the inside of a vehicle. Self-serve car washes, fully automated car
washes, and full-service car washes with employees are all available options. It simplifies automotive
cleaning and washing. Blowers or dryers, brushes, conveyor/tunnel carwash equipment, air
compressors, applicator pump stations, conveyors, high-pressure equipment, pump stands/racks, and
other things are utilized for car washing. Shampooing, rinsing, washing, and drying are all automated
steps of the car wash.
Car Washing Management System is fully automated with different stages of foaming, washing, drying
and brushing. In Car Washing System, we performed all the operations needed to clean the car
successfully by using highly expert and experience worker, also developed mimic of the whole system
and works and checked the overall process step by step by visualization. Authorized person maintains
the car washing details in papers, which is a tedious task if any updating or changes need to be done.
In the Previous System, Details are Stored Manually in papers, to share the details between employees was a
financial drawback. Updating in the details is a tedious task.
Data is Centralized which has overcome the Sharing problem in previous system.
As data is Maintained electronically, it’s easy for a person to update the details, which has
overcome the tedious updation in previous system.
Technical Feasibility
Operation Feasibility
Economical Feasibility
The technical issue usually raised during the feasibility stage of the investigation includes the
following:
Earlier no system existed to cater to the needs of ‘Secure Infrastructure Implementation System’. The current
system developed is technically feasible. It is a web based user interface for audit workflow . Thus it
provides an easy access to the users. The database’s purpose is to create, establish and maintain a
workflow among various entities in order to facilitate all concerned users in their various capacities or
roles. Permission to the users would be granted based on the roles specified.
3.2. Operational Feasibility
Proposed projects are beneficial only if they can be turned out into information system. That
will meet the organization’s operating requirements. Operational feasibility aspects of the project are to
be taken as an important part of the project implementation. Some of the important issues raised are to
test the operational feasibility of a project includes the following: -
A system can be developed technically and that will be used if installed must still be a good investment
for the organization. In the economical feasibility, the development cost in creating the system is
evaluated against the ultimate benefit derived from the new systems. Financial benefits must equal or
exceed the costs.
3. System Analysis
Overview
We aim to become a pioneer in the car washing industry by completely focusing on customers, our
employees, growth, innovation and efficiency. All of these elements will drive us towards success and
show us as one company that can perform and give value for money. This Service will make A manager
to think of whether the transportation is expensive and maintaining quality or not.
In Car Washing Management System, we performed all the operations needed to clean the car
successfully by using highly expert and experience worker, also developed mimic of the whole system,
works and checked the overall process step by step by visualization.
. In this project, we use PHP and MySQL database. It has two modules.
1. Admin
2. Users
Admin
1. Dashboard: In this section, admin can see two wheeler and four wheeler
vehicle detail in brief.
2. Washing Points: In this section, admin can manage washing location
(Add/Update).
3. Add Car Washing Booking: In this section, admin add car washing
booking on his/her end.
4. Car Washing Booking: In this section, admin can view booking details
of car washing which is booked by users.
5. Manage Enquiries: In this section, admin can read the enquiries of
users.
6. Pages: In this section, the admin can manage about us and contact us
pages.
Admin
can also change the password of his/her account.
Users
1. Home Page: Users can see the listed vehicles on the home page.
2. About Us: Users can view about us page.
3. Washing plans: User can view car washing plans and book that plans.
4. Washing points: User can view car washing location.
5. Contact us: Users can view the contact us page and do eqnuiry.
4. Requirement Specification
Hardware Configuration :
Client Side:
RAM 512 MB
Hard disk 10 GB
Server side:
RAM 1 GB
Hard disk 20 GB
Software Requirement:
Client Side:
Operating System
Windows or any equivalent OS
Server Side:
APACHE
The Apache HTTP Server Project is an effort to develop and maintain an open-source HTTP server for
modern operating systems including UNIX and Windows. The goal of this project is to provide a secure,
efficient and extensible server that provides HTTP services in sync with the current HTTP standards.
The Apache HTTP Server ("http") was launched in 1995 and it has been the most popular web server on
the Internet since April 1996. It has celebrated its 20th birthday as a project in February 2015.
PHP
MYSQL
The unified modeling language allows the software engineer to express an analysis model using
the modeling notation that is governed by a set of syntactic semantic and pragmatic rules.
A UML system is represented using five different views that describe the system from distinctly
different perspective. Each view is defined by a set of diagram, which is as follows.
ii. The analysis representation describes a usage scenario from the end-users perspective.
Structural model view
In this model the data and functionality are arrived from inside the system.
It represents the dynamic of behavioral as parts of the system, depicting the interactions of
collection between various structural elements described in the user model and structural
model view.
In this the structural and behavioral as parts of the system are represented as they are to be
built.
In this the structural and behavioral aspects of the environment in which the system is to be implemented are
represented.
Visit
View Washing
Points
View Washing
Plans
Raise Enquiry
Sign in
Dashboard
Manage Washing
Points
(Add/ Update)
Manage Enquiries
Manage Pages
Change Password
7. ENTITY-RELATIONSHIP Diagrams
E-R (Entity-Relationship) Diagram is used to represents the relationship between entities in the table.
The symbols used in E-R diagrams are:
SYMBOL PURPOSE
Represent attributes.
MYSQL- MySQL ("My S-Q-L", officially, but also called "My Sequel") is (as of July 2013) the world's
second most widely used open-source relational database management system (RDBMS). It is named
after co-founder Michael Widenius daughter, My. The SQL phrase 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 opens source web application software stack (and other 'AMP'
stacks). LAMP is an acronym for "Linux, Apache, MySQL, Perl/PHP/Python." Free-software-open
source projects that require a full-featured database management system often use MySQL. For
commercial use, several paid editions are available, and offer additional functionality. Applications
which use MySQL databases Library Management System include: TYPO3, MODx, Joomla,
WordPress, phpBB, MyBB, Drupal and other software. MySQL is also used in many high-profile, large-
scale websites, including Wikipedia, Google (though not for searches), Facebook, Twitter, Flickr, and
YouTube.
Database tables
The class diagram shows a set of classes, interfaces, collaborations and their relationships.
9. Output Screen of Project
Home Page
About Us
Washing Points(Locations)
Washing Plans
Contact Us
Booking
Change Password
Add Washing Points
Manage Enquiry
Update Page Data
Admin
About
<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['alogin'])==0)
header('location:index.php');
else{ if($_POST['submit']=="Updat
e")
$pagetype=$_GET['type'];
$pagedetails=$_POST['pgedetails'];
$query = $dbh->prepare($sql);
?>
<!DOCTYPE HTML>
<html>
<head>
<meta name="keywords" content="Pooled Responsive web template, Bootstrap Web Templates, Flat
Web Templates, Android Compatible web template,
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyEricsson,
Motorola web design" />
<script src="js/jquery-2.1.4.min.js"></script>
<style>
.errorWrap
{ padding: 10px;
margin: 0 0 20px 0;
background: #fff;
.succWrap{ paddin
g: 10px; margin: 0
0 20px 0;
background: #fff;
</style>
<script type="text/JavaScript">
<!--
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
min=test.substring(8,p); max=test.substring(p+1);
if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
//-->
</script>
<script type="text/javascript">
bkLib.onDomLoaded(function() { nicEditors.allTextAreas()
});
</script>
</head>
<body>
<div class="page-container">
<!--/content-inner-->
<div class="left-content">
<div class="mother-grid-inner">
<?php include('includes/header.php');?>
</div>
<ol class="breadcrumb">
</ol>
<!--grid-->
<div class="grid-form">
<!---->
<div class="grid-form1">
<div class="tab-content">
<div class="form-group">
<label for="focusedinput" class="col-sm-2 control-label">Select page</label>
<div class="col-sm-8">
<option value="about.php?type=aboutus">aboutus</option>
</select>
</div>
</div>
<div class="form-group">
<div class="col-sm-8">
<?php
switch($_GET['type'])
case "aboutus" :
break;
default :
echo "";
break;
?>
</div>
</div>
<div class="form-group">
<label for="focusedinput" class="col-sm-2 control-label">Package Details</label>
<div class="col-sm-8">
<?php
$pagetype=$_GET['type'];
$query->bindParam(':pagetype',$pagetype,PDO::PARAM_STR);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$cnt=1;
if($query->rowCount() > 0)
foreach($results as $result)
echo htmlentities($result->detail);
}}
?>
</textarea>
</div>
</div>
<div class="row">
</div>
</div>
</form>
<div class="panel-footer">
</div>
</form>
</div>
</div>
<!--//grid-->
<script>
$(document).ready(function() {
var navoffeset=$(".header-main").offset().top;
$(window).scroll(function(){
var scrollpos=$(window).scrollTop();
if(scrollpos >=navoffeset){
$(".header-main").addClass("fixed");
}else{
$(".header-main").removeClass("fixed");
});
});
</script>
<div class="inner-block">
</div>
<?php include('includes/footer.php');?>
</div>
</div>
<!--//content-inner-->
<!--/sidebar-menu-->
<?php include('includes/sidebarmenu.php');?>
<div class="clearfix"></div>
</div>
<script>
$(".sidebar-icon").click(function() {
if (toggle)
$(".page-container").addClass("sidebar-collapsed").removeClass("sidebar-collapsed-back");
$("#menu span").css({"position":"absolute"});
else
$(".page-container").removeClass("sidebar-collapsed").addClass("sidebar-collapsed-back");
setTimeout(function() {
$("#menu span").css({"position":"relative"});
}, 400);
toggle = !toggle;
});
</script>
<!--js -->
<script src="js/jquery.nicescroll.js"></script>
<script src="js/scripts.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>
<?php } ?>
ADD BOOKING
<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['alogin'])==0)
header('location:index.php');
else{
if(isset($_POST['book']))
$ptype=$_POST['packagetype'];
$wpoint=$_POST['washingpoint'];
$fname=$_POST['fname'];
$mobile=$_POST['contactno'];
$date=$_POST['washdate'];
$time=$_POST['washtime'];
$message=$_POST['message'];
$status='New';
$bno=mt_rand(100000000, 999999999);
$sql="INSERT INTO
tblcarwashbooking(bookingId,packageType,carWashPoint,fullName,mobileNumber,washDate,washTim
e,message,status) VALUES(:bno,:ptype,:wpoint,:fname,:mobile,:date,:time,:message,:status)";
$query = $dbh->prepare($sql);
$query->bindParam(':bno',$bno,PDO::PARAM_STR);
$query->bindParam(':ptype',$ptype,PDO::PARAM_STR);
$query->bindParam(':wpoint',$wpoint,PDO::PARAM_STR);
$query->bindParam(':fname',$fname,PDO::PARAM_STR);
$query->bindParam(':mobile',$mobile,PDO::PARAM_STR);
$query->bindParam(':date',$date,PDO::PARAM_STR);
$query->bindParam(':time',$time,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>
<head>
<script src="js/jquery-2.1.4.min.js"></script>
<style>
.errorWrap {
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
.succWrap{ padd
ing: 10px;
margin: 0 0 20px 0;
background: #fff;
border-left: 4px solid #5cb85c;
</style>
</head>
<body>
<div class="page-container">
<!--/content-inner-->
<div class="left-content">
<div class="mother-grid-inner">
<?php include('includes/header.php');?>
</div>
<ol class="breadcrumb">
</ol>
<!--grid-->
<div class="grid-form">
<!---->
<div class="grid-form1">
<h3>Add Car Washing Booking</h3>
<div class="tab-content">
<div class="form-group">
<div class="col-sm-8">
</select>
</div>
</div>
<div class="form-group">
<div class="col-sm-8">
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
foreach($results as $result)
{ ?>
<?php } ?>
</select>
</div>
</div>
<div class="form-group">
<div class="col-sm-8">
</div>
</div>
<div class="form-group">
<div class="col-sm-8">
</div>
</div>
<div class="form-group">
<div class="col-sm-8">
</div>
</div>
<div class="form-group">
<div class="col-sm-8">
</div>
</div>
<div class="form-group">
<div class="col-sm-8">
</div>
</div>
<div class="row">
</div>
</div>
</div>
</form>
<div class="panel-footer">
</div>
</form>
</div>
</div>
<!--//grid-->
<script>
$(document).ready(function() {
var navoffeset=$(".header-main").offset().top;
$(window).scroll(function(){
var scrollpos=$(window).scrollTop();
if(scrollpos >=navoffeset){
$(".header-main").addClass("fixed");
}else{
$(".header-main").removeClass("fixed");
});
});
</script>
<div class="inner-block">
</div>
</div>
</div>
<!--//content-inner-->
<!--/sidebar-menu-->
<?php include('includes/sidebarmenu.php');?>
<div class="clearfix"></div>
</div>
<script>
$(".sidebar-icon").click(function() {
if (toggle)
$(".page-container").addClass("sidebar-collapsed").removeClass("sidebar-collapsed-back");
$("#menu span").css({"position":"absolute"});
else
$(".page-container").removeClass("sidebar-collapsed").addClass("sidebar-collapsed-back");
setTimeout(function() {
$("#menu span").css({"position":"relative"});
}, 400);
toggle = !toggle;
});
</script>
<!--js -->
<script src="js/jquery.nicescroll.js"></script>
<script src="js/scripts.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>
<?php } ?>
ADD CAR-WASHPOINT
<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['alogin'])==0)
header('location:index.php');
else{ if(isset($_POST['submit']
))
$wpname=$_POST['washingpointname'];
$wpaddress=$_POST['address'];
$wpcnumber=$_POST['contactno'];
$query = $dbh->prepare($sql);
$query->bindParam(':wpname',$wpname,PDO::PARAM_STR);
$query->bindParam(':wpaddress',$wpaddress,PDO::PARAM_STR);
$query->bindParam(':wpcnumber',$wpcnumber,PDO::PARAM_STR);
$query->execute();
$lastInsertId = $dbh->lastInsertId();
if($lastInsertId)
{
else
?>
<!DOCTYPE HTML>
<html>
<head>
<script src="js/jquery-2.1.4.min.js"></script>
<style>
.errorWrap {
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
.succWrap{ padd
ing: 10px;
margin: 0 0 20px 0;
background: #fff;
</style>
</head>
<body>
<div class="page-container">
<!--/content-inner-->
<div class="left-content">
<div class="mother-grid-inner">
<?php include('includes/header.php');?>
<div class="clearfix"> </div>
</div>
<ol class="breadcrumb">
</ol>
<!--grid-->
<div class="grid-form">
<!---->
<div class="grid-form1">
<div class="tab-content">
<div class="form-group">
<div class="col-sm-8">
</div>
</div>
<div class="form-group">
<div class="col-sm-8">
<textarea class="form-control" name="address" id="address" placeholder="Address" required
rows="4"></textarea>
</div>
</div>
<div class="form-group">
<div class="col-sm-8">
</div>
</div>
<div class="row">
</div>
</div>
</div>
</form>
<div class="panel-footer">
</div>
</form>
</div>
</div>
<!--//grid-->
<!-- script-for sticky-nav -->
<script>
$(document).ready(function() {
var navoffeset=$(".header-main").offset().top;
$(window).scroll(function(){
var scrollpos=$(window).scrollTop();
if(scrollpos >=navoffeset){
$(".header-main").addClass("fixed");
}else{
$(".header-main").removeClass("fixed");
});
});
</script>
<div class="inner-block">
</div>
<?php include('includes/footer.php');?>
</div>
</div>
<!--//content-inner-->
<!--/sidebar-menu-->
<?php include('includes/sidebarmenu.php');?>
<div class="clearfix"></div>
</div>
<script>
$(".sidebar-icon").click(function() {
if (toggle)
$(".page-container").addClass("sidebar-collapsed").removeClass("sidebar-collapsed-back");
$("#menu span").css({"position":"absolue
else
$(".page-container").removeClass("sidebar-collapsed").addClass("sidebar-collapsed-back");
setTimeout(function() {
$("#menu span").css({"position":"relative"});
}, 400);
toggle = !toggle;
});
</script>
<!--js -->
<script src="js/jquery.nicescroll.js"></script>
<script src="js/scripts.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="js/bootstrap.min.js"></script>
</body>
</html>
<?php } ?>
ALL-BOOKING
<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['alogin'])==0)
header('location:index.php');
else{
?>
<!DOCTYPE HTML>
<html>
<head>
<script src="js/jquery-2.1.4.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#table').basictable();
$('#table-breakpoint').basictable({
breakpoint: 768
});
$('#table-swap-axis').basictable({
swapAxis: true
});
$('#table-force-off').basictable({
forceResponsive: false
});
$('#table-no-resize').basictable({
noResize: true
});
$('#table-two-axis').basictable();
$('#table-max-height').basictable({
tableWrapper: true
});
});
</script>
<style>
.errorWrap {
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
.succWrap{ padd
ing: 10px;
margin: 0 0 20px 0;
background: #fff;
</style>
</head>
<body>
<div class="page-container">
<!--/content-inner-->
<div class="left-content">
<div class="mother-grid-inner">
<?php include('includes/header.php');?>
</div>
<ol class="breadcrumb">
</ol>
<div class="agile-grids">
<div class="agile-tables">
<div class="w3l-table-info">
<h2>All Bookings</h2>
<table id="table">
<thead>
<tr>
<th>Booking No.</th>
<th>Name</th>
<th>Action </th>
</tr>
</thead>
<tbody>
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
if($query->rowCount() > 0)
foreach($results as $result)
?>
<tr>
<td width="50">
<?php $ptype=$result->packageType;
</td>
<?php } ?>
</tr>
<tr>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</table>
</div>
<script>
$(document).ready(function() {
var navoffeset=$(".header-main").offset().top;
$(window).scroll(function(){
var scrollpos=$(window).scrollTop();
if(scrollpos >=navoffeset){
$(".header-main").addClass("fixed");
}else{
$(".header-main").removeClass("fixed");
});
});
</script>
<div class="inner-block">
</div>
<?php include('includes/footer.php');?>
</div>
</div>
<!--//content-inner-->
<!--/sidebar-menu-->
<?php include('includes/sidebarmenu.php');?>
<div class="clearfix"></div>
</div>
<script>
var toggle = true;
$(".sidebar-icon").click(function() {
if (toggle)
$(".page-container").addClass("sidebar-collapsed").removeClass("sidebar-collapsed-back");
$("#menu span").css({"position":"absolute"});
else
$(".page-container").removeClass("sidebar-collapsed").addClass("sidebar-collapsed-back");
setTimeout(function() {
$("#menu span").css({"position":"relative"});
}, 400);
toggle = !toggle;
});
</script>
<!--js -->
<script src="js/jquery.nicescroll.js"></script>
<script src="js/scripts.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
BOOKING-DETAILS
<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['alogin'])==0)
header('location:index.php');
else{ if(isset($_POST['update']
))
$id=$_GET['bid'];
$ttype=$_POST['txntype'];
$transactionno=$_POST['transactionno'];
$message=$_POST['message'];
$query = $dbh->prepare($sql);
$query->bindParam(':ttype',$ttype,PDO::PARAM_STR);
$query->bindParam(':transactionno',$transactionno,PDO::PARAM_STR);
$query->bindParam(':message',$message,PDO::PARAM_STR);
$query->bindParam(':id',$id,PDO::PARAM_STR);
$query->execute();
echo "<script>alert('Booking Details updated successfully');</script>";
?>
<!DOCTYPE HTML>
<html>
<head>
<script src="js/jquery-2.1.4.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#table').basictable();
$('#table-breakpoint').basictable({
breakpoint: 768
});
$('#table-swap-axis').basictable({
swapAxis: true
});
$('#table-force-off').basictable({
forceResponsive: false
});
$('#table-no-resize').basictable({
noResize: true
});
$('#table-two-axis').basictable();
$('#table-max-height').basictable({
tableWrapper: true
});
});
</script>
<style>
.errorWrap {
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
border-left: 4px solid #dd3d36;
.succWrap{ padd
ing: 10px;
margin: 0 0 20px 0;
background: #fff;
</style>
</head>
<body>
<div class="page-container">
<!--/content-inner-->
<div class="left-content">
<div class="mother-grid-inner">
<?php include('includes/header.php');?>
</div>
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="dashboard.php">Home</a><i class="fa fa-angle-
right"></i>Manage New Bookings</li>
</ol>
<div class="agile-grids">
<div class="agile-tables">
<div class="w3l-table-info">
<table id="table">
</thead
<tbody>
<?php
$bid=$_GET['bid'];
where tblcarwashbooking.id='$bid'";
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
if($query->rowCount() > 0)
foreach($results as $result)
{?>
<tr>
<th>Posting Date</th>
</tr>
<tr>
<th>Name</th>
<th>Mobile No</th>
</tr>
<tr>
<th>Package Type</th>
<td>
<?php $ptype=$result->packageType;
?></td>
<th>Washing Point</th>
<br />
</tr>
<tr>
<th>Washing Date</th>
<td><?php echo htmlentities($result->washDate);?></td>
<th>Washing Time</th>
</tr>
<tr>
</tr>
<tr>
<th>Status</th>
</tr>
<tr>
<td colspan="3">
</td>
</tr>
<?php else:?>
<tr>
</tr>
<tr>
<th>Transaction Type</th>
</tr>
<tr>
<th>Admin Remark</th>
</tr>
<?php endif;?>
<?php } } ?>
</tbody>
</table>
</div>
</table>
</div>
<!--Model-->
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
</div>
<div class="modal-body">
<form method="post">
<p>
<option value="e-Wallet">e-Wallet</option>
<option value="UPI">UPI</option>
<option value="Cash">Cash</option>
<option value="Other">Other</option>
</select>
</form>
</div>
<div class="modal-footer">
</div>
</div>
</div>
</div>
<script>
$(document).ready(function() {
var navoffeset=$(".header-main").offset().top;
$(window).scroll(function(){
var scrollpos=$(window).scrollTop();
if(scrollpos >=navoffeset){
$(".header-main").addClass("fixed");
}else{
$(".header-main").removeClass("fixed");
});
});
</script>
<div class="inner-block">
</div>
<?php include('includes/footer.php');?>
</div>
</div>
<!--//content-inner-->
<!--/sidebar-menu-->
<?php include('includes/sidebarmenu.php');
<div class="clearfix"></div>
</div>
<script>
$(".sidebar-icon").click(function() {
if (toggle)
$(".page-container").addClass("sidebar-collapsed").removeClass("sidebar-collapsed-back");
$("#menu span").css({"position":"absolute"} }
else
$(".page-container").removeClass("sidebar-collapsed").addClass("sidebar-collapsed-back");
setTimeout(function() {
$("#menu span").css({"position":"relative"});
}, 400);
toggle = !toggle;
});
</script>
CHANGE-PASSWARD
<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['alogin'])==0)
header('location:index.php');
else{
if(isset($_POST['submit']))
$password=md5($_POST['password']);
$newpassword=md5($_POST['newpassword']);
$username=$_SESSION['alogin'];
$query-> execute();
$chngpwd1 = $dbh->prepare($con);
$chngpwd1->execute();
else {
?>
<!DOCTYPE HTML>
<html>
<head>
<script src="js/jquery-2.1.4.min.js"></script>
<script type="text/javascript">
function valid()
if(document.chngpwd.newpassword.value!= document.chngpwd.confirmpassword.value)
document.chngpwd.confirmpassword.focus();
return false;
return true;
</script>
<style>
.errorWrap {
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
.succWrap{ padd
ing: 10px;
margin: 0 0 20px 0;
background: #fff;
</style>
</head>
<body>
<div class="page-container">
<!--/content-inner-->
<?php include('includes/header.php');?>
</div>
<ol class="breadcrumb">
</ol>
<!--grid-->
<div class="grid-form">
<div class="grid-form1">
<div class="panel-body">
<div class="form-group">
<div class="col-md-8">
<div class="input-group">
<span class="input-group-addon">
</span>
</div>
</div>
</div><div class="form-group">
<div class="col-md-8">
<div class="input-group">
<span class="input-group-addon">
</span>
</div>
</div>
</div>
<div class="form-group">
<div class="col-md-8">
<div class="input-group">
<span class="input-group-addon">
</span>
</div>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<!--//grid-->
<!-- script-for sticky-nav -->
<script>
$(document).ready(function() {
var navoffeset=$(".header-main").offset().top;
$(window).scroll(function(){
var scrollpos=$(window).scrollTop();
if(scrollpos >=navoffeset){
$(".header-main").addClass("fixed");
}else{
$(".header-main").removeClass("fixed");
});
});
</script>
<div class="inner-block">
</div>
<?php include('includes/footer.php');?>
</div>
</div>
<!--//content-inner-->
<!--/sidebar-menu-->
<?php include('includes/sidebarmenu.php');?>
<div class="clearfix"></div>
</div>
<script>
$(".sidebar-icon").click(function() { if (toggle)
{$(".page-container").addClass("sidebar-collapsed").removeClass("sidebar-collapsed-back");
$("#menu span").css({"position":"absolute"});
else
$(".page-container").removeClass("sidebar-collapsed").addClass("sidebar-collapsed-back");
setTimeout(function() {
$("#menu span").css({"position":"relative"});
}, 400);
toggle = !toggle;
});
</script>
<script src="js/jquery.nicescroll.js"></script>
<script src="js/scripts.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
COMPLETED-BOOKING
<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['alogin'])==0)
header('location:index.php');
else{
?>
<!DOCTYPE HTML>
<html>
<head>
<script src="js/jquery-2.1.4.min.js"></script>
<link rel="stylesheet" type="text/css" href="css/table-style.css" />
<script type="text/javascript">
$(document).ready(function() {
$('#table').basictable();
$('#table-breakpoint').basictable({
breakpoint: 768
});
$('#table-swap-axis').basictable({
swapAxis: true
});
$('#table-force-off').basictable({
forceResponsive: false
});
$('#table-no-resize').basictable({
noResize: true
});
$('#table-two-axis').basictable();
$('#table-max-height').basictable({
tableWrapper: true
});
});
</script>
<link href='//fonts.googleapis.com/css?family=Roboto:700,500,300,100italic,100,400' rel='stylesheet'
type='text/css'/>
<style>
.errorWrap {
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
.succWrap{ padd
ing: 10px;
margin: 0 0 20px 0;
background: #fff;
</style>
</head>
<body>
<div class="page-container">
<!--/content-inner-->
<?php include('includes/header.php');?>
</div>
<ol class="breadcrumb">
</ol>
<div class="agile-grids">
<div class="agile-tables">
<div class="w3l-table-info">
<h2>Completed Bookings</h2>
<table id="table">
<thead>
<th>Name</th>
<th>Action </th>
</tr>
</thead>
<tbody>
where status='Completed'";
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
if($query->rowCount() > 0)
foreach($results as $result)
{ ?> <tr>
<td width="50">
<?php $ptype=$result->packageType;
?></td>
</td>
<?php } ?>
</tr>
<tr>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</table>
</div>
<script>
$(document).ready(function() {
var navoffeset=$(".header-main").offset().top;
$(window).scroll(function(){
var scrollpos=$(window).scrollTop();
if(scrollpos >=navoffeset){
$(".header-main").addClass("fixed");
}else{
$(".header-main").removeClass("fixed");
}
});
});
</script>
<div class="inner-block">
</div>
<?php include('includes/footer.php');?>
</div>
</div>
<!--//content-inner-->
<!--/sidebar-menu-->
<?php include('includes/sidebarmenu.php');?>
<div class="clearfix"></div>
</div>
<script>
$(".sidebar-icon").click(function() {
if (toggle)
$(".page-container").addClass("sidebar-collapsed").removeClass("sidebar-collapsed-back");
$("#menu span").css({"position":"absolute"}); }
else
$(".page-container").removeClass("sidebar-collapsed").addClass("sidebar-collapsed-back");
setTimeout(function() {
$("#menu span").css({"position":"relative"});
}, 400);
toggle = !toggle;
});</script>
<!--js -->
<script src="js/jquery.nicescroll.js"></script>
<script src="js/scripts.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>
<?php } ?>
CONTACT
<?php
session_start();
//error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['alogin'])==0)
header('location:index.php');
else{ if(isset($_POST['update']
))
$wpaddress=$_POST['address'];
$wpcnumber=$_POST['contactno'];
$ophrs=$_POST['openinghrs'];
$email=$_POST['emailid'];
$query = $dbh->prepare($sql);
$query->bindParam(':ophrs',$ophrs,PDO::PARAM_STR);
$query->bindParam(':wpaddress',$wpaddress,PDO::PARAM_STR);
$query->bindParam(':wpcnumber',$wpcnumber,PDO::PARAM_STR);
$query->bindParam(':email',$email,PDO::PARAM_STR);
$query->execute();
echo "<script>alert('Details updates successfully');</script>";
?>
<!DOCTYPE HTML>
<html>
<head>
<script src="js/jquery-2.1.4.min.js"></script>
<style>
.errorWrap {
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
.succWrap{ padd
ing: 10px;
margin: 0 0 20px 0;
background: #fff;
</style>
</head>
<body>
<div class="page-container">
<!--/content-inner-->
<div class="left-content">
<div class="mother-grid-inner">
<?php include('includes/header.php');?>
</div>
</ol>
<!--grid-->
<div class="grid-form">
<!---->
<div class="grid-form1">
<?php
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
foreach($results as $result)
?>
<div class="form-group">
<div class="col-sm-8">
</div>
</div
<div class="form-group">
<div class="col-sm-8">
</div>
<div class="form-group">
<div class="col-sm-8">
</div>
</div>
<div class="form-group">
<div class="col-sm-8">
</div>
</div>
<div class="row">
</div>
</div>
</div>
</form>
<?php } ?>
<div class="panel-footer">
</div>
</form>
</div>
</div>
<!--//grid-->
<script>
$(document).ready(function() {
var navoffeset=$(".header-main").offset().top;
$(window).scroll(function(){
var scrollpos=$(window).scrollTop();
if(scrollpos >=navoffeset){$(".header-main").addClass("fixed");
}else{
$(".header-main").removeClass("fixed");
});
});
</script>
<div class="inner-block">
</div>
<?php include('includes/footer.php');?>
</div>
<!--//content-inner-->
<!--/sidebar-menu-->
<?php include('includes/sidebarmenu.php');?>
<div class="clearfix"></div>
</div>
<script>
$(".sidebar-icon").click(function() {
if (toggle) {
$(".page-container").addClass("sidebar-collapsed").removeClass("sidebar-collapsed-back");
$("#menu span").css({"position":"absolute"});
else
$(".page-container").removeClass("sidebar-collapsed").addClass("sidebar-collapsed-back");
setTimeout(function() {
$("#menu span").css({"position":"relative"});
}, 400); }
toggle = !toggle;
});
</script>
<!--js -->
<script src="js/jquery.nicescroll.js"></script>
DASHBOARD
<?php
session_start();
include('includes/config.php');
if(strlen($_SESSION['alogin'])==0)
header('location:index.php');
else{
?>
<!DOCTYPE HTML>
<html>
<head>
<script src="js/jquery-2.1.4.min.js"></script>
</head>
<body>
<div class="page-container">
<!--/content-inner-->
<?php include('includes/header.php');?>
<ol class="breadcrumb">
</ol>
<!--four-grids here-->
<div class="four-grids">
<div class="four-agileits">
<div class="icon">
</div>
<div class="four-text">
<h3>Total Bookings</h3>
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$cnt=$query->rowCount();
</div>
</div>
</div>
</a>
<div class="four-agileinfo">
<div class="icon">
</div>
<div class="four-text">
<h3>New Bookings</h3>
$results1=$query1->fetchAll(PDO::FETCH_OBJ);
$newbookings=$query1->rowCount(); ?>
</div>
</div>
</div>
</a>
<div class="four-wthree">
<div class="icon">
</div>
<div class="four-text">
<h3>Completed Bookings</h3>
$query3->execute();
$results3=$query3->fetchAll(PDO::FETCH_OBJ);
$completedbookings=$query3->rowCount();
?>
</div>
</div>
</div>
<div class="four-w3ls">
<div class="icon">
</div>
<div class="four-text">
<h3>Enquiries</h3>
$query2->execute();
$results2=$query2->fetchAll(PDO::FETCH_OBJ);
$cnt2=$query2->rowCount();
?>
</div>
</div>
</div>
</a><div class="clearfix"></div>
</div>
div class="four-grids">
<div class="four-w3ls">
<div class="icon">
</div>
<div class="four-text">
<h3>Washing Points</h3>
$query5->execute();
$results5=$query5->fetchAll(PDO::FETCH_OBJ);
$washingpoints=$query5->rowCount();
?>
</div>
</div>
</div>
</a>
<div class="clearfix"></div>
</div>
<!--//four-grids here-->
<div class="inner-block">
</div>
<?php include('includes/footer.php');?>
</div>
</div>
<!--/sidebar-menu-->
<?php include('includes/sidebarmenu.php');?>
<div class="clearfix"></div></div>
<script>
$(".sidebar-icon").click(function() {
if (toggle)
$(".page-container").addClass("sidebar-collapsed").removeClass("sidebar-collapsed-back");
$(".page-container").removeClass("sidebar-collapsed").addClass("sidebar-collapsed-back");
setTimeout(function() {
$("#menu span").css({"position":"relative"});
}, 400); }
toggle = !toggle;
});</script>
<!--js -->
<script src="js/jquery.nicescroll.js"></script>
<script src="js/scripts.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/morris.js"></script>
<script>
$(document).ready(function() {
jQuery(this).find('.box-button').fadeIn('fast'); }, function() {
jQuery(this).find('.box-button').fadeOut('fast');
});
jQuery('.small-graph-box .box-close').click(function() {
jQuery(this).closest('.small-graph-box').fadeOut(200);
day).getTime();
graphArea2 = Morris.Area({
element: 'hero-area',
padding: 10,
behaveLikeLine: true,
data: [
{period: '2016 Q2', iphone: 8442, ipad: 5723, itouch: 1801} lineColors:
pointSize: 2,
hideHover: 'auto',
resize: true
});
});
</script>
</body>
</html>
<?php } ?>
EDITCAR-WASHPOINT
<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['alogin'])==0)
header('location:index.php');
else{ if(isset($_POST['submit']
))
$id=$_GET['wpid'];
$wpname=$_POST['washingpointname'];
$wpaddress=$_POST['address'];
$wpcnumber=$_POST['contactno'];
$query = $dbh->prepare($sql);
$query->bindParam(':wpname',$wpname,PDO::PARAM_STR);
$query->bindParam(':wpaddress',$wpaddress,PDO::PARAM_STR);
$query->bindParam(':wpcnumber',$wpcnumber,PDO::PARAM_STR);
$query->bindParam(':id',$id,PDO::PARAM_STR);
$query->execute();
echo "<script>alert('Car wash point updated successfully');</script>";
?>
<!DOCTYPE HTML>
<html>
<head>
<script src="js/jquery-2.1.4.min.js"></script>
<style>
.errorWrap {
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
.succWrap{ padd
ing: 10px;
margin: 0 0 20px 0;
background: #fff;
</style>
</head>
<body>
<div class="page-container">
<!--/content-inner-->
<div class="left-content">
<div class="mother-grid-inner">
<?php include('includes/header.php');?>
</div>
<div class="grid-form">
<!---->
<div class="grid-form1">
<?php
$id=$_GET['wpid'];
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
foreach($results as $result)
{?>
<div class="tab-content">
<div class="form-group">
<div class="col-sm-8">
</div>
</div>
<div class="form-group">
<div class="col-sm-8">
</div>
<div class="form-group">
<div class="col-sm-8">
</div>
</div><div class="row">
</div>
</div>
</div>
</form>
</div>
</form>
</div>
<!--//grid-->
<script>
$(document).ready(function() {
var navoffeset=$(".header-main").offset().top;
$(window).scroll(function(){
var scrollpos=$(window).scrollTop();
if(scrollpos >=navoffeset){
$(".header-main").addClass("fixed");
}else{
$(".header-main").removeClass("fixed");
});
});
</script>
<div class="inner-block">
</div>
<?php include('includes/footer.php');?>
</div>
</div>
<!--//content-inner-->
<!--/sidebar-menu-->
<?php include('includes/sidebarmenu.php');?>
<div class="clearfix"></div>
</div>
if (toggle)
$(".page-container").addClass("sidebar-collapsed").removeClass("sidebar-collapsed-back");
$("#menu span").css({"position":"absolute"});
} else {
$(".page-container").removeClass("sidebar-collapsed").addClass("sidebar-collapsed-
back");setTimeout(function() {
$("#menu span").css({"position":"relative"});
}, 400);
toggle = !toggle;});
</script>
<!--js -->
<script src="js/jquery.nicescroll.js"></script>
<script src="js/scripts.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>
<?php } ?>
INDEX
<?php
session_start();
include('includes/config.php');
if(isset($_POST['login']))
$uname=$_POST['username'];
$password=md5($_POST['password']);
$query-> execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
if($query->rowCount() > 0)
$_SESSION['alogin']=$_POST['username'];
?>
<!DOCTYPE HTML>
<html>
<head>
<script src="js/jquery-2.1.4.min.js"></script>
</head>
<body>
<div class="main-wthree">
<div class="container">
<div class="sin-w3-agile">
<h2>Sign In</h2>
<form method="post">
<div class="username">
<span class="username">Username:</span>
<div class="clearfix"></div>
</div>
<div class="password-agileits">
<span class="username">Password:</span>
<div class="clearfix"></div>
</div>
<div class="login-w3">
</div>
<div class="clearfix"></div>
</form>
</div>
</div>
</div>
</div>
LOGOUT
<?php
session_start();
$_SESSION = array();
if (ini_get("session.use_cookies")) {
$params = session_get_cookie_params();
$params["path"], $params["domain"],
$params["secure"], $params["httponly"]
);
unset($_SESSION['alogin']);
header("location:index.php");
?>
MANAGE CAR-WASHINGPOINT
<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['alogin'])==0)
header('location:index.php');
else{
if($_GET['rid']){
$id=$_GET['rid'];
$query = $dbh->prepare($sql);
$query->bindParam(':id',$id,PDO::PARAM_STR);
$query->execute();
?>
<!DOCTYPE HTML>
<html>
<head>
<title>CWMS | Manage Car Wash Point</title>
<script src="js/jquery-2.1.4.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#table').basictable();
$('#table-breakpoint').basictable({
breakpoint: 768
});
$('#table-swap-axis').basictable({
swapAxis: true
});
$('#table-force-off').basictable({
forceResponsive: false
});
$('#table-no-resize').basictable({
noResize: true
});
$('#table-two-axis').basictable();
$('#table-max-height').basictable({
tableWrapper: true
});
});
</script>
</head>
<body>
<div class="page-container">
<!--/content-inner-->
<div class="left-content"
<div class="mother-grid-inner">
<?php include('includes/header.php');?>
</div>
<ol class="breadcrumb">
</ol><div class="agile-grids">
<div class="agile-tables">
<div class="w3l-table-info">
<table id="table">
<thead>
<tr>
<th>#</th>
<th>Action</th>
</tr>
</thead>
<tbody>
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$cnt=1;
if($query->rowCount() > 0)
foreach($results as $result)
{ ?> <tr>
<td>
</tbody>
</table>
</div> </table>
</div>
<script>
$(document).ready(function() {
var navoffeset=$(".header-main").offset().top;
$(window).scroll(function(){
var scrollpos=$(window).scrollTop();
if(scrollpos >=navoffeset){
$(".header-main").addClass("fixed");
}else{
$(".header-main").removeClass("fixed");
});
});
</script>
<div class="inner-block">
</div>
<?php include('includes/footer.php');?>
</div>
</div>
<!--//content-inner-->
<!--/sidebar-menu-->
<?php include('includes/sidebarmenu.php');?>
<div class="clearfix"></div>
</div>
<script>
$(".sidebar-icon").click(function() {
if (toggle)
$(".page-container").addClass("sidebar-collapsed").removeClass("sidebar-collapsed-back");
$("#menu span").css({"position":"absolute"});
else
{$(".page-container").removeClass("sidebar-collapsed").addClass("sidebar-collapsed-back");
}, 400);
toggle = !togg});
</script>
<!--js -->
<script src="js/jquery.nicescroll.js"></script>
<script src="js/scripts.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>
<?php } ?>
MANAGE-ENQUIRES
<?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=1;
$query = $dbh->prepare($sql);
?>
<!DOCTYPE HTML>
<html>
<head>
<script src="js/jquery-2.1.4.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#table').basictable();
$('#table-breakpoint').basictable({
breakpoint: 768
});
$('#table-swap-axis').basictable({
swapAxis: true
});
$('#table-force-off').basictable({
forceResponsive: false
});
$('#table-no-resize').basictable({
noResize: true
});
$('#table-two-axis').basictable();
$('#table-max-height').basictable({
tableWrapper: true
});
});
</script>
<style>
.errorWrap {
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
.succWrap{ padd
ing: 10px;
margin: 0 0 20px 0;
background: #fff;
</style>
</head>
<body>
<div class="page-container">
<!--/content-inner-->
<div class="left-content">
<div class="mother-grid-inner">
</div>
<ol class="breadcrumb">
</ol>
<div class="agile-grids">
<div class="w3l-table-info">
<thead> <tr>
<th>Ticket id</th>
<th width="200">Name</th>
<th>Email</th>
<th>Subject </th>
<th>Description </th>
<th>Action </th>
</tr>
</thead>
<tbody>
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
if($query->rowCount() > 0)
foreach($results as $result)
{?> <tr>
<td width="50">
<?php echo $result->EmailId;?></td>
<?php if($result->Status==1)
{?><td>Read</td>
</td>
<?php } ?>
</tr>
<?php } }?>
</tbody>
</table>
</div>
</table>
</div>
$(document).ready(function() {
var navoffeset=$(".header-main").offset().top;
$(window).scroll(function(){
var scrollpos=$(window).scrollTop();
if(scrollpos >=navoffeset){
$(".header-main").addClass("fixed");
}else{
$(".header-main").removeClass("fixed");
});
});
</script>
<div class="inner-block">
</div>
<?php include('includes/footer.php');?>
</div>
</div>
<!--//content-inner-->
<!--/sidebar-menu-->
<?php include('includes/sidebarmenu.php');?>
<div class="clearfix"></div>
</div>
<script>
if (toggle){
$(".page-container").addClass("sidebar-collapsed").removeClass("sidebar-collapsed-back");
$("#menu span").css({"position":"absolute"});
else
$(".page-container").removeClass("sidebar-collapsed").addClass("sidebar-collapsed-back");
setTimeout(function() {
$("#menu span").css({"position":"relative"});
}, 400);
toggle = !toggle;
});
</script>
<!--js -->
<script src="js/jquery.nicescroll.js"></script>
<script src="js/scripts.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>
<?php } ?>
NEW-BOOKING
<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['alogin'])==0)
header('location:index.php');
else{
?>
<!DOCTYPE HTML>
<html>
<head>
<script src="js/jquery-2.1.4.min.js"></script>
<link rel="stylesheet" type="text/css" href="css/table-style.css" />
<script type="text/javascript">$(document).ready(function() {
$('#table').basictable(); $('#table-breakpoint').basictable({
breakpoint: 768
});
$('#table-swap-axis').basictable({
swapAxis: true
});
});
$('#table-no-resize').basictable({
noResize: true
});
$('#table-two-axis').basictable();
$('#table-max-height').basictable({
tableWrapper: true
});
});
</script>
.errorWrap {
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
.succWrap{ padd
ing: 10px;
margin: 0 0 20px 0;
background: #fff;
</style>
</head>
<body>
<div class="page-container">
<!--/content-inner-->
<div class="left-content">
<div class="mother-grid-inner">
</div>
<table id="table">
<thead>
<tr>
<th>Booking No.</th>
<th>Name</th>
<th>Action </th>
</tr>
</thead>
<tbody>
where status='New'";
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
if($query->rowCount() > 0)
foreach($results as $result)
{?> <tr>
<td width="50">
<?php $ptype=$result->packageType;
?></td>
</td>
<?php } ?>
$(window).scroll(function(){
var scrollpos=$(window).scrollTop();
if(scrollpos >=navoffeset){
$(".header-main").addClass("fixed");
}else{
$(".header-main").removeClass("fixed");
});
});
</script>
<div class="inner-block">
</div>
<?php include('includes/footer.php');?>
</div>
</div>
<!--//content-inner-->
<!--/sidebar-menu-->
<?php include('includes/sidebarmenu.php');?>
<div class="clearfix"></div>
</div>
<script>
$(".sidebar-icon").click(function() {
if (toggle) {
$(".page-container").addClass("sidebar-collapsed").removeClass("sidebar-collapsed-back");
$("#menu span").css({"position":"absolute"});
else
$(".page-container").removeClass("sidebar-collapsed").addClass("sidebar-collapsed-back");
setTimeout(function() {
$("#menu span").css({"position":"relative"});
}, 400);
toggle = !toggle;
});
</script>
<!--js -->
<script src="js/jquery.nicescroll.js"></script>
<script src="js/scripts.js"></script>
<script src="js/bootstrap.min.js"></
INDEX
<?php //error_reporting(0);
include('includes/config.php');
if(isset($_POST['book']))
$ptype=$_POST['packagetype'];
$wpoint=$_POST['washingpoint'];
$fname=$_POST['fname'];
$mobile=$_POST['contactno'];
$date=$_POST['washdate'];
$time=$_POST['washtime'];
$message=$_POST['message'];
$status='New';
$bno=mt_rand(100000000, 999999999);
$sql="INSERT INTO
tblcarwashbooking(bookingId,packageType,carWashPoint,fullName,mobileNumber,washDate,washTim
e,message,status) VALUES(:bno,:ptype,:wpoint,:fname,:mobile,:date,:time,:message,:status)";
$query = $dbh->prepare($sql);
$query->bindParam(':bno',$bno,PDO::PARAM_STR);
$query->bindParam(':ptype',$ptype,PDO::PARAM_STR);
$query->bindParam(':wpoint',$wpoint,PDO::PARAM_STR);
$query->bindParam(':fname',$fname,PDO::PARAM_STR);
$query->bindParam(':mobile',$mobile,PDO::PARAM_STR);
$query->bindParam(':date',$date,PDO::PARAM_STR);
$query->bindParam(':time',$time,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>
<meta charset="utf-8">
<link href="https://fonts.googleapis.com/css2?
family=Barlow:wght@400;500;600;700;800;900&display=swa p" rel="stylesheet">
<!-- CSS Libraries -->
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.0/css/all.min.css"
rel="stylesheet">
</head>
<body>
<?php include_once('includes/header.php');?>
<div class="carousel">
<div class="container-fluid">
<div class="owl-carousel">
<div class="carousel-item">
<div class="carousel-img">
</div>
<div class="carousel-text">
</div>
</div>
<div class="carousel-item">
<div class="carousel-img">
</div>
<div class="carousel-text">
</div>
</div>
<div class="carousel-item">
<div class="carousel-img">
</div>
<div class="carousel-text">
</div>
</div>
</div>
</div>
</div>
<div class="about">
<div class="container">
<div class="row align-items-center">
<div class="col-lg-6">
<div class="about-img">
</div>
</div>
<div class="col-lg-6">
<p>About Us</p>
</div>
<div class="about-content">
<p>
Lorem ipsum dolor sit amet elit. In vitae turpis. Donec in hendre dui, vel blandit
massa. Ut vestibu suscipi cursus. Cras quis porta nulla, ut placerat risus. Aliquam nec magna eget velit
luctus dictum
</p>
<ul>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="service">
<div class="container">
<p>What We Do?</p>
</div>
<div class="row">
<div class="service-item">
<i class="flaticon-car-wash-1"></i>
<h3>Exterior Washing</h3>
</div>
</div>
<div class="service-item">
<i class="flaticon-car-wash"></i>
<h3>Interior Washing</h3>
</div>
</div>
<i class="flaticon-vacuum-cleaner"></i>
<h3>Vacuum Cleaning</h3>
</div>
</div>
<div class="service-item">
<i class="flaticon-seat"></i>
<h3>Seats Washing</h3>
</div>
</div>
<div class="service-item">
<i class="flaticon-car-service"></i>
<h3>Window Wiping</h3>
</div>
</div>
<div class="service-item">
<i class="flaticon-car-service-2"></i>
<h3>Wet Cleaning</h3>
LOCATION
<div class="col-lg-12">
<p>Washing Points</p>
</div>
<div class="row">
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
foreach($results as $result)
{ ?>
<div class="col-md-6">
<div class="location-item">
<div class="location-text">
</div>
</div>
</div>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
<?php include_once('includes/footer.php');?>
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.bundle.min.js"></
script>
<script src="lib/easing/easing.min.js"></script>
<script src="lib/owlcarousel/owl.carousel.min.js"></script>
<script src="lib/waypoints/waypoints.min.js"></script>
<script src="lib/counterup/counterup.min.js"></script>
<script src="mail/jqBootstrapValidation.min.js"></script>
<script src="mail/contact.js"></script>
<script src="js/main.js"></script>
</body>
</html>
WASHING-PIANS
<?php //error_reporting(0);
include('includes/config.php');
if(isset($_POST['book']))
$ptype=$_POST['packagetype'];
$wpoint=$_POST['washingpoint'];
$fname=$_POST['fname'];
$mobile=$_POST['contactno'];
$date=$_POST['washdate'];
$time=$_POST['washtime'];
$message=$_POST['message'];
$status='New';
$bno=mt_rand(100000000, 999999999);
$sql="INSERT INTO
tblcarwashbooking(bookingId,packageType,carWashPoint,fullName,mobileNumber,washDate,washTim
e,message,status) VALUES(:bno,:ptype,:wpoint,:fname,:mobile,:date,:time,:message,:status)";
$query = $dbh->prepare($sql);
$query->bindParam(':bno',$bno,PDO::PARAM_STR);
$query->bindParam(':ptype',$ptype,PDO::PARAM_STR);
$query->bindParam(':wpoint',$wpoint,PDO::PARAM_STR);
$query->bindParam(':fname',$fname,PDO::PARAM_STR);
$query->bindParam(':mobile',$mobile,PDO::PARAM_STR);
$query->bindParam(':date',$date,PDO::PARAM_STR);
$query->bindParam(':time',$time,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>
<meta charset="utf-8">
<link href="https://fonts.googleapis.com/css2?
family=Barlow:wght@400;500;600;700;800;900&display=swa p" rel="stylesheet">
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.0/css/all.min.css"
rel="stylesheet">
</head>
<body>
<?php include_once('includes/header.php');?>
<div class="page-header">
<div class="container">
<div class="row">
<div class="col-12">
<h2>Washing Plan</h2>
</div>
<div class="col-12">
<a href="index.php">Home</a>
<a href="printbill.php">Price</a>
</div>
</div>
</div>
</div>
<div class="price">
<div class="container">
<p>Washing Plan</p>
</div>
<div class="row">
<div class="col-md-4">
<div class="price-item">
<div class="price-header">
<h3>Basic Cleaning</h3>
<h2><span>Rs.</span><strong>100</strong><span>.99</span></h2>
</div>
<div class="price-body">
<ul>
</ul>
</div>
<div class="price-footer">
</div>
</div>
</div>
<div class="col-md-4">
<div class="price-header">
<h3>Premium Cleaning</h3>
<h2><span>Rs</span><strong>200</strong><span>.99</span></h2>
</div>
<div class="price-body">
<ul>
</ul>
</div>
<div class="price-footer">
</div>
</div>
</div>
<div class="col-md-4">
<div class="price-item">
<div class="price-header">
<h3>Complex Cleaning</h3>
<h2><span>Rs</span><strong>300</strong><span>.99</span></h2>
</div>
<div class="price-body">
<ul>
</ul>
</div>
<div class="price-footer">
</div>
</div>
</div>
</div>
</div>
</div>
<?php include_once('includes/footer.php');?>
<!--Model-->
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
</div>
<div class="modal-body">
<form method="post">
<p>
</select>
<p>
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
foreach($results as $result)
{ ?>
<?php } ?>
</select></p>
</form>
</div>
<div class="modal-footer">
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.bundle.min.js"></
script>
<script src="lib/easing/easing.min.js"></script>
<script src="lib/owlcarousel/owl.carousel.min.js"></script>
<script src="lib/waypoints/waypoints.min.js"></script>
<script src="lib/counterup/counterup.min.js"></script>
<script src="mail/jqBootstrapValidation.min.js"></script>
<script src="mail/contact.js"></script>
<script src="js/main.js"></script>
</body>
</html>
11. Conclusion
The project titled as “Car Washing Management System” was deeply studied and analyzed to design
the code and implement. It was done under the guidance of the experienced project guide. All the current
requirements and possibilities have been taken care during the project time.
Car Washing Management System is used for maintain the car washing booking systems. This web
application will help to perform car washing results in high quality end product. Thus it will be User-
friendly and capable to wash multiple cars at a time.
12. Bibliography
For PHP
https://www.w3schools.com/php/default.asp
https://www.sitepoint.com/php/
https://www.php.net/
For MySQL
https://www.mysql.com/
http://www.mysqltutorial.org
For XAMPP
https://www.apachefriends.org/download.html