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/eventsbyshubhchintak/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include'includes/db-conn.inc.php'; if(!isset($_SESSION['customer_id'])){ echo "<script>window.location = 'index.php';</script>"; } $userid=$_SESSION['customer_id']; $sqluser=mysqli_query($conn,"select * from tbl_user where userid='$userid' and status='1'")or die(mysqli_error()); $rowuser=mysqli_fetch_assoc($sqluser); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Libs --> <link rel="stylesheet" href="assets/libs/bootstrap-icons/font/bootstrap-icons.css"> <link rel="stylesheet" href="assets/fonts/wedding-icon-font/flaticon.css"> <link rel="stylesheet" href="assets/fonts/fontello/css/fontello.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11.7.21/dist/sweetalert2.all.min.js"></script> <link href="https://cdn.jsdelivr.net/npm/sweetalert2@11.7.21/dist/sweetalert2.min.css" rel="stylesheet"> <!-- Theme CSS --> <?php include 'includes/head.php'; ?> <link rel="stylesheet" href="assets/css/theme.min.css"> <title>Shortlist | Wedding & Event by Shubhchintak</title> <style> .btnside{ border: 1px solid lightgrey; } .btnactive{ color: darkgoldenrod !important; } </style> </head> <body> <?php include 'includes/navbar.php'; ?> <!-- sign up --> <main> <section class="pt-6 pb-4"> <div class="container"> <div class="row"> <div class="col-lg-12 col-md-12 col-12"> <div> <small style="color: #6b7280 !important;"><a href="index.php">Home </a> > <a href="dashboard.php">Dashboard</a> > My Shortlist</small><br> <h4 class="display-5 fw-semi-bold mb-0" style="font-size: 24px;margin-top: 13px;">Shubhchintak's User Dashboard</h4> <small>Access Your Dashboard Here</small> </div> </div> </div> </div> </section> <section class="py-6 bg-light"> <div class="container"> <div class="row"> <div class="col-md-4 mt-6 mt-md-0"> <div class="card"> <div class="card-body"> <div class="mb-4"> <div class="mb-3"> <h3>Welcome <?php echo $rowuser['name']; ?> !</h3> </div> </div> <div class="d-grid"> <a href="dashboard.php" class="btn btn-sm btnside">Dashboard</a> </div><br> <div class="d-grid"> <a href="shortlist.php" class="btn btn-sm btnactive active">My Shortlist</a> </div><br> <div class="d-grid"> <a href="change-password.php" class="btn btn-sm btnside">Change Password</a> </div><br> <div class="d-grid"> <a href="logout.php" class="btn btn-sm btnside">Logout</a> </div> </div> </div> </div> <div class="col-md-8"> <div class="card mb-4"> <div class="row g-0"> <div class="col-xxl-12 col-lg-12"> <div class="position-relative"> <div class="mb-4"> <div class="mb-3"> <h3 style="padding: 21px;">My Shortlist</h3> </div> </div> </div> </div> <!-- listing --> <div class="container"> <div class="row"> <?php $sqlisting=mysqli_query($conn,"select * from tbl_listing_shortlist where userid='$userid' and status='1' order by id desc")or die(mysqli_error($conn)); while($rowlisting=mysqli_fetch_assoc($sqlisting)) { $listingid=$rowlisting['listingid']; $sqlisting2=mysqli_query($conn,"select * from tbl_listing where id='$listingid' and status='1'")or die(mysqli_error($conn)); $rowlisting2=mysqli_fetch_assoc($sqlisting2); ?> <!-- col --> <div class="col-lg-4 col-md-4 col-12"> <div class="mb-6"> <!-- img --> <div class="position-relative"> <a href="listing-detail.php?url=<?php echo $rowlisting2['url']; ?>"><img src="media/lisitngprofile/<?php echo $rowlisting2['image']; ?>" alt="" class="img-fluid rounded-3"></a> <!-- like --> </div> <!-- content --> <div class="mt-3"> <h3 class="mb-0"><a href="listing-detail.php?url=<?php echo $rowlisting2['url']; ?>" class="text-inherit" style="font-size: 14px;"><?php echo $rowlisting2['name']; ?></a></h3> <button class="btn btn-sm btn-danger deleteShortlist" vendorid="<?php echo $rowlisting2['userreg_id']; ?>" userid="<?php echo $_SESSION['customer_id']; ?>" listingid="<?php echo $rowlisting2['id']; ?>" style="float: right;position: relative;margin-top: -25px;font-size: 10px;"> Removed</button> <div> </div> </div> </div> </div> <!-- col --> <?php }?> </div> </div> <!-- listing close --> </div><br> </div> </div> </div> </div> </section> </main> <!-- scripts --> <?php include 'includes/footer.php'; ?> <script src="assets/libs/jquery/dist/jquery.min.js"></script> <script src="assets/libs/bootstrap/dist/js/bootstrap.bundle.min.js"></script> <script src="assets/libs/flatpickr/dist/flatpickr.min.js"></script> <!-- Theme JS --> <script src="assets/js/theme.min.js"></script> <script src="js/custom.js"></script> </body> </html>