diff --git a/homemadedb.sql b/homemadedb.sql index 0ac0acf..ec69132 100644 --- a/homemadedb.sql +++ b/homemadedb.sql @@ -1,11 +1,11 @@ -- phpMyAdmin SQL Dump --- version 5.2.0 +-- version 5.2.1 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 --- Generation Time: Aug 05, 2023 at 06:15 PM --- Server version: 10.4.27-MariaDB --- PHP Version: 8.1.12 +-- Generation Time: Oct 05, 2024 at 03:03 PM +-- Server version: 10.4.28-MariaDB +-- PHP Version: 8.2.4 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; @@ -35,6 +35,14 @@ CREATE TABLE `menu` ( `m_type` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; +-- +-- Dumping data for table `menu` +-- + +INSERT INTO `menu` (`m_id`, `r_id`, `m_name`, `m_price`, `m_type`) VALUES +(1, 2, 'Grilled Halloumi & Quinoa Salad', 160, 'Veg'), +(2, 2, 'Korean BBQ Chicken Tacos', 240, 'Non-Veg'); + -- -------------------------------------------------------- -- @@ -80,6 +88,13 @@ CREATE TABLE `restaurant` ( `account_status` varchar(625) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; +-- +-- Dumping data for table `restaurant` +-- + +INSERT INTO `restaurant` (`r_id`, `p_name`, `p_email`, `p_about`, `p_password`, `r_bg`, `p_phone`, `p_image`, `r_name`, `r_rating`, `r_cuisine`, `r_pincode`, `reset_code`, `account_status`) VALUES +(2, 'Vendor Name', 'aftereditofficial@gmail.com', 'Eclipse Global Kitchen brings the world to your plate, blending the vibrant flavors of different cultures into one unforgettable dining experience. Our chefs expertly fuse elements from Asian, European, Latin American, and African cuisines, creating innovative dishes that celebrate global diversity. Whether you\'re craving a spicy street food-inspired dish or a sophisticated fusion of French and Japanese techniques, Eclipse offers a dynamic menu that evolves with the seasons and trends. Join us for a culinary journey around the globe, where every meal is an adventure.', '$2y$10$LQHI87mxEOgERMNJjR9zvuJuUcHbQjQ93qIpQmxhL0LwmXGazEkFu', 'restaurant/cover/img1.jpg', '8899889988', 'restaurant/img2.jpg', 'Eclipse Global Kitchen', '', 'Global Fusion Cuisine', '560016', '0', 'Verified'); + -- -------------------------------------------------------- -- @@ -133,7 +148,7 @@ ALTER TABLE `users` -- AUTO_INCREMENT for table `menu` -- ALTER TABLE `menu` - MODIFY `m_id` int(11) NOT NULL AUTO_INCREMENT; + MODIFY `m_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `orders` @@ -145,13 +160,13 @@ ALTER TABLE `orders` -- AUTO_INCREMENT for table `restaurant` -- ALTER TABLE `restaurant` - MODIFY `r_id` int(11) NOT NULL AUTO_INCREMENT; + MODIFY `r_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `users` -- ALTER TABLE `users` - MODIFY `user_id` int(11) NOT NULL AUTO_INCREMENT; + MODIFY `user_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; diff --git a/vendor/restaurant/cover/img1.jpg b/vendor/restaurant/cover/img1.jpg new file mode 100644 index 0000000..f8f17aa Binary files /dev/null and b/vendor/restaurant/cover/img1.jpg differ diff --git a/vendor/restaurant/cover/img2.jpg b/vendor/restaurant/cover/img2.jpg new file mode 100644 index 0000000..4a6f167 Binary files /dev/null and b/vendor/restaurant/cover/img2.jpg differ diff --git a/vendor/restaurant/img2.jpg b/vendor/restaurant/img2.jpg new file mode 100644 index 0000000..4a6f167 Binary files /dev/null and b/vendor/restaurant/img2.jpg differ diff --git a/vendor/vendor_signup.php b/vendor/vendor_signup.php index a152fb5..86d6042 100644 --- a/vendor/vendor_signup.php +++ b/vendor/vendor_signup.php @@ -1,7 +1,7 @@ "; echo "Upload Cover Path: " . $uploadCover . "
"; @@ -59,7 +59,7 @@ $mail->Host = 'smtp.gmail.com'; //Set the SMTP server to send through $mail->SMTPAuth = true; //Enable SMTP authentication $mail->Username = 'aftereditofficial@gmail.com'; //SMTP username - $mail->Password = '#'; //SMTP password + $mail->Password = 'asnfswjtqvsqpngu'; //SMTP password $mail->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS; //Enable implicit TLS encryption $mail->Port = 465; //TCP port to connect to; use 587 if you have set `SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS`