Mish Gifts, Adhu
Mish Gifts, Adhu
Mish Gifts, Adhu
1. INTRODUCTION
It may help collecting perfect management in detail. In a very short time, the collection will be
obvious, simple, and sensible. It will help a person to know the management of passed year perfectly
and vividly. It also helps in current all works relative to Online Gift Store. It will be also reduced the cost
of collecting the management & collection procedure will go on smoothly.
MODULES
Account module: This module includes the customer registration, login and details of the customer like
name, phone no, address etc.
Shopping: This module provides the details of the products like Name, Price, etc.
Payment Module: This module is used to view the payment for the booked event where the customer
will enter all the required information of credit/debit card.
Invoice Module : This module customer can view Customer ID, transaction ID, Date of delivery and
amount debited.
Feedback Module: In this module, the users can give their feedback, grievances and recommendations
about the system and the service provided
2. SYSTEM STUDY
2.1 EXISTING SYSTEM
Customer can also register online, and they can browse different types of gifts that are arranged in
different categories scientifically.
This process is done manually .The existing system is time consuming and it is very costly ,because
it involves a lot of paper work .To manually handle such a system was very difficult task. But now-
adays because of computerization this job is becoming easier.
• Time saving.
• User friendly.
• Admin is benefited.
A feasibility study is an analysis of how successfully a project can be completed, accounting for factors
that affect it such as economic, technological, legal and scheduling factors. Project managers use
feasibilitystudies to determine potential positive and negative outcomes of a project before investing a
considerableamount of time and money into it. A feasibility study tests the viability of an idea, a project
or even a newbusiness. The goal of a feasibility study is to place emphasis on potential problems that
could occur if a project is pursued and determines if, after all significant factors are considered, the
project should be pursued. Feasibility studies also allow a business to address where and how it will
operate, potential obstacles, competition and the Funding needed to get the business up and running.
This project "MISH GIFT HAMPERS” has undergone the following Feasibility study:
Economic Feasibility
Technical Feasibility
Behavioral Feasibility
Schedule Feasibility
Every project is feasible for given unlimited resources and infinitive time. Feasibility study is an evaluation of the
proposed system regarding its workability, impact on the organization, ability to meet
the user needs and effective use of resources. Thus, when a new application is proposed it normally goes
through a feasibility study before it is approved for development.
The feasibility analysis in this project has been discussed below based on the above-mentioned
components of feasibility.
1. Technical feasibility:
Technical feasibility focusses on the technology used. It means the computerized system is
technically feasible i.e., it doesn’t have any technical fault and work properly in the given environment.
The system is technically feasible if it provides the required output.
2. Economic feasibility:
Economic analysis is the most frequently used method for evaluating the effectiveness of the
computerized system. We analyst the computerized system is feasible as than the manual system
because it saves the money, time and manpower. It is also feasible according to cost benefit analysis.
3. Behavioral feasibility:
Behavioral feasibility is the analysis of behavior of the computerized system. In this we analysis that
the computerized system is working properly or not. If working, then it is communicating properly with
the environment or not. All the matters are analyzed, and a good computerized system is prepared.
4. Schedule feasibility:
Time evaluation is the most important consideration in the development of project. The time
schedule required for the development of the project is very important since more development time
affect machine time, cost and cause delaying the development of other systems.
To reduce the inconvenience that were found in the current system, it has been automated so as
to provide a user friendly guide that will help data entry. This also includes member registration and
comment.
Creating a database for containing the information present with them on the paper in the existing
system. The developed system will be a time saving application for the user. User or visitor can get a
broad view about the handset which they requires.
Time saving since all the details information is stored in this system, it enables in significance
reduction in the number of man -hours taken up for the storage and the retrieval of the information, as
it removes the large registers from the scene.
The proposed system would reduce the man-power, because a single trained person
(Administrator)can handle whole database.
3. SYSTEM DESIGN
In the design phase the architecture is established. This phase starts with the requirement document
delivered by the requirement phase and maps the requirements into architecture. The architecture defines
the components, their interfaces, and behaviors. The deliverable design document is the architecture.
The design document describes a plan to implement the requirements. This phase represents the how
phase. Details on computer programming languages and environments, machines, packages, application
architecture, distributed architecture layering, memory size, platform, algorithms, data structures, global
type definitions, interfaces, and manyother engineering details are established. The design may include
the usage of existing components. Analyzing the trade-offs of necessary complexity allows for many
things to remain simple which, in turn, will eventually lead toa higher quality product.
The architecture team also converts the typical scenarios into a test plan.
In our approach, the team, given a complete requirement document, must also indicate critical
priorities for the implementation team. A critical implementation priority leads to a task that has to be
done right. If it fails, the product fails. If it succeeds, the product might succeed. At the very least, the
confidence level of the team producing a successful product will increase. This will keep the
implementation team focused. Exactly how this information is conveyed is a skill based on experience
more than a science based on fundamental foundations.
System design is the process of defining the architecture components, modules, interfaces, and data
for a system to satisfy specified requirements. Systems design could be seen as the application of
systems theory to product development. There is some overlap with the disciplines of systems analysis,
systems architecture, and systems engineering.
If the broader topic of product development “blends the perspective of marketing, design, and
manufacturing into a single approach to product development," then design is the act of taking the
marketing information and creating the design of the product to be manufactured.
Systems design is therefore the Process of defining and developing systems to satisfy specified
requirements of the user.
Until the 1990s, systems design had a crucial and respected role in the data processing industry. In
the 1990s, standardization of hardware and software resulted in the ability to build modular systems.
The increasing importance of software running on generic platforms has enhanced the discipline of
software engineering.
Object-oriented analysis and design methods are becoming the most widely used methods for
computer systems design. The UML has become the standard language in object-oriented analysis and
design. It is widely used for modelling software systems and is increasingly used for high designing
non- software systems and organizations.
LOGICAL DESIGN
The logical design of a system pertains to an abstract representation of the data flows, inputs and
outputs of the system. This is often conducted via modelling, using an over-abstract (and sometimes
graphical) model of the actual system. In the context of systems, designs are included. Logical design
includes entity-relationship diagrams (ER diagrams).
PHYSICAL DESIGN
The physical design relates to the actual input and output processes of the system. This is explained
in terms of how data is input into a system, how it is verified /authenticated, how it is processed, and
how itis displayed.
In physical design, the following requirements about the system are decided.
1. Input requirement
2. Output requirements
3. Storage requirements
4. Processing requirements
Put another way, the physical portion of system design can generally be broken down into three sub- tasks:
2. Data Design
User Interface Design is concerned with how users add information to the system and with how the
system presents information back to them. It is concerned with how the data is represented and stored
within the system. Finally, Process Design is concerned with how data moves through the system, and
with how and where it is validated, secured and/or transformed as it flows into, through and out of the
system.
At the end of the system design phase, documentation describing the three sub-tasks is produced and
made available for use in the next phase. Physical design, in this context, does not refer to the tangible
physical design of an information system.
To use an analogy, a personal computer's physical design involves input via a keyboard, processing
with in the CPU, and output via a monitor, printer, etc. It would not concern the actual layout of the
tangible hardware, which for a PC would be a monitor, CPU, motherboard, hard drive, modems,
video/graphics cards, USB slots, etc. It involves a detailed design of a user and a product database
structure processor and control processor. The H/S personal specification is developed for the proposed
system.
An entity relationship diagram (ERD) shows the relationships of entity sets stored in a database. An
entity in this context is a component of data. In other words, ER diagrams illustrate the logical structure
of databases.
An entity relationship diagram is a means of visualizing how the information a system produces is
related. There are five main components of an ERD:
Entities, which are represented by rectangles. An entity is an object or concept about which
you want to store information.
Weak entity is an entity that must defined by a foreign key relationship with another entity as
cannot be uniquely identified by its own attributes alone.
19CS1H2147 MISH GIFT HAMPERS
Actions, which are represented by diamond shapes, show how two entities share information in the
database. In some cases, entities can be self-linked. For example, employees can supervise other
employees.
Relationship: The degree of a relationship is the number of entity types that participate in the
relationship.
Attributes, which are represented by ovals. A key attribute is the unique, distinguishing
characteristic of the entity. For example, an employee's social security number might be the employee’s
key attribute.
Multi-valued attribute can have more than one value. For example, an employee entity can
have multiple skill values.
Derived attribute is based on another attribute. For example, an employee's monthly salary
is based on the employee's annual salary.
Connecting lines, solid lines that connect attributes to show the relationships of entities in the
diagram.
Cardinality specifies how, instances of an entity relate to one instance of another entity.
Ordinarily is also to cardinality. While cardinality specifies the occurrences of a relationship,
ordinarily describes the relationship as either mandatory or optional. In other words, cardinality
specifies the maximum specifies the absolute minimum number of relationships.
3.1 ER-DIAGRAM
The Data Flow Diagrams (DFDs) are used for structure analysis and design. DFDs show the flow of
data from external entities into the system. DFDs also show how the data moves and are transformed
from one process to another, as well as its logical storage. The following symbols are used within DFDs.
A data flow diagram (DFD) is a graphical representation of the "flow" of data through an
information system, modelling its process aspects. A DFD is often used as a preliminary step to create
an overview of the system, which can later be elaborated. DFDs can also be used for the visualization of
data processing (structured design).
A DFD shows what kind of information will be input to and output from the system, where the data
will come from and go to, and where the data will be stored. It does not show information about the
timing of process or information about whether processes will operate in sequence or in parallel.
A logical DFD captures the data flows that are necessary for a system to operate. It describes the
processes that are undertaken, the data required and produced by each process, and the stores needed to
hold the data. On the other hand, a physical DFD shows how the system is implemented, either at the
moment (Current Physical DFD), or how the designer intends it to be in the future (Required Physical
DFD).
Thus, a Physical DFD may be used to describe the set of data items that appear on each piece of
paper that move around an office, and the fact that a particular set of pieces of paper are stored together
in a filing cabinet. It is quite possible that a Physical DFD will include references to data that are
duplicated, or redundant, and that the data stores, if implemented as a set of database tables, would
constitute an un- normalized (or de-normalized) relational database. In contrast, a Logical DFD attempts
to capture the data flow aspects of a system in a form that has neither redundancy nor duplication.
Source/Sink: Represented by rectangles in the diagram. Sources and Sinks are external entities which
are sources or destinations of data, respectively.
Process: Represented by circles in the diagram. Processes are responsible for manipulating the data.
They take data as input and output an altered version of the data.
Data Store: Represented by a segmented rectangle with an open end on the right. Data Stores are both
electronic and physical locations of data. Examples include databases, directories, files, and even filing
cabinets and stacks of paper.
Data Flow: Represented by a unidirectional arrow. Data Flows show how data is moved through the
System. Data Flows are labelled with a description of the data that is being passed through it.
A level-0 DFD is the most basic form of DFD. It aims to show how the entire system works
immediately. There is only one process in the system and all the data flows either into or out of this
process. Level-
0 DFD’s demonstrates the interactions between the process and external entities. They do not contain
Data Stores.
When drawing Level-0 DFD’s, we must first identify the process, all the external entities and all the
dataflows. We must also state any assumptions we make about the system. It is advised that we draw the
process in the middle of the page. We then draw our external entities in the corners and finally connect
our entities to our process with the data flows.
Level 0 DFD:
Level 1 DFD:
Level 1 DFD’s aim is to give an overview of the full system. They look at the system in more detail.
Major processes are broken down into sub-processes. Level 1 DFD’s also identifies data stores that are
used by the major processes. When constructing a Level 1 DFD we must start by examining the Context
Level DFD. We must break up the single process into its subprocesses. We must then pick out the data
stores from the text we are given and include them in our DFD. Like the Context Level DFD’s, all
entities, datastores and processes must be labelled. We must also state any assumptions made from the
text.
19CS1H2147 MISH GIFT HAMPERS
An activity diagram visually represents the series of actions or flow of control in a system similar to
a flowchart or data flow diagram. Activity diagrams are often used in business processing modelling.
They can also describe steps in a used case diagram. The activity diagram for Admin module and User
module of Mish Gift Hampers is given below.
USER
ADMIN
A Gantt chart is a type of bar chart, devised by Henry Gantt in the 1910s, that illustrates a project
schedule .Gantt charts illustrate the start and finish dates of the terminal elements and summary elements
of a project. Terminal elements and summary elements comprise the work breakdown structure of the
project .Modern Gantt charts also show the dependency (i.e., precedence network) relationships between
activities.
HISTORICAL DEVELOPMENT:
The first known tool of this type was developed in 1896 by Karol Adamiecki, who called it a
Harmon gram. Adamiecki did not publish his chart until 1931, however, and only in Polish, which
limited both its adoption and recognition of his authorship. The chart is named after Henry Gantt (1861–
1919), who designed his chart around the years 1910–1915. One of the first major applications of Gantt
charts was by the United States during World War I, at the instigation of General William Crozier in the
1980s, personal computers allowed widespread creation of complex and elaborate Gantt charts. The first
desktop applications were intended mainly for project managers and project schedulers. With the advent
of the Internet and increased collaboration over networks at the end of the 1990s, Gantt charts became a
common feature of web-based applications, including collaborative groupware.
Clarity:
One of the biggest benefits of a Gantt chart is the tool's ability to boil down multiple tasks and time
lines into a single document. Stakeholders throughout an organization can easily understand where
teams are in a process while grasping the ways in which independent elements come together toward
project completion.
Communication:
Teams can use Gantt charts to replace meetings and enhance other status updates. Simply clarifying chart
positions offer an easy, visual method to help team members understand task progress.
Motivation:
Some teams or team members become more effective when faced with a form of external
motivation. Gantt charts offer teams the ability to focus work at the front of a task timeline, or at the tail
end of a chart segment. Both types of team members can find Gantt charts meaningful as they plug their
own work habits into the overall project schedule.
Coordination:
For project managers and resource schedulers, the benefits of a Gantt chart include the ability to
sequence events and reduce the potential for overburdening team members. Some project managers even
use combinations of charts to break down projects into more manageable sets of tasks.
Creativity:
Sometimes, a lack of time or resources forces project managers and teams to find creative solutions.
Seeing how individual tasks intertwine on Gantt charts often encourages new partnerships and
collaborations that might not have evolved under traditional task assignment systems.
Time Management:
Most managers regard scheduling as one of the major benefits of Gantt charts in a creative
environment. Helping teams understand the overall impact of project delays can foster stronger
collaboration while encouraging better task organization.
Flexibility:
Whether you use Excel to generate Gantt charts or load tasks into a more precise chart generator, the
ability to issue new charts as your project evolves lets you react to unexpected changes in project scope
or timeline. While revising your project schedule too frequently can eliminate some of the other benefits
of Gantt charts, offering a realistic view Of a project can help team members recover from setbacks or
adjust to other changes.
Manage ability:
For project managers handling complex assignments, like software publishing or event planning, the
benefits of Gantt charts include externalizing assignments. By visualizing all the pieces of a project
puzzle, managers can make more focused, effective decisions about resources and timetables.
Efficiency:
Another one of the benefits of Gantt charts is the ability for team’s members to leverage each
other’s deadlines for maximum efficiency. For instance, while one team member wait son the outcome
of three
other tasks before starting a crucial piece of the assignment, he or she can perform other project tasks.
Visualizing resource usage during projects allows managers to make better use of people, places, and
things.
Accountability:
When project teams face major organizational change, documenting effort and outcomes becomes
crucial to career success. Using Gantt charts during critical projects allows both project managers and
participants to track team progress, highlighting both big wins and major failures during professional
review periods; team members who frequently exceed expectations can leverage this documentation into
larger raises or bonuses.
This technique's primary advantage is its good graphical overview that is easy to understand for nearly all
project participants and stakeholders. Its primary disadvantage is its limited applicability for many
projects, since projects are often more complex than can be effectively communicated with this chart.
An architectural model (in software) is a rich and rigorous diagram, created using available
standards, in which the primary concern is to illustrate a specific set of tradeoffs inherent in the structure
and design ofa system or ecosystem.
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="header-area">
<div class="container">
<div class="row">
<div class="col-md-8">
<div class="user-menu">
<ul>
<li><a href="http://[::1]/art/index.php/Welcome/login"><i class="fa fa-
user"></i> Login Or Register</a></li>
<!--<li><a href="#"><i class="fa fa-heart"></i> Wishlist</a></li>-->
</ul>
</div>
</div>
</div>
</div>
</div> <!-- End header area -->
<div class="site-branding-area">
<div class="container">
<div class="row">
<div class="col-sm-6">
<div class="logo">
<h1><a href="http://[::1]/art/index.php/Welcome">Art<span> Gallery</span></a></h1>
</div>
</div>
</div>-->
</div>
</div>
</div> <!-- End site branding area -->
</ul>
<!--<li><a href="single-product.php">Single product</a></li>
<li><a href="cart.php">Cart</a></li>
<li><a href="checkout.php">Checkout</a></li>
<li><a href="#">Category</a></li>
<li><a href="#">Others</a></li>
<li><a href="#">Contact</a></li>-->
<!--<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-
haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
<ul class="dropdown-menu " style="list-style-type: none;">
<li><a class="" href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
</ul>
</li>-->
</div>
</div>
</div>
</div></div> <!-- End mainmenu area -->
<div class="slider-area">
<div class="zigzag-bottom"></div>
<div id="slide-list" class="carousel carousel-fade slide" data-ride="carousel">
<div class="slide-bulletz">
<div class="container">
<div class="row">
<div class="col-md-12">
<ol class="carousel-indicators slide-indicators">
<li data-target="#slide-list" data-slide-to="0" class="active"></li>
<li data-target="#slide-list" data-slide-to="1" class=""></li>
<li data-target="#slide-list" data-slide-to="2" class=""></li>
</ol>
</div>
</div>
</div>
</div>
</div>
<div class="item">
<div class="single-slide">
<div class="slide-bg slide-two"></div>
<div class="slide-text-wrapper">
<div class="slide-text">
<div class="container">
<div class="row">
<div class="col-md-6 col-md-offset-6">
<div class="slide-content">
<h2>We are great</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Saepe
aspernatur, dolorum harum molestias tempora deserunt voluptas possimus quos eveniet, vitae
voluptatem accusantium atque deleniti inventore. Enim quam placeat expedita! Quibusdam!</p>
<a href="" class="readmore">Learn more</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="item">
<div class="single-slide">
<div class="slide-bg slide-three"></div>
<div class="slide-text-wrapper">
<div class="slide-text">
<div class="container">
<div class="row">
<div class="col-md-6 col-md-offset-6">
<div class="slide-content">
<h2>We are superb</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolores,
eius?</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Deleniti
voluptates necessitatibus dicta recusandae quae amet nobis sapiente explicabo voluptatibus rerum nihil
quas saepe, tempore error odio quam obcaecati suscipit sequi.</p>
<a href="" class="readmore">Learn more</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div> <!-- End slider area -->
<div class="promo-area">
<div class="zigzag-bottom"></div>
<div class="container">
<div class="row">
<div class="col-md-3 col-sm-6">
<div class="single-promo">
<i class="fa fa-refresh"></i>
<p>7 Days return</p>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="single-promo">
<i class="fa fa-flash"></i>
<p>Free Support</p>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="single-promo">
<i class="fa fa-lock"></i>
<p>Secure payments</p>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="single-promo">
<i class="fa fa-gift"></i>
<p>New products Weekly</p>
</div>
</div>
</div>
</div>
</div> <!-- End promo area -->
LOGIN:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Mish gifts</title>
<link rel="stylesheet" href="lord.css">
</head>
<body>
<div>
<div class="full-page">
<div class="navbar">
<div>
<a href='cuslog.php'>Mish Gifts</a>
</div>
<nav>
<ul id='MenuItems'>
<li><a href='#'>Home</a></li>
<li><a href='about.php'>About Us</a></li>
<li><a href='contact.php'>Contact</a></li>
<li><button class='loginbtn' onclick="document.getElementById('login-form').style.display='block'"
style="width:auto;">Login</button></li>
</ul>
</nav>
</div>
<div id='login-form'class='login-page'>
<div class="form-box">
<div class='button-box'>
<div id='btn'></div>
<button type='button'onclick='login()'class='toggle-btn'>Log In</button>
<button type='button'onclick='register()'class='toggle-btn'>Register</button>
</div>
<form action='login.php' method='POST' id='login' class='input-group-login'>
<input type='text'class='input-field'placeholder='Email Id' name='email' pattern ="\w+([-+.']\w+)@\w+
([-.]\w+)\.\w+([-.]\w+)*"required >
<input type='password'class='input-field'placeholder='Enter Password' name='pass'
required><br><br><br><br>
<a href="#forgot-pw" class="forgot-pw"><span>Forgot Password?</span></a>
</form>
</body>
</html>
PRODUCT:
DIY GIFTS :
<?php
session_start();
require_once ('C:\xampp\htdocs\myproject\db\createdb.php');
quire_once ('C:\xampp\htdocs\myproject\db\component.php');
19CS1H2147 MISH GIFT HAMPERS
<div class="container">
" crossorigin="anonymous"></script>
19CS1H2147 MISH GIFT HAMPERS
<?php
session_start();
require_once ('C:\xampp\htdocs\myproject\db\component1.php');
require_once ('C:\xampp\htdocs\myproject\db\createdbg.php');
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-
scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Shopping Cart</title>
$result = $database1->getData();
while ($row = mysqli_fetch_assoc($result)){
component1($row['product_name'], $row['product_price'], $row['product_image'], $row['id'],
$row['product_quantity']);
}
?>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-
q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-
UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-
JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
</body>
</html>
ORDER:
<?php
session_start();
require_once ("db\createdb.php");
require_once ("db\component.php");
require_once ("db\createdbg.php");
require_once ("db\component1.php");
<?php
require_once ("db\createdbh.php");
require_once ("db\component2.php");
19CS1H2147 MISH GIFT HAMPERS
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-
scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Cart</title>
<?php
require_once ('db/header.php');
?>
<div class="container">
<div class="row">
<div class="col-lg-12 text-center border rounded bg-dark my-5">
<h2 class="text-white">My Cart</h2>
</div>
<div class="col-lg-8">
<table class="table">
<thead class="text-center">
19CS1H2147 MISH GIFT HAMPERS
<tr>
<th scope="col">Serial No.</th>
<th scope="col">Product name</th>
<th scope="col">Price</th>
<th scope="col">Quantity</th>
<th scopr="col">Total</th>
</tr>
</thead>
<tbody class="text-center">
<?php
if(isset($_SESSION['cart']))
{
foreach($_SESSION['cart']as $key => $value)
{
$sr=$key+1;
echo"
<tr>
<td>$sr</td>
<td>$value[product_name]</td>
<td>$value[product_price]<input type='hidden' class='iprice' value='$value[product_price]'></td>
<td>
</td>
<td class='itotal'></td>
<td>
<form action='manage_cart.php' method='POST'>
<button name='remove' class='btn btn-sm btn-outline-danger'>REMOVE</button>
<input type='hidden' name='product_name' value='$value[product_name]'>
</form>
</td>
</tr>
";
}
}
?>
</tbody>
19CS1H2147 MISH GIFT HAMPERS
</table>
</div>
<div class="col-lg-4">
<div class="border bg-light rounded p-4">
<h5 class="text-danger"> No Cash On Delivery</h5>
<h5> Delivery Charges : </h5>
<h6 class="text-success">FREE</h6>
<form action="purchase.php" method="post">
<h5>Grand Total:</h4>
<h5 class="text-right" id="gtotal"></h5><br>
<h6>Contact Number:</h6>
<Input type ="text" name="no" pattern= "[7-9]{1}[0-9]{9}"required><br><br>
<h6>Delivery Address:</h6>
<textarea rows = "5" cols = "40" name = "address" required>
</textarea><br><br>
<button type="submit" name="place" class="btn btn-primary" id="btn">Confirm Order</button>
</div>
</div></form>
</div>
</div>
<script type="text/javascript">
var gt=0;
var iprice = document.getElementsByClassName('iprice');
var iqty = document.getElementsByClassName('iqty');
var itotal = document.getElementsByClassName('itotal');
var gtotal = document.getElementById('gtotal');
function subTotal()
{
gt=0;
for(i=0;i<iprice.length;i++)
{
itotal[i].innerText=(iprice[i].value)*(iqty[i].value);
gt=gt+(iprice[i].value)*(iqty[i].value);
19CS1H2147 MISH GIFT HAMPERS
}
gtotal.innerText = gt;
document.getElementById('cal').value=gt;
subTotal();
</script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-
UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-
JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
</body>
</html>
<?php
session_start();
$mysqli=mysqli_connect("localhost","root","","giftshop");
$selectquery="SELECT custid FROM reg ORDER BY custid DESC LIMIT 1";
$result = $mysqli->query($selectquery);
$row = $result->fetch_assoc();
$row1 = $result1->fetch_assoc();
?>
<!DOCTYPE html>
<html lang="en">
19CS1H2147 MISH GIFT HAMPERS
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Invoice</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw
1T" crossorigin="anonymous">
</head>
<body>
<div class="container my-3">
<h1 class="text-success">Payment Successfull!!</h1>
</div>
<div class="col-md-4 offset-md-1 border rounded mt-5 bg-white h-25">
<form action = "invoice.php" method = "post">
<div class="pt-4">
<h4>ORDER DETAILS</h4>
<hr>
<div class="row price-details">
<div class="col-left-md-8">
<h4>Customer ID :</h4><hr>
<h4>Transaction ID :</h4><hr>
<h4>Trasaction Date :</h4><hr>
<h4>Amount Debited:</h4><hr>
<h4>Date of Delivery:</h4>
<h4></h4>
</div>
<div class="col-right-md-6">
<h4><?php echo $row['custid']; ?></h4><hr>
<h4><?php echo $row1['id']; ?></h4><hr>
<h4><?php
date_default_timezone_set("Asia/Kolkata");
echo date('d-m-y H:i:s');
?></h4><hr>
<h4><?php echo $row2['amount'];?></h4><hr>
<h4><?php
echo date('d-m-y ', strtotime("+2 day"));
?></h4>
</div>
</div>
</div><br><br></form>
<button class ="btn btn danger" id="pro" name ="pro">Procced</button>
</body>
</html>
<style>
19CS1H2147 MISH GIFT HAMPERS
.btn{
color: white;
background : green;
}
</style>
<script type="text/javascript">
document. getElementById("pro"). onclick = function () {
location. href = "feedback.php";
}
</script>
PAYMENT:
<?php
session_start();
$amt = $_GET['amt'];
echo"$amt";
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Payment </title>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.2/css/all.css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-
EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
crossorigin="anonymous">
</head>
<body>
<form action="paycode.php" method="POST">
<div class="wrapper">
<div class="payment">
<div class="payment-logo">
<p>p</p>
</div>
<h2>Payment Gateway</h2>
<div class="form">
<div class="card space icon-relative">
19CS1H2147 MISH GIFT HAMPERS
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.mask/1.14.15/jquery.mask.min.js"></script>
</body>
</html>
FEEDBACK:
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Feedback</title>
19CS1H2147 MISH GIFT HAMPERS
<body>
<div class="textarea">
<textarea name="coment"cols="30" placeholder="Describe your experience.."></textarea>
</div>
<div class="btn">
<button type="submit" name="post">Post</button>
</div>
</form>
</div>
</div>
<script>
const btn = document.querySelector("button");
19CS1H2147 MISH GIFT HAMPERS
</script>
</body>
</html>
ADMIN LOGIN:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="adin.css">
<title>Login Form Demo</title>
</head>
<body>
<div class="login-wrapper">
<form action="" class="form">
<img src="img/avatar.png" alt="">
<h2>Login</h2>
<div class="input-group">
<input type="text" name="loginUser" id="loginUser" required>
<label for="loginUser">User Name</label>
</div>
<div class="input-group">
</form>
<div id="forgot-pw">
<form action="" class="form">
<a href="#" class="close">×</a>
<h2>Reset Password</h2>
<div class="input-group">
<input type="email" name="email" id="email" required>
<label for="email">Email</label>
</div>
<input type="submit" value="Submit" class="submit-btn">
</form>
</div>
</div>
</body>
</html>
ADMIN DASHBOARD:
<?php
require('dbconfig.php');
?>
<!DOCTYPE html>
<!-- Designined by CodingLab | www.youtube.com/codinglabyt -->
<html lang="en" dir="ltr">
<head>
<meta charset="UTF-8">
<!--<title> Responsiive Admin Dashboard | CodingLab </title>-->
<link rel="stylesheet" href="admindb.css">
<!-- Boxicons CDN Link -->
<link href='https://unpkg.com/boxicons@2.0.7/css/boxicons.min.css' rel='stylesheet'>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<body>
<div class="sidebar">
<div class="logo-details">
<span class="logo_name">MishGifts</span>
</div>
<ul class="nav-links">
<li>
<a href="#" class="active">
<i class='bx bx-grid-alt' ></i>
19CS1H2147 MISH GIFT HAMPERS
<span class="links_name">Dashboard</span>
</a>
</li>
<li>
<a href="#">
<i class='bx bx-box' ></i>
<span class="links_name">Product</span>
</a>
</li>
<li>
<a href="#">
<i class='bx bx-list-ul' ></i>
<span class="links_name">Order list</span>
</a>
</li>
<li>
<a href="#">
<i class='bx bx-pie-chart-alt-2' ></i>
<span class="links_name">Analytics</span>
</a>
</li>
<li>
<a href="#">
<i class='bx bx-coin-stack' ></i>
<span class="links_name">Stock</span>
</a>
</li>
<li>
<a href="#">
<i class='bx bx-book-alt' ></i>
<li>
<a href="#">
<i class='bx bx-heart' ></i>
<span class="links_name">Favrorites</span>
</a>
</li>
<li>
<a href="#">
<i class='bx bx-cog' ></i>
<span class="links_name">Setting</span>
</a>
</li>
<li class="log_out">
<a href="#">
<i class='bx bx-log-out'></i>
<span class="links_name">Log out</span>
</a>
</li>
</ul>
</div>
<section class="home-section">
<nav>
<h4> Mish Gifts Dashboard</h5>
</nav>
<div class="home-content">
<div class="overview-boxes">
<div class="box">
<div class="right-side">
</div>
<div class="box">
<div class="right-side">
<div class="box-topic">Registered Customer</div>
<div class="number">
</div>
</div>
</div>
19CS1H2147 MISH GIFT HAMPERS
<div class="box">
<div class="right-side">
<div class="box-topic">Total Orders</div>
<div class="number"></div>
</div>
</div>
</div>
</section>
<script>
let sidebar = document.querySelector(".sidebar");
let sidebarBtn = document.querySelector(".sidebarBtn");
sidebarBtn.onclick = function() {
sidebar.classList.toggle("active");
if(sidebar.classList.contains("active")){
sidebarBtn.classList.replace("bx-menu" ,"bx-menu-alt-right");
}else
sidebarBtn.classList.replace("bx-menu-alt-right", "bx-menu");
}
</script>
</body>
</html>
MANAGE PRODUCTS:
<?php
require("dbconfig.php");
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
</head>
<body>
<div class="container bg-dark text-light p-3 rounded my-4">
<div class="d-flex align-items-center justify-content-between px-3">
<h4>
19CS1H2147 MISH GIFT HAMPERS
<h2>Mish Gifts</h2>
<button type="button" class="btn btn-success" data-bs-toggle="modal" data-bs-target="#addproduct">
+Add Product
</button>
</div>
</div>
i = 1;
if(mysqli_num_rows($query_run)> 0){
foreach($query_run as $fetch)
{
echo<<<product
<tr>
<th scope="row">$i</th>
<td>$fetch[id]</td>
<td>$fetch[product_name]</td>
<td>$fetch[product_price]</td>
<td><img src="diygifts/".$fetch[product_image]" width='150px'></td>
<td>$fetch[product_quantity]</td>
<td>
<a class="btn btn-warning">EDIT</a>
</td>
<td>
<a href = 'code.php?id=".$fetch[id]."' class="btn btn-danger">DELETE</a>
19CS1H2147 MISH GIFT HAMPERS
</td>
</tr>
product;
$i++;
}
}else{
echo"no record found";
}
?>
<div class="modal fade" id="addproduct" data-bs-backdrop="static" data-bs-keyboard="false"
tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true">
<div class="modal-dialog">
<form action="code.php" method="POST" enctype="multipart/form-data">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Add Product</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="input-group mb-3">
<span class="input-group-text">Product Name</span>
</form>
</div>
</div>
</body>
</html>
SHOP PAGE:
REGISTER/LOGIN
SHOPPING CART :
BILLING:
FEEDBACK:
ADMIN LOGIN:
PRODUCT MANAGEMENT
CUSTOMER DETAILS
4. SYSTEM CONFIGURATION
RAM Recommended 4 GB
Hard Disk 1 Tb
5. DETAILS OF SOFTWARE
A development process consists of various phases, each phase ending with a defined output. The
phases are performed in an order specified by the process model being followed. The main reason for
having a phased process is that it breaks the problem of developing software into successfully
performing a set of phases, each handling a different concern of software development.
This ensures that the cost of development is lower than what it would have been if the whole
problem were tackled together. A phased development process is central to the software engineering
approach for solving the software crisis.
PHP is a general-purpose scripting language especially suited to web development. It was originally
created by Danish-Canadian programmer 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 initialism PHP: Hypertext Pre-processor.
PHP code is usually processed on a web server by a PHP interpreter implemented as a module, a
daemonor as a Common Gateway Interface (CGI) executable. On a web server, the result of the
interpreted and executed PHP code – which may be any type of data, such as generated HTML or binary
image data
– would form the whole or part of an HTTP response. Various web template systems, web content
management systems, and web frameworks exist which can be employed to orchestrate or facilitate the
generation of that response. Additionally, PHP can be used for many programming tasks outside of the
web context, such as standalone graphical applications and robotic drone control. Arbitrary PHP code can
also be interpreted and executed via command-line interface (CLI).
Query Language. A relational database organizes data into one or more data tables in which data types
may be related to each other; these relations help structure the data.
SQL is a language programmers use to create, modify and extract data from the relational database,
as well as control user access to the database. In addition to relational databases and SQL, an RDBMS
like MySQL works with an operating system to implement a relational database in a computer's storage
system, manages users, allows for network access and facilitates testing database integrity and creation of
backups. 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 owned and sponsored by the
Swedish company MySQL AB, which was bought by Sun Microsystems (now Oracle Corporation). In
2010, when Oracle acquired Sun, Wideners forked the open-source MySQL project to create MariaDB.
Microsoft Windows is designed for both home computing and professional purposes. Past versions
of Windows home editions include Windows 3.0 (1990), Windows 3.1 (1992), Windows 95
(1995),
Windows 98 (1998), Windows Me (2000), Windows XP (2001), and Windows Vista (2006). The
currentversion, Windows 7, was released in 2009.
The first business-oriented version of Windows, called Windows NT 3.1, was in 1993. This was
followed by Windows 3.5, 4.0, and Windows 2000. When Microsoft released Windows XP in 2001, the
company simply created different editions of the operating system for personal and business purposes.
Windows Vista and Windows 7 have followed the same release strategy. Windows is designed to
run on standard x86 hardware, such as Intel and AMD processors. Therefore, it can be installed on
multiple brands of hardware, such as Dell, HP, and Sony computers, as well as home-built PCs.
Windows 7 also includes several touch screen features, that allow the operating system to run on
certaintablets and computers with touch screen displays.
19CS1H2147 MISH GIFT HAMPERS
6. TESTING
Testing is a vital part of software development, and it is important to start it as early as possible, and
to make testing a part of the process of deciding requirements. To get the most useful perspective on
your development project, it is worthwhile devoting some thought to the entire lifecycle including how
feedback from users will influence the future of the application. The tools and techniques we've discussed
in this book should help your team to be more responsive to changes without extra cost, despite the
necessarily wide variety of different development processes. Nevertheless, new tools and process
improvements should be adopted gradually, assessing the results after each step.
Testing is part of a lifecycle. The software development lifecycle is one in which you hear of a need,
youwrite some code to fulfil it, and then you check to see whether you have pleased the stakeholders—
the users, owners, and other people who have an interest in what the software does. Hopefully they like
it, butwould also like some additions or changes, so you update or augment your code; and so, the cycle
continues, or every few years,
Testing is a proxy for the customer. You could conceivably do your testing by releasing it into the
wild and waiting for the complaints and compliments to come back. Some companies have been accused
of having such a strategy as their business model even before it became fashionable. But on the whole,
the books are better balanced by trying to make sure that the software will satisfy the customer before
we hand it over. This portal “Photo Studio” is developed using Incremental Model and Spiral Model.
1. FUNTIONAL TESTING
This type of testing ignores the internal parts and focus on the output is as per requirement or not. They
are:
Black box testing – Internal system design is not considered in this type of testing. Tests are based on
requirements and functionality.
White box testing – This testing is based on knowledge of the internal logic of an application’s code.
Also known as Glass box Testing. Internal software and code working should be known for this type of
testing. Tests are based on coverage of code statements, branches, paths, conditions.
Unit testing – Testing of individual software components or modules. Typically done by the
programmer and not by testers, as it requires detailed knowledge of the internal program design and
code. May require developing test drive modules or test harnesses.
System testing – Entire system is tested as per the requirements. Black-box type testing that is based on
overall requirements specifications, covers all combined parts of a system.
Alpha testing – In house virtual user environment can be created for this type of testing. Testing is done
at the end of development. Still minor design changes may be made because of such testing.
2. NON-FUNCTIONAL TESTING
Security testing – Can system be penetrated by any hacking way. Testing how well the system protects
against unauthorized internal or external access. Checked if system, database is safe from external
attacks.
Usability testing – User-friendliness check. Application flow is tested, can new user understand the
application easily, Proper help documented whenever user stuck at any point, basically system navigation
is checked in this testing.
Our project is only a humble venture to satisfy the needs to manage their project work. Several
users- friendly coding has also adopted. This package shall prove to be a powerful package in satisfying
all the requirements of the school. The objective of software planning is to provide a framework that
enables the manger to make reasonable estimates made within a limited time frame at the beginning of
the software project and should be updated regularly as the project progresses.
In a nutshell, it can be summarized that the future scope of the project circles around maintaining
information regarding:
8. BIBILIOGRAPHY
Book References:
The Joy of PHP Programming, by Alan Forbes. Published on 13th October 2012.
PHP & MySQL Novice to Ninja, by Kevin Yank. Published on 8th May 2012.
HeadFirst PHP & MySQL, by Beighley & Morrison. Published on 6th January 2009.
Web References:
https://www.grin.com/document/3703
https://www.codeíbaba.in
https://arirms.com/the-benefits-of-using-art-gallery-software
https://meera’s academy
Products:
Order:
Details:
Payment:
FEEDBACK:
ADMIN LOGIN:
10 APPENDICES B – SCREENSHOTS
19CS1H2147 MISH GIFT HAMPERS
HOME:
SHOP PAGE:
SHOPPING CART :
PAYMENT:
PRODUCT MANAGEMENT:
FEEDBACK:
ADMIN LOGIN
CUSTOMER DETAILS
Transaction Details
Customer Details
HOME:
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
* Index Page for this controller.
*
* Maps to the following URL
http://example.com/index.php/welcome
*- or -
http://example.com/index.php/welcome/index
*- or -
* Since this controller is set as the default controller in
* config/routes.php, it's displayed at http://example.com/
*
* So any other public methods not prefixed with an underscore will
* bhmap to /index.php/welcome/<method_name>
* @see https://codeigniter.com/user_guide/general/urls.html
*/
public function index()
{
$query = $this->Admin_model->getProd();
$data['prod'] = $query->result();
$this->load->view('index',$data);
else{
?>
<script>
alert('Access Denied');
window.location = "<?php echo base_url() ?>";
</script>
<?php
}
}
$query = $this->Checkout_model->getOrder($oh);
$data['order'] = $query->result();
$this->load->view('reciept',$data);
}
REGISTER:
<?php
session_start();
$con=mysqli_connect('localhost','root','');
mysqli_select_db($con,'giftshop');
$fname = $_POST['fname'];
$lname=$_POST['lname'];
$email=$_POST['email'];
$pass=$_POST['pass'];
$result= mysqli_query($con,$s);
$num=mysqli_num_rows($result);
if($num==1){
echo "<script>alert('User Already Exist')</script>";
echo "<script>window.location = 'cuslog.php'</script>";
}else{
$r = " insert into reg (fname,lname,email,pass)values('$fname','$lname','$email','$pass')";
mysqli_query($con,$r);
echo "<script>alert('Registration Successful !')</script>";
echo "<script>window.location = 'cuslog.php'</script>";
}
?>
LOGIN :
<?php
session_start();
$db=mysqli_select_db($connection, 'giftshop');
if(isset($_POST['login']))
$email=$_POST['email'];
$pass=$_POST['pass'];
if($query)
}
}
?>
CART:
<?php
session_start();
if($_SERVER["REQUEST_METHOD"]=="POST")
{
if(isset($_POST['add']))
{
if(isset($_SESSION['cart']))
{
$myitems= array_column($_SESSION['cart'],'product_name');
if(in_array($_POST['product_name'],$myitems))
{
echo "<script>alert('Product already Added ')</script>";
echo "<script>window.location = 'dgindex.php'</script>";
}
else
{
$count= count($_SESSION['cart']);
$_SESSION['cart'][$count]=array('product_name'
=>$_POST['product_name'],'product_price'=>$_POST['product_price'],'qty'=>1);
echo "<script>window.location = 'dgindex.php'</script>";
}
}
else
{
$_SESSION['cart'][0]=array('product_name'
=>$_POST['product_name'],'product_price'=>$_POST['product_price'],'qty'=>1);
echo "<script>window.location = 'dgindex.php'</script>";
}
}
if(isset($_POST['remove']))
{
foreach($_SESSION['cart']as $key => $value)
{
if($value['product_name']==$_POST['product_name'])
{
unset($_SESSION['cart'][$key]);
$_SESSION['cart']=array_values($_SESSION['cart']);
echo "<script>alert('Product removed ')</script>";
?>
BILLING:
<?php
class Checkout extends CI_Controller
{
function index(){
$tot = $_GET['tot']; if($tot == 0){
?>
<script>
alert('unable to proceed Please fill Products in Cart');
window.location = "<?php echo base_url() ?>index.php/cart/viewCart";
</script>
<?php
}
else{
$u_id = $_SESSION['u_id'];
$query = $this->Checkout_model->getCart($u_id);
$price = 0;
$qty = 0;
$total = 0;
foreach ($query->result() as $row){
$price = $row->product_price;
$qty = $row->quantity;
$total += $price * $qty;
}
$data['total'] = $total;
$this->load->view('checkout',$data);
function confirmForm(){
72
$u_id = $_SESSION['u_id'];
$fname = $_POST['fname'];
$lname = $_POST['lname'];
$add = $_POST['address'];
$city = $_POST['city'];
$email = $_POST['email'];
$phone = $_POST['phone'];
$netTotal = $_POST['netTotal'];
query = $this->Checkout_model->maxId('po_id','pending_orders');
foreach($query->result() as $row){
$po_id = $row->po_id;
}
$po_id++;