34614-vm/order_handler.php
Flatlogic Bot 886646d934 v1
2025-10-03 06:23:03 +00:00

31 lines
1.2 KiB
PHP

<?php
// This is a placeholder for order processing.
// In a real application, you would handle the file upload,
// validate all inputs, calculate the final price on the server,
// process the payment, and save the order to the database.
$name = htmlspecialchars($_POST['name'] ?? 'Customer');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Order Confirmation - AutoPrint</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="assets/css/custom.css">
</head>
<body>
<div class="container mt-5">
<div class="card p-4 p-md-5 text-center">
<h1 class="mb-3">Thank You, <?php echo $name; ?>!</h1>
<p class="lead">Your order has been successfully submitted.</p>
<p>We have received your document and printing specifications. You will receive a notification once your order is ready for pickup.</p>
<hr>
<p>For any questions, please contact our support.</p>
<a href="index.php" class="btn btn-primary mt-3">Place Another Order</a>
</div>
</div>
</body>
</html>