diff --git a/about.php b/about.php new file mode 100644 index 0000000..ba3620c --- /dev/null +++ b/about.php @@ -0,0 +1,32 @@ + + +
+ + + + +
+
+
+

About Dreamz Destination

+

Welcome to Dreamz Destination, where we turn your travel dreams into reality. We are a team of passionate travel experts dedicated to crafting unforgettable journeys and personalized vacation experiences.

+

Our mission is to provide exceptional service and exclusive access to the world's most breathtaking destinations. Whether you're seeking a relaxing beach getaway, a thrilling adventure, or a culturally rich exploration, we are here to guide you every step of the way.

+

Founded on the principles of luxury, integrity, and customer satisfaction, Dreamz Destination has been curating bespoke travel itineraries for discerning travelers for over a decade. We believe that travel is not just about seeing new places, but about creating lasting memories.

+
+

Our Team

+

Our team is composed of seasoned travel advisors, local guides, and logistics coordinators who work tirelessly to ensure every detail of your trip is perfect. We pride ourselves on our deep knowledge of the destinations we serve and our commitment to making your journey seamless and stress-free.

+
+
+
+ +
+ + diff --git a/assets/images/ayodhya.jpg b/assets/images/ayodhya.jpg new file mode 100644 index 0000000..e69de29 diff --git a/assets/images/bali.jpg b/assets/images/bali.jpg new file mode 100644 index 0000000..e69de29 diff --git a/assets/images/dubai.jpg b/assets/images/dubai.jpg new file mode 100644 index 0000000..e69de29 diff --git a/assets/images/goa.jpg b/assets/images/goa.jpg new file mode 100644 index 0000000..e69de29 diff --git a/assets/images/kashmir.jpg b/assets/images/kashmir.jpg new file mode 100644 index 0000000..e69de29 diff --git a/assets/images/kerala.jpg b/assets/images/kerala.jpg new file mode 100644 index 0000000..e69de29 diff --git a/assets/images/maldives.jpg b/assets/images/maldives.jpg new file mode 100644 index 0000000..e69de29 diff --git a/assets/images/manali.jpg b/assets/images/manali.jpg new file mode 100644 index 0000000..e69de29 diff --git a/assets/images/thailand.jpg b/assets/images/thailand.jpg new file mode 100644 index 0000000..e69de29 diff --git a/assets/images/uk.jpg b/assets/images/uk.jpg new file mode 100644 index 0000000..e69de29 diff --git a/assets/images/uttarakhand.jpg b/assets/images/uttarakhand.jpg new file mode 100644 index 0000000..e69de29 diff --git a/assets/images/varanasi.jpg b/assets/images/varanasi.jpg new file mode 100644 index 0000000..e69de29 diff --git a/assets/images/vietnam.jpg b/assets/images/vietnam.jpg new file mode 100644 index 0000000..e69de29 diff --git a/blog.php b/blog.php new file mode 100644 index 0000000..b311af7 --- /dev/null +++ b/blog.php @@ -0,0 +1,31 @@ + + +
+ + + + +
+
+
+

Our Blog is Coming Soon

+

We are busy writing and curating inspiring travel stories, guides, and tips for you. Check back soon to explore our collection of articles that will help you plan your next adventure.

+

From hidden gems to iconic landmarks, our blog will be your go-to resource for all things travel.

+
+ +
+
+
+
+ +
+ + diff --git a/contact.php b/contact.php new file mode 100644 index 0000000..0f64797 --- /dev/null +++ b/contact.php @@ -0,0 +1,59 @@ + + +
+ + + + +
+
+
+
+

Get In Touch

+

Have a question or ready to book your next adventure? Fill out the form below or contact us directly.

+
+ +
+
+
+ +

Our Office

+

123 Travel Lane, Adventure City, WORLD

+
+
+
+
+ +

Email Us

+

info@dreamzdestination.com

+
+
+
+
+ +

Call Us

+

+1 234 567 8900

+
+
+
+ +
+

Send Us a Message

+

Our contact form is coming soon. In the meantime, please feel free to email or call us.

+ +
+
+
+
+ +
+ + diff --git a/db/setup.php b/db/setup.php new file mode 100644 index 0000000..9b09893 --- /dev/null +++ b/db/setup.php @@ -0,0 +1,79 @@ +exec(" + CREATE TABLE IF NOT EXISTS `tour_packages` ( + `id` INT AUTO_INCREMENT PRIMARY KEY, + `name` VARCHAR(255) NOT NULL, + `description` TEXT, + `price` DECIMAL(10, 2), + `image_url` VARCHAR(255), + `category` ENUM('domestic', 'international') NOT NULL, + `location` VARCHAR(255), + `duration_days` INT + ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; + "); + echo "Table 'tour_packages' created or already exists.\n"; + + // Create leads table + $pdo->exec(" + CREATE TABLE IF NOT EXISTS `leads` ( + `id` INT AUTO_INCREMENT PRIMARY KEY, + `name` VARCHAR(255) NOT NULL, + `email` VARCHAR(255) NOT NULL, + `phone` VARCHAR(50), + `message` TEXT, + `tour_package_id` INT, + `status` ENUM('new', 'contacted', 'closed') DEFAULT 'new', + `created_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, + FOREIGN KEY (`tour_package_id`) REFERENCES `tour_packages`(`id`) ON DELETE SET NULL + ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; + "); + echo "Table 'leads' created or already exists.\n"; + + // Check if tour_packages is empty before inserting data + $stmt = $pdo->query("SELECT COUNT(*) FROM `tour_packages`"); + if ($stmt->fetchColumn() == 0) { + echo "Table 'tour_packages' is empty. Inserting sample data...\n"; + // Sample Data for Tour Packages + $packages = [ + // Domestic + ['Kashmir Paradise', 'Experience the heaven on earth.', 25000.00, 'assets/images/kashmir.jpg', 'domestic', 'Kashmir', 7], + ['Uttarakhand Adventures', 'Explore the mountains and rivers.', 18000.00, 'assets/images/uttarakhand.jpg', 'domestic', 'Uttarakhand', 5], + ['Kerala Backwaters', 'Relax in the serene backwaters.', 22000.00, 'assets/images/kerala.jpg', 'domestic', 'Kerala', 6], + ['Goa Beach Fun', 'Enjoy the sun, sand, and sea.', 15000.00, 'assets/images/goa.jpg', 'domestic', 'Goa', 4], + ['Manali Winter Magic', 'A snowy escape in the Himalayas.', 17000.00, 'assets/images/manali.jpg', 'domestic', 'Manali', 5], + ['Spiritual Varanasi', 'A journey through ancient traditions.', 12000.00, 'assets/images/varanasi.jpg', 'domestic', 'Varanasi', 3], + ['Ayodhya Ram Mandir Tour', 'Visit the historic city of Ayodhya.', 10000.00, 'assets/images/ayodhya.jpg', 'domestic', 'Ayodhya', 2], + // International + ['Dubai Extravaganza', 'Experience the luxury of Dubai.', 55000.00, 'assets/images/dubai.jpg', 'international', 'Dubai', 5], + ['Thailand Temples & Beaches', 'A mix of culture and relaxation.', 45000.00, 'assets/images/thailand.jpg', 'international', 'Thailand', 7], + ['Classic United Kingdom', 'Explore London, Edinburgh and more.', 85000.00, 'assets/images/uk.jpg', 'international', 'United Kingdom', 10], + ['Vietnam\'s Natural Wonders', 'From Halong Bay to Ho Chi Minh City.', 60000.00, 'assets/images/vietnam.jpg', 'international', 'Vietnam', 8], + ['Bali Island Escape', 'Volcanoes, beaches, and temples.', 50000.00, 'assets/images/bali.jpg', 'international', 'Bali', 7], + ['Maldives Overwater Bungalow', 'The ultimate romantic getaway.', 95000.00, 'assets/images/maldives.jpg', 'international', 'Maldives', 5], + ]; + + $stmt = $pdo->prepare(" + INSERT INTO `tour_packages` (name, description, price, image_url, category, location, duration_days) + VALUES (?, ?, ?, ?, ?, ?, ?)"); + + foreach ($packages as $package) { + $stmt->execute($package); + } + echo "Sample data inserted successfully.\n"; + } else { + echo "Table 'tour_packages' already contains data. Skipping sample data insertion.\n"; + } + + echo "Database setup completed successfully!\n"; + +} catch (PDOException $e) { + die("Database setup failed: " . $e->getMessage() . "\n"); +} +?> \ No newline at end of file diff --git a/index.php b/index.php index 073fbf0..c8164bf 100644 --- a/index.php +++ b/index.php @@ -1,66 +1,7 @@ - - - - - - Dreamz Destination - Come See The World With Us - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
@@ -75,6 +16,9 @@ +
+ View All Tours +
@@ -85,72 +29,4 @@ - - - - -
- - - - Quote -
- - - - - - - - - - \ No newline at end of file + \ No newline at end of file diff --git a/partials/footer.php b/partials/footer.php new file mode 100644 index 0000000..2975775 --- /dev/null +++ b/partials/footer.php @@ -0,0 +1,69 @@ + + + + +
+ + + + Quote +
+ + + + + + + + + + \ No newline at end of file diff --git a/partials/header.php b/partials/header.php new file mode 100644 index 0000000..f407fbf --- /dev/null +++ b/partials/header.php @@ -0,0 +1,77 @@ + + + + + + + <?php echo page_title($page_title ?? null); ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/services.php b/services.php new file mode 100644 index 0000000..db2105f --- /dev/null +++ b/services.php @@ -0,0 +1,71 @@ + + +
+ + + + +
+
+
+

What We Offer

+

At Dreamz Destination, we provide a comprehensive suite of travel services designed to cater to your every need. From bespoke itineraries to corporate travel, our expertise ensures a flawless experience.

+
+
+
+
+
+ +

Custom Itineraries

+

We design personalized travel plans based on your interests, budget, and timeline, ensuring a unique and personal journey.

+
+
+
+
+ +

Hotel Bookings

+

Gain access to our curated selection of luxury hotels, boutique resorts, and exclusive accommodations worldwide.

+
+
+
+
+ +

Private Transport

+

Enjoy the comfort and convenience of private airport transfers, chauffeur services, and local transportation.

+
+
+
+
+ +

Corporate Travel

+

We offer streamlined and cost-effective travel management solutions for businesses of all sizes.

+
+
+
+
+ +

Group Tours

+

Join one of our expertly guided group tours to explore popular destinations with fellow travel enthusiasts.

+
+
+
+
+ +

VIP Experiences

+

From private gallery viewings to exclusive event access, we arrange unique experiences you won't find anywhere else.

+
+
+
+
+ +
+ + diff --git a/tour-details.php b/tour-details.php new file mode 100644 index 0000000..0ad7844 --- /dev/null +++ b/tour-details.php @@ -0,0 +1,85 @@ +prepare("SELECT * FROM tour_packages WHERE id = :id"); + $stmt->bindParam(':id', $tour_id); + $stmt->execute(); + $tour = $stmt->fetch(); +} catch (PDOException $e) { + echo 'Failed to fetch tour details: ' . $e->getMessage(); + $tour = null; +} + +if (!$tour) { + echo "Tour not found."; + exit; +} + +$page_title = $tour['name']; +require_once 'partials/header.php'; +?> + +
+ + + + + +
+
+
+ +
+
+
+
+ +
+
+
+
+
+ +
+
+

Tour information

+
    +
  • Category:
  • +
  • Location:
  • +
  • Duration: days
  • +
  • Price: ₹
  • +
+
+
+

Description

+

+ +

+
+
+ +
+
+
+ +
+ + \ No newline at end of file diff --git a/tours.php b/tours.php new file mode 100644 index 0000000..31701cd --- /dev/null +++ b/tours.php @@ -0,0 +1,84 @@ +prepare($sql); + if ($category_filter !== 'all') { + $stmt->bindParam(':category', $category_filter); + } + $stmt->execute(); + $tours = $stmt->fetchAll(); +} catch (PDOException $e) { + echo 'Failed to fetch tours: ' . $e->getMessage(); + $tours = []; +} +?> + +
+ + + + + +
+
+ +
+
+ +
+
+ +
+ + +
+

No tours found for this category.

+
+ + +
+
+ +
+

+

+ +
+
+
+ + + +
+ +
+
+ +
+ + \ No newline at end of file