ok

Mini Shell

Direktori : /home2/selectio/public_html/thecomponents.in/
Upload File :
Current File : //home2/selectio/public_html/thecomponents.in/order-complete.php

<?php include "header2.php";

$order_id=$_GET['id'];

$query = $pdo->prepare("SELECT id,final_total,status,payment_method FROM orders WHERE id=$order_id");
$query->execute();
$order = $query->fetchAll(PDO::FETCH_ASSOC);



?>


<!-- Start of Main -->
        <main class="main order">

            <!-- Start of PageContent -->
            <div class="page-content mb-10 pb-2">
                <div class="container">
                    <div class="order-success text-center font-weight-bolder text-dark">
                        <img src="images/logo/order.gif" style="width: 50%;">
                    </div>
                    <!-- End of Order Success -->
                    <div class="row">
                        <div class="col-md-12" style="display: flex;justify-content: center;">
                             <div class="order-results">
                        <div class="overview-item">
                            <span>Order number:</span>
                            <strong><?= $order[0]['id']?></strong>
                        </div>
                        <div class="overview-item">
                            <span>Status:</span>
                            <strong><?= $order[0]['status']?></strong>
                        </div>
                        <div class="overview-item">
                            <span>Date:</span>
                            <strong><?=date('d-m-Y')?></strong>
                        </div>
                       
                        <div class="overview-item">
                            <span>Total:</span>
                            <strong><i class="bi bi-currency-rupee"></i> <?= $order[0]['final_total']?></strong>
                        </div>
                        <div class="overview-item">
                            <span>Payment method:</span>
                            <strong><?= $order[0]['payment_method']?></strong>
                        </div>
                    </div>
                        </div>
                    </div>
                    

                 
                    <!-- End of Order View -->

                    
                    <!-- End of Account Address -->

                    <a href="index.php" class="btn btn-dark btn-rounded btn-icon-left btn-back mt-6"><i class="w-icon-long-arrow-left"></i>Back To List</a>
                </div>
            </div>
            <!-- End of PageContent -->
        </main>
        <!-- End of Main -->


<?php include "footer1.php"?>

Zerion Mini Shell 1.0