0% found this document useful (0 votes)
41 views59 pages

Superstore 2

The document provides an introduction to the technologies used in a project for an Indian retail store called Super Store. It discusses the backend technologies of PHP, MySQL, and the frontend technologies of HTML, CSS. It then describes the database design for the project which includes tables for admin, distributors, sales, stock, stores, store orders, and time. The backend conceptual and logical database designs are also covered using ER diagrams. The frontend design details the use of HTML for structure, CSS for presentation, and JavaScript for behavior.

Uploaded by

Moosa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views59 pages

Superstore 2

The document provides an introduction to the technologies used in a project for an Indian retail store called Super Store. It discusses the backend technologies of PHP, MySQL, and the frontend technologies of HTML, CSS. It then describes the database design for the project which includes tables for admin, distributors, sales, stock, stores, store orders, and time. The backend conceptual and logical database designs are also covered using ER diagrams. The frontend design details the use of HTML for structure, CSS for presentation, and JavaScript for behavior.

Uploaded by

Moosa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 59

CHAPTER-1

1.INTRODUCTION
The two main sections: Backend: codes that are written in Python, PHP, ASP.Net to name but a
few by the developer. And Frontend which is markup showed by clients or users browsers, and
for doing this we should use HTML(Hyper Text Markup Language), it just shows some elements
for users and doesn't run any functions. When you go to a specific URL, your request is sent to
your desired server and it'll render for your HTML of the site, in fact, the server runs any server-
side functions.
The Front-End used in this project is HTML along with the CSS language.
HTML is the standard markup language for creating Web pages.
• HTML stands for Hyper Text Markup Language
• HTML describes the structure of Web pages using markup
• HTML elements are the building blocks of HTML pages
• HTML elements are represented by tags
• HTML tags label pieces of content such as "heading", "paragraph", "table", and so on
• Browsers do not display the HTML tags, but use them to render the content of the page

1.1 Advantages of HTML:


1. The first advantage it is widely used. 2. Every browser supports HTML language. 3. Easy to
learn and use. 4. It is by default in every window so you don't need to purchase extra software.
5.You can integrate HTML with CSS, JavaScript, php etc.
The back-end database used in this project is MySQL
It is a language used to interrogate and process data in a relational database. Originally developed
by IBM for its mainframes, SQL commands can be used to interactively work with a database or
can be embedded within a script or programming language as an interface to a database.
Programming extensions to SQL have turned it into a full-blown database programming
language, and all major database management systems (DBMSs) support it. ANSI standardized
SQL.
But most DBMSs have some proprietary enhancement, which if used, makes SQL non-standard.
Moving an application from one SQL database to another sometimes requires tweaking, the age-
old problem in this business!
Advantages of MySQL:

1.SQL Queries can be used to retrieve large amounts of records from a database quickly.
2.SQL is used to view the data without storing the data into the object
3.SQL joins two or more tables and show it as one object to user
4.SQL databases use long-established standard, which is being adopted by
ANSI & ISO. Non-SQL databases do not adhere to any clear standard.
5.Using standard SQL, it is easier to manage database systems without having to write substantial
amount of code.

About the Project:


Super store is an Indian retail store that operates as a chain of hypermarkets.
It is one of the oldest and largest hypermarket chain of India, housing about 150+ stores over 60
cities and towns of the country. It has wide range of categories such as Groceries, Clothing &
Fashion, Furniture, Electronics,
Office Supplies, Cosmetics, Kitchen & Dining utilities and many more

Main features are:


1. Sales Management
2. Revenue Analytics
3. Inventory Management
4. Shipment Management
5. Category wise Analytics
6. Advance Records Searching
7. Advance Reports

Objectives:
1. Maintains the details of Sales by Store/Region/State
2. Profits/Sales Analytics
3. Details of Store i.e. No's,Region,Address
4. List of orders which have not been Delivered
5. List of payment paid or pending to the Distributors
6. Profit calculation by date/month/season
7. Maintains the details of product stock.
8. Track Shipment of an Store Order
9. The stock that is to buy if quantity goes less than a particular amount and
Profit calculation for a month
CHAPTER-2
DESIGN

Project content:
2.Design
2.1 data flow diagram and ER diagram.
2.2 Database Design.
2.3 Fonts or pages.
DATA FLOW DIAGRAM:
Data flow diagram are a way of displaying how data flows in a system and how displaying is
made to control events. To illustrate this, Symbols are used. They are connected together to
show that what happens to data and where it goes.
System flow chart is the graphically representation of the flow of the data in the system, and
represents the process of the system.
They are the sources and destinations of information entering and leaving the system. They
might be an outside an organization or persons, A computer system or a business system.
They are also known as terminators, sources and sinks or actors. They are typically drawn on
the edges of the diagram.
Symbols and notations of DFD’s:

Symbols description
Process: Single process:
A circle is used to represent the entire
system.

Data flow: Data flow: An arrow is used to represent


the flow of data between the process and
external entities.

External: External entity:


A square or rectangle represents any
person or organization that sends data or
receives data from the system.

Data store: Data store:


An open rectangle represents the location
where data is stored it could be a filling
cabinet hard disk.
Entity relationship diagram :

An entity relationship diagram also called entity relationship model, is graphically


representation of entities and their relationships to each other, typically used in computing
in regard to the organization of data within database or information systems.

An entity relationship diagram is a specialized graphic that illustrate the relationship


between entities in a database also known as E-R diagram ERD.

E-R diagrams represent the schemas rather than the instances. This is more use full because
a database schema changes rarely. Where as the extension changes frequently. In addition,
the schema is usually easier to display then the extension of a database.

Elements of ER diagram :
1. Entity:
an entity be a people, place or object that is relevant to given system for example: a school
system any include student, teachers, major courses, subjects, fees and other items entities
are represented in ER diagrams by rectangle and named using singular nouns.

2. weak entity:
A weak entity is an entity that depends on the existence of another entity. In more technical
term it can defined as an entity that cannot be identified by its own attributes. It uses a
foreign key combined like order items is good example for this. The order item will be
meaningless without an order so it depends on the existence of order

3.Attributes:
An attribute is a property. Trait or characteristics of an entity, relationship or another
attribute. For example: the attribute inventory item name is an attribute of the entity inventory
item. An entity can have as many attributes as necessary. Meanwhile attributes can
also have their own specific attribute. For example, the attribute “customer address” can
have the attribute number, street, city, and state these are called composite attributes. Note
that some toplevel ER diagram do not show attributes for the sake of simplicity. In those that
do however attribute are represented by oval shapes.

4.Multivalued attribute:
If an attribute can have one or more value it is called an multivalued attributes. It is
important to note that this is to an attribute having its own attributes. For example: a
teacher entity can have multiple subject values.

5.Relationship:
A relationship describes how entities interact. For example: the entity “carpenter” may be
related to the entity “table” by the relationship “builds” or “makes”. relationships are
represented by diamond shapes and are labelled using ve.
Data base design:
Admin:
NAME TYPE
NAME VARCHAR(20)
PASSWORD VARCHAR(20)

Distributor:
NAME TYPE
Distributor id Int(11)
Name Varchar(20)
Password Varchar(20)
D type Varchar(20)
D loc Varchar(20)

Sales:
NAME TYPE
Sales id Int(11)
S date Varchar(20)
S cost Int(11)
S id Int(11)

Stock:
NAME TYPE
Cry Varchar(20)
Scry Varchar(20)
Quant Int(11)
Sid Int(11)
Store:
NAME TYPE
Sid Int(11)
S-pass Varchar(20)
S-branch name Varchar(20)
S-city Varchar(20)
S-region Varchar(20)
S-state Varchar(20)
s-pcode Int(11)

Str orders:
NAME TYPE
Sid Int(11)
Ord-id Int(11)
D-id Int(11)
Orderdate Timestamp
Pmy-stat Varchar(20)
Shp-mode Varchar(20)
Shp-stat Varchar(20)

Time:
NAME TYPE
Temp Varchar(20)
Tee timestamp
BACK-END DESIGN
Conceptual Database Design(ER-Diagram)
Logical Database Design(ER Mapping)

The entities are represented as tables.

The tables contain the attributes.

The attributes which are underlined are referred as primary keys.















FRONT-END DESIGN
Front-end web development details
• HTML provides the basic structure of sites, which is enhanced and modified by other
technologies like CSS and JavaScript.
• CSS is used to control presentation, formatting, and layout.
• JavaScript is used to control the behavior of different elements.

HTML
HTML is at the core of every web page, regardless the complexity of a site or number of
technologies involved. It's an essential skill for any web professional. It's the starting point for
anyone learning how to create content for the web. And, luckily for us, it's surprisingly easy to
learn.
CSS
CSS stands for Cascading Style Sheets. This programming language dictates how the HTML
elements of a website should actually appear on the frontend of the page.
JavaScript
JavaScript is a more complicated language than HTML or CSS, and it wasn't released in beta
form until 1995. Nowadays, JavaScript is supported by all modern web browsers and is used on
almost every site on the web for more powerful and complex functionality.
3.2.2 Connectivity (front end and Back end):
PHP is an amazing and popular language!
It is powerful enough to be at the core of the biggest blogging system on the web (WordPress)!,It
is deep enough to run the largest social network (Facebook)!,It is also easy enough to be a
beginner's first server side language!
• PHP is an acronym for "PHP: Hypertext Pre-processor"
• PHP is a widely-used, open source scripting language
• PHP scripts are executed on the server
• PHP is free to download and use
• PHP files can contain text, HTML, CSS, JavaScript, and PHP code
• PHP code are executed on the server, and the result is returned to the browser as plain HTML
• With PHP you are not limited to output HTML. You can output images, PDF files, and even
Flash movies. You can also output any text, such as XHTML and XML.
Data flow diagram:
Zero level data flow diagram:

login

Super store
sales Admin login
Distributor login management

Store login
Data flow diagram level 2 :

Sales report
Distributor login

home Store details

Admin
login

home

Distributor
Login login
profile

orders
Store login

stock
Store orders

home
Sales report

Profile

Chapter-3

Requirements:
Project content:
3.Requirements
3.1 minimum hardware requirements
3.2 software notes on [frontend and backend]

3.1 Requirement specification:


Hardware specification:
 processor: intel i3 RAM: 8gb
 SSD: 512 GB
 Screen resolution: 600*800

Software specification:
 platform: VS code editor.
 Server language: PHP.
 Front end: html, CSS.
 Back end: PHP, Mysql [database]
 Server: XAMP.

3.2 software (notes on front end and back end)


 Front end:
 HTML: (Hypertext markup language): HTML is an acronym which stands for
hypertext markup language and web pages and web applications. Lets see what is
meant by hypertext markup language and web page.

 HYPER TEXT: hyper text simply means “text within text.” A text has a link within it, is
a hypertext. Whenever you click on a link which brings you to a webpage, you have
clicked on a hypertext. Hypertext is way to link to or more webpages (HTML
DOCUMENT) with each other.

 MARKUP LANGUAGE: a markup language is a computer language that is used to


apply layout and formatting conventions to a text document. Markup language
makes text more interactive and dynamic it can turn text into images, tables, links,
etc.

 WEB PAGE: A web page is a document which is commonly written in html and
translated by a web browser. A webpage can be identified by entering an URL. A web
page can be of the static or dynamic type. With the help of html only, we can create
static web pages.

 CSS (CASCADING STYLE SHEETS)

 CSS stands for cascading style sheets.

 CSS is used to design HTML tags.

 CSS is a widely used language on the web.

 HTML, CSS and java script are used for the web designing. It helps the web
designers to apply style on HTML tags.

BACKEND:
 PHP (short for hypertext pre-processor) is the most widely used open source and
general purpose sever side scripting language used mainly in web development to
create dynamic website and application. It was developed in 1994 by rasmusl erdorf.
A survey by W3Tech shows that almost 79% of the website in their data are
developed using PHP, it is not only used to build the web apps of many tech giants
like facebook but it also used to build many CMS like word press, Drupal, shopisy,
woocommerce etc.
 PHP runs on different platform
 PHP is compatible with almost all serve used today.
 PHP is free to download from the official PHP resource.
 PHP is a light programming code.

 Mysql:
MySQL is a Relational Database Management System (RDMS) that runs as never providing
multiuser access to a number of databases, it named after developer Michael widenius’
daughter

 Reason behind choosing MySQL for database as follows:

 MySQL is an extensible, opensource database engine.


 MySQL is very secure to use.
 MySQL is platform independent.

 XAMPP SERVER:
XAMPP is an acronym that stands for windows, Apache MySQL, and PHP, it’s a software stack
which means installing WAMP installs Apache, MySQL, and PHP ON YOUR OPERATING
SYSTEM (windows in the case of WAMP). Even though you can install them separately, they
are usually bundled up, and for a good reason too.
Chapter-4

4.1-Code

Index.php:

<!DOCTYPE html>
<link rel="stylesheet" href="E:\proj\stylesheet\login1.css">
<title>Super Store Sales Management System</title>
<style>
.hero-image {
background-image: url("1.jpg");
background-color: #cccccc;
height: 500px;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
position: relative;
}

.hero-text {
text-align: center;
position: absolute;
top: 40%;
left: 50%;
transform: translate(-50%, -50%);
color: White;
}
</style>
<body>
<center>
<h1><b><u>Super Store Sales Management System</h1>
</center>
<div class="hero-image">
<div class="hero-text">

<h1 style="font-size:60px;color:green"><b>Welcome</h1>
<h2 style="color:blue;font-size:40px"><u><b>Login </h2>
<a href="admin/dlogin.php"> <button style="font-size:25px ;background-color:#BB8FCE">Admin
Login</button></a>
<a href="slogin.php"> <button style="font-size:25px ;background-color:#BB8FCE">Store
Login</button></a>
<a href="dist/dlogin.php"> <button style="font-size:25px ;background-
color:#BB8FCE">Distributor Login</button></a>
</div>
</div>
</body>
</html>

Admin login:

<?php
session_start(); // Starting Session
$error = ''; // Variable To Store Error Message
if (isset($_POST['submitq']))
{
if (empty($_POST['lspass']) || empty($_POST['lsid'])) {
$error = "Username or Password is invalid";
}
else
{
// Define $username and $password
$username = $_POST['lsid'];
$password = $_POST['lspass'];

// mysqli_connect() function opens a new connection to the MySQL server.


$conn = mysqli_connect("localhost", "root", "", "superstore");

// SQL query to fetch information of registerd users and finds user match.
$query = "SELECT ANAME,APASS From admin Where ANAME=? and APASS=? Limit 1";

// To protect MySQL injection for Security purpose


$stmt = $conn->prepare($query);
$stmt->bind_param("ss", $username, $password);
$stmt->execute();
$stmt->bind_result($username, $password);
$stmt->store_result();

if($stmt->fetch()) //fetching the contents of the row


{
$_SESSION['login_user'] = $username; // Initializing Session
header("location: dhome.php"); // Redirecting To Profile Page
}
else {
$error = "Username or Password is invalid";
}
mysqli_close($conn); // Closing Connection
}
}
?>

Admin home page:


<?php
include('login1.php'); // Includes Login Script
if(isset($_SESSION['login_user']))
{
header("location: dhome.php"); // Redirecting To Profile Page
}
?>
<!DOCTYPE html>
<html lang="en">

<head>

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">

<title>Admin Login</title>

<!-- Bootstrap core CSS -->


<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">

<!-- Custom fonts for this template -->


<link
href="https://fonts.googleapis.com/css?family=Raleway:100,100i,200,200i,300,300i,400,400i,50
0,500i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Lora:400,400i,700,700i"
rel="stylesheet">

<!-- Custom styles for this template -->


<link href="css/business-casual.min.css" rel="stylesheet">
<style>

.signup{
margin-left: 5%;
width: 40%;
background-color:#F0B27A;
border-color:#BDC3C7;
border-style: solid;
}
.login{

width: 40%;
background-color:#F0B27A;
border-color:#BDC3C7;
border-style: solid;
}
</style>
<link href="css/business-casual.min.css" rel="stylesheet">
</head>
<body>
<br><br><br><br><br> <h1 class="site-heading text-center text-white d-none d-lg-block">
<span class="site-heading-lower" style="color: White;">Administrator Login</span>
<br>
<span class="site-heading-upper text-primary mb-3"></span>
</h1>
<center>
<div class="login">
<br><center><h4>Login</h4></center>
<form action="" method="POST">
<table>
<tr>
<td>Admin ID:</td>
<td><input type="text" name="lsid" required></td>
</tr>
<tr>
<td>Password:</td>
<td><input type="password" name="lspass" required></td>
</tr>
<tr>
<td><input name="submitq" type="submit" value="Login"></td>
</tr>
<span><?php echo $error; ?></span>
</table>
</form>
<br>
</div> </center>
</b></u></h2></div></body>
</html>

Sales report:

<?php
include('session1.php');
if(!isset($_SESSION['login_user'])){
header("location: index.php"); // Redirecting To Home Page
}
?>
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">

<title>Administrator Login- Publix Mart</title>

<!-- Bootstrap core CSS -->


<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">

<!-- Custom fonts for this template -->


<link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet">
<link href="vendor/simple-line-icons/css/simple-line-icons.css" rel="stylesheet"
type="text/css">
<link
href="https://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic"
rel="stylesheet" type="text/css">

<!-- Custom styles for this template -->


<link href="css/landing-page.min.css" rel="stylesheet">
<style>
table {
border-collapse: collapse;
width: 70%;
}

th, td {
padding: 8px;
text-align: left;
border-bottom: 1px solid #ddd;
}
</style>
</head>

<body>

<!-- Navigation -->


<nav class="navbar navbar-light bg-light static-top">
<div class="container">
<a class="navbar-brand">Publix Mart</a>
<a href="dhome.php"><h5>Home</h5></a>
<a href="sales.php"><h5>Sales Report</h5></a>
<a href="distd.php"><h5>Distributor Details</h5></a>
<a href="stored.php"><h5>Store Details</h5></a>
</div>
</nav>
<center><div style="background-color:#F9E79F">
<center><h2 style="font-size:30px;color:Black">Administrator Dashboard</h2></center>
<b id="welcome" style="color:Black">Welcome : <i style="color:Black"><?php echo
$login_session;?> | </i></b>
<b id="welcome" style="color:Black">Store_ID: <i style="color:Black"><?php echo $CustID;
?></i></b>
<b id="logout"><a href="logout1.php">Log Out</a></b>
</div></center>
<br>

<!-- Masthead -->


<header class="masthead text-white text-center">
<div class="overlay"></div>
<div class="container">
<div class="row">
<div class="col-xl-9 mx-auto">
<h1 class="mb-5" style="font-size:40px">"Publix Mart"</h1>
<h1 class="mb-5" style="font-size:40px">Administrator Login</h1>
<center><div style="background-color:#85C1E9">
<center><h2 style="font-size:30px;color:Black">Sales Report</h2></center>

<!--Dropdwn sectn for sales by type-->


<form method="POST">
<center><table><h4>Sales by:
<select name="ssalescat" >
<option selected="" hidden="" value="None" >Category</option>
<option value="SBRANCHNAME">Branch</option>
<option value="SCITY">City</option>
<option value="SREGION">Region</option>
<option value="SSTATE">State</option>
<input type="submit" name="submitsales" value="Next">
</select></center>

<?php

if(isset($_POST['submitsales']))
{$catsv = ($_POST['ssalescat']);
$pl="Selected Category:";
echo '<h5>',$pl,$catsv,'</h5></form>';
$query1122 = "INSERT into t(temp) values ('$catsv')";
mysqli_query($conn, $query1122);
echo '<form method="POST"><h4>Choose:';
$query1112 = "SELECT Distinct $catsv FROM store";
$ses_sq2 = mysqli_query($conn,$query1112);
$select12= '<select name="select2112">
<option selected hidden>Select</option>';
while($rs12 = mysqli_fetch_assoc($ses_sq2))
{
$select12.='<option value="'.$rs12[$catsv].'">'.$rs12[$catsv].'</option>';
}
$select12.='</select><br><input name="submitcs2" type="submit"
value="Next"></h4></form></table>';
echo $select12,'</h4>';
}
if(isset($_POST['submitcs2']))
{
$query1112 = "SELECT temp FROM t where tee=(select max(tee) from t)";
$ses_sq2112 = mysqli_query($conn, $query1112);
$rs12 = mysqli_fetch_assoc($ses_sq2112);
$catsv=$rs12['temp'];

$catsv1 = ($_POST['select2112']);echo $catsv1;


echo '<center>
<table>
<tr>
<th>Sales ID</th>
<th>Sales Date</th>
<th>Sales Cost</th>
<th>Store_ID</th>
<th>Store Name</th>
<th>Store City</th>
</tr>';
echo $catsv,":",$catsv1;
$order59 ="select sa.*,st.SBRANCHNAME,st.SCITY from sales sa,store st where
sa.sid=st.sid";
$food9 = mysqli_query($conn, $order59);

while($oss55 = mysqli_fetch_assoc($food9))
{echo '<tr><td>'. $oss55["SALESID"]."</td><td>". $oss55["SDATE"] . "</td><td>".
$oss55["SCOST"].
"</td><td>".$oss55["SID"]."</td><td>".$oss55["SBRANCHNAME"]."</td><td>".
$oss55["SCITY"]."</td></tr></div>";
}
}
?>
</div>
</div>
</div>
</header>
</div></center>
</body>

</html>

DISTRIBUTOR TABLE AND


NEW DISTRIBUTOR REGISTRATION PANEL:

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">

<title>Administrator Login- Publix Mart</title>

<!-- Bootstrap core CSS -->


<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">

<!-- Custom fonts for this template -->


<link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet">
<link href="vendor/simple-line-icons/css/simple-line-icons.css" rel="stylesheet"
type="text/css">
<link
href="https://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic"
rel="stylesheet" type="text/css">

<!-- Custom styles for this template -->


<link href="css/landing-page.min.css" rel="stylesheet">
<style>
table {
border-collapse: collapse;
width: 70%;
}

th, td {
padding: 8px;
text-align: left;
border-bottom: 1px solid #ddd;
}
</style>
</head>

<body>

<!-- Navigation -->


<nav class="navbar navbar-light bg-light static-top">
<div class="container">
<a class="navbar-brand">Publix Mart</a>
<a href="dhome.php"><h5>Home</h5></a>
<a href="sales.php"><h5>Sales Report</h5></a>
<a href="distd.php"><h5>Distributor Details</h5></a>
<a href="stored.php"><h5>Store Details</h5></a>
</div>
</nav>
<center><div style="background-color:#F9E79F">
<center><h2 style="font-size:30px;color:Black">Administrator Dashboard</h2></center>
<b id="welcome" style="color:Black">Welcome : <i style="color:Black">555 | </i></b>
<b id="welcome" style="color:Black">Store_ID: <i style="color:Black">555</i></b>
<b id="logout"><a href="logout1.php">Log Out</a></b>
</div></center>
<br>
<center><div style="background-color:#85C1E9">
<center><h2 style="font-size:30px;color:Black">Distributor Details</h2></center>
</div></center>
</body>

<div style="background-color:#AAB7B8">
<center>
<div style="background-color:#AAB7B8">
<center>
<table>
<tr>
<th>Distributor ID</th>
<th>Distributor Name</th>
<th>Type</th>
<th>Warehouse Location</th>
</tr>

<tr><td>1000</td><td>Fritolay</td><td>Electrical</td><td>Delhi</td></tr><tr><td>1001</td>
<td>Pepsico</td><td>CoolDrinks</td><td>Hyd</td></tr><tr><td>1002</td><td>moosa</td><t
d>chips</td><td>nagpur</td></tr>
</table>
<br><br>
</center>
</div>
</div></center>
<br><br>
</center>

<div style="background-color:#AAB7B8">
<center>
<center><h2 style="font-size:30px;color:Black"> New Distributor</h2>
<p><div style="background-color:lightcyan">
<center>
</div>
<div class="signup">
<center>
<form action="custcmp.php" method="POST">
<table>
<tr>
<td>Distributor Name</td>
<td><input type="text" name="username" required></td>
</tr>
<tr>
<tr>
<td>Distributor Type</td>
<td><input type="text" name="age" required></td>
</tr>
<td>Distributor Location</td>
<td><input type="text" name="gender" required></td>
</tr>
<tr><td></td>
<td><input type="submit" value="Register New Distributor "></td>
</tr>
</center>
</table>
</form>
</center>
</div></p>
</center>
</div>
</html>

STORE MANAGEMENT PANEL:

<?php
include('session1.php');
if(!isset($_SESSION['login_user'])){
header("location: index.php"); // Redirecting To Home Page
}
?>
<!DOCTYPE html>
<html lang="en">

<head>

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Administrator Login- Publix Mart</title>
<!-- Bootstrap core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom fonts for this template -->
<link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet">
<link href="vendor/simple-line-icons/css/simple-line-icons.css" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic"
rel="stylesheet" type="text/css">
<!-- Custom styles for this template -->
<link href="css/landing-page.min.css" rel="stylesheet">
<style>
table {
border-collapse: collapse;
width: 70%;
}
th, td {
padding: 8px;
text-align: left;
border-bottom: 1px solid #ddd;
}
</style>
</head>

<body>

<!-- Navigation -->


<nav class="navbar navbar-light bg-light static-top">
<div class="container">
<a class="navbar-brand">Publix Mart</a>
<a href="dhome.php"><h5>Home</h5></a>
<a href="sales.php"><h5>Sales Report</h5></a>
<a href="distd.php"><h5>Distributor Details</h5></a>
<a href="stored.php"><h5>Store Details</h5></a>
</div>
</nav>
<center><div style="background-color:#F9E79F">
<center><h2 style="font-size:30px;color:Black">Administrator Dashboard</h2></center>
<b id="welcome" style="color:Black">Welcome : <i style="color:Black"><?php echo
$login_session;?> | </i></b>
<b id="welcome" style="color:Black">Store_ID: <i style="color:Black"><?php echo $CustID;
?></i></b>
<b id="logout"><a href="logout1.php">Log Out</a></b>
</div></center>
<br>
<center><div style="background-color:#85C1E9">
<center><h2 style="font-size:30px;color:Black">Store Details</h2></center>
</div></center>
</body>

<div style="background-color:#AAB7B8">
<center>
<div style="background-color:#AAB7B8">
<center>
<table>
<tr>
<th>Store ID</th>
<th>Branch Name</th>
<th>Branch City</th>
<th>Branch Region</th>
<th>Branch State</th>
<th>Pincode</th>
</tr>

<?php
$order59 ="SELECT * FROM store order by SID";
$food9 = mysqli_query($conn, $order59);
while($oss55 = mysqli_fetch_assoc($food9))
{echo '<tr><td>'. $oss55["SID"]."</td><td>". $oss55["SBRANCHNAME"] . "</td><td>".
$oss55["SCITY"]. "</td><td>".$oss55["SREGION"]."
</td><td>".$oss55["SSTATE"]."
</td><td>".$oss55["SPCODE"]."</td></tr>";
}
?>

</table>
<br><br>
</center>
</div>
</div></center>
<br><br>
</center>

<div style="background-color:#AAB7B8">
<center>
<center><h2 style="font-size:30px;color:Black"> Register New Branch </h2>
<p><div style="background-color:lightcyan">
<center>
</div>
<div class="signup">
<center>
<form action="custcmp1.php" method="POST">
<table>
<tr>
<td>Branch Name</td>
<td><input type="text" name="name" required></td>
</tr>
<tr>
<td>City</td>
<td><input type="text" name="city" required></td>
</tr>
<tr>
<td>Region</td>
<td><input type="text" name="region" required></td>
</tr>
<tr>
<td>State</td>
<td><input type="text" name="state" required></td>
</tr>
<tr>
<td>Pincode</td>
<td><input type="text" name="pincode" required></td>
</tr>
<tr><td></td>
<td><input type="submit" value="Register New Branch"></td>
</tr>
</center>
</table>
</form>
</center>
</div></p>
</center>
</div>
</html>

EDIT PROFILE PANEL:


<!DOCTYPE html>
<html lang="en">

<head>
<style>
table {
border-collapse: collapse;
width: 70%;
}

th, td {
padding: 8px;
text-align: left;
border-bottom: 1px solid #ddd;
}
</style>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">

<title>Store Login- Publix Mart</title>

<!-- Bootstrap core CSS -->


<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">

<!-- Custom fonts for this template -->


<link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet">
<link href="vendor/simple-line-icons/css/simple-line-icons.css" rel="stylesheet"
type="text/css">
<link
href="https://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic"
rel="stylesheet" type="text/css">

<!-- Custom styles for this template -->


<link href="css/landing-page.min.css" rel="stylesheet">

</head>

<body>

<!-- Navigation -->


<nav class="navbar navbar-light bg-light static-top">
<div class="container">
<a class="navbar-brand">Publix Mart</a>
<a href="shome.php"><h5>Home</h5></a>
<a href="sprofile.php"><h5>Profile</h5></a>
<a href="ssales.php"><h5>Sales Report</h5></a>
<a href="sorders.php"><h5>Store Orders</h5></a>
<a href="sstock.php"><h5>Stock</h5></a>
<!--<a class="btn btn-primary" href="#">Sign In</a>-->

</div>
</nav>
<center><div style="background-color:#F9E79F">
<center><h2 style="font-size:30px;color:Black">Store Dashboard</h2></center>
<b id="welcome" style="color:Black">Welcome : <i style="color:Black">Silk Point | </i></b>
<b id="welcome" style="color:Black">Store_ID: <i style="color:Black">101</i></b>
<b id="logout"><a href="logout.php">Log Out</a></b>
</div></center>
<br>
<center><div style="background-color:#85C1E9">
<center><h2 style="font-size:30px;color:Black">Store Edit Profile</h2></center>
</div></center>

<!-- Masthead -->


<header class="masthead text-white text-center">
<div class="overlay"></div>
<div class="container">
<div class="row">
<div class="col-xl-9 mx-auto">
<h1 class="mb-5" style="font-size:40px">"Store Login- Publix Mart"</h1>

<center> <div style="background-color:#AED6F1">

<form method="POST"; action="">

<table style="width:70%;color:Black">
<br>
<tr>
<td>Store ID:</td><td>101</td>
<td>Not Allowed</td>
</tr>
<tr>
<td>Branch Name:</td>
<td><input type="text" name="inputn" placeholder="Silk Point"></td>
<td><input type="submit" name="submitn"></td>
</tr>
<tr>
<td>Branch City:</td>
<td><input type="text" name="inputc" placeholder="Bidar"></td>
<td><input type="submit" name="submitc"></td>
</tr>
<tr>
<td>Branch Region:</td>
<td><input type="text" name="inputr" placeholder="North Karnataka"></td>
<td><input type="submit" name="submitr"></td>
</tr>
<tr>
<td>Branch State:</td>
<td><input type="text" name="inputs" placeholder="Karnataka"></td>
<td><input type="submit" name="submits"></td>
</tr>
<tr>
<td>PINCODE:</td>
<td><input type="text" name="inputp" placeholder="585401"></td>
<td><input type="submit" name="submitp"></td>
</tr>
<td>Password</td>
<td><input type="text" name="inputpa" placeholder="*******"</td>
<td><input type="submit" name="submitpa"></td>
</tr>
</table>
</form>
<br><br>
</div></center>
<br><br>
</div>
<br>
</div>
</div>
</div>
</header>
</body>
</html>

Sales report management panel:


<!DOCTYPE html>
<html lang="en">

<head>
<style>
table {
border-collapse: collapse;
width: 70%;
}

th, td {
padding: 8px;
text-align: left;
border-bottom: 1px solid #ddd;
}
</style>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">

<title>Store Login- Publix Mart</title>

<!-- Bootstrap core CSS -->


<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">

<!-- Custom fonts for this template -->


<link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet">
<link href="vendor/simple-line-icons/css/simple-line-icons.css" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic"
rel="stylesheet" type="text/css">
<!-- Custom styles for this template -->
<link href="css/landing-page.min.css" rel="stylesheet">

</head>

<body>

<!-- Navigation -->


<nav class="navbar navbar-light bg-light static-top">
<div class="container">
<a class="navbar-brand">Publix Mart</a>
<a href="shome.php"><h5>Home</h5></a>
<a href="sprofile.php"><h5>Profile</h5></a>
<a href="ssales.php"><h5>Sales Report</h5></a>
<a href="sorders.php"><h5>Store Orders</h5></a>
<a href="sstock.php"><h5>Stock</h5></a>
<!--<a class="btn btn-primary" href="#">Sign In</a>-->

</div>
</nav>
<center><div style="background-color:#F9E79F">
<center><h2 style="font-size:30px;color:Black">Store Dashboard</h2></center>
<b id="welcome" style="color:Black">Welcome : <i style="color:Black">Silk Point | </i></b>
<b id="welcome" style="color:Black">Store_ID: <i style="color:Black">101</i></b>
<b id="logout"><a href="logout.php">Log Out</a></b>
</div></center>
<br>
<center><div style="background-color:#85C1E9">
<center><h2 style="font-size:30px;color:Black">Store Sales Report </h2></center>
</div></center>

<!-- Masthead -->


<header class="masthead text-white text-center">
<div class="overlay"></div>
<div class="container">
<div class="row">
<div class="col-xl-9 mx-auto">
<h1 class="mb-5" style="font-size:40px">"Store Login- Publix Mart"</h1>
</div>

</div>
</div>
</header>
<br>
<center>
<div style="background-color:#AED6F1">
<center>
<h3>Sales Entries</h3>
<table>
<tr>
<th>Sales ID</th>
<th>Sales Date</th>
<th>Sales Cost</th>
</tr>
</table>
<br>
</div></center>
<br>
<div style="background-color:#AED6F1">
<center>
<center><h1 style="font-size:30px;color:Black">New Sales Entry</h1>
<p><div style="background-color:lightcyan">
<center>
</div>
<div class="signup">
<center>
<form action="custcmp.php" method="POST">
<table>
<tr>
<td>Sales Date(DD/MM/YYYY)</td>
<td><input type="text" name="username" required></td>
</tr>
<tr>
<td>Sales Cost</td>
<td><input type="text" name="email" required></td>
</tr>
<tr><td></td>
<td><input type="submit" value="Enter"></td>
</tr>
</center>
</table>
</form>
</center>
</div></p>
</center>
</div>
</body>
</html>
stock order to the distributor:
<!DOCTYPE html>
<html lang="en">

<head>
<style>
table {
border-collapse: collapse;
width: 70%;
}

th, td {
padding: 8px;
text-align: left;
border-bottom: 1px solid #ddd;
}
</style>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">

<title>Store Login- Publix Mart</title>

<!-- Bootstrap core CSS -->


<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">

<!-- Custom fonts for this template -->


<link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet">
<link href="vendor/simple-line-icons/css/simple-line-icons.css" rel="stylesheet"
type="text/css">
<link
href="https://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic"
rel="stylesheet" type="text/css">

<!-- Custom styles for this template -->


<link href="css/landing-page.min.css" rel="stylesheet">

</head>

<body>

<!-- Navigation -->


<nav class="navbar navbar-light bg-light static-top">
<div class="container">
<a class="navbar-brand">Publix Mart</a>
<a href="shome.php"><h5>Home</h5></a>
<a href="sprofile.php"><h5>Profile</h5></a>
<a href="ssales.php"><h5>Sales Report</h5></a>
<a href="sorders.php"><h5>Store Orders</h5></a>
<a href="sstock.php"><h5>Stock</h5></a>
<!--<a class="btn btn-primary" href="#">Sign In</a>-->
</div>
</nav>
<center><div style="background-color:#F9E79F">
<center><h2 style="font-size:30px;color:Black">Store Dashboard</h2></center>
<b id="welcome" style="color:Black">Welcome : <i style="color:Black">Silk Point | </i></b>
<b id="welcome" style="color:Black">Store_ID: <i style="color:Black">101</i></b>
<b id="logout"><a href="logout.php">Log Out</a></b>
</div></center>
<br>
<center><div style="background-color:#85C1E9">
<center><h2 style="font-size:30px;color:Black">Store Orders </h2></center>
</div></center>

<!-- Masthead -->


<header class="masthead text-white text-center">
<div class="overlay"></div>
<div class="container">
<div class="row">
<div class="col-xl-9 mx-auto">
<h1 class="mb-5" style="font-size:40px">"Store Login- Publix Mart"</h1>
</div>

</div>
</div>
</header>

<br>
<center>
<div style="background-color:#AED6F1">
<center>
<h3>Recent Orders</h3>
<table>
<tr>
<th>Order ID</th>
<th>Distributor ID</th>
<th>Order Date</th>
<th>Category</th>
<th>Payment Status</th>
<th>Shipment Mode</th>
<th>Shipment Status</th>
</tr>
</table>
<br>
</div></center>
<br>
<div style="background-color:#AED6F1">
<center>
<center><h1 style="font-size:30px;color:Black">Place New Order</h1>
<p><div style="background-color:lightcyan">
<center>
</div>
<div class="signup">
<center>
<form action="custcmp1.php" method="POST">
<table>
<tr>
<td>Distributor ID</td>
<td><h4>
<select name="select2">
<option selected hidden>Select</option><option
value="1000">Electrical</option><option value="1001">CoolDrinks</option><option
value="1002">chips</option></select></h4>
</td>
</tr>
<tr><td></td>
<td><input type="submit" value="Enter"></td>
</tr>
</center>
</table>
</form>
</center>
</div></p>
</center>
</div>
</body>
</html>

Stock details:
<!DOCTYPE html>
<html lang="en">

<head>
<style>
table {
border-collapse: collapse;
width: 70%;
}

th, td {
padding: 8px;
text-align: left;
border-bottom: 1px solid #ddd;
}
</style>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Store Login- Publix Mart</title>
<!-- Bootstrap core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom fonts for this template -->
<link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet">
<link href="vendor/simple-line-icons/css/simple-line-icons.css" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic"
rel="stylesheet" type="text/css">
<!-- Custom styles for this template -->
<link href="css/landing-page.min.css" rel="stylesheet">
</head>
<body>
<!-- Navigation -->
<nav class="navbar navbar-light bg-light static-top">
<div class="container">
<a class="navbar-brand">Publix Mart</a>
<a href="shome.php"><h5>Home</h5></a>
<a href="sprofile.php"><h5>Profile</h5></a>
<a href="ssales.php"><h5>Sales Report</h5></a>
<a href="sorders.php"><h5>Store Orders</h5></a>
<a href="sstock.php"><h5>Stock</h5></a>
<!--<a class="btn btn-primary" href="#">Sign In</a>-->

</div>
</nav>
<center><div style="background-color:#F9E79F">
<center><h2 style="font-size:30px;color:Black">Store Dashboard</h2></center>
<b id="welcome" style="color:Black">Welcome : <i style="color:Black">Silk Point | </i></b>
<b id="welcome" style="color:Black">Store_ID: <i style="color:Black">101</i></b>
<b id="logout"><a href="logout.php">Log Out</a></b>
</div></center>
<br>
<center><div style="background-color:#85C1E9">
<center><h2 style="font-size:30px;color:Black">Store Stock </h2></center>
</div></center>
<!-- Masthead -->
<header class="masthead text-white text-center">
<div class="overlay"></div>
<div class="container">
<div class="row">
<div class="col-xl-9 mx-auto">
<h1 class="mb-5" style="font-size:40px">"Store Login- Publix Mart"</h1>
</div>
</div>
</div>
</header>
<br>
<center>
<div style="background-color:#AED6F1">
<center>
<h3>Stock Details</h3>
<table>
<tr>
<th>Category </th>
<th>Sub-Category</th>
<th>Quantity Left</th>
</tr>
</table>
<br>
</div></center>
<br>
</body>
</html>

Distributor login:

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Store Login</title>

<!-- Bootstrap core CSS -->


<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">

<!-- Custom fonts for this template -->


<link
href="https://fonts.googleapis.com/css?family=Raleway:100,100i,200,200i,300,300i,400,400i,500,50
0i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Lora:400,400i,700,700i" rel="stylesheet">

<!-- Custom styles for this template -->


<link href="css/business-casual.min.css" rel="stylesheet">
<style>

.signup{
margin-left: 5%;
width: 40%;
background-color:#F0B27A;
border-color:#BDC3C7;
border-style: solid;
}
.login{

width: 40%;
background-color:#EDBB99;
border-color:#BDC3C7;
border-style: solid;
}
</style>
<link href="css/business-casual.min.css" rel="stylesheet">
</head>
<body>
<br><br><br><br><br> <h1 class="site-heading text-center text-white d-none d-lg-block">
<span class="site-heading-lower" style="color: White;">Distributor Login</span>
<br>
<span class="site-heading-upper text-primary mb-3"></span>
</h1>
<center>
<div class="login">
<br><center><h4>Login</h4></center>
<form action="" method="POST">
<table>
<tr>
<td>Distributor ID:</td>
<td><input type="text" name="lsid" required></td>
</tr>
<tr>
<td>Password:</td>
<td><input type="password" name="lspass" required></td>
</tr>
<tr>
<td><input name="submitq" type="submit" value="Login"></td>
</tr>
<span></span>
</table>
</form>
<br>
</div> </center>
</b></u></h2></div></body>
</html>
Distributor home:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Distributor Login- Publix Mart</title>
<!-- Bootstrap core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom fonts for this template -->
<link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet">
<link href="vendor/simple-line-icons/css/simple-line-icons.css" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic"
rel="stylesheet" type="text/css">
<!-- Custom styles for this template -->
<link href="css/landing-page.min.css" rel="stylesheet">
</head>
<body>
<!-- Navigation -->
<nav class="navbar navbar-light bg-light static-top">
<div class="container">
<a class="navbar-brand">Publix Mart</a>
<a href="dhome.php"><h5>Home</h5></a>
<a href="dprofile.php"><h5>Profile</h5></a>
<a href="dorders.php"><h5>Orders</h5></a>
<!--<a class="btn btn-primary" href="#">Sign In</a>-->
</div>
</nav>
<center><div style="background-color:#F9E79F">
<center><h2 style="font-size:30px;color:Black">Distributor Dashboard</h2></center>
<b id="welcome" style="color:Black">Welcome : <i style="color:Black">Fritolay | </i></b>
<b id="welcome" style="color:Black">Dist_ID: <i style="color:Black">1000</i></b>
<b id="logout"><a href="logout1.php">Log Out</a></b>
</div></center>
<br>
<center><div style="background-color:#85C1E9">
<center><h2 style="font-size:30px;color:Black">HOME</h2></center>
</div></center>
<!-- Masthead -->
<header class="masthead text-white text-center">
<div class="overlay"></div>
<div class="container">
<div class="row">
<div class="col-xl-9 mx-auto">
<h1 class="mb-5" style="font-size:40px">"Publix Mart"</h1>
<h1 class="mb-5" style="font-size:40px">Distributor Login</h1>
</div>
</div>
</div>
</header>
<section class="features-icons bg-light text-center">
</section>
</body>
</html>

Distributor order from various stores:

<!DOCTYPE html>
<html lang="en">
<head>
<style>
table {
border-collapse: collapse;
width: 70%;
}
th, td {
padding: 8px;
text-align: left;
border-bottom: 1px solid #ddd;
}
</style>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Distributor Login- Publix Mart</title>
<!-- Bootstrap core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom fonts for this template -->
<link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet">
<link href="vendor/simple-line-icons/css/simple-line-icons.css" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic"
rel="stylesheet" type="text/css">
<!-- Custom styles for this template -->
<link href="css/landing-page.min.css" rel="stylesheet">
</head>
<body>
<!-- Navigation -->
<nav class="navbar navbar-light bg-light static-top">
<div class="container">
<a class="navbar-brand">Publix Mart</a>
<a href="dhome.php"><h5>Home</h5></a>
<a href="dprofile.php"><h5>Profile</h5></a>
<a href="dorders.php"><h5>Orders</h5></a>
<!--<a class="btn btn-primary" href="#">Sign In</a>-->
</div>
</nav>
<center><div style="background-color:#F9E79F">
<center><h2 style="font-size:30px;color:Black">Distributor Dashboard</h2></center>
<b id="welcome" style="color:Black">Welcome : <i style="color:Black">Fritolay | </i></b>
<b id="welcome" style="color:Black">Store_ID: <i style="color:Black">1000</i></b>
<b id="logout"><a href="logout1.php">Log Out</a></b>
</div></center>
<br>
<center><div style="background-color:#85C1E9">
<center><h2 style="font-size:30px;color:Black">Orders</h2></center>
</div></center>
<br>
<center>
<div style="background-color:#AED6F1">
<center>
<h3>Recent Orders</h3>
<table>
<tr>
<th>Order ID</th>
<th>Store ID</th>
<th>Order Date</th>
<th>Category</th>
<th>Payment Status</th>
<th>Shipment Mode</th>
<th>Shipment Status</th>
<th>Order Details Update</th>
</tr>
<tr><td>500</td><td>100</td><td>2018-11-21
02:22:59</td><td>Electrical</td><td></td><td>Premium</td><td>Delivered</td><td><a
href="dordupdate.php">update</a></td></tr><tr><td>501</td><td>0</td><td>2018-11-21
02:44:45</td><td>Electrical</td><td>PAID</td><td>Normal</td><td>PENDING</td><td><a
href="dordupdate.php">update</a></td></tr><tr><td>502</td><td>100</td><td>2018-11-21
02:45:45</td><td>Electrical</td><td>PAID</td><td>Premium</td><td>DELIVERED</td><td><a
href="dordupdate.php">update</a></td></tr><tr><td>503</td><td>100</td><td>2018-11-21
02:50:11</td><td>Electrical</td><td>PAID</td><td>Normal</td><td>PENDING</td><td><a
href="dordupdate.php">update</a></td></tr><tr><td>504</td><td>100</td><td>2018-11-21
03:07:23</td><td>Electrical</td><td></td><td>Normal</td><td>PENDING</td><td><a
href="dordupdate.php">update</a></td></tr><tr><td>505</td><td>100</td><td>2018-11-21
03:09:46</td><td>Electrical</td><td></td><td>Normal</td><td>PENDING</td><td><a
href="dordupdate.php">update</a></td></tr><tr><td>506</td><td>100</td><td>2018-11-21
19:16:39</td><td>Electrical</td><td></td><td>Normal</td><td>PENDING</td><td><a
href="dordupdate.php">update</a></td></tr><tr><td>507</td><td>100</td><td>2018-11-22
15:17:29</td><td>Electrical</td><td></td><td>Normal</td><td>PENDING</td><td><a
href="dordupdate.php">update</a></td></tr><tr><td>508</td><td>100</td><td>2018-11-30
20:41:59</td><td>Electrical</td><td></td><td>Normal</td><td>PENDING</td><td><a
href="dordupdate.php">update</a></td></tr> </table>
<br>
</div></center>
<br>
</body>
</html>

Order management panel:

<!DOCTYPE html>
<html lang="en">
<head>
<style>
table {
border-collapse: collapse;
width: 70%;
}
th, td {
padding: 8px;
text-align: left;
border-bottom: 1px solid #ddd;
}
</style>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Distributor Login- Publix Mart</title>
<!-- Bootstrap core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom fonts for this template -->
<link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet">
<link href="vendor/simple-line-icons/css/simple-line-icons.css" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic"
rel="stylesheet" type="text/css">
<!-- Custom styles for this template -->
<link href="css/landing-page.min.css" rel="stylesheet">
</head>
<body>
<!-- Navigation -->
<nav class="navbar navbar-light bg-light static-top">
<div class="container">
<a class="navbar-brand">Publix Mart</a>
<a href="dhome.php"><h5>Home</h5></a>
<a href="dprofile.php"><h5>Profile</h5></a>
<a href="dorders.php"><h5>Orders</h5></a>
<!--<a class="btn btn-primary" href="#">Sign In</a>-->
</div>
</nav>
<center><div style="background-color:#F9E79F">
<center><h2 style="font-size:30px;color:Black">Distributor Dashboard</h2></center>
<b id="welcome" style="color:Black">Welcome : <i style="color:Black">Fritolay | </i></b>
<b id="welcome" style="color:Black">Store_ID: <i style="color:Black">1000</i></b>
<b id="logout"><a href="logout1.php">Log Out</a></b>
</div></center>
<br>
<center><div style="background-color:#85C1E9">
<center><h2 style="font-size:30px;color:Black">Update Order Status</h2></center>
</div></center>
<!--
<br><center> <div style="background-color:#AED6F1">

<form method="POST"; action="">

<table style="width:70%">
<tr>
<td>Order ID:</td><td><br />
<b>Warning</b>: Undefined variable $para1 in
<b>C:\xampp\htdocs\superstore\superstore\dist\dordupdate.php</b> on line <b>73</b><br />
</td>
<td>Not Allowed</td>
</tr>
<tr>
<td>Payment Status:</td>
<td><input type="text" name="inputn" placeholder="<br />
<b>Warning</b>: Undefined variable $para2 in
<b>C:\xampp\htdocs\superstore\superstore\dist\dordupdate.php</b> on line <b>78</b><br />
"></td>
<td><input type="submit" name="submitn"></td>
</tr>
<tr>
<td>Shipment Mode:</td>
<td><input type="text" name="inputpt" placeholder="<br />
<b>Warning</b>: Undefined variable $para3 in
<b>C:\xampp\htdocs\superstore\superstore\dist\dordupdate.php</b> on line <b>83</b><br />
"></td>
<td><input type="submit" name="submitpt"></td>
</tr>
<tr>
<td>Password</td>
<td><input type="text" name="inputpa" placeholder="*******"</td>
<td><input type="submit" name="submitpa"></td>
</tr>
</table>
</form></div></center>
<br><br>
-->
<div style="background-color:#85C1E9">
<h2 style="font-size:30px;color:Black"></h2>
<center>
<h4>Select:
<form method="POST" >
<select style="color:Black" name="select2"><option selected hidden value=""> Order_ID
</option><option value="500">500</option><option value="501">501</option><option
value="502">502</option><option value="503">503</option><option
value="504">504</option><option value="505">505</option><option
value="506">506</option><option value="507">507</option><option
value="508">508</option></select> <input style="color:Black" name="submitqp" type="submit"
value="Submit"></h4></form><form method="POST"; action="">

<table style="width:70%">
<tr>
<td>Order_ ID:</td><td></td>
<td>Not Allowed</td>
</tr>
<tr>
<td>Payment Status:</td>
<td><input type="text" name="inputn" placeholder=""></td>
<td><input type="submit" name="submitn"></td>
</tr>
<tr>
<td>Shipment Mode:</td>
<td><input type="text" name="inputpt" placeholder=""></td>
<td><input type="submit" name="submitpt"></td>
</tr>
<tr>
<td>Shipment Status:</td>
<td><input type="text" name="inputprt" placeholder=""></td>
<td><input type="submit" name="submitprt"></td>
</tr>
</table>
</form></div></center>
<br><br>
</center>
<br>
</div>
<br><br><br>
</body>
</html>
CHAPTER-5
Screen shots
5.1 HOME:

ADMIN LOGIN:
ADMIN HOMEPAGE

SALES REPORT:
DISTRIBUTOR TABLE AND
NEW DISTRIBUTOR REGISTRATION PANEL:

STORE MANAGEMENT PANEL:


STORE LOGIN:

STORE PANEL:
EDIT PROFILE PANEL:

SALES REPORT MANAGEMENT PANEL:


STORE ORDERS TO THE DISTRIBUTOR:

STOCK DETAILS:
DISTRIBUTOR LOGIN:

DISTRIBUTOR HOME:
DISTRIBUTOR ORDERS FROM VARIOUS STORES:

ORDER STATUS MANAGE PANEL:


5.2 MODULES
ADMINISTRATORS: Responsible for Centralised Store and Distributor Management

DISTRIBUTORS: Distributors respond to the store orders

STORE: Located at various parts of the country.

STORE MANAGER: Involved in Stock and Sales Management of an Store.

5.2 APPLICATIONS
This can be used at centralized management unit for superstores.
The Distributor Panel helps in managing store orders and updating the store order details like
Invoice,Shipments,Payment.
The Store Manager Panel has greater applications in managing his Store Stocks maintaing
customer interactions.
The Administrator Panel helps the management team of the superstores to maintain all the stores
overwide area at one central interface.
Chapter-6

CONCLUSION
While developing this project we have learnt a lot about HTML/CSS/JS/PHP/MySQL and
working with database management, we have also learnt how to make the application user-
friendly (easy to use and handle) by hiding the complicated parts of it from the users.
During the development process, we studied carefully and understood the criteria for making a
software more demanding, we also realized the importance of maintaining a minimal margin for
errors.

6.1 out come

6.2 future scope

6.1 outcome

Superstore is an Indian retail store that operates as a chain of hypermarkets. It is one


of India’s oldest and largest hypermarket chains, housing about 150+ stores in over
60 cities and towns of the country. It has a wide range of categories such as
Groceries, Clothing & Fashion, Furniture, Electronics, Office Supplies, Cosmetics,
Kitchen & Dining utilities, and many more.

6.2 future scope

 This supermarket management system has realized the transmission and control of large
goods, so as to facilitate the management and decision of sales, and reduce a big burden
for supermarkets and supermarket managers.

 It also can help to improve the work efficiency of supermarket. Its requirements is to
provide the basic information maintenance function of employees, memberships and
products so that managers can through the function to add, delete, and modify the basic
information of employees and the employees can through it to add, modify and delete
the basic information of memberships and goods

 Supermarket management system is very convenient for manage, input, output, and find
the data so as to make the messy supermarket data to specific, visualizations,
rationalization
Chapter 7:
Reference
Bibliography

Reference:
https://youtu.be/y9kvw_Xu1NQ

BIBLIOGRAPHY
It has been a matter of immense pleasure, honor and challenge to have this opportunity to take up
this project and complete it successfully.
We have obtained information from various resources to design and implement our project. We
have acquired most of the knowledge from the Internet.

You might also like