Sindbad~EG File Manager
<?php
// Include database connection
include 'conn.php';
?>
<!DOCTYPE html>
<html lang="en-US" dir="ltr">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- SEO Meta Tags -->
<title>SnackonCrumbs - Delicious Cakes & Snacks Delivered to Your Doorstep</title>
<meta name="description" content="SnackonCrumbs offers fresh and delicious cakes, snacks, and desserts delivered right to your door. Enjoy mouth-watering treats with the best quality and service. Order now!">
<meta name="keywords" content="cakes, snacks, desserts, online cake delivery, snack delivery, fresh cakes, sweet treats, home delivery, bakery">
<meta name="author" content="SnackonCrumbs">
<!-- Open Graph Meta Tags for Social Media Sharing -->
<meta property="og:title" content="SnackonCrumbs - Delicious Cakes & Snacks Delivered to Your Doorstep">
<meta property="og:description" content="Enjoy the convenience of fresh and delicious cakes, snacks, and desserts delivered right to your door. Order now and indulge in the best treats!">
<meta property="og:image" content="https://www.snackoncrumbs.com/assets/img/logo.png"> <!-- Replace with your image URL -->
<meta property="og:url" content="https://www.snackoncrumbs.com">
<meta property="og:type" content="website">
<!-- Twitter Meta Tags for Social Media Sharing -->
<meta name="twitter:title" content="SnackonCrumbs - Delicious Cakes & Snacks Delivered to Your Doorstep">
<meta name="twitter:description" content="Get fresh cakes, snacks, and delicious desserts delivered to your doorstep. Quality snacks with an easy online order experience.">
<meta name="twitter:image" content="https://www.snackoncrumbs.com/assets/img/logo.png"> <!-- Replace with your image URL -->
<meta name="twitter:card" content="summary_large_image">
<!-- Favicon -->
<link rel="icon" href="https://www.snackoncrumbs.com/assets/img/favicon.ico" type="image/x-icon">
<!-- Canonical Link to avoid duplicate content -->
<link rel="canonical" href="https://www.snackoncrumbs.com">
<!-- ===============================================-->
<!-- Stylesheets-->
<!-- ===============================================-->
<link href="assets/css/theme.css" rel="stylesheet" />
</head>
<body>
<main class="main" id="top">
<?php include 'nav.php'?>
<section class="tc-menus-st2">
<div class="container">
<div class=" text-center">
<h1 class=' text-white text-center mb-5'>Order Status</h1>
<?php
if (isset($_GET['success']) && $_GET['success'] == 'true') {
$order_id = $_GET['order_id'];
echo "<h2>Your order (ID: $order_id) has been successfully received.</h2>";
} else {
echo "<h2>Failed to process your order.</h2>";
}
?>
<h2 class="text-warning mt-5">Please Call us to confirm this order.</h2>
</div>
</div>
</section>
<?php include 'footer.php'?>
</main>
<script>
// Check if the URL contains a success parameter
const urlParams = new URLSearchParams(window.location.search);
const success = urlParams.get('success');
if (success === 'true') {
// Clear the cart from localStorage
localStorage.removeItem('cartItems');
localStorage.removeItem('formDetails');
// Optional: You might want to show a success message or perform other actions
alert('Your order has been placed successfully. Thank you for shopping with us!');
}
</script>
</body>
</html>
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists