prepare("SELECT * FROM orders WHERE id = ? AND user_id = ?"); $stmt->execute([$order_id, $_SESSION['user_id']]); $order = $stmt->fetch(PDO::FETCH_ASSOC); if (!$order) { header('Location: orders.php'); exit; } $page_title = t('order_confirmation'); require_once __DIR__ . '/includes/html_head.php'; require_once __DIR__ . '/includes/header.php'; ?>
= t('your_order_number') ?> # = t('has_been_placed_successfully') ?>
= t('order_details_will_be_sent') ?> = t('orders') ?>.