One Hat Cyber Team
Your IP :
216.73.216.186
Server IP :
91.108.106.192
Server :
Linux in-mum-web1837.main-hosting.eu 5.14.0-503.34.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Mar 27 06:00:50 EDT 2025 x86_64
Server Software :
LiteSpeed
PHP Version :
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
u322583024
/
domains
/
awaha.in
/
public_html
/
Edit File:
order-confirmation.php
<?php require 'db_connection.php'; // Include your database connection file $order_id = $_GET['order_id']; // Fetch order details $order_query = "SELECT * FROM orders WHERE order_id = '$order_id'"; $order_result = mysqli_query($conn, $order_query); $order = mysqli_fetch_assoc($order_result); // Fetch order items $order_items_query = "SELECT * FROM order_items WHERE order_id = '$order_id'"; $order_items_result = mysqli_query($conn, $order_items_query); ?> <h1>Order Confirmation</h1> <p>Thank you for your order! Your order ID is <strong><?php echo $order_id; ?></strong>.</p> <h2>Order Summary:</h2> <ul> <?php while ($item = mysqli_fetch_assoc($order_items_result)) { ?> <li><?php echo $item['product_name']; ?> × <?php echo $item['quantity']; ?> - ₹<?php echo $item['product_price']; ?></li> <?php } ?> </ul> <p>Total Amount: ₹<?php echo $order['total_amount']; ?></p>
Simpan