-- https://www.phpmyadmin.net/
--

START TRANSACTION;



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

--
-- Table structure for table `event`
--

CREATE TABLE `event` (
  `id` int(11) NOT NULL,
  `Image` varchar(100) NOT NULL,
  `venue` varchar(100) NOT NULL,
  `closedate` datetime NOT NULL,
  `Time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `event`
--

INSERT INTO `event` (`id`, `Image`, `venue`, `closedate`, `Time`) VALUES
(1, 'event1.JPG', 'kitui Vila', '2021-09-30 00:00:00', '2021-08-30 13:15:49'),
(2, 'event2.JPG', 'Kitui Gardens', '2021-09-30 00:00:00', '2021-08-30 13:16:20'),
(3, 'event3.JPG', 'KItui Gardens', '2021-08-14 00:00:00', '2021-07-13 08:24:28');

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

--
-- Table structure for table `eventbookings`
--

CREATE TABLE `eventbookings` (
  `id` int(255) NOT NULL,
  `username` varchar(255) NOT NULL,
  `Event` int(255) NOT NULL,
  `Description` varchar(255) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `eventbookings`
--

INSERT INTO `eventbookings` (`id`, `username`, `Event`, `Description`) VALUES
(1, 'ken', 1, 'Hello'),
(2, 'ken', 1, 'poa'),
(3, 'ken', 1, 'hello'),
(4, 'ken', 1, 'Hello'),
(5, 'ken', 3, 'sasa'),
(6, 'ken', 16, 'Hello'),
(7, 'ken', 2, 'sasa'),
(8, 'ken', 10, 'sasa'),
(9, 'ken', 1, 'saseni'),
(10, 'ken', 1, 'saseni');

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

--
-- Table structure for table `fun`
--

CREATE TABLE `fun` (
  `id` int(100) NOT NULL,
  `name` varchar(500) NOT NULL,
  `link` varchar(100) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `fun`
--

INSERT INTO `fun` (`id`, `name`, `link`) VALUES
(64, 'Shuhudia Nan Mkali Simba na Chui Pambano Ona Kilichotokea Leopard Vs Lion ,Lion Vs Cobra', '_r-EX8FNPVo'),
(67, 'Learn Swahili and English with Akili and Me | Bilingual Learning for Preschoolers', 'KolbURDgKxY'),
(69, 'The Planet Song for Kids', '7t099KIWVVs'),
(70, 'This Is The Way We Get Dressed | Kids Songs | Super Simple Songs', '1GDFa-nEzlg'),
(71, '&#128104;&#127995;&#8205;&#127806; OLD MCDONALD HAD A FARM &#128104;&#127995;&#8205;&#127806; | Nursery Rhymes & Baby Songs - Pocoyo', 'gVQXs_Mgt-g'),
(72, 'Johny Johny Yes Papa &#128118; THE BEST Song for Children | LooLoo Kids', 'F4tHL8reNCs'),
(73, '[OUT NOW] Baby Shark Car Safety Song | Kia X Pinkfong | Kia Carnival | Pinkfong Songs for Children', '-ODWhbWqAjQ'),
(74, 'Yes Yes Bedtime Song + More ChuChu TV 3D Baby Nursery Rhymes and Kids Songs', 'fTeswjDh1GI'),
(75, '*New* No No Yes Yes Go to School Song - ChuChu TV Baby Nursery Rhymes & Kids Songs', '4GcLWywzQXY');

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

--
-- Table structure for table `offers`
--

CREATE TABLE `offers` (
  `id` int(11) NOT NULL,
  `Image` varchar(100) NOT NULL,
  `Title` varchar(100) NOT NULL,
  `Lesson` varchar(100) NOT NULL,
  `Details` varchar(1000) NOT NULL,
  `Time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `offers`
--

INSERT INTO `offers` (`id`, `Image`, `Title`, `Lesson`, `Details`, `Time`) VALUES
(1, 'Screenshot (1).png', 'kids', 'lesson 1', 'kids', '2022-05-18 17:32:09'),
(2, 'aalogo.jpg', 'Kids', 'lesson 3', 'Kids', '2022-05-18 17:33:37'),
(3, 'slider3.JPG', 'Introducing Technology in our farms', 'lesson 2', 'The first step is to embrace Technology', '2021-05-09 21:35:04'),
(4, 'Screenshot (1).png', 'kinds play', 'lesson 4', 'kids play', '2022-04-28 05:24:48');

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

--
-- Table structure for table `questions`
--

CREATE TABLE `questions` (
  `id` int(11) NOT NULL,
  `username` varchar(100) NOT NULL,
  `Category` text NOT NULL,
  `Question` varchar(1000) NOT NULL,
  `Time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `questions`
--

INSERT INTO `questions` (`id`, `username`, `Category`, `Question`, `Time`) VALUES
(25, 'ken', 'General', 'hello ken', '2021-06-15 10:39:26'),
(20, 'ken', 'online-exams', 'sasa', '2021-05-12 06:53:10'),
(21, 'nicho', 'General', 'niaje', '2021-05-22 13:33:32'),
(26, 'ken', 'General', 'sasa', '2021-06-18 06:14:23'),
(22, 'vinnii', 'online-exams', 'which exams are available', '2021-06-06 06:12:02'),
(23, 'ken', 'online-exams', 'saseni  ', '2021-06-11 16:40:29'),
(24, 'ken', 'General', 'sasa', '2021-06-13 13:45:26'),
(27, 'mike', 'General', 'hello', '2021-06-22 09:37:05'),
(28, 'Ken', 'online-exams', 'Sasa', '2022-03-30 19:14:47'),
(29, 'Ken', 'discussion-forum', 'Hello musina', '2022-03-31 05:36:06'),
(30, 'Ken', 'General', 'Sasa evans', '2022-04-04 05:52:56'),
(31, 'ken', 'discussion-forum', 'hello dickson', '2022-04-28 05:23:25');

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

--
-- Table structure for table `reply_questions`
--

CREATE TABLE `reply_questions` (
  `id` int(11) NOT NULL,
  `username` varchar(100) NOT NULL,
  `Asked` varchar(1000) NOT NULL,
  `Answer` varchar(1000) NOT NULL,
  `Time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `reply_questions`
--

INSERT INTO `reply_questions` (`id`, `username`, `Asked`, `Answer`, `Time`) VALUES
(13, 'ken', 'sasa', 'poa', '2021-05-12 06:53:22'),
(14, 'nicho', 'niaje', 'poa sana sema', '2021-05-22 13:33:51'),
(11, 'ken', 'which Exam are on offer', 'java,c++', '2021-05-07 09:58:07'),
(12, 'ken', 'which Exam are on offer', 'science', '2021-05-07 13:01:24'),
(15, 'vinnii', 'which exams are available', 'java', '2021-06-06 06:12:22'),
(16, 'ken', 'saseni  ', 'poa', '2021-06-11 16:41:42'),
(17, 'ken', 'sasa', 'poa', '2021-06-13 13:46:14'),
(18, 'ken', 'hello ken', 'poa sana', '2021-06-15 10:39:54'),
(19, 'ken', 'sasa', 'poa sana brio', '2021-06-18 06:15:17'),
(20, 'mike', 'hello', 'poa', '2021-06-22 09:37:37'),
(21, 'Ken', 'Hello musina', 'poa sana', '2022-03-31 05:36:27'),
(22, 'Ken', 'Sasa evans', 'poa sana mkuu', '2022-04-04 05:54:01'),
(23, 'ken', 'hello dickson', 'poa sana', '2022-04-28 05:23:47');

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

--
-- Table structure for table `servicebooking`
--

CREATE TABLE `servicebooking` (
  `id` int(255) NOT NULL,
  `username` varchar(255) NOT NULL,
  `Service` varchar(255) NOT NULL,
  `Description` varchar(255) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `servicebooking`
--

INSERT INTO `servicebooking` (`id`, `username`, `Service`, `Description`) VALUES
(1, 'ken', '16', 'sasa'),
(2, 'ken', '2', 'hghjklghjk'),
(3, 'mike', '2', 'i need a logo for my school'),
(4, 'ken', '5', 'book'),
(5, 'Ken', '2', 'Need this logo'),
(6, 'ken', '18', 'I need this');

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

--
-- Table structure for table `services`
--

CREATE TABLE `services` (
  `id` int(20) NOT NULL,
  `Image` varchar(200) NOT NULL,
  `Name` varchar(100) NOT NULL,
  `Link` varchar(200) NOT NULL,
  `Category` varchar(100) NOT NULL,
  `Price` int(20) NOT NULL,
  `Time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `services`
--

INSERT INTO `services` (`id`, `Image`, `Name`, `Link`, `Category`, `Price`, `Time`) VALUES
(2, 'student.PNG', 'Student Website', 'http://demo.papemus.co.ke/demo/student/', 'websites', 8000, '2022-04-06 21:33:33'),
(3, 'mainkentech.PNG', 'Main School Website', 'http://demo.papemus.co.ke/demo/mainpage/', 'websites', 15000, '2022-04-06 21:33:44'),
(4, 'alumni.PNG', 'Alumni Website', 'http://demo.papemus.co.ke/demo/alumni', 'websites', 5000, '2022-04-06 21:34:07'),
(5, 'church.PNG', 'School Church Management System', '//localhost/church', 'Systems', 25000, '2021-05-10 14:50:25'),
(18, 'Screenshot (1).png', 'shool website', '000', 'websites', 700, '2021-11-02 13:40:46'),
(8, 'logokentech.gif', 'School Logo', '0000', 'Grapics', 2000, '2021-05-10 15:05:26'),
(9, 'banner.JPG', 'School Banner', '000', 'Grapics', 7000, '2021-05-10 15:12:31'),
(10, 'certificate.JPG', 'Certificate Design', '0000', 'Grapics', 1500, '2021-05-10 15:16:55'),
(15, 'portal.PNG', 'School Management System', 'http://demo.papemus.co.ke/demo/school/', 'Systems', 40000, '2022-04-06 21:34:28'),
(13, 'kidsbanner.PNG', 'Banner', '000', 'Grapics', 7000, '2021-06-14 19:05:10'),
(14, 'bronchures.PNG', 'Bronchures', '0000', 'Grapics', 5000, '2021-06-14 19:22:25'),
(16, 'kisspng-human-resource-management-system-human-capital-human-resource-management-system-5b1e1e776ccd14.9853853515287005354457.jpg', 'Schoool Human Resource Management System', '//localhost/pro/system', 'Systems', 35000, '2021-06-15 11:02:38');

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

--
-- Table structure for table `tbl_cart`
--

CREATE TABLE `tbl_cart` (
  `id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `member_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tbl_cart`
--

INSERT INTO `tbl_cart` (`id`, `product_id`, `quantity`, `member_id`) VALUES
(9, 126, 4, 2),
(10, 128, 1, 2),
(11, 125, 1, 2),
(12, 127, 1, 2);

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

--
-- Table structure for table `tbl_order`
--

CREATE TABLE `tbl_order` (
  `id` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `amount` double NOT NULL,
  `name` varchar(255) NOT NULL,
  `phone` varchar(255) NOT NULL,
  `payment_type` varchar(255) NOT NULL,
  `order_status` varchar(255) NOT NULL,
  `order_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tbl_order`
--

INSERT INTO `tbl_order` (`id`, `customer_id`, `amount`, `name`, `phone`, `payment_type`, `order_status`, `order_at`) VALUES
(21, 2, 400, 'Mr Musembi', '5455', 'PAYPAL', 'PENDING', '2021-06-26 10:10:22'),
(26, 2, 300, 'ken', '254704753346', 'PAYPAL', 'PENDING', '2021-06-26 10:35:06'),
(27, 2, 300, 'kambui', '254704753346', 'PAYPAL', 'PENDING', '2021-06-26 10:35:35'),
(28, 2, 300, 'ken', '254704753346', 'PAYPAL', 'PENDING', '2021-06-26 10:40:04'),
(29, 2, 600, 'ken', '254704753346', 'PAYPAL', 'PENDING', '2021-06-26 10:43:38'),
(30, 2, 600, 'ken', '254704753346', 'PAYPAL', 'PENDING', '2021-06-26 10:55:15'),
(31, 2, 600, 'ken', '254704753346', 'PAYPAL', 'PENDING', '2021-06-26 10:56:48'),
(32, 2, 600, 'ken', '254704753346', 'PAYPAL', 'PENDING', '2021-06-26 10:57:01'),
(33, 2, 600, 'ken', '254704753346', 'PAYPAL', 'PENDING', '2021-06-26 10:58:28'),
(34, 2, 600, 'ken', '254704753346', 'PAYPAL', 'PENDING', '2021-06-26 10:58:55'),
(35, 2, 600, 'ken', '254704753346', 'PAYPAL', 'PENDING', '2021-06-26 10:59:10'),
(36, 2, 600, 'ken', '254704753346', 'PAYPAL', 'PENDING', '2021-06-26 11:02:06'),
(37, 2, 600, 'ken', '254704753346', 'PAYPAL', 'PENDING', '2021-06-26 11:02:55'),
(38, 2, 600, 'ken', '254704753346', 'PAYPAL', 'PENDING', '2021-06-26 11:04:14'),
(39, 2, 600, 'ken', '254704753346', 'PAYPAL', 'PENDING', '2021-06-26 11:04:18'),
(40, 2, 600, 'ken', '254704753346', 'PAYPAL', 'PENDING', '2021-06-26 11:04:26'),
(41, 2, 600, 'ken', '0704753346', 'PAYPAL', 'PENDING', '2021-06-26 11:05:05'),
(42, 2, 600, 'ken', '0704753346', 'PAYPAL', 'PENDING', '2021-06-26 11:07:07'),
(43, 2, 600, 'ken', '0704753346', 'PAYPAL', 'PENDING', '2021-06-26 11:07:19'),
(44, 2, 600, 'ken', '0704753346', 'PAYPAL', 'PENDING', '2021-06-26 11:07:52'),
(45, 2, 600, 'ken', '0704753346', 'PAYPAL', 'PENDING', '2021-06-26 11:08:55'),
(46, 2, 600, 'ken', '0704753346', 'PAYPAL', 'PENDING', '2021-06-26 11:09:19'),
(47, 2, 600, 'ken', '0704753346', 'PAYPAL', 'PENDING', '2021-06-26 11:10:54'),
(48, 2, 600, 'ken', '0704753346', 'PAYPAL', 'PENDING', '2021-06-26 11:11:30'),
(49, 2, 600, 'ken', '0704753346', 'PAYPAL', 'PENDING', '2021-06-26 11:11:45'),
(50, 2, 600, 'ken', '0704753346', 'PAYPAL', 'PENDING', '2021-06-26 11:11:55'),
(51, 2, 600, 'ken', '0704753346', 'PAYPAL', 'PENDING', '2021-06-26 11:12:21'),
(52, 2, 600, 'ken', '0704753346', 'PAYPAL', 'PENDING', '2021-06-26 11:13:11'),
(53, 2, 600, 'ken', '0704753346', 'PAYPAL', 'PENDING', '2021-06-26 11:13:42'),
(54, 2, 600, 'ken', '0704753346', 'PAYPAL', 'PENDING', '2021-06-26 11:14:40'),
(55, 2, 600, 'ken', '0704753346', 'PAYPAL', 'PENDING', '2021-06-26 11:15:40'),
(56, 2, 600, 'ken', '0704753346', 'PAYPAL', 'PENDING', '2021-06-26 11:16:36'),
(57, 2, 600, 'ken', '0704753346', 'PAYPAL', 'PENDING', '2021-06-26 11:16:59'),
(58, 2, 600, 'ken', '0704753346', 'PAYPAL', 'PENDING', '2021-06-26 11:17:23'),
(59, 2, 600, 'ken', '0704753346', 'PAYPAL', 'PENDING', '2021-06-26 11:17:49'),
(60, 2, 600, 'ken', '0704753346', 'PAYPAL', 'PENDING', '2021-06-26 11:47:34'),
(61, 2, 600, 'ken', '254704753346', 'PAYPAL', 'PENDING', '2021-06-26 11:56:31'),
(62, 2, 900, 'ken', '0704753346', 'PAYPAL', 'PENDING', '2021-06-28 09:32:33'),
(63, 2, 1800, 'ken', '1234', 'PAYPAL', 'PENDING', '2021-06-29 08:30:41'),
(64, 2, 1800, 'ken', '1234', 'PAYPAL', 'PENDING', '2021-06-29 08:33:24'),
(65, 2, 1800, 'ken', '1234', 'PAYPAL', 'PENDING', '2021-06-29 08:33:49'),
(66, 2, 2200, 'ken', '254704753346', 'PAYPAL', 'PENDING', '2021-08-03 05:50:13');

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

--
-- Table structure for table `tbl_order_item`
--

CREATE TABLE `tbl_order_item` (
  `id` int(11) NOT NULL,
  `order_id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `item_price` double NOT NULL,
  `quantity` int(11) NOT NULL,
  `Time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tbl_order_item`
--

INSERT INTO `tbl_order_item` (`id`, `order_id`, `product_id`, `item_price`, `quantity`, `Time`) VALUES
(1, 1, 1, 1500, 1, '2021-05-07 09:48:38'),
(2, 2, 1, 1500, 20, '2021-05-07 09:48:38'),
(3, 3, 1, 1500, 1, '2021-05-07 09:48:38'),
(4, 3, 2, 800, 1, '2021-05-05 09:48:38'),
(5, 4, 2, 800, 1, '2021-05-07 09:48:38'),
(6, 4, 3, 300, 1, '2021-05-07 09:48:38'),
(7, 5, 1, 1500, 1, '2021-05-07 09:48:38'),
(8, 6, 2, 800, 2, '2021-05-07 09:48:38'),
(9, 6, 3, 300, 1, '2021-05-07 09:48:38'),
(10, 7, 1, 1500, 1, '2021-05-07 09:48:38'),
(11, 8, 2, 800, 1, '2021-05-07 09:48:38'),
(12, 8, 1, 1500, 1, '2021-05-07 09:48:38'),
(13, 9, 2, 800, 1, '2021-04-07 09:48:38'),
(14, 10, 2, 800, 1, '2021-05-07 09:48:38'),
(15, 11, 2, 800, 1, '2021-05-07 09:48:38'),
(16, 12, 1, 1500, 1, '2021-05-07 23:38:12'),
(17, 12, 4, 400, 1, '2021-05-07 23:38:12'),
(18, 13, 2, 800, 1, '2021-05-09 15:49:56'),
(19, 14, 57, 400, 1, '2021-05-10 16:45:11'),
(20, 15, 51, 500, 1, '2021-05-12 09:51:01'),
(21, 16, 52, 300, 1, '2021-05-22 12:45:57'),
(22, 17, 60, 300, 1, '2021-05-28 17:36:50'),
(23, 23, 127, 400, 1, '2021-06-26 12:11:08'),
(24, 23, 128, 600, 1, '2021-06-26 12:11:08'),
(25, 24, 127, 400, 1, '2021-06-26 12:17:39'),
(26, 24, 128, 600, 1, '2021-06-26 12:17:39'),
(27, 20, 125, 400, 1, '2021-06-26 13:08:59'),
(28, 21, 125, 400, 1, '2021-06-26 13:10:22'),
(29, 22, 126, 300, 1, '2021-06-26 13:17:12'),
(30, 23, 126, 300, 1, '2021-06-26 13:21:24'),
(31, 24, 126, 300, 1, '2021-06-26 13:27:01'),
(32, 25, 126, 300, 1, '2021-06-26 13:31:47'),
(33, 26, 126, 300, 1, '2021-06-26 13:35:06'),
(34, 27, 126, 300, 1, '2021-06-26 13:35:35'),
(35, 28, 126, 300, 1, '2021-06-26 13:40:04'),
(36, 29, 126, 300, 2, '2021-06-26 13:43:38'),
(37, 30, 126, 300, 2, '2021-06-26 13:55:15'),
(38, 31, 126, 300, 2, '2021-06-26 13:56:48'),
(39, 32, 126, 300, 2, '2021-06-26 13:57:01'),
(40, 33, 126, 300, 2, '2021-06-26 13:58:28'),
(41, 34, 126, 300, 2, '2021-06-26 13:58:55'),
(42, 35, 126, 300, 2, '2021-06-26 13:59:10'),
(43, 36, 126, 300, 2, '2021-06-26 14:02:06'),
(44, 37, 126, 300, 2, '2021-06-26 14:02:55'),
(45, 38, 126, 300, 2, '2021-06-26 14:04:14'),
(46, 39, 126, 300, 2, '2021-06-26 14:04:18'),
(47, 40, 126, 300, 2, '2021-06-26 14:04:26'),
(48, 41, 126, 300, 2, '2021-06-26 14:05:05'),
(49, 42, 126, 300, 2, '2021-06-26 14:07:07'),
(50, 43, 126, 300, 2, '2021-06-26 14:07:19'),
(51, 44, 126, 300, 2, '2021-06-26 14:07:52'),
(52, 45, 126, 300, 2, '2021-06-26 14:08:55'),
(53, 46, 126, 300, 2, '2021-06-26 14:09:19'),
(54, 47, 126, 300, 2, '2021-06-26 14:10:54'),
(55, 48, 126, 300, 2, '2021-06-26 14:11:30'),
(56, 49, 126, 300, 2, '2021-06-26 14:11:45'),
(57, 50, 126, 300, 2, '2021-06-26 14:11:55'),
(58, 51, 126, 300, 2, '2021-06-26 14:12:21'),
(59, 52, 126, 300, 2, '2021-06-26 14:13:11'),
(60, 53, 126, 300, 2, '2021-06-26 14:13:42'),
(61, 54, 126, 300, 2, '2021-06-26 14:14:40'),
(62, 55, 126, 300, 2, '2021-06-26 14:15:40'),
(63, 56, 126, 300, 2, '2021-06-26 14:16:36'),
(64, 57, 126, 300, 2, '2021-06-26 14:16:59'),
(65, 58, 126, 300, 2, '2021-06-26 14:17:23'),
(66, 59, 126, 300, 2, '2021-06-26 14:17:49'),
(67, 60, 126, 300, 2, '2021-06-26 14:47:34'),
(68, 61, 126, 300, 2, '2021-06-26 14:56:31'),
(69, 62, 126, 300, 3, '2021-06-28 12:32:33'),
(70, 63, 126, 300, 4, '2021-06-29 11:30:41'),
(71, 63, 128, 600, 1, '2021-06-29 11:30:41'),
(72, 64, 126, 300, 4, '2021-06-29 11:33:24'),
(73, 64, 128, 600, 1, '2021-06-29 11:33:25'),
(74, 65, 126, 300, 4, '2021-06-29 11:33:49'),
(75, 65, 128, 600, 1, '2021-06-29 11:33:49'),
(76, 66, 126, 300, 4, '2021-08-03 08:50:14'),
(77, 66, 128, 600, 1, '2021-08-03 08:50:14'),
(78, 66, 125, 400, 1, '2021-08-03 08:50:14');

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

--
-- Table structure for table `tbl_payment`
--

CREATE TABLE `tbl_payment` (
  `id` int(11) NOT NULL,
  `order_id` int(11) NOT NULL,
  `payment_status` varchar(255) NOT NULL,
  `payment_response` text NOT NULL,
  `create_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `tbl_product`
--

CREATE TABLE `tbl_product` (
  `id` int(8) NOT NULL,
  `name` varchar(255) NOT NULL,
  `Category` varchar(255) NOT NULL,
  `image` text NOT NULL,
  `price` double(10,2) NOT NULL,
  `Link` varchar(1000) NOT NULL,
  `Des` varchar(200) NOT NULL,
  `Time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tbl_product`
--

INSERT INTO `tbl_product` (`id`, `name`, `Category`, `image`, `price`, `Link`, `Des`, `Time`) VALUES
(125, 'Magazine for Kids', 'Others', 'childens magazine.JPG', 400.00, '000', 'nice book', '2021-06-15 08:22:39'),
(126, 'Animal Tales', 'Others', 'animal tales.jpg', 300.00, '0000', 'nice', '2021-06-15 08:24:25'),
(127, 'Bedtime Stories', 'Others', 'bedtime stories.jpg', 400.00, '0000', 'nice book', '2021-06-15 08:26:47'),
(128, 'Stories  for boys', 'Others', 'boys.jpg', 600.00, '000', 'nice book', '2021-06-15 08:28:22'),
(129, 'Diary of Wimpy Kid', 'Others', 'diary of wimpy kid.jpg', 550.00, '0000', 'nice book', '2021-06-15 08:30:33'),
(130, 'Kingdom of Fantansy', 'Others', 'kingdom of fantansy.jpg', 500.00, '00000', 'nice book', '2021-06-15 08:32:16'),
(131, 'Stories for girls', 'Others', 'stories for girls.jpg', 450.00, '000000', 'nice book', '2021-06-15 08:43:46'),
(132, 'Worders of the world', 'Others', 'worders of world.jpg', 500.00, '0000', 'nice book', '2021-06-15 08:45:21'),
(133, 'Solved Papers', '8th', '4.jpg', 900.00, '0000', 'nice book', '2021-06-15 09:02:30'),
(134, 'General Knowledge', 'Others', '2.jpg', 250.00, '000', 'nice book', '2021-06-15 09:03:52');

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

--
-- Table structure for table `videos`
--

CREATE TABLE `videos` (
  `id` int(100) NOT NULL,
  `name` varchar(50) NOT NULL,
  `Category` varchar(255) NOT NULL,
  `link` varchar(100) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `videos`
--

INSERT INTO `videos` (`id`, `name`, `Category`, `link`) VALUES
(25, 'CLASS 2 Science', '2nd', '6T88IMuhDp0'),
(27, 'Form Four Genetics', '4th', 'uZJT5eMT1Sk'),
(26, 'Maths Class 2', '2nd', 'NpJ9dPqWtJ8'),
(29, 'Grade 12 Geography Minerals', '12th', 'fJ0UFAvTgE0'),
(28, 'Grade  Physics Exrays', '12th', 'hMNi0emfcnM'),
(30, 'Mathematics Grade 7', '7th', 'dVbnEYOoOgE'),
(31, 'Kindergarden', 'K', 'dDDluthJTCU'),
(32, 'Kindergarden', 'K', 'SWGL1wpw9s0'),
(33, 'SOCIAL STUDIES SONGS FOR CLASS 5,6,7&8', 'Others', 'T72Gf2HYCOo'),
(34, 'A Grain of Wheat Summary by Ngugi wa Thiong\'o', 'Others', 'SlJZVw1pAcA'),
(35, 'BETRAYAL IN THE CITY by Francis Imbuga', 'Others', 'RoAZ3Htw3Ws'),
(36, 'Form 3 - English - Topic: Poetry_Lesson_1', '11th', 'cKvwAmYvBZI'),
(37, 'KCSE_BIOLOGY - FORM 1 - CELL PHYSIOLOGY', '9th', 'E-lXVf-E_Bc'),
(38, 'Form 3 Mathematics lesson 40 Income Tax', '11th', 'csApWP7iOiI'),
(39, 'SECONDARY SCHOOL-FORM 1- ENGLISH GRAMMAR', '9th', '1dO4LVqQ_WQ'),
(40, 'INTRODUCTION TO BIOLOGY - FORM 1', '9th', '7kveRwLVofM'),
(41, 'Grade 3 Mathematics Revision Test 1', '3rd', 'KTd71zosyp4'),
(42, 'GRADE 3 ENGLISH ONLINE LESSON 1', '3rd', 'lCYtJ262HL0'),
(43, 'Kiswahili Grade Three : Miezi ya Mwaka - Msamiati', '3rd', 'Gd8Z0NuuKow'),
(44, 'GRADE 1 HYGIENE AND NUTRITION', '1st', 'o3AFw-VdHAk'),
(45, 'Environmental Activities Grade 1 Lesson 2', '1st', 'Smjk12HBZUo'),
(46, 'Class 7 Mathematics Revision Final.', '7th', 'Og14A9FC0L8'),
(47, 'Class 7 math lesson', '7th', 'pF4yyl3IMUw'),
(48, 'KCPE SCIENCE 2019 qn no 1', 'Others', '8DQqfaMcp_s'),
(49, 'KCPE 2016 MATHS #4', 'Others', 'nbgeUNL8QF8'),
(50, 'STD_5 - SCIENCE - FOOD NUTRIENTS-KCPE', '', '2JyMpZVsZMM'),
(51, 'Class 5 - Social Studies (Map Of Kenya)', '', 'ZxB5SPodNcA'),
(52, 'Class 5 Kiswahili Revision Part 1', '', '-9SG7iI2wNU'),
(53, 'CLASS 5 ONLINE ENGLISH LESSON ONE', '', 'ak494NmhkeM'),
(54, 'SOCIAL STUDIES - STANDARD 5', '', 'C_XgwCpMg_0'),
(55, 'Class 6 Mathematics Revision Final', '', 'VJtWevWjm4o'),
(56, 'CLASS 6 (SST) - BLOCK MOUNTAINS', '', '1oaM6-jHLzQ'),
(57, 'STD 6 MATHEMATICS: TOPIC: CAPACITY', '', 'Z70P0Tr0vvw'),
(58, 'GRADE 4 MATHEMATICS', '', '8f71_tM6-fE'),
(59, 'GRADE 4 - SCIENCE AND TECHNOLOGY', '', 'E1wQy0eW9RE'),
(60, 'Agriculture Grade 4 Part 1', '', 'jBhOwPBELOo'),
(61, 'Grade 3 Mathematics Revision Test 1', '', 'KTd71zosyp4');

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `fun`
--
ALTER TABLE `fun`
  MODIFY `id` int(100) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=76;

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

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

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

--
-- AUTO_INCREMENT for table `servicebooking`
--
ALTER TABLE `servicebooking`
  MODIFY `id` int(255) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `services`
--
ALTER TABLE `services`
  MODIFY `id` int(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;

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

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

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

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

--
-- AUTO_INCREMENT for table `tbl_product`
--
ALTER TABLE `tbl_product`
  MODIFY `id` int(8) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=135;

--
-- AUTO_INCREMENT for table `videos`
--
ALTER TABLE `videos`
  MODIFY `id` int(100) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=63;
COMMIT;

