|
| 1 | +-- phpMyAdmin SQL Dump |
| 2 | +-- version 5.2.1 |
| 3 | +-- https://www.phpmyadmin.net/ |
| 4 | +-- |
| 5 | +-- Host: 127.0.0.1 |
| 6 | +-- Generation Time: Jun 23, 2024 at 12:35 AM |
| 7 | +-- Server version: 10.4.32-MariaDB |
| 8 | +-- PHP Version: 8.2.12 |
| 9 | + |
| 10 | +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; |
| 11 | +START TRANSACTION; |
| 12 | +SET time_zone = "+00:00"; |
| 13 | + |
| 14 | + |
| 15 | +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
| 16 | +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
| 17 | +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
| 18 | +/*!40101 SET NAMES utf8mb4 */; |
| 19 | + |
| 20 | +-- |
| 21 | +-- Database: `kidsweb` |
| 22 | +-- |
| 23 | + |
| 24 | +-- -------------------------------------------------------- |
| 25 | + |
| 26 | +-- |
| 27 | +-- Table structure for table `appointment` |
| 28 | +-- |
| 29 | + |
| 30 | +CREATE TABLE `appointment` ( |
| 31 | + `id` int(11) NOT NULL, |
| 32 | + `regDate` timestamp NOT NULL DEFAULT current_timestamp(), |
| 33 | + `gurdian` varchar(50) NOT NULL, |
| 34 | + `gemail` varchar(100) NOT NULL, |
| 35 | + `child` varchar(50) NOT NULL, |
| 36 | + `chage` int(4) NOT NULL, |
| 37 | + `message` text NOT NULL |
| 38 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; |
| 39 | + |
| 40 | +-- |
| 41 | +-- Dumping data for table `appointment` |
| 42 | +-- |
| 43 | + |
| 44 | +INSERT INTO `appointment` (`id`, `regDate`, `gurdian`, `gemail`, `child`, `chage`, `message`) VALUES |
| 45 | +(1, '2024-06-03 03:27:41', 'Niall Horan', 'https://www.instagram.com/niallhoran/?hl=en', 'Theo Greg', 12, ' July 16, 2013 '), |
| 46 | +(2, '2024-06-03 03:27:58', 'Us', 'https://www.netflix.com/ca/title/70271599', '1D', 2013, 'Award-winning documentarian Morgan Spurlock turns his camera on boy band phenomenon One Direction in this combination concert film and backstage pass.'), |
| 47 | +(11, '2024-06-18 18:38:20', 'Louis Tomlinson', 'https://www.instagram.com/louist91/', 'Freddie ', 8, ' January 21, 2016 '), |
| 48 | +(13, '2024-06-18 23:10:55', 'Liam Payne', 'https://www.instagram.com/liampayne/', 'Bear', 7, ' March 22, 2017 '), |
| 49 | +(14, '2024-06-18 23:12:34', 'Zayn Malik', 'https://www.instagram.com/zayn/', 'Khai ', 4, ' September 19, 2020 '), |
| 50 | +(16, '2024-06-18 23:47:26', 'MMA', 'https://www.famousbirthdays.com/people/taylor-payne.html', 'bd to know!', 9999, 'yeeeeet'); |
| 51 | + |
| 52 | +-- -------------------------------------------------------- |
| 53 | + |
| 54 | +-- |
| 55 | +-- Table structure for table `classes` |
| 56 | +-- |
| 57 | + |
| 58 | +CREATE TABLE `classes` ( |
| 59 | + `id` int(11) NOT NULL, |
| 60 | + `regDate` timestamp NOT NULL DEFAULT current_timestamp(), |
| 61 | + `name` varchar(100) NOT NULL, |
| 62 | + `price` float NOT NULL, |
| 63 | + `capacity` int(4) NOT NULL, |
| 64 | + `begAge` int(2) NOT NULL, |
| 65 | + `endAge` int(2) NOT NULL, |
| 66 | + `begTime` time NOT NULL, |
| 67 | + `endTime` time NOT NULL, |
| 68 | + `pub` tinyint(1) NOT NULL, |
| 69 | + `image` varchar(150) NOT NULL, |
| 70 | + `idtea` int(11) NOT NULL |
| 71 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; |
| 72 | + |
| 73 | +-- |
| 74 | +-- Dumping data for table `classes` |
| 75 | +-- |
| 76 | + |
| 77 | +INSERT INTO `classes` (`id`, `regDate`, `name`, `price`, `capacity`, `begAge`, `endAge`, `begTime`, `endTime`, `pub`, `image`, `idtea`) VALUES |
| 78 | +(1, '2024-06-15 17:47:51', 'Back-end language', 2400, 8, 8, 15, '17:30:00', '22:30:00', 1, 'backend.jpg', 0), |
| 79 | +(2, '2024-06-15 17:47:51', 'Calculus', 1999, 19, 7, 13, '15:33:33', '03:03:03', 1, 'trig.png', 2), |
| 80 | +(4, '2024-06-15 17:47:51', 'Chemistry', 2300, 33, 3, 6, '17:51:15', '19:15:51', 1, 'chem.png', 1), |
| 81 | +(5, '2024-06-15 17:47:51', 'Guess who\'s back?..', 999.999, 9999, 9, 99, '00:01:39', '01:39:00', 1, 'x.gif', 6), |
| 82 | +(6, '2024-06-15 17:50:05', 'law school', 1800.56, 48, 5, 10, '18:00:00', '18:30:00', 1, 'law-school.png', 4), |
| 83 | +(7, '2024-06-15 17:50:05', 'pharmacy', 1363.9, 26, 4, 8, '08:00:00', '10:30:00', 1, 'pharm.jpg', 1), |
| 84 | +(8, '2024-06-15 17:50:05', 'Sculpting', 1589.79, 14, 2, 12, '23:00:00', '03:20:00', 1, 'sculp.jpg', 4), |
| 85 | +(9, '2024-06-16 18:44:01', 'Martial Arts', 5555.5, 15, 5, 15, '05:00:00', '17:00:00', 1, 'eddb76653559f162c5fd9f427271171d.jpeg', 3), |
| 86 | +(14, '2024-06-19 23:06:54', 'o.0', 0, 0, 0, 0, '00:00:00', '00:00:00', 0, '77890a4ad47c0aff70d4502eb9512864.jpeg', 6); |
| 87 | + |
| 88 | +-- -------------------------------------------------------- |
| 89 | + |
| 90 | +-- |
| 91 | +-- Table structure for table `contact` |
| 92 | +-- |
| 93 | + |
| 94 | +CREATE TABLE `contact` ( |
| 95 | + `id` int(11) NOT NULL, |
| 96 | + `regDate` timestamp NOT NULL DEFAULT current_timestamp(), |
| 97 | + `name` varchar(50) NOT NULL, |
| 98 | + `email` varchar(100) NOT NULL, |
| 99 | + `subject` varchar(100) NOT NULL, |
| 100 | + `message` text NOT NULL |
| 101 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; |
| 102 | + |
| 103 | +-- |
| 104 | +-- Dumping data for table `contact` |
| 105 | +-- |
| 106 | + |
| 107 | +INSERT INTO `contact` (`id`, `regDate`, `name`, `email`, `subject`, `message`) VALUES |
| 108 | +(1, '2024-06-03 03:27:41', 'maysaa', 'jijij.hjkh@jkj', 'الدومين لا يعمل', 'test5'), |
| 109 | +(2, '2024-06-03 03:27:58', 'Us', 'jijij@jkj', 'f', 'ff'), |
| 110 | +( 11, '2024-06-18 18:38:20', 'Rue', '[email protected]', 'yesssir', 'yo'), |
| 111 | +(13, '2024-06-18 23:10:55', 'Rue', 'saar@', 'Rue', 'yeeet'), |
| 112 | +(14, '2024-06-18 23:12:34', 'g', 'g@g', 'g', 'ggg'), |
| 113 | +(16, '2024-06-18 23:47:26', 'joe', 'j@e', '¡Yo!', 'yeeeeet'), |
| 114 | +(17, '2024-06-19 00:42:01', 'o.0', 'o@0', 'o-0', 'o_0'); |
| 115 | + |
| 116 | +-- -------------------------------------------------------- |
| 117 | + |
| 118 | +-- |
| 119 | +-- Table structure for table `teachers` |
| 120 | +-- |
| 121 | + |
| 122 | +CREATE TABLE `teachers` ( |
| 123 | + `idtea` int(11) NOT NULL, |
| 124 | + `regDate` timestamp NOT NULL DEFAULT current_timestamp(), |
| 125 | + `fullname` varchar(100) NOT NULL, |
| 126 | + `Jobtitle` varchar(300) NOT NULL, |
| 127 | + `image` varchar(150) NOT NULL, |
| 128 | + `pub` tinytext NOT NULL COMMENT '0 blocked; 1 active' |
| 129 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; |
| 130 | + |
| 131 | +-- |
| 132 | +-- Dumping data for table `teachers` |
| 133 | +-- |
| 134 | + |
| 135 | +INSERT INTO `teachers` (`idtea`, `regDate`, `fullname`, `Jobtitle`, `image`, `pub`) VALUES |
| 136 | +(0, '2024-06-15 16:39:06', 'Mr.x', 'x', 'efa42cb0b5c7e3f9041d14584eecb84f.png', '1'), |
| 137 | +(1, '2024-06-15 16:30:09', 'Walter White Hartwell', 'American chemist, school teacher, and major narcotics distributor from Albuquerque, New Mexico, whose drug empire became the largest meth operation in U.S. history.', 'walt.jpg', '1'), |
| 138 | +(2, '2024-06-15 16:32:51', ' Gustavo Fring ', 'Chilean-American restaurant entrepreneur and major narcotics distributor who primarily worked in Albuquerque, New Mexico. Originally collaborating with the Mexican drug cartel to distribute cartel cocaine.', 'gus.jpg', '1'), |
| 139 | +(3, '2024-06-15 16:35:02', 'Michael Ehrmantraut', 'American career criminal, Marine Corps veteran, and former Philadelphia police officer. Calm and calculating, Mike later became a private investigator, hitman, assassin, and violent fixer for drug traffickers.', 'mike.jpg', '1'), |
| 140 | +(4, '2024-06-15 16:38:39', 'James Morgan', 'American criminal defense lawyer, scam artist, and convicted criminal who is serving an 86-year sentence at ADX Montrose. Originally from Cicero, Illinois during his career as a scam artist.', 'McGill.jpg', '1'), |
| 141 | +(6, '2024-06-16 13:08:08', 'Slim Shady', '..back again', 'scarytea.jpg', '1'), |
| 142 | +(7, '2024-06-17 12:53:55', 'tea', 'tea', '61d62346c749757983ee7657631015ff.jpeg', '0'); |
| 143 | + |
| 144 | +-- -------------------------------------------------------- |
| 145 | + |
| 146 | +-- |
| 147 | +-- Table structure for table `testimonials` |
| 148 | +-- |
| 149 | + |
| 150 | +CREATE TABLE `testimonials` ( |
| 151 | + `id` int(11) NOT NULL, |
| 152 | + `regDate` timestamp NOT NULL DEFAULT current_timestamp(), |
| 153 | + `fullname` varchar(50) NOT NULL, |
| 154 | + `Jobtitle` varchar(200) NOT NULL, |
| 155 | + `comment` text NOT NULL, |
| 156 | + `image` varchar(150) NOT NULL, |
| 157 | + `pub` tinyint(1) NOT NULL |
| 158 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; |
| 159 | + |
| 160 | +-- |
| 161 | +-- Dumping data for table `testimonials` |
| 162 | +-- |
| 163 | + |
| 164 | +INSERT INTO `testimonials` (`id`, `regDate`, `fullname`, `Jobtitle`, `comment`, `image`, `pub`) VALUES |
| 165 | +(1, '2024-05-28 15:35:51', 'Rowan Mahrous', 'TourGuide', 'It\'s giving the edu n entertainment experience', '-QR.png', 1), |
| 166 | +(2, '2024-05-28 15:38:35', 'Emily O\'Malley', 'A professional cook', 'It is all \'bout greenish-gingerish mix 💚🤍🧡', '-Emm.jpg', 1), |
| 167 | +(3, '2024-05-28 15:38:35', 'Maximillion Pegasus \n', 'Yu-Gi-oh player', 'German nurseries all the way', 'ugo.jpg', 1), |
| 168 | +(4, '2024-05-28 18:16:06', 'Merida Do-Gooder', 'Survival heroo', '\"Ack! Lang may yer lum reek, and may a moose ne\'er leave your girnel with a tear drop in his eye! Haste Ye Back, Me Lassie!\"\n', '0f5152ae8ee6b548b83eb24f5b7f0080.jpeg', 1), |
| 169 | +(7, '2024-05-29 01:11:39', 'yma', 'WHO', 'Ayyyo!', 'fd682868a40719548668e7d8c8df2263.jpeg', 0), |
| 170 | +(12, '2024-06-16 12:34:27', 'o.0', 'o-0', 'o_0', '7aaed9e90f6b13a057c4694cfd49e09a.jpeg', 0); |
| 171 | + |
| 172 | +-- -------------------------------------------------------- |
| 173 | + |
| 174 | +-- |
| 175 | +-- Table structure for table `users` |
| 176 | +-- |
| 177 | + |
| 178 | +CREATE TABLE `users` ( |
| 179 | + `id` int(11) NOT NULL, |
| 180 | + `regDate` timestamp NOT NULL DEFAULT current_timestamp(), |
| 181 | + `fullname` varchar(100) NOT NULL, |
| 182 | + `username` varchar(50) NOT NULL, |
| 183 | + `email` varchar(50) NOT NULL, |
| 184 | + `pwd` varchar(60) NOT NULL, |
| 185 | + `phone` char(20) NOT NULL, |
| 186 | + `active` tinyint(1) NOT NULL COMMENT '0 blocked; 1 active' |
| 187 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; |
| 188 | + |
| 189 | +-- |
| 190 | +-- Dumping data for table `users` |
| 191 | +-- |
| 192 | + |
| 193 | +INSERT INTO `users` (`id`, `regDate`, `fullname`, `username`, `email`, `pwd`, `phone`, `active`) VALUES |
| 194 | +( 1, '2024-05-17 18:15:52', 'Conan O\'Brayn', 'conan', '[email protected]', '$2y$10$Sh89liP.IK6rVLYL44fUbeJ42rDLz7RgOjfkbBNi0KIgCGxJcYcLa', '1', 1), |
| 195 | +( 3, '2024-05-19 15:18:07', 'supyo', 'supyo', '[email protected]', '$2y$10$qvWRwUlGYQz2xC0JTe4vr.sH6DOtQO.3.xMiSPqd.kdESbT9iqOGm', '+000', 0), |
| 196 | +(6, '2024-05-19 16:23:31', 'Ro', 'Rue', 'Ro@6', '$2y$10$63iG6uYWKasbl7YqZ9eVVebnmMw2vd9zoCVdwDH1EBfl5Z/W0F1A.', '666', 1), |
| 197 | +( 8, '2024-06-14 20:09:50', 'Rowan Mustafa ', 'Regina1D', '[email protected]', '$2y$10$WUH7VsxkjzhbYptGi5d0RuO8tWo9FGUpt18lhNRDnt2UuD8q07YS6', '+200000000000', 1), |
| 198 | +(13, '2024-06-14 20:56:52', 'Emerald isle☘️', '🇮🇪', 'irish@ginger', '$2y$10$LnHOaJV9YiHAHJ5wM81IHeEqjAC0YCYKg6eOCxzR2Yhed4zZTH.6y', '+353', 1), |
| 199 | +(15, '2024-06-17 12:57:46', 'KKK', 'kkk', 'kkk@666', '$2y$10$XrFxKL8840Vde/ejD02vfuNpQMRNJeYpn3lUs3TFH34FWYHqNQyMO', '666', 1), |
| 200 | +(16, '2024-06-16 12:58:44', 'x', 'x', 'x@x', '$2y$10$e0rylAus.gvyql4Jx0skB.EJKHeoIj7n9kWK.hGBdtxqhDxapZBFm', '000+', 0), |
| 201 | +(17, '2024-06-17 12:07:08', '0o0', '0', '0@0', '$2y$10$6DwSiSLRW0zUAGm5FyAouu9V7VgoB58qpIQQVjD3EyFJnRrV5SNXi', '0+0', 1); |
| 202 | + |
| 203 | +-- |
| 204 | +-- Indexes for dumped tables |
| 205 | +-- |
| 206 | + |
| 207 | +-- |
| 208 | +-- Indexes for table `appointment` |
| 209 | +-- |
| 210 | +ALTER TABLE `appointment` |
| 211 | + ADD PRIMARY KEY (`id`), |
| 212 | + ADD UNIQUE KEY `gemail` (`gemail`); |
| 213 | + |
| 214 | +-- |
| 215 | +-- Indexes for table `classes` |
| 216 | +-- |
| 217 | +ALTER TABLE `classes` |
| 218 | + ADD PRIMARY KEY (`id`), |
| 219 | + ADD KEY `idtea` (`idtea`), |
| 220 | + ADD KEY `name` (`name`); |
| 221 | + |
| 222 | +-- |
| 223 | +-- Indexes for table `contact` |
| 224 | +-- |
| 225 | +ALTER TABLE `contact` |
| 226 | + ADD PRIMARY KEY (`id`), |
| 227 | + ADD UNIQUE KEY `email` (`email`); |
| 228 | + |
| 229 | +-- |
| 230 | +-- Indexes for table `teachers` |
| 231 | +-- |
| 232 | +ALTER TABLE `teachers` |
| 233 | + ADD PRIMARY KEY (`idtea`), |
| 234 | + ADD KEY `fullname;` (`fullname`); |
| 235 | + |
| 236 | +-- |
| 237 | +-- Indexes for table `testimonials` |
| 238 | +-- |
| 239 | +ALTER TABLE `testimonials` |
| 240 | + ADD PRIMARY KEY (`id`), |
| 241 | + ADD KEY `name` (`fullname`); |
| 242 | + |
| 243 | +-- |
| 244 | +-- Indexes for table `users` |
| 245 | +-- |
| 246 | +ALTER TABLE `users` |
| 247 | + ADD PRIMARY KEY (`id`), |
| 248 | + ADD UNIQUE KEY `email` (`email`), |
| 249 | + ADD KEY `username` (`username`); |
| 250 | + |
| 251 | +-- |
| 252 | +-- AUTO_INCREMENT for dumped tables |
| 253 | +-- |
| 254 | + |
| 255 | +-- |
| 256 | +-- AUTO_INCREMENT for table `appointment` |
| 257 | +-- |
| 258 | +ALTER TABLE `appointment` |
| 259 | + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; |
| 260 | + |
| 261 | +-- |
| 262 | +-- AUTO_INCREMENT for table `classes` |
| 263 | +-- |
| 264 | +ALTER TABLE `classes` |
| 265 | + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15; |
| 266 | + |
| 267 | +-- |
| 268 | +-- AUTO_INCREMENT for table `contact` |
| 269 | +-- |
| 270 | +ALTER TABLE `contact` |
| 271 | + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18; |
| 272 | + |
| 273 | +-- |
| 274 | +-- AUTO_INCREMENT for table `testimonials` |
| 275 | +-- |
| 276 | +ALTER TABLE `testimonials` |
| 277 | + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15; |
| 278 | + |
| 279 | +-- |
| 280 | +-- AUTO_INCREMENT for table `users` |
| 281 | +-- |
| 282 | +ALTER TABLE `users` |
| 283 | + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1821; |
| 284 | + |
| 285 | +-- |
| 286 | +-- Constraints for dumped tables |
| 287 | +-- |
| 288 | + |
| 289 | +-- |
| 290 | +-- Constraints for table `classes` |
| 291 | +-- |
| 292 | +ALTER TABLE `classes` |
| 293 | + ADD CONSTRAINT `classes_ibfk_1` FOREIGN KEY (`idtea`) REFERENCES `teachers` (`idtea`); |
| 294 | +COMMIT; |
| 295 | + |
| 296 | +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
| 297 | +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
| 298 | +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
0 commit comments