Professional Documents
Culture Documents
Project Report ON Online Food Oerdering System
Project Report ON Online Food Oerdering System
PROJECT REPORT
ON
ONLINE FOOD OERDERING SYSTEM
ACKNOWLEDGEMENT
No learning is complete without proper guidance
This entitled “Online Food Ordering System” could not be complete
without the guidance of Mr. Ashish Mishra (Asst. Professor) for their
invaluable inputs,guidance we deeply express our thanks to those who
have provided invaluable support and guidance that lead to its
successful completion.
Last but not the least; I would like to take the opportunity to express
my thanks to all faculty members and friends for their help.
Thanking You
Batch : 2018-2020
3 Project Report for online Food Ordering System
Certificate
1 Members Description 5
2 Introduction 10
3 Software Description 11
4 Project DFD 14
6 Module Description 11
8 Coding 26
10 Bibliography 96
5 Project Report for online Food Ordering System
Candidate No. 1:
Name: Rajesh Gupta
Batch: 2018-2020
Candidate No. 2:
Name: Rachit Panday
Batch: 2018-2020
6 Project Report for online Food Ordering System
Candidate No. 3:
Name: Bharat Bagani
Batch: 2018-2020
Candidate No. 4:
Name: Ashish Pandey
Batch: 2018-2020
Synopsis
Mini Project
Online
Food Ordering
System
Submitted in partial fulfillment of the requirements for qualifying
M.C.A 4th SEM
Submitted To Submitted By
Mr. Ashish Mishra NAME: Rajesh Gupta(1843414922)
(Asst. Professor) Ashish Pandey(1843414904)
Bharat Bagani(1843414907)
Rachit Pandey(1843414921)
Batch:2018-2020
Content
8 Project Report for online Food Ordering System
Online
Food Ordering
System
10 Project Report for online Food Ordering System
Introduction:
Online Food Ordering System is a part of e-commerce. E-commerce or
business through net means distributing, buying, selling, marketing, and servicing
of products or services over electronic systems such as the Internet and other
computer networks. Thus if we own a restaurant we need to upload menu online to
attract potential customers.
The online food ordering system gives restaurants the ability to increase
sale and expand their business by giving customers the facility to order food
online.
With an online restaurant menu ordering system, customers can place orders
online 24 *7. Thus it is a simple, fast and convenient food ordering system giving
an edge over the competition at an affordable price.
The restaurants’ can even customize online restaurant menu and upload
images easily. Having restaurant menu on internet, potential customers can easily
access it and place order at their convenience..
Purpose:
We can set up we restaurant menu online and the customers can easily place
order with a simple mouse click. Also with a food menu online we can easily track
the orders, maintain customer's database and improve the food delivery service.
We can receive order through e-mails/ fax or directly view on internet.
Objective:
The main objective of this project is to develop an application which gives
provision to the restaurant owners to flourish their business by uploading menu at
no cost and will invariably lead to higher customer retention and acquisition rates.
11 Project Report for online Food Ordering System
Analysis:
After Analyzing the facts about the Online Food Ordering
System, There We Found Some Modules to work with and
Make the project as flexible as possible.
Modules:
Home Page
customerPage
13 Project Report for online Food Ordering System
Restaurant Page
14 Project Report for online Food Ordering System
System Design:
actual code.
designers:
Data Flow Diagram
Data flow diagram is graphical representation of flow of data in
flow, outgoing data flow and stored data. The DFD does not
Online food
ordering
system
Customer Restaurant
Management Management
16 Project Report for online Food Ordering System
Request
Request
Login User Database
Response Response
Request Request
Register
User Database
Response
Response
Request Request
Response
Response
17 Project Report for online Food Ordering System
Request
Request
Login & Restaurant
Database
Register
Response Response
Request Request
Add
Item Database
Item
Response
Response
Request Request
Register
Response Response
Request
Request
Account User Database
Managemen
t
Response Response
19 Project Report for online Food Ordering System
Response Response
Request
Request
Manage User Database
customer
A/c
Response Response
Request Request
Manage
Item Database
Restaurant
A/c
Response
Response
Request Request
Request Request
ER Diagram:
Tables:
Admin:
Field_na Min_ Max_ Min_l Max_l Empties_ N Avg_value_or St Optimal_
me value value ength ength or_zeros ull _avg_length d fieldtype
s
Admin_i NULL NULL 0 0 0 0 0.0 0.0 CHAR(0)
d NOT
NULL
Customer:
customers
Table comments: InnoDB free: 6144 kB
Restaurant:
restaurant
Table comments: InnoDB free: 6144 kB
Delivery Boy:
delieveryboy
Table comments: InnoDB free: 6144 kB
Orders:
orders
Table comments: InnoDB free: 6144 kB
Products:
26 Project Report for online Food Ordering System
products
Table comments: InnoDB free: 6144 kB
Frontend:
Html, CSS, PHP, JavaScript
Backend:
MySQL
27 Project Report for online Food Ordering System
Software:
Operating System: Window 7
No particular OS required because PHP is platform
independent.
Software: WAMP, phpMyAdmin
Hardware:
Processor: Intel Processor Pentium 4 or equivalent or
new.
Disk space: 50MB or more.
28 Project Report for online Food Ordering System
HTML :
HTML stands for Hypertext Markup Language, and it is the most widely used language to
write Web Pages.
Hypertext refers to the way in which Web pages
(HTML documents) are linked together. Thus, the
link available on a webpage is called Hypertext.
As its name suggests, HTML is a Markup
Language which means you use HTML to simply
"mark-up" a text document with tags that tell a
Web browser how to structure it to display.
Originally, HTML was developed with the intent of defining the structure of documents like
headings, paragraphs, 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 language.
CSS:
Cascading Style Sheets, fondly referred to as CSS, is a simple
design language intended to simplify the process of making
web pages presentable.
CSS handles the look and feel part of a web page. Using CSS,
you can control the color of the text, the style of fonts, the
spacing between paragraphs, how columns are sized and laid
out, what background images or colors are used, layout designs,
variations in display for different devices and screen sizes as
well as a variety of other effects.
29 Project Report for online Food Ordering System
PHP:
PHP started out as a small open source project that evolved as
more and more people found out how useful it was. Rasmus
Lerdorf unleashed the first version of PHP way back in 1994.
PHP is a recursive acronym for "PHP: Hypertext
Preprocessor".
PHP is a server side scripting language that is embedded in
HTML. It is used to manage dynamic content, databases,
session tracking, even build entire e-commerce sites.
It is integrated with a number of popular databases,
including MySQL, PostgreSQL, Oracle, Sybase, Informix,
and Microsoft SQL Server.
PHP is pleasingly zippy in its execution, especially when
compiled as an Apache module on the Unix side. The
MySQL server, once started, executes even very complex
queries with huge result sets in record-setting time.
JavaScript:
JavaScript is a dynamic computer programming language. It is
lightweight and most commonly used as a part of web pages,
whose implementations allow client-side script to interact with
the user and make dynamic pages. It is an interpreted
programming language with object-oriented capabilities.
INDEX.PHP
30 Project Report for online Food Ordering System
<html>
<head>
</head>
<body>
<div class="logo">
</div>
<nav>
<ul>
<li><a href="#event">Service</a></li>
<li><a href="#menu-list">Products</a></li>
<div class="dropdown">
</button>
<div class="dropdown-content">
<a href="#"
onclick="document.getElementById('id01C').style.display='block'"
style="width:auto;">Customer login</a>
31 Project Report for online Food Ordering System
<a href="#"
onclick="document.getElementById('id01A').style.display='block'"
style="width:auto;">Admin login</a>
<a href="#"
onclick="document.getElementById('id01R').style.display='block'"
style="width:auto;">Restaurant login</a>
<a href="#"
onclick="document.getElementById('id01D').style.display='block'"
style="width:auto;">Delivery Boy login</a>
</div>
</div>
<div class="dropdown">
</button>
<div class="dropdown-content">
<a href="#"
onclick="document.getElementById('id02').style.display='block'"
style="width:auto;">Customer Register</a>
<a href="#"
onclick="document.getElementById('id02R').style.display='block'"
style="width:auto;">Restaurant Register</a>
<a href="#"
onclick="document.getElementById('id02D').style.display='block'"
style="width:auto;">Delivery Boy Register</a>
</div>
</div>
</ul>
32 Project Report for online Food Ordering System
</nav>
<div class="slide">
<section class="slider">
<div class="slider-container">
<img src="images/slider1.jpg">
<img src="images/slider2.jpg">
<img src="images/slider3.jpg">
</div>
</section>
</div>
<div class="imgcontainer">
<span onclick="document.getElementById('id01C').style.display='none'"
class="close" title="Close Modal">×</span>
</div>
<div class="cunter">
<label for="uname"><b>Email</b></label>
33 Project Report for online Food Ordering System
<label for="psw"><b>Password</b></label>
<button type="submit">Login</button>
<label>
</label>
</div>
<button type="button"
onclick="document.getElementById('id01C').style.display='none'"
class="cancelbtn">Cancel</button>
</div>
</form>
</div>
<script>
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
</script>
<div class="imgcontainer">
<span onclick="document.getElementById('id01A').style.display='none'"
class="close" title="Close Modal">×</span>
</div>
<div class="cunter">
<label for="uname"><b>Email</b></label>
<label for="psw"><b>Password</b></label>
35 Project Report for online Food Ordering System
<button type="submit">Login</button>
<label>
</label>
</div>
<button type="button"
onclick="document.getElementById('id01A').style.display='none'"
class="cancelbtn">Cancel</button>
</div>
</form>
</div>
<script>
window.onclick = function(event) {
if (event.target == modal) {
36 Project Report for online Food Ordering System
modal.style.display = "none";
</script>
<div class="imgcontainer">
<span onclick="document.getElementById('id01R').style.display='none'"
class="close" title="Close Modal">×</span>
</div>
<div class="cunter">
<label for="rname"><b>Email</b></label>
<label for="rpsw"><b>Password</b></label>
<button type="submit">Login</button>
37 Project Report for online Food Ordering System
<label>
</label>
</div>
<button type="button"
onclick="document.getElementById('id01R').style.display='none'"
class="cancelbtn">Cancel</button>
</div>
</form>
</div>
<script>
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
38 Project Report for online Food Ordering System
</script>
<div class="imgcontainer">
<span onclick="document.getElementById('id01D').style.display='none'"
class="close" title="Close Modal">×</span>
</div>
<div class="cunter">
<label for="uname"><b>Email</b></label>
<label for="psw"><b>Password</b></label>
<button type="submit">Login</button>
<label>
</label>
</div>
39 Project Report for online Food Ordering System
<button type="button"
onclick="document.getElementById('id01D').style.display='none'"
class="cancelbtn">Cancel</button>
</div>
</form>
</div>
<script>
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
</script>
<div class="imgcontainer">
<span onclick="document.getElementById('id02').style.display='none'"
class="close" title="Close Modal">×</span>
</div>
<div class="cunter">
<label for="uname"><b>Email</b></label>
<label for="psw"><b>Password</b></label>
<button type="submit">Register</button>
</div>
</form>
</div>
<script>
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
</script>
<div class="imgcontainer">
<span onclick="document.getElementById('id02R').style.display='none'"
class="close" title="Close Modal">×</span>
</div>
<div class="cunter">
<div class="controls">
</div>
</div>
</center>
<div class="control-group">
<div class="controls">
</div>
</div>
</div>
43 Project Report for online Food Ordering System
</form>
<?php
if (isset($_POST['submit'])) {
$image = addslashes(file_get_contents($_FILES['image']
['tmp_name']));
$image_name = addslashes($_FILES['image']['name']);
$image_size = getimagesize($_FILES['image']['tmp_name']);
move_uploaded_file($_FILES["image"]["tmp_name"], "images/" .
$_FILES["image"]["name"]);
$rname = $_POST['rname'];
$remail = $_POST['remail'];
$doj = $_POST['rdoj'];
$raddress = $_POST['Raddress'];
$rcontact = $_POST['rcon'];
$password = $_POST['psw'];
$conn->query($rq);
header('location:restauranthome.php');
44 Project Report for online Food Ordering System
?>
<?php
?>
</div>
<script>
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
</script>
<div class="imgcontainer">
45 Project Report for online Food Ordering System
<span onclick="document.getElementById('id02D').style.display='none'"
class="close" title="Close Modal">×</span>
</div>
<div class="cunter">
<label for="uname"><b>Email</b></label>
<label for="psw"><b>Password</b></label>
<button type="submit">Register</button>
</div>
</form>
</div>
<script>
window.onclick = function(event) {
46 Project Report for online Food Ordering System
if (event.target == modal) {
modal.style.display = "none";
</script>
</body>
</html>
CUSTOMERHOME.PHP
<head>
</head>
<body>
<?php include("product.php");?>
<div class="sidenav">
<a href="#clients">Clients</a>
<a href="#contact">Contact</a>
</div><div class="main">
<?php include("profileproduct.php");?>
</div>
</body>
</html>
PROFILEPRODUCT.PHP
48 Project Report for online Food Ordering System
<div >
</form>
<body>
<div id="masthead">
<div class="container">
<div class="container">
<div class="row">
<div class="col-md-12">
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="panel">
<div class="panel-body">
<br>
<?php
while($row = $query->fetch()){
$id = $row['R_id'];
$Rname = $row['Rname'];
$Rimage = $row['Rimage'];
$Raddress = $row['Raddress'];
?>
</div>
50 Project Report for online Food Ordering System
<div class="row">
<div class="col-xs-9">
</h4></div>
</form></div>
<br><br>
</div>
<?php } ?>
</div>
<hr>
</div>
</div>
51 Project Report for online Food Ordering System
</div><!--/col-12-->
</div>
</div>
</body>
</html>
LOOKPRODUCT.PHP
52 Project Report for online Food Ordering System
<div class="main">
<div >
<body>
<div class="">
<div class="row">
<div class="col-md-12">
<div class="panel">
<div class="panel-body">
<!--/stories-->
<div class="row">
<br>
<?php
$rid = $_POST['R_id'];
$rname = $_POST['Rname'];
$query = $conn->query("select * from products where R_id='$rid' order by productid DESC ");
while($row = $query->fetch()){
$productid = $row['productid'];
53 Project Report for online Food Ordering System
$productname = $row['productname'];
$proimage = $row['proimage'];
$proprice = $row['proprice'];
$pid = $row['productid'];
?>
</div>
<div class="row">
<div class="col-xs-9">
</h4></div>
Quantity<select name="quantity">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
</select>
</form>
</div>
<br><br>
</div>
<?php } ?>
</div>
<hr>
</div>
</div>
</div><!--/col-12-->
</div>
</div>
</div>
</body>
</html>
PLACEORDER.PHP
55 Project Report for online Food Ordering System
<div class="main">
<body>
<div id="masthead">
<div class="row">
<div class="">
<?php
$quant = $_POST['quantity'];
$productid = $_POST['productid'];
$row = $query->fetch();
$proid = $row['productid'];
$proimage = $row['proimage'];
$proprice = $row['proprice'];
$productname = $row['productname'];
$rname = $row['productRestaurant'];
$id = $row['R_id'];
$bill = $quant*$proprice;
?>
<hr>
</div>
<div class="">
<?php
$row = $query->fetch();
$Cid = $row['C_id'];
?>
<hr>
<hr>
<hr>
<hr>
<hr>
<hr>
57 Project Report for online Food Ordering System
<hr>
<hr>
<br>
<center>
</center>
<br>
<form>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-12">
</div>
</div>
</div>
</div>
</body>
</html>
CUSTOMERPROFILE.PHP
59 Project Report for online Food Ordering System
</head>
<body>
<div class="navbar">
<p>
Logout
</p>
</a>
</div>
<div class="sidenav">
<a href="#clients">Clients</a>
<a href="#contact">Contact</a>
</div>
<div class="main">
<?php include("profile.php");?>
</div>
60 Project Report for online Food Ordering System
</body>
</html>
PROFILE.PHP
<?php include("session.php");?>
61 Project Report for online Food Ordering System
<div class="col-md-2">
<hr>
<hr>
</div>
<div class="col-md-10">
<hr>
</pre>
<?php
$row = $query->fetch();
$id = $row['C_id'];
?>
<hr>
62 Project Report for online Food Ordering System
<hr>
<hr>
<hr>
<hr>
<hr>
<hr>
<hr>
</div>
</div>
CHANGEPIC.PHP
<?php include("session.php");?>
63 Project Report for online Food Ordering System
<div class="row">
<div class="col-md-2">
<hr>
<hr>
</div>
<div class="col-md-5">
<hr>
<p>Personal Info</p>
<?php
$row = $query->fetch();
$id = $row['C_id'];
?>
<hr>
<hr>
<hr>
64 Project Report for online Food Ordering System
</div>
<div class="col-md-5">
<div class="control-group">
<label class="control-label"
for="input01">Image:</label>
<div class="controls">
</div>
</div>
<div class="control-group">
<div class="controls">
</div>
</div>
</form>
<?php
if (isset($_POST['submit'])) {
$image = addslashes(file_get_contents($_FILES['image']
['tmp_name']));
65 Project Report for online Food Ordering System
$image_name = addslashes($_FILES['image']['name']);
$image_size = getimagesize($_FILES['image']['tmp_name']);
move_uploaded_file($_FILES["image"]["tmp_name"], "images/" .
$_FILES["image"]["name"]);
?>
<script>
window.location = 'customerhome.php';
</script>
<?php
EDITP_ROFILE.PHP
<body>
66 Project Report for online Food Ordering System
<div id="masthead">
<div class="container">
<div class="row">
<div class="col-md-2">
<hr>
<hr>
</div>
<div class="col-md-10">
<?php
$row = $query->fetch();
$id = $row['C_id'];
?>
<hr>
<hr>
67 Project Report for online Food Ordering System
<hr>
Gender:
<select name="gender">
<option>Male</option>
<option>Female</option>
</select>
<hr>
<hr>
<hr>
<hr>
<hr>
<hr>
<hr>
<br>
<center>
</center>
<br>
<form>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-12">
</div>
</div>
</div>
69 Project Report for online Food Ordering System
<?php
if (isset($_POST['submit'])) {
$image = addslashes(file_get_contents($_FILES['image']
['tmp_name']));
$image_name = addslashes($_FILES['image']['name']);
$image_size = getimagesize($_FILES['image']['tmp_name']);
move_uploaded_file($_FILES["image"]["tmp_name"], "images/" .
$_FILES["image"]["name"]);
?>
<script>
window.location = 'customerhome.php';
</script>
RESTAURANTHOME.PHP
<head>
<style>
body {
.sidenav {
height: 100%;
width: 200px;
position: fixed;
z-index: 1;
top: 0;
left: 0;
background-color: #111;
overflow-x: hidden;
padding-top: 20px;
.sidenav a {
71 Project Report for online Food Ordering System
text-decoration: none;
font-size: 25px;
color: #818181;
display: block;
.sidenav a:hover {
color: #f1f1f1;
.main {
</style>
</head>
72 Project Report for online Food Ordering System
<body>
<?php include("reshomeproduct.php");?>
<div class="sidenav">
<a href="#clients">Clients</a>
<a href="#contact">Contact</a>
</div>
</body>
</html>
RESPRODUCT.PHP
<?php include('ressession.php'); ?>
<div >
product Name
Price
<div class="controls">
</div>
</div>
</center>
<div class="control-group">
<div class="controls">
</div>
</div>
</form>
<?php
74 Project Report for online Food Ordering System
if (isset($_POST['submit'])) {
$image = addslashes(file_get_contents($_FILES['image']['tmp_name']));
$image_name = addslashes($_FILES['image']['name']);
$image_size = getimagesize($_FILES['image']['tmp_name']);
move_uploaded_file($_FILES["image"]["tmp_name"], "images/" .
$_FILES["image"]["name"]);
$rid = $_POST['R_id'];
$rname = $_POST['Rname'];
$productname = $_POST['productname'];
$proprice = $_POST['proprice'];
$conn->query($rq);
header('location:restauranthome.php');
?>
<?php
?>
<body>
<div id="masthead">
75 Project Report for online Food Ordering System
<div class="container">
<div class="container">
<div class="row">
<div class="col-md-12">
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="panel">
<div class="panel-body">
<!--/stories-->
<div class="row">
<br>
<?php
while($row = $query->fetch()){
$productname = $row['productname'];
$proimage = $row['proimage'];
76 Project Report for online Food Ordering System
$proprice = $row['proprice'];
$id = $row['productid'];
?>
</div>
<div class="row">
<div class="col-xs-9">
</h4></div>
</div>
<br><br>
</div>
<?php } ?> </div> <hr> </div> </div> </div> <!--/col-12--> </div></div> </body></html>
CUSTOMERLOGIN.PHP
<?php
include('dbcon.php');
$username = $_POST['uname'];
$password = $_POST['psw'];
$query = $conn->query("select * from customers where Cemail = '$username' and Cpassword =
'$password'");
$count = $query->rowcount();
77 Project Report for online Food Ordering System
$row = $query->fetch();
if ($count > 0){
session_start();
$_SESSION['id'] = $row['C_id'];
header('location:customerhome.php');
}else{
header('location:index.php');
}
?>
REGISTER.PHP
<?php
include('dbcon.php');
$username = $_POST['uname'];
$password = $_POST['psw'];
$query = $conn->query("select * from customers where Cemail = '$username' OR Cpassword =
'$password'");
$count = $query->rowcount();
$row = $query->fetch();
if ($count > 0){
echo "user already exist";
header('location:index.php');
}
else{
$qr="insert into customers (Cemail,Cpassword,image) values
('$username','$password','images/No_Photo_Available.jpg')";
$conn->query($qr);
}
?>
<script>
alert("Sign UP Success Please Login Your Account.");
window.location = 'index.php';
</script>
RESTAURANRLOGIN.PHP
<?php
include('dbcon.php');
78 Project Report for online Food Ordering System
$username = $_POST['rname'];
$password = $_POST['rpsw'];
?>
RESTAURANTREGISTER
<?php
include('dbcon.php');
$username = $_POST['remail'];
$password = $_POST['psw'];
$name = $_POST['rname'];
$jdate = $_POST['rdoj'];
$rcontact = $_POST['rcon'];
$raddress = $_POST['Raddress'];
if (isset($_POST['submit'])) {
$image = addslashes(file_get_contents($_FILES['image']['tmp_name']));
$image_name = addslashes($_FILES['image']['name']);
$image_size = getimagesize($_FILES['image']['tmp_name']);
79 Project Report for online Food Ordering System
}
?>
SAVE_EDIT.PHP
<?php
$C_id = $_POST['C_id'];
$username = $_POST['username'];
$fullname = $_POST['fullname'];
$gender = $_POST['gender'];
$address = $_POST['address'];
80 Project Report for online Food Ordering System
$birthdate = $_POST['birthdate'];
$mobile = $_POST['mobile'];
$status = $_POST['status'];
$work = $_POST['work'];
$religion = $_POST['religion'];
SESSION.PHP
<?php
include("dbcon.php");
session_start();
if (!isset($_SESSION['id'])){
header('location:index.php');
}
81 Project Report for online Food Ordering System
$session_id = $_SESSION['id'];
$session_query = $conn->query("select * from customers where C_id = '$session_id'");
$user_row = $session_query->fetch();
$username = $user_row['Cname'];
$image = $user_row['image'];
?>
PROSESSION.PHP
<?php
include("dbcon.php");
session_start();
if (!isset($_SESSION['id'])){
header('location:index.php');
$session_id = $_SESSION['id'];
$user_row = $session_query->fetch();
$id = $user_row['productid'];
$username = $user_row['productname'];
$image = $user_row['proimage'];
?>
RESSESSION.PHP
<?php
include("dbcon.php");
session_start();
if (!isset($_SESSION['id'])){
header('location:index.php');
82 Project Report for online Food Ordering System
$session_id = $_SESSION['id'];
$user_row = $session_query->fetch();
$id = $user_row['R_id'];
$username = $user_row['Rname'];
$image = $user_row['Rimage'];
?>
PLACEORDER.PHP
<?php include('allhome.php'); ?>
<div class="main">
<body>
<div id="masthead">
<div class="row">
<div class="">
<?php
$quant = $_POST['quantity'];
$productid = $_POST['productid'];
$row = $query->fetch();
$proid = $row['productid'];
$proimage = $row['proimage'];
$proprice = $row['proprice'];
$productname = $row['productname'];
$rname = $row['productRestaurant'];
$id = $row['R_id'];
$bill = $quant*$proprice;
?>
<hr>
</div>
84 Project Report for online Food Ordering System
<div class="">
<?php
$row = $query->fetch();
$Cid = $row['C_id'];
?>
<hr>
<hr>
<hr>
<hr>
<hr>
<hr>
<hr>
<hr>
<br>
<center>
</center>
<br>
<form>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-12">
</div>
</div>
</div> </div>
</body>
</html>
ORDERDONE.PHP
<?php
$quantity = $_POST['quantity'];
$orderbill = $_POST['orderbill'];
87 Project Report for online Food Ordering System
$R_id= $_POST['rid'];
$C_id = $_POST['C_id'];
$productid = $_POST['productid'];
include('dbcon.php');
$conn->query($qr);
header('location:ordersucces.php');
?>
ORDERSUCCESS.PHP
<?php
include ('session.php');
$row = $query->fetch();
$orderid = $row['order_id'];
?>
</br>
DELETPRODUT.PHP
<?php
include('dbcon.php');
$get_id = $_GET['id'];
header('location:restauranthome.php');
?>
LOGOUT.PHP
<?php
session_unset();
session_destroy();{
89 Project Report for online Food Ordering System
$a=1;
if($a==1){
header('location:index.php');
else{
header('location:customerhome.php');
session_start();
?>
DBCON.PHP
<?php $conn = new PDO('mysql:host=localhost;dbname=onlinefood;', 'root', 'elite'); ?>
PAGEINDEX.PHP
<html>
<head>
</head>
<body>
<div class="container">
<div class="row">
</div>
<div class="col-md-1"></div>
<div class="col-md-10">
<div class="about-info">
<h2 class="heading">Idea</h2>
<p>It all started from a single idea. We wanted to create a place that would offer its
customers easy ordering and delivery of their favorite dishes.</p>
</div>
</div>
91 Project Report for online Food Ordering System
</div>
</div>
<div class="col-md-1"></div>
</div>
</div>
</section>
<!--/about-->
<section id="event">
<div class="container">
<div class="row">
</div>
</div>
<div class="content-holder">
<p>The work is always in a full swing in our kitchen! Everyone here is on fire when it
comes to cooking.</p>
<address>
<p>It is pretty simple to make a Online Food order in one of the best restaurants of
Italian cuisine.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<div class="container">
<div class="row">
<p class="header-p">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam
nonummy
</div>
<ul>
</ul>
</div>
<div id="menu-wrapper">
<span class="clearfix">
<span class="menu-price">$20.99</span>
</span>
</div>
94 Project Report for online Food Ordering System
<span class="clearfix">
<span class="menu-price">$20.99</span>
</span>
</div>
<span class="clearfix">
<span class="menu-price">$20.99</span>
</span>
</div>
<span class="clearfix">
<span class="menu-price">$20.99</span>
</span>
</div>
<span class="clearfix">
<span class="menu-price">$20.99</span>
</span>
</div>
<span class="clearfix">
<span class="menu-price">$20.99</span>
</span>
</div>
96 Project Report for online Food Ordering System
<span class="clearfix">
<span class="menu-price">$20.99</span>
</span>
</div>
<span class="clearfix">
<span class="menu-price">$20.99</span>
</span>
</div>
<span class="clearfix">
<span class="menu-price">$20.99</span>
</span>
</div>
<span class="clearfix">
<span class="menu-price">$20.99</span>
</span>
</div>
<span class="clearfix">
<span class="menu-price">$20.99</span>
</span>
</div>
98 Project Report for online Food Ordering System
<span class="clearfix">
<span class="menu-price">$20.99</span>
</span>
</div>
</div>
</div>
</div>
</section>
<div class="footer-top">
<div class="row">
<div class="widget">
<h4 class="widget-title">Delicious</h4>
<address>INDIA<br>
<div class="credits">
<!--
You can delete the links only if you purchased the pro version.
-->
</div>
</div>
</div>
</div>
</div>
</footer>
</body>
</html>
Future Scope :
There are many enthusiastic business people who
want to invest their money somewhere but do not
know which trade is the best to put their money that
would give them maximum profits. The food
industry over the years has grown remarkably and
has been growing at an astounding speed. Today
100 Project Report for online Food Ordering System
Bibliography :
The first online food order was a pizza from Pizza Hut in 1994.
This is a picture from a 2018 Pizza Hut pizza box, which describes the first online
food sale.
By the late 2000s, major pizza chains had created their own mobile applications
and started doing 20-30 percent of their business online. With increased
smartphone penetration, and the growth of both Uber and the sharing economy,
101 Project Report for online Food Ordering System
food delivery startups started to receive more attention. In 2010, Snapfinger, who
is a multi-restaurant ordering website, had a growth in their mobile food orders by
17 percent in one year.
Instacart was founded in 2012. In 2013, Seamless and Grubhub merged. Uber
Eats launched in Los Angeles, California in 2014. By 2015, online ordering began
overtaking phone ordering.
In 2015, China's online food ordering and delivery market grew from 0.15
billion Yuan to 44.25 billion Yuan.
As of September 2016, online delivery accounted for about 3 percent of the 61
billion U.S. restaurant transactions.
References :
1. "A Secular Shift To Online Food Ordering". TechCrunch. 2015-05-07.
2. Associated Press. "Papa John's hits online ordering milestone." 5 May 2008.
3. Soder, Chuck. "Online Ordering System Will Get Bigger Slice of Case Students'
Pie." Crane's Cleveland Business News. 14 May 2007.
4. The retailer, EY’s publication in consumer products and retail sector (Report).
EY. January–March 2015.
5. "Why Pizza Giants Want Customers to Click, Not Call, for Delivery".
Adage.com. Retrieved January 10, 2016.
6. "Delivery Start-Ups Are Back Like It's 1999". The New York Times. Retrieved
January 10, 2016.
7. "Online food delivery ordering is about to overtake phone ordering in the US -
Quartz". Qz.com. Retrieved January 10, 2016.
8. "Restaurant food delivery heating up". Columbian.com. Retrieved January 10,
2016.
9. "Peapod". Retrieved January 8, 2016.
10. "Pizza Hut Celebrates 20th Anniversary of World's First Online Purchase With
50 Percent Off Online Deal for Hut Lovers Members". Restaurantnews.com.
Retrieved January 8, 2016.