-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Jun 19, 2024 at 04:23 AM
-- Server version: 10.6.18-MariaDB-cll-lve-log
-- PHP Version: 8.1.28

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `bezomzdw_bukfrnd`
--

-- --------------------------------------------------------

--
-- Table structure for table `cart`
--

CREATE TABLE `cart` (
  `id` int(11) NOT NULL,
  `userid` varchar(255) NOT NULL,
  `product` varchar(255) NOT NULL,
  `pid` varchar(255) NOT NULL,
  `amount` varchar(255) NOT NULL,
  `qty` varchar(255) NOT NULL,
  `orderid` varchar(255) NOT NULL,
  `status` varchar(255) NOT NULL,
  `up_date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `cart`
--

INSERT INTO `cart` (`id`, `userid`, `product`, `pid`, `amount`, `qty`, `orderid`, `status`, `up_date`) VALUES
(1, '9c53164619b53b71d97cc79c8020bf99', 'AirPods Pro', 'TD32PUPL', '1281', '4', '9364987', 'ordered', '2023-08-09 04:32:19'),
(2, '9c53164619b53b71d97cc79c8020bf99', 'Google Pixel 5', 'TDMD05NZ', '1240', '2', '9364987', 'ordered', '2023-08-09 04:32:19'),
(3, '9c53164619b53b71d97cc79c8020bf99', 'Work Desk Surface Studio 2018', 'TDPNXMW7', '958', '1', '9364987', 'ordered', '2023-08-09 04:32:19'),
(4, '9c53164619b53b71d97cc79c8020bf99', 'Work Desk Surface Studio 2018', 'TD8HAGHN', '1726', '1', '9364987', 'ordered', '2023-08-09 04:32:19'),
(5, '9c53164619b53b71d97cc79c8020bf99', 'Apple Watch Series 6', 'TDG92Y2G', '1148', '1', '9364987', 'ordered', '2023-08-09 04:32:19'),
(6, '9c53164619b53b71d97cc79c8020bf99', 'Dell Inspiron', 'TD3ADCMT', '1241', '1', '9364987', 'ordered', '2023-08-09 04:32:19'),
(7, '9c53164619b53b71d97cc79c8020bf99', 'iPad Air', 'TDVSTGMB', '1405', '1', '9364987', 'ordered', '2023-08-09 04:32:19'),
(8, '9c53164619b53b71d97cc79c8020bf99', 'Work Desk Surface Studio 2018', 'TD54XJDN', '1422', '1', '', 'deleted', '2023-08-09 04:35:18'),
(9, '9c53164619b53b71d97cc79c8020bf99', 'Apple Watch Series 6', 'TDP3F39F', '1043', '1', '8569459', 'ordered', '2023-08-09 04:36:24'),
(10, '9c53164619b53b71d97cc79c8020bf99', 'Google Pixel 5', 'TDMD05NZ', '1240', '1', '8569459', 'ordered', '2023-08-09 04:36:24');

-- --------------------------------------------------------

--
-- Table structure for table `checkout`
--

CREATE TABLE `checkout` (
  `id` int(11) NOT NULL,
  `userid` varchar(255) NOT NULL,
  `country` varchar(255) NOT NULL,
  `fname` varchar(255) NOT NULL,
  `lname` varchar(255) NOT NULL,
  `company` varchar(255) NOT NULL,
  `address` varchar(255) NOT NULL,
  `apartment` varchar(255) NOT NULL,
  `town` varchar(255) NOT NULL,
  `state` varchar(255) NOT NULL,
  `postcode` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `phone` varchar(255) NOT NULL,
  `orderid` varchar(255) NOT NULL,
  `status` varchar(255) NOT NULL,
  `up_date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `checkout`
--

INSERT INTO `checkout` (`id`, `userid`, `country`, `fname`, `lname`, `company`, `address`, `apartment`, `town`, `state`, `postcode`, `email`, `phone`, `orderid`, `status`, `up_date`) VALUES
(2, '9c53164619b53b71d97cc79c8020bf99', 'Cambodia', 'Okya', 'Demian', 'Damini', 'Camb 10', 'Saxre', 'Camby', 'Incam', '223990', 'mycmab@gmail.com', '07889088383', '9364987', 'delivered', '2023-08-09 04:53:15'),
(3, '9c53164619b53b71d97cc79c8020bf99', 'Afghanistan', 'hjbn', 'hjnm', 'bnm', 'bnbn', 'yu', 'bn', 'ybn', '11', 'ybn@gm.co', '456', '8569459', 'ordered', '2023-08-09 04:36:24');

-- --------------------------------------------------------

--
-- Table structure for table `homepage`
--

CREATE TABLE `homepage` (
  `id` int(11) NOT NULL,
  `phone` varchar(255) NOT NULL,
  `address` varchar(255) NOT NULL,
  `description` longtext NOT NULL,
  `title1` varchar(255) NOT NULL,
  `subtitle1` longtext NOT NULL,
  `title2` varchar(255) NOT NULL,
  `subtitle2` longtext NOT NULL,
  `title3` varchar(255) NOT NULL,
  `subtitle3` longtext NOT NULL,
  `title4` varchar(255) NOT NULL,
  `subtitle4` longtext NOT NULL,
  `about` longtext NOT NULL,
  `twitter` varchar(255) NOT NULL,
  `facebook` varchar(255) NOT NULL,
  `instagram` varchar(255) NOT NULL,
  `whatsapp` varchar(255) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `homepage`
--

INSERT INTO `homepage` (`id`, `phone`, `address`, `description`, `title1`, `subtitle1`, `title2`, `subtitle2`, `title3`, `subtitle3`, `title4`, `subtitle4`, `about`, `twitter`, `facebook`, `instagram`, `whatsapp`) VALUES
(1, '9065617604', 'Wellls Fargo', 'your description for products goes here', 'Product Delivery', 'Get your product delivered directly after checkout.', 'Safe Payment', 'Pay with the world\'s most popular and secure payment methods.', 'Shop with Confidence', 'Our Buyer Protection covers your purchasefrom click to delivery.', '24/7 Help Center', 'Have a question? Call a Specialist or chat online.', 'Discover exclusive discounts on our handpicked selection of premium products available only at our stores.', 'twitterlink', 'facebooklink', 'instagramlink', '011234543890');

-- --------------------------------------------------------

--
-- Table structure for table `products`
--

CREATE TABLE `products` (
  `id` int(11) NOT NULL,
  `category` varchar(255) DEFAULT NULL,
  `title` varchar(255) DEFAULT NULL,
  `description` varchar(255) DEFAULT NULL,
  `price` varchar(255) DEFAULT NULL,
  `dprice` varchar(255) DEFAULT NULL,
  `discount` varchar(255) DEFAULT NULL,
  `rating` varchar(255) DEFAULT NULL,
  `class` varchar(255) DEFAULT NULL,
  `refid` varchar(255) DEFAULT NULL,
  `img1` varchar(255) DEFAULT NULL,
  `img2` varchar(255) DEFAULT NULL,
  `img3` varchar(255) DEFAULT NULL,
  `status` varchar(255) NOT NULL,
  `up_date` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

-- --------------------------------------------------------

--
-- Table structure for table `superad`
--

CREATE TABLE `superad` (
  `id` int(11) NOT NULL,
  `username` varchar(255) NOT NULL,
  `password` varchar(255) NOT NULL,
  `status` varchar(255) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `superad`
--

INSERT INTO `superad` (`id`, `username`, `password`, `status`) VALUES
(1, 'cubbyman', 'bukfrnd', 'active');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `cart`
--
ALTER TABLE `cart`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `checkout`
--
ALTER TABLE `checkout`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `homepage`
--
ALTER TABLE `homepage`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `products`
--
ALTER TABLE `products`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `superad`
--
ALTER TABLE `superad`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `cart`
--
ALTER TABLE `cart`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `checkout`
--
ALTER TABLE `checkout`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `homepage`
--
ALTER TABLE `homepage`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `products`
--
ALTER TABLE `products`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `superad`
--
ALTER TABLE `superad`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
