Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1. EXECUTIVE SUMMARY/ABSTRACT
Using the system, management can expose their products by giving attractive offers
and discounts. So they can easily catch the attention of customers. Customers can purchase
products and services easily from the centre with less expense at the time of the offers. The
system has three categories of users. Admin, registered customer, and guest. Guest can view
all the product details and can request for an enquiry. Registered customers only get the
benefits from the system properly. They can purchase products at lower rates by viewing its
images and request for service. Notifications inform them the arrival of new offers or
products in the system. The admin is the person who controls the system. He can
add/edit/remove products, verify the orders and service requests and manage offers, stock and
payments.
The purpose of this system is to build software to reduce manual works. It is designed
from a user point of view. The user friendly design helps the users in accomplishing their
tasks with ease.
Computer sales and service centre is a centre whose main products are the latest
models computers, laptops, and all the accessories related to them. This centre also deals all
the branded desktop computers and laptops.
The existing system of computer sales and service centre is a manual system in which
all process are done manually. All data and information are kept as files and records. The
Seller directly collects the data from the customers and store as a record.
2.2. DEFINITION OF PROBLEM
The existing system has many limitations like lack of accuracy, redundancy, expense,
low speed, inefficiency and unformatted outputs. In the existing system all tasks are done
manually. So there are a lot of issues related with retrieval and storage of the information.
Keeping track of data is a tedious task in this system.
2.3. PROPOSED SYSTEM
In the proposed system, a new Website called “Tech Drive” is developed for computer
sales and service centre. By implementing a computerized system, the limitation in the
existing system can be reduced. Manpower can be reduced to a great extent, and more
efficiently with accuracy which manifolds. More over consumption of time can be reduced to
a great extend and can increase the speed of information extraction, processing speed, data
security and hence it gives accurate reports. Advantages of the proposed system:
The main objective of this project is to provide a better platform for the customers
who need to buy computer, phone, and accessories. A customer can buy a new product from
home itself. This website facilitates the service also. So the customer can easily buy and
service their products. Customers get notification about their product’s status while
purchasing and servicing. The unseen quality of this project is, it provides a mechanism of
getting notification about new offers of products to the registered customers. This helps the
customer to buy things at lower price during the time of offers. Computer sales and service
will keep one or two pieces of each item initially and will provide the item in bulk on order.
3.2. STAKEHOLDERS
The customers are the main stakeholder of this application. They get most of the
benefits of the application. Customers get a platform to purchase the branded products
directly from a shop without going there. They can buy products without any other
intermediaries and also can service their products by requesting online.
The next stakeholder is the owner. He is the admin of the system. He will get profit
from selling the products based on the customer needs. The pictures with description
displayed on the site will attract the customers. The site will also show offers for the
products. So customer will get interest to buy products through online.
The Tech Drive is a web based application intended for online retailers. The main
objective of this application is to make it interactive and ease of use. It will make Searching,
viewing and selection of a product easier.
By converting the sales and service centre to a website, the customer can easily use
the services. They can buy computer, mobile phones or accessories from the online site. Also
the customer can book for services through online.
After the problem is clearly understood and solutions are proposed, the next step is to
conduct the feasibility study, which is the part of system analysis. The main objective of
this study is to determine whether the proposed system is feasible or not. There are various
types of feasibility to be determined. They are,
Technical Feasibility
Operational Feasibility
Schedule Feasibility
Economic Feasibility
The schedule feasibility means that whether the project can be completed within a
specified time period or not. Each process will take a specific time to complete it. As per the
schedule for this project a time table is created as follows:
It can be developed under optimal expenses with the available hardware and software.
The computerized system provides easy and fast information retrieval and saves lot of time
and manpower.
4.2. CONSTRAINT
There are some constraints related to this project. They are:
Time Constraints
Hardware Constraints
Needs 8GB RAM to implement.
Laptop or desktop computer needed.
4.3. DELIVERABLES
Every project should contain a set of deliverables. This project also has a set of
deliverables as follows:
The Application software.
The user manual
Installation manual (hosting)
4.4. RISKS
Every project should meet some risks.
organization or project. The UP when used in the software development the project lifecycle
can be divided in to four phases.
Inception
Elaboration
Construction
Transition
Working through iteration means that the development of application is split into
smaller chunks. In iteration features are defined, designed, developed and tested. Iteration
cycles are repeated until fully functional software is ready to deliver. The process doesn’t try
to start with the full set of requirements and design. Instead, team tries to prepare just what is
needed for the successful delivery of next iteration.
Testing is a process of executing a program with the interest of finding an error. A good
test is one that has a high probability of finding the yet undiscovered errors. Testing begins at
the level and works outward towards the interaction of the entire software. A series of testing
are performed for this project before the system is ready for acceptance. Each web page,
functionality validation scripts and other executable components were tested independently.
The integrity of entire system is checked. Some of testing strategies applied for the system
are listed here.
A test plan should contain the following:
Test unit specification
Features to be tested
Test deliverables
Schedule.
Unit Testing
Modules are tested separately.
Testing is carried out during programming stage itself.
Individual modules such as admin, customer are tested.
Got expected output against given input in the software.
Integration Testing
All the individual modules were combined and tested.
System Testing
The behaviour of whole system is tested.
All modules are completely tested, there is no error.
User Acceptance Testing
Done by users or stakeholders.
Checked whether the purchase, sale, stock updating are executed error
free.
All user needs are satisfied.
4.7. TESTING ENVIRONMENT AND TOOL
5.1. SCHEDULE
5.2. RISKS
Delay from the scheduled date affects the whole project development.
Administrator
Customer
Guest
Admin
Web site reduces the work of admin by automating the processes. Admin can monitor the
sales and purchase operations effectively. The admin uses this system to fulfil the order and
requests from the customers. The admin may not be aware of how to use the new system. He
may not be fluent to the systematic execution of proposed system. So he/she need training to
the proposed system.
Customer
Customer can be an individual who has already an account. Customers use their account
to place their order, service request and payment. Proposed application is user friendly and
provides respective guidelines to use or navigate the system processes. So no training is
needed for customers.
Guest
Guest can be one who wishes to buy products. He can purchase products by creating
account. He can also get respective guidelines to use or navigate the system process.
• The customer can register, buy, book service and make payments through the
website.
• The admin can view and manage products and other details.
This section gives a functional requirement that applicable to the Computer sales and service
system.
There are two modules
Admin module.
Customer module.
Admin module: Admin manages the system. He can add a new product into the system
by providing its details and images. When a sale takes place the admin need to verify the
products, customer and payment details. After that he will assign a person for the delivery of
the product and set the product status according to the process. Even if the quantity of
product is less, the charges applied if it exceeds 2km.
For a service request, the admin need to verify the request. He finalizes a person to pick
up the product and deliver. Also change the product status. The admin can also add or remove
offers for a product and he can inform the customers by sending notifications.
Customer module: Mainly two type of customers, registered customers and guest.
Customers can view products and to buy, can add to cart. From the cart they can order the
products by paying bill. He can also request for service and give feedbacks for previous
services from their account.
Performance
UC1 : sale.
Stakeholders : customer
UC2 : service.
Stakeholders : customer
UC3 : product
Stakeholders : admin
UC4 : Registration
Stakeholders : admin
UC5 : Enquiry
Stakeholders : Admin
UC6 : Notification.
Stakeholders : Customer
UC7 : Payment
Stakeholders : Admin
The most important aspect is to capture the dynamic behaviour when modelling a
system. Dynamic behaviour means the behaviour of the system when it is operating. Use case
diagram is one of the diagrams that describe the dynamic behaviour of the system. Use case
diagrams are used to gather the requirements of a system including internal and external
influences. These requirements are mostly design requirements. Hence, when a system is
analysed to gather its functionalities, use cases are prepared and actors are identified. When
the initial task is complete, use case diagrams are modelled to present the outside view.
The purpose of use case diagrams are:
Use case diagrams specify the events of a system and their flows. But use case
diagram never describes how they are implemented. Use case diagram can be imagined as a
black box where only the input, output and the function of the black box is known. These
diagrams are used at a very high level of design. This high level design is refined again and
again to get a complete and practical picture of a system. A well structured use case also
describes the pre-condition, post condition and exceptions. These elements are used to make
test cases when performing the testing.
An actor represents a coherent set of roles that users of a system play when interacting with
the use cases of the system. Actors can be anything-humans, devices, other systems. One
physical object can play several roles and so can be modelled by several actors.
Use cases describe what a system does, not how it does it. A use case contains
multiple scenarios, each of which describes a specific flow of events through the use case.
Use case behavior is specified by describing the scenarios clearly enough for outsiders to
understand.
Association symbol represent the connection between actor and use cases.
Include symbol include the relationship between use cases. One use case (base)
includes the functionality of another (inclusion case).
Extend symbol shows the relationship between use cases. Use case (extension)
extends the behavior of another (base).
Tech Drive
Product management
Offer management
admin
Stock management
Payment management
Sale
Service
customer Notification
Account Creation
View products
Enquiry
Order placing
Feedback
guest
A sequence diagram is an interaction diagram that shows how objects operate with
one another and in what order. It is a constant of a message sequence chart. A sequence
diagram shows object interactions arranged in time sequence. It depicts the objects and
classes involved in the scenario and the sequence of messages exchanged between the objects
needed to carry out the functionality of the scenario. Sequence diagrams are typically
associated with use case realizations in the logical view of the system under development.
Life lines & life line boxes: - Active objects can be an object which is an instance of a
class and can be drawn with rectangular box called the life line box with its name is
specified within the box. The long dashed line tailing the object is called life lines.
Message: -It is used to illustrate the communication between different active objects.
Each message between object is represented with a message expressions and filled arrow
solid lines from the calling active objects life line to the recipient life lines.
Synchronous: - This type of message is used when it is important that a message is
received & completed before execution of control flow begins.
Return: -Return message shows that the control flow has return into the calling active
objects and the synchronous messages are completed its operations.
Asynchronous: - This type of message is send from an active object and waits for a
responds. This type of message is used when control flow doesn’t lead to interrupted
before complete the operation.
Flat: -This type of message is used when there is no distinction between asynchronous
and synchronous messages.
Manage item(pro_id)
Items added
enquiry (enq_id,name)
details provided.
Account creation
Customer registered View details
Offer notification s
Notification received
Op1 Registration
Post condition : The instance R is created, data saved and response received.
Op2 Sale
Post condition : The instance R is created, data saved and response received.
Post condition : The instance R is created, data saved and response received.
Op4 Enquiry
Post condition : The instance R is created, data saved and response received.
Op5 Stock
Post condition : The instance R is created, data saved and response received.
Op6 Payment
Post condition : The instance R is created, data saved and response received.
Op7 Notification
Post condition : The instance R is created, data saved and response received.
Op8 Feedback
Post condition : The instance R is created, data saved and response received.
Class diagram is an important UML diagram used in the Designing phase. Class
Diagrams are the blueprints of the system or subsystem. Class diagrams can be used to model
the objects that make up the system, to display the relationship between the objects and to
describe what those objects do and the services they provide. Class diagrams are useful in
many stages of system design. Class diagram is a static diagram. It describes the attributes
and operations of a class and also the constraints imposed on the system. Class diagram
shows a collection of classes, interfaces, associations, collaborations and constraints. It is also
known as a structural diagram. UML diagrams like activity diagram and sequence diagram
can only give the sequence flow of applications.
Class diagram is created to perform the following functions:
Capture and define the structure of classes and other classifiers.
Show the common classifier roles and responsibilities that define the behaviour of
the system.
Show the structure and behaviour of one or more classes.
CLASS DIAGRAM
Guest
Admin
Products Viewproducts ()
Id : integer
Id : integer Registration ()
View details()
Manage Name : string View
Addproducts()
1 * Category : string * 1
View/edit/remove()
Company : string
Offermanagement()
Des : string
Notification()
Customer
Buy
Id : integer
Cart
Name : string
can Id : integer
Address : string
1 Qty : integer
Viewproducts()
has Productid : integer
Buyproducts()
1 1 Name : string
Requestservice()
Price : string
Addtocart ()
Service
1 Id : integer
Productid :
integer
Request *
Name : string
Custid : integer
Action State: - It is an automatic state once it started execution. It will come to completion
without any interruption at the middle of execution.
Transition: - When the action or activity state completes the flow of control passes
immediately to the next action or activity state. This is represented by using the solid lines.
Branching: - It specifies the alternative paths that are taken based on some Boolean
expressions.
Initial node: - The initial node is a control node from where the activity is invoked. An
activity may have more than one initial node.
Final node: - The final node shows the end of the activity. An activity can have more than
one final node but the first one reached will stop the activity.
Join:-A join represents multiple incoming transitions and provide only one outgoing
transitions.
Fork:-A Fork represents only one incoming transitions and provide multiple outgoing
transitions.
ACTIVITY DIAGRAM
ADMIN Start
Login
No
Check
Yes
Logout
CUSTOMER
Start
Login
No
Check
Yes
Logout
Interface design deals with the process of developing a method for two (or more)
modules in a system to connect and communicate. These modules can apply to hardware,
software or the interface between a user and a machine. An example of a user interface
could include a GUI, a control panel for a nuclear power plant, or even the cockpit of an
aircraft and systems engineering, all the inputs and outputs of a system, subsystem, and its
components are listed in an interface control document often as part of the requirements of
the engineering project. The development of a user interface is a unique field.
Input Design
The user interface design is very important for any application. The interface design
describes how the software communicates within itself, to system that interpreted with it and
with humans who use it. The input design is the process of converting the user-oriented
inputs into the computer based format. The data is fed into the system using simple inactive
forms.
The forms have been supplied with messages so that the user can enter data without
facing any difficulty. They data is validated wherever it requires in the project. This ensures
that only the correct data have been incorporated into system. The goal of designing input
data is to make the automation as easy and free from errors as possible. For providing a
good input design for the application easy data input and selection features are adopted. The
input design requirements such as user friendliness, consistent format and interactive
dialogue for giving the right messages and help for the user at right are also considered for
development for this project.
Input Design is a part of the overall design. The input methods can be broadly
classified into batch and online. Internal controls must be established for monitoring the
number of inputs and for ensuring that the data are valid. The basic steps involved in input
design are:
In this system several forms are used as input screen for collecting data form
the users. Forms contains text box drop down radio button multi line text box check box list
box etc. For entering values text box and multiline text boxes are used. For single selection
drop down, radio button are used. For multiple selection of values check box list is used.
Validation checking is done for all mandatory field. If the value format is incorrect wrong
message is displayed.
Output Design
A quality output is one, which meets the requirements of end user and presents the
information clearly. In any system result of processing are communicated to the user and to
the other system through outputs. In the output design it is determined how the information
is to be displayed for immediate need.
It is the most important and direct source information is to the user. Efficient and
intelligent output design improves the system’s relationships with the user and helps in
decision making. The objective of the output design is to convey the information of all the
past activities, current status and to emphasis important events.
The output generally refers to the results and information that is generated from the
system. Outputs from computers are required primarily to communicate the results of
processing to the users.
Output also provides a means of storage by copying the results for later reference in
consultation. There is a chance that some of the end users will not actually operate the input
data or information through workstations, but will see the output from the system.
1.Output Definition
2.Output Specification
Output Definition takes into account the type of output contents, its frequency and its
volume, the appropriate output media is determined for output. Once the media is chosen,
the detail specification of output documents are carried out. The nature of output required
from the proposed system is determined during logical design stage. It takes the outline of
the output from the logical design and produces output as specified during the logical design
phase.
In a project, when designing the output, the system analyst must accomplish the following:
• Decide whether to display, print, speak the information and select the output
medium.
Thus by following the above specifications, a high quality output can be generated.
PHP
PHP Hypertext Pre-processor, commonly known as PHP is one of the
revolutionary scripting language which has enabled us to have a much better web
presentation today. This has fast become one of the widely used scripting languages which are
used for web development. One of the key features of this language is it’s an open
source which will enable anybody to use the platform it provides. PHP is used to
design dynamic web pages. Here you can find the starting origination of PHP and few basics
of the scripting language.
PHP is a server side scripting language which is used for generating dynamic
page which can be used for transferring on the web. The main plus point of PHP is that it is
an open source product and it can be freely downloaded from the web. The various
advantages of PHP include speed of execution by using only a little system resources. This
will increase the stability of the system, its simplicity which allows anyone to learn it very
easily. PHP is also extensible that it allows interfacing different libraries such as encryption,
XML etc. the PHP parser engine is identical irrespective of the operating system, so PHP
page need not be changed to run on different platform.
MySql
Table Structure
File activity
File size
Output requirements
Input requirements
File organization
Table design also deals with the design of physical database. A key field determines
how the access is to be implemented. Suitable key fields are identified various tables and are
coded appropriately. The type, width and size of the fields are identified. Techniques of file
organization are studied so that the most appropriate storage device can be selected and an
efficient database design can be achieved. Specifying the data between them identifies the
interface between system databases and other databases.
The designing of the tables in the database is done according to the rules specified for
database as described above. In the proposed project 22 tables are used and some of them
connected using foreign keys. Insertion and retrieval of values is easy by designing the
database in this way.
Table Design
Table design is a collection of complete details about a particular subject. These data
are saved in rows and columns. The data of each row are different units. Hence, rows are
called records and columns of each row are called fields. Data is stored in tables, which is
available in the backend. The items and data, which are entered in the input, form id directly
stored in this table using linking of database. We can link more than one table to input forms.
customer.
Date 10 date Date of compliant
registration.
Product_name 20 Varchar Product Name
phone property
number
validation
Test by It should limit A message has Pass
giving the entering of been displayed
lengthy the data to the
values to the field by the
fields with max length
phone property
number
validation
Test Report provides a summary of the results of test performed. A Test report
must contain the following details: -
Test Summary
This must include basic information about what was tested and what
happened.
Test Type
This must include basic information about what type of testing (unit testing,
integration testing, validation testing etc.) was done and what happened.
Test Assessment
Test Result
Variances
Describe any variances between the testing that was planned and the testing
that actually occurred. Also, provide an assessment of the manner in which the test
environment may be different from the operational environment and the effect of this
difference on the test results.
Implementation includes all those activities that take place to convert from the
old system to new system. The new system may be totally new, replacing an existing manual
or automated system or it may be a major modification to an existing system. Proper
implementation is essential to provide a reliable system to meet the organization
requirements.
Successful implementation may not guarantee improvement in the organization
using the new system, but improper installation will prevent it. The method of
implementation and the time scale to be adopted are found out initially. Next the system is
tested properly and the same time users are trained in the new procedures.
IMPLEMENTATION PROCEDURES:
Implementation of software refers to the final installation of the package in its real
environment, to the satisfaction of the intended users and the operation of the system. In the
initial stage they doubt about the software but we have to ensure that the resistance does not
built up as one has to make sure that
The active user must be aware of using the system.
Their confidence in the software is built up.
Proper guidance is imparted to the user so that he is comfortable in using the
application.
Before going ahead and viewing the system, the user must know that for viewing the
result, the server program should be running in the server. If the server object is not up
running on the server, the actual processes won’t take place.
POST IMPLEMENTATION:
The final step of the systems approach recognizes that implemented solution can fail
to solve the problem for which it was developed. The results of implementing a solution
should be monitored and evaluated .This is called post implementation review process, since
the success of a solution is reviewed after it is implemented.
“Computer Sales and Service centre” software is hosted on the internet. The owner and
customers can access the website anywhere using separate username and password.
This phase occurs as a result of deploying the whole system at the end users
organization. They will perform the beta testing at the end user and inform to the developers
about any needed modification to the application. The customer records all the problems that
are encountered during the beta testing and reports these to the developer at regular intervals.
Maintenance has not yet been performed and is a part of future plans.
Corrective Maintenance
Even with the best quality assurance activities, it is likely that the customer will
uncover defects in the software. Corrective maintenance changes the software to correct the
defects.
Adaptive Maintenance
Over time, the original environment (CPU, operating system, business rules, external
product characteristics) for which the software was developed is likely to change. Adaptive
maintenance results in modification to the software to accommodate changes to its external
environment.
Enhancement Maintenance
As software is used, the customer/user will recognize additional functions that will
provide the benefit. Perfect maintenance extends the software beyond its original functional
requirements.
Preventive Maintenance
Computer software deteriorates due to change, and because of this preventive
maintenance often called software engineering, must be conducted to enable the software to
serve the needs of its end users. Preventive maintenance makes changes to computer
programs so that they can be more easily corrected, adapted and enhanced.
Professional web site design is critical for success in the modern Internet Business
World. Offering an attractive, intuitive interface with a logical and easy to use navigation
layout will make the difference between a happy visitor (and potential client) and a frustrated
web surfer at your website. A successful site begins by carefully planning a rewarding user
experience.
Bright Future expert creative services team delivers the following services:
Site Re-Design
Logo Designing
Computer Education(c,c++,java,c#,VB,.NET,SQL&mysql,PL/SQL,Oracle
DBA,Red Hat,DCA Microsoft Office…)
E-business Applications develops custom applications that are built to meet specific
needs within your business. Our solutions are business focused to help improve your bottom
line by increasing productivity, increasing information and business process transparency and
improving business systems efficiency. Not only are our solutions business driven, but they
are focused on leading edge and industry standard technologies that will be able to evolve
with your needs over the long term.
CUSTOMER FOCUS
Capabilities
Our combination of business knowledge and IT services provide our customers with
high-quality, end-to-end solutions. Our success is based on a clear vision of the business and
technology solutions for your needs and the ability to deliver results that help you establish
an edge over your competitors. We focus on establishing long-term partnerships with our
customers. We have the talent, knowledge and experience to understand your industries,
business processes and IT requirements, and to identify solutions that meet your specific
needs. Business process outsourcing to maximize business efficiency, all processes that are
not competitive edge to the enterprise should be outsourced. As an integrated tech and ops
company with global services delivery, Bright Future is driving this emerging business
model.
CONTACT DETAILS
Phone Contact
+91 9495259988/7025492988
Email Contact
sinsejose1@gmail.com
Website:
www.AptechThodupuzha.com
www.TallyLearnings.com
www.BrightFuture-Education.com
Abbreviations
UI -- User Interface
PK -- Primary Key
FK -- Foreign Key
List of Figures
List of Tables
11.3. References
http://download.cnet.com>WampServer
http://www.w3schools.com>sql
www.w3schools.com/PHP /Tutorial points 20-08-2018
index
<?php
session_start();
include('connection.php');
include "alert.php";
if(isset($_SESSION['cid']))
$cid=$_SESSION['cid'];
else
$cid="";
$res=mysqli_query($con,$sql);
?>
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<script src="js/jquery-3.3.1.min.js"></script>
</head>
<body>
<div class="menubar">
<div class="select1">
<option >Select...</option>
<?php
while($row=mysqli_fetch_array($res))
?>
</select>
</form>
</div>
<?php
if(isset($_POST['search']))
$pid=$_POST['selpro'];
$result1=mysqli_query($con,$sql1);
?>
<div class="productd">
</div>
<div class="compl">
<?php
while($row=mysqli_fetch_array($result1))
$mrp=$row['mrp']*$row['qty'];
$offer=$mrp*$row['offer']/100;
$price=$mrp-$offer
?>
<div class="item">
<div class="itimg">
</div>
<div class="itemdet">
<?php
$res2=mysqli_query($con,$qry);
while($row=mysqli_fetch_array($res2))
?>
</p>
<?php
?>
</div>
</div>
<?php
?>
</div>
<div class="sub">
</div>
</form>
<?php
?>
<?php
$res3=mysqli_query($con,$sql3);
$count=mysqli_num_rows($res3);
if($count>0)
?>
<div class="hist">
<?php
$x=1;
while($row1=mysqli_fetch_array($res3))
?>
<div class="hdetails">
<div class="psubd">
<div class="pimage">
</div>
</div>
<div class="compt1">
<h5 class="pname12">COMPLAINTS</h5>
<div class="cdet">
</div>
<?php
if($row1['s_status']=="Completed")
?>
<?php
?>
</div>
</form>
</div>
</div>
<script>
function show()
document.getElementById('fdbck').style.display="block";
window.scrollTo(0,document.body.scrollHeight+77);
function hide()
document.getElementById('fdbck').style.display="none";
</script>
<?php
$x++;
?>
</div>
<?php
?>
</body>
</html>
<?php if(isset($_POST['rqst']))
$id=$_POST['prdtid'];
$name=$_POST['prdtname'];
$img=$_POST['img1'];
$complaint=$_POST['comp'];
date_default_timezone_set('Asia/Kolkata');
$date=date('d/m/Y');
$sql5="inserintosevice_tbl
(cust_id,product_id,product_name,complaints,s_status,s_date,img1)
values('$cid','$id','$name','$complaint','Requested','$date','$img')";
if(mysqli_query($con,$sql5))
alt("Service Requested.","service.php");
if(isset($_POST['send']))
$sid=$_POST['feedback'];
$feed=$_POST['feed'];
if(mysqli_query($con,$sql6))
alt("Feedback Sended.","service.php");
?>
Cart
<?php session_start();
include('connection.php');
if(isset($_SESSION['cid']))
$cid=$_SESSION['cid'];
else
$cid="";
$res=mysqli_query($con,$sql);?>
<!DOCTYPE HTML>
<html lang="en"><head>
<meta charset="UTF-8">
<script src="js/jquery-3.3.1.min.js"></script>
<script>
$(document).ready(function(){
});
</script>
</head>
<body>
<div class="menubar">
<imgsrc="images/backarrow.png"class="arrow"
onclick="window.location.href='index.php'"/>
<h5 class="phead">CART</h5>
</div>
</div>
<div class="container">
<?php
$total=0;
$ship=0;
$x=1;
$count=mysqli_num_rows($res);
while($row=mysqli_fetch_array($res))
?>
<div class="item">
<div class="qty">
</select>
<script>
</script>
</div>
<h5 style="float:left;color:gray;font-size:15px;padding-top:7px;padding-
left:23px;font-weight:100;">Usually Delivered in 3-4 Days</h5>
</div>
<?php
$ship+=200;
$x++;
$total+=($row['price']*$row['qty'] );
?>
</div>
<?php
if($cid!="")
if($count>0)
?>
<div class="pricedt">
<div class="priced">
<hr>
<hr class="hr2">
</div>
<div class="payment">
<hr>
<div class="pmsub">
</div>
<?php
$res1=mysqli_query($con,$sql3);
while($row1=mysqli_fetch_array($res1))
?>
<div class="address">
<hr class="hr4">
</p>
</div>
<?php
?>
</div>
</div>
</form>
<?php
?> </body>
</html><?php
if(isset($_GET['action']))
if($_GET['action']=="remove")
$cd=$_GET['cid'];
if(mysqli_query($con,$sql))
if(isset($_GET["crt"]))
$id=$_GET["crt"];
$qty=$_GET["qty"];
if(mysqli_query($con,$sql))
}?>
<?php
if(isset($_POST['plorder']))
$pid=$_POST['pid'];
$qty=$_POST['qty'];
date_default_timezone_set('Asia/Kolkata');
$odate=date('d/m/Y');
$qt=$qty[$key];
$res=mysqli_query($con,$qry
while($row=mysqli_fetch_array ($res))
$mrp=$row['pro_mrp'];
$offer=$row['pro_offer'];
$name=$row['product_name'];
$img=$row['img1'];
$sql="insertintoorder_tbl
(cust_id,product_id,product_name,mrp,offer,status,img1,qty,order_date)
values('$cid','$value','$name','$mrp','$offer','Order Placed','$img','$qt','$odate')";
if(mysqli_query($con,$sql)) {
mysqli_query($con,$sql);
?>