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'; ?>