Food - Ordering Report
Food - Ordering Report
SYSTEM
By
Nagaraj Hegde USN: 4SU18IS020
Purushothama Karanth USN: 4SU18IS029
Shrinivasa Prasad USN:4SU18IS041
Skanda U G USN:4SU18IS042
IN THE DOMAIN
OF
WEB DEVELOPMENT
COMPANY PROFILE
e-Brain Softech Pvt. Ltd. Is a leading software development firm and training body, has been operational in
Karnataka with a dedicated panel of experts from IT industry. We provide services on Management, Education
technology and guidance to anyone looking on any areas of interest. We are a term of qualified, experienced
trainers & IT Professionals motivated to educate people by training & nurturing them to the best of their strengths.
About Domain
Web development is the work involved in developing a website for the internet (World wide web) or an
internet (a private network). Web development can range from developing a simple single static page of plain
text to complex web-based internet application (web apps), electronic businesses, and social network services.
A more comprehensive list of tasks to which web development commonly refers, may include web
engineering, web design, web content development,client liaison, client-side/server-side scripting, web server
and network security configuration.
Among web professionals, "web development" usually refers to the main non-design aspects of building
websites: writing markup and coding Web development may use content management system (CMS) to make
content changes easier and available with basic technical skills.
For larger organizations and businesses, web development teams can consist of hundreds of people (web
developers) and follow standard methods like Agile methodologies while developing websites. Smaller
organizations may only require a single permanent or contracting developer, or secondary assignment to related
job positions such as a graphic designer or information systems technician. Web development may be a
collaborative effort between departments rather than the domain of a designated department. There are three
kinds of web developer specialization: front-end developer, back-end developer, and full-stack developer.
Front-end developers are responsible for behavior and visuals that run in the user browser,
while back-end developers deal with the server
ABSTRACT
ONLINE FOOD ORDERING SYSTEM is a website designed primarily for use in the
food delivery industry. This system will allow hotels and restaurants to increase scope
of business by reducing the labor cost involved. The system also allows to quickly and
easily manage an online menu which customers can browse and use to place orders with
just few clicks. Restaurant employees then use these orders through an easy to navigate
graphical interface for efficient processing.Online ordering system that I am proposing
here, greatly simplifies the ordering process for both the customer and the restaurant.
System presents an interactive and up-to-date menu with all available options in an easy
to use manner. Customer can choose one or more items to place an order which will
land in the Cart. Customer can view all the order details in the cart before checking out.
At the end, customer gets order confirmation details. Once the order is placed it is
entered in the database and retrieved in pretty much real time. This allows Restaurant
Employees to quickly go through the orders as they are received and process all orders
efficiently and effectively with minimal delays and confusion.
TABLES OF CONTENTS
Chapter: Page No.
1. Introduction .................................................................................. 1
1.1 Problem statement and solutions ....................................... 2
1.2 Applications ....................................................................... 2
2. Literature Survey ........................................................................ 3
2.1 Introduction to DBMS ....................................................... 3
2.2 My SQL .............................................................................3
2.3 XAMPP ............................................................................ 3
2.4 PHP ................................................................................... 3
3. Methodology ............................................................................... 6
3.1 Proposed System .............................................................. 4
3.2 Scope ................................................................................ 4
3.3 Feasibility Study ................................................................ 4
4. Requirement Specifications ........................................................ 5
4.1 Software Requirement Specification .................................5
4.2 Hardware Requirement Specification................................ 5
5. System Design.............................................................................. 6
5.1 ER Diagram ........................................................................7
5.2 Schema Diagram................................................................ 8
6. Implementation .............................................................................9
6.1 Implementation of HTML Page ........................................ 9
6.2 Implementation of PHP Page ............................................ 9
6.3 Implementation of CSS .................................................... 10
6.4 Implementation of Query ................................................. 12
7. Results ......................................................................................... 14
8. Conclusion and Future Work ...................................................... 18
9. References ................................................................................... 19
Chapter 1
INTRODUCTION
Online food ordering is the process of ordering food from a website .The product can be
either ready-to-eat food (e.g., direct from a certified home-kitchen, restaurant) or food
that has not been specially prepared for direction consumption (e.g., vegetables direct
from a farm/garden, frozen meats. etc).The aim of developing Online Food Ordering
system project is to replace the traditional way of taking orders with computerized
system. Another important reason for developing this project is to prepare order
summary reports quickly and in correct format at any point of time when
required.Online Food Ordering System has a very lot of scope. This PHP project can be
used by any restaurants or fast foods for customers for keeping their order records. This
project is easy, fast and accurate. It requires less disk space. Online Food Ordering
System uses MYSQL Server as backend so there is not any chance of data loss or data
security. A customer can choose to have the food delivered or for pick-up. The process
consists of a customer choosing the restaurant of their choice, scanning the menu items,
choosing an item, and finally choosing for pick-up or delivery. Payment is then
administered by paying with a credit card or debit card through the app or website or in
cash at the restaurant when going to pickup. The website and app inform the customer
of the food quality, duration of food preparation, and when the food is ready for pick-up
or the amount of time it will take for delivery.
1
1.1 Problem statement and solution:
In the present system all work is done on paper. The order report, food category and
food are stored in register and at the end of the session the reports are generated. We are
not interested in generating report in the middle of the session or as per the requirement
because it takes more time in calculation. The existing system is not user friendly
because the retrieval of data is very slow and data is not maintained efficiently. We
require more calculations to generate the report so it is generated at the end of the
session. All calculations to generate report is done manually so there is greater chance
of errors.
• For placing any orders customers have to visit hotels to know about food items.
The online food ordering system sets up a food menu online and customers can
easily place the order as per they like.
• For more secured ordering separate accounts are maintained for each user by
providing them ID and a password.
• Going back to the miscommunication that often occurs when taking orders over
the phone, online ordering systems allow the customer to select and modify their
food order exactly the way they like it.
1.2 Applications:
• Makes the ordering process easier
• Efficient customer and order management
• Quick and easy order cancellation process
• Fast and quick order processing
• Cash on delivery service
• It’s just one click away
• It’s fast, easy and comfortable
• 24/7 service
• Increase in sale
• Easy management
• More efficiency
• Positive customer service
• Delivery at door-steps
• Affordable service
2
Chapter 2
LITERATURE SURVEY
2.2 MySQL
MySQL is free and open-source software under the terms of the GNU
General Public License, and is also available under a variety of proprietary licenses.
MySQL was created by a Swedish company, MySQL AB, founded by David
Axmark, Allan Larsson and Michael "Monty" Widenius. Original development of
MySQL by Widenius and Axmark began in 1994.The first version of MySQL
appeared on 23 May 1995. MySQL is offered under two different editions: the open
source MySQL Community Server and the proprietary Enterprise Server.
2.4 PHP:
PHP: Hypertext Pre-processor (or simply PHP) is a server-side scripting language
designed for Web development, but also used as a general-purpose programming
language. It was originally created by Rasmus Lerdorf in 1994 the PHP reference
implementation is now produced by The PHP Group. PHP originally stood for
Personal Home Page, but it now stands for the recursive acronym PHP: Hypertext
Pre-processor. PHP code may be embedded into HTML code, or it can be used in
combination with various web template systems, web content management systems,
and web frameworks PHP code is usually processed by a PHP interpreter
implemented as a module in the web server or as a common Gateway Interface
(CGI) executable. The web server combines the results of the interpreted and
executed PHP code, which may be any type of data, including images, with the
generated web page.
3
Chapter 3
METHODOLOGY
3.1 Proposed System:
The proposed system is designed and developed to solve the entire problem
statements. The objective is to overcome all the limitations and drawback of the existing
system. An online food ordering system is a wireless food ordering system using android
services that enables ease for the customers
3.2 Scope:
Our project has a big scope to do. The online food ordering system will allow
hotels and restaurants to increase scope of business by reducing the labour cost involved.
The system also allows to quickly and easily managing an online menu which customers
can browse and use to place orders with just few clicks.
4
Chapter 4
REQUIREMENT SPECIFICATIONS
Requirement specification is a specification of software requirements and
hardware requirements required to do the project.
5
Roles assigned to the different team members
6
Chapter 5
SYSTEM DESIGN
The restaurant owner or manager will have authority to log into the system and update the
menu as per the availability of the dishes. The manager will also advertise the various offers
of the day. Manager will dynamically add different categories of food. The restaurant owner
can update the order status into the system. The customer can also view the order ststus.
Customer can make payment online or by cash and enter feedback regarding the service.
Customer contact number will be saved in database for sending message about next offers.
7
Fig 5.1 E-R Diagram
8
Fig 5.2 Schema Diagram
9
Chapter 6
IMPLEMENTATION
<!DOCTYPE html>
<html>
<head>
<title Title of the page</title>
<style>I/CSS code to be written here</style>
<script>//JavaScript code to be written here</script>
</head>
</body>//html code to be written here</body>
</html>
PHP code can be embedded within an html file. PHP file will usually have the
extensionphp. The code below represents PHP code for user registration. The values
inserted arestored in database.
<?php
session_start();
error_reporting(0);
10
include('includes/dbconnection.php');
if(isset($_POST['login'])) {
$adminuser=$_POST['username'];
$password=md5($_POST['password']);
$query=mysqli_query($con,"select ID from tbladmin where
UserName='$adminuser' && Password='$password' ");
$ret=mysqli_fetch_array($query);
if($ret>0){
$_SESSION['vpmsaid']=$ret['ID'];
header('location:dashboard.php');
}
else{
$msg="Invalid Details.";
}
}
?/
#weatherWidget .currentDesc {
color: #ffffff!important;
.traffic-chart {
min-height: 335px;
11
#flotPie1 {
height: 150px;
#flotPie1 td {
Padding:3px;
#flotPie1 table {
top: 20px!important;
right:-10px!important;
}
.chart-container {
padding-top: 10px;
padding-bottom: 10px;
#flotLine5 {
height: 105px;
#flotBarChart {
head: 150px;
#cellPaiChart {
height: 160px;
</style>
12
6.4 Implementation of Query:
Media Query is CSS technique introduced in CSS3. It uses @media rule to include
ablock of CSS properties only if certain condition is true. It is used to achieve ResponsiveWeb
Design.The code below represents one of media queries used in the implementation of
webpage.
//Dashboard
if(isset($_POST['submit']))
$parkingnumber=mt_rand(100000000, 999999999);
$catename=$_POST['catename'];
$vehcomp=$_POST['vehcomp'];
$vehreno=$_POST['vehreno'];
$ownername=$_POST['ownername'];
$ownercontno=$_POST['ownercontno'];
$enteringtime=$_POST['enteringtime'];
//Change Password
if(isset($_POST['submit']))
$adminid=$_SESSION['vpmsaid'];
$cpassword=md5($_POST['currentpassword']);
$newpassword=md5($_POST['newpassword']);
and Password='$cpassword'");
$row=mysqli_fetch_array($query);
if($row>0){
13
$ret=mysqli_query($con,"updatetbladmin set Password='$newpassword'
where ID='$adminid'");
} else {
14
Chapter 7
RESULTS
Results basically refer to any particular output that comes as a result of the
completion of the activities that have been performed as part of the project or a
particular project component.
Fig 7.1
15
7.2 Admin Login :
Fig.:7.2
Fig.:7.3
16
7.4 Manage category:
Fig.:7.4
Fig.:7.5
17
7.6 Dashboard:
Fig.:7.6
18
Chapter 8
• Should allow Computer Science students to browse through the code and
application.
• Sould allow users to save items to the cart and view detailed information about the
orders.
• Should allow the user to see Success message after placing an order.
19
Chapter 9
REFERENCES
1. http://getbootstrap.com/
3. https://www.youtube.com/watch?v=oepmLGQP1m4&list=PLUoqTnNH-
2Xz_BUrjcahKWDhPcUj-FTOt
4. http://www.javazoom.net/jzservlets/uploadbean/uploadbean.html
6. https://docs.oracle.com/cd/E24628_01/server.121/e41484.pdf
7. https://www.dcc.fc.up.pt/~zp/aulas/0405/es/geral/bibliografia/O'Reilly%20
- %20JavaServer%20Pages_2nd%20Edition.pdf
20
21