Server IP : 162.214.80.37 / Your IP : 216.73.216.83 Web Server : Apache System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : imyrqtmy ( 2189) PHP Version : 8.2.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0750) : /home2/imyrqtmy/public_html/vssvclinic/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php error_reporting(E_ALL); ini_set('display_errors', 1); session_start(); include("./Admin/Includes/db.php"); $order_number= $_GET['order_number']; $query = "SELECT * FROM `orders` WHERE order_number = '$order_number' "; $query_run = mysqli_query($con, $query); if (mysqli_num_rows($query_run) > 0) { $row = mysqli_fetch_assoc($query_run); // Fetch the first row if (isset($row['id'])) { $order_id = $row['id']; // Process order ID } else { // Handle missing 'id' key echo "Error: 'id' key is not present in the result set."; } // Output order details // echo "<p>" . $row['totalAmount'] . "</p>"; } else { echo "No order found with ID: $order_id"; } ?> <!-- <input type="radio" id="cod" name="fav_language" value="cod"> <label for="cod">COD</label><br> <a href="cod.php?id=<?php echo $row['id'] ?>">COD</a> --> <!doctype html> <html lang="en"> <head> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <?php include "includes/title.php" ?> <link rel="stylesheet" href="assets/css/bootstrap.min.css"> <link rel="stylesheet" href="assets/css/all.min.css"> <link rel="stylesheet" href="assets/css/font.css"> <link rel="stylesheet" href="assets/css/swiper.min.css"> <link rel="stylesheet" href="assets/css/style.css"> <link rel="shortcut icon" href="assets/imgs/favicon.png" type="image/x-icon"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css"> </head> <body data-sidebar="dark"> <!-- <body data-layout="horizontal" data-topbar="dark"> --> <!-- Begin page --> <div id="layout-wrapper"> <!-- ========== Left Sidebar Start ========== --> <div class="vertical-menu"> <div data-simplebar class="h-100"> </div> </div> <!-- Left Sidebar End --> <?php include 'Includes/header.php'; ?> <!-- ============================================================== --> <!-- Start right Content here --> <!-- ============================================================== --> <div class="main-content"> <div class="page-content"> <div class="container-fluid"> <!-- start page title --> <div class="row"> <div class="col-12"> <div class="page-title-box d-sm-flex align-items-center justify-content-between"> <h4 class="mb-sm-0 font-size-18">Detail</h4> <!-- <div class="page-title-right"> <ol class="breadcrumb m-0"> <li class="breadcrumb-item"><a href="javascript: void(0);">Invoices</a></li> <li class="breadcrumb-item active">Detail</li> </ol> </div> --> </div> </div> </div> <!-- end page title --> <div class="row"> <div class="col-lg-12"> <div class="card"> <div class="card-body" > <div class="invoice-title" > <div style="border-bottom: 1px solid;"> <div class="md-4" > <img src="images/vaidshyam.png" alt="logo" height="97"/ style="padding-top: 3px;position: absolute;padding-left: 0px;" > </div> <div class="md-4" > <h2 class=" font-size-14" style="padding-left: 180px; padding-bottom: 40px; padding-top: 33px;font-weight: bold;">Vaid Shyam Sunder Vats Ayurvedic Clinic & Research Centre</h2> </div> </div> </div> <?php $order_number= $_GET['order_number']; $query = "SELECT * FROM `orders` WHERE order_number = '$order_number' "; $query_run = mysqli_query($con, $query); if(mysqli_num_rows($query_run) > 0) { foreach($query_run as $row) { ?> <div class="row p-2" style="border-bottom: 1px solid;"> <table class="table table-nowrap"> <thead> </thead> <tbody> <tr> <td style="border-bottom-width: 0px;"> <strong> Product Name :</strong> </h6> <?php echo $row['product_name']; ?> </td> <td style="border-bottom-width: 0px;"> <strong> Order Number :</strong> <?php echo $row['order_number']; ?></td> </tr> <tr> <td style="border-bottom-width: 0px;"></td> <td style="border-bottom-width: 0px;"> <strong> Date : </strong><?php echo $row['datetime']; ?> </td> </tr> </tbody> </table> </div> <div class="row" style="border-bottom: 1px solid;"> <table class="table table-nowrap"> <thead> </thead> <tbody> <tr> <td style="border-bottom-width: 0px;"><strong> Name :</strong> <?php echo $row['name']; ?> </td> <td style="border-bottom-width: 0px;"><strong>Email : </strong><?php echo $row['email']; ?></td> </tr> <tr> <td style="border-bottom-width: 0px;"><strong> Phone : </strong> <?php echo $row['mobile']; ?></td> <td style="border-bottom-width: 0px;"> <strong> Address : </strong><?php echo $row['address']; ?> </td> </tr> <tr> <td style="border-bottom-width: 0px;"><strong> City : </strong> <?php echo $row['city']; ?></td> <td style="border-bottom-width: 0px;"> <strong> Zip Code : </strong><?php echo $row['pincode']; ?> </td> </tr> <tr> <td style="border-bottom-width: 0px;"><strong> State : </strong> <?php echo $row['state']; ?></td> <td style="border-bottom-width: 0px;"> <strong> Payment Type : </strong><?php echo $row['payment_id']; ?> </td> </tr> </tbody> </table> <?php }} ?> </div> <!-- <div class="row" style="border-bottom: 1px solid; padding-top: 9px; padding-bottom: 0px;"> --> <!-- <table class="table table-nowrap"> <thead> </thead> <tbody> <tr> <td style="border-bottom-width: 0px;"><strong>Date : </strong> </td> <td style="border-bottom-width: 0px;"> </td> <td style="border-bottom-width: 0px;"> </td> <td style="border-bottom-width: 0px;"> </td> <td style="border-bottom-width: 0px; border-left: 1px solid; height: 415px;"> </td> <td style="border-bottom-width: 0px;"><strong>Treatment : </strong> </td> <td style="border-bottom-width: 0px;"> </td> <td style="border-bottom-width: 0px; "><img src="images/vaidshyam.png" alt="logo" height="280"/ style="opacity:0.4; padding-top:70px ;"> </td> <td style="border-bottom-width: 0px;"> </td> <td style="border-bottom-width: 0px;"> </td> <td style="border-bottom-width: 0px;"> </td> <td style="border-bottom-width: 0px;"> </td> <td style="border-bottom-width: 0px;"> </td> </td><td style="border-bottom-width: 0px;"> </td><td style="border-bottom-width: 0px;"> </td> <td style="border-bottom-width: 0px;"> </td><td style="border-bottom-width: 0px;"> </td><td style="border-bottom-width: 0px;"> </td> <td style="border-bottom-width: 0px;"> </td><td style="border-bottom-width: 0px;"> </td> <td style="border-bottom-width: 0px;"> </td> <td style="border-bottom-width: 0px;"> </td> <td style="border-bottom-width: 0px;"> </td><td style="border-bottom-width: 0px;"> </td><td style="border-bottom-width: 0px;"> </td><td style="border-bottom-width: 0px;"> </td> <td style="border-bottom-width: 0px;"> </td><td style="border-bottom-width: 0px;"> </td> <td style="border-bottom-width: 0px;"> </td> <td style="border-bottom-width: 0px;"> </td> </tr> </tbody> </table> --> <!-- </div> --> <div class="row" > <table style="width: 100%;max-width: 100%;margin-bottom: 20px;border-collapse: collapse;"> <thead> </thead> <tbody> <tr> <!--<td style="border-bottom-width: 0px;"><strong>+91 6262373771<br> +91 9212010935</strong> </td>--> <!-- <td style="border-bottom-width: 0px;"><strong>vssvclinic@gmail.com</strong></td>--> <!--<td style="border-bottom-width: 0px;"><strong>A-935, Mangolpuri near Mangolpuri A-block <br> post wali gali, New Delhi-110083 <br> Open Hours: Mon - Sat 4.00pm - 9.00pm, Sun 9:00am - 9:00pm(Mangolpuri)</strong> </td> <br>--> <!-- <td style="border-bottom-width: 0px;"><strong>House no -1072, Near karala Stadium, <br> New Delhi-110081 <br> Open Hours: Mon - Sat 8am to 9:30 am(Karala)</strong></td> <td style="border-bottom-width: 0px;"><strong> </strong></td>--> <td style="width: 20%;padding: 8px;line-height: 1.42857143;vertical-align: top;"> <strong>+91 6262010119</strong><br> <strong>+91 9212010935</strong><br> </td> <td style="width: 20%;padding: 8px;line-height: 1.42857143;vertical-align: top;"> <ul> <strong>vssvclinic@gmail.com</strong> </ul> </td> <td style="width: 30%;padding: 8px;line-height: 1.42857143;vertical-align: top;"> <strong>A-935,Mangolpuri,Near A-Block <br> Post office Mangolpuri ,New Delhi -110083 <br> Open Hours: Mon - Sat 4.00pm - 9.00pm, Sun 9:00am - 9:00pm(Mangolpuri)</strong> </td> <td style="width: 30%;padding: 8px;line-height: 1.42857143;vertical-align: top;"> <strong>House no -1072, Near karala Stadium, <br> New Delhi-110081 <br> Open Hours: Mon - Sat 8am to 9:30 am(Karala)</strong> </td> </tr> <tr> </tr> </tbody> </table> </div> <div class="d-print-none"> <div class="float-end"> <a href="javascript:window.print()" class="btn btn-success waves-effect waves-light me-1"><i class="fa fa-print"></i></a> </div> </div> </div> </div> </div> </div> <!-- end row --> </div> <!-- container-fluid --> </div> <!-- End Page-content --> <?php include 'Includes/footer.php'; ?> </div> <!-- end main content--> </div> <!-- END layout-wrapper --> <!-- Right Sidebar --> <!-- /Right-bar --> <!-- Right bar overlay--> <div class="rightbar-overlay"></div> <?php include 'Admin/Includes/bscript.php'; ?> <script src="assets/js/jquery.min.js"></script> <script src="assets/js/bootstrap.min.js"></script> <script src="assets/js/SmoothScroll.min.js"></script> <script src="assets/js/swiper.min.js"></script> <script src="assets/js/custom.js"></script> </body> </html>