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/opulanceindia/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php session_start(); error_reporting(E_ERROR | E_PARSE); $se = $_SESSION["id"]; if (!isset($_SESSION['id'])) { header("Location: login.php"); } include("admin/includes/config.php"); ?> <!DOCTYPE html> <!--[if (gte IE 9)|!(IE)]><!--> <html lang="en"> <!--<![endif]--> <?php require "inc/head.php"; ?> <body> <!-- ===== LODER ===== --> <!-- <div class="loder"></div> --> <div class="wrapper"> <!-- ===== HEADER START ===== --> <?php require "inc/header.php"; ?> <!-- ===== HEADER END ===== --> <!-- ===== BANNER STRAT ===== --> <div class="breadcrumb"> <h1>Account</h1> <ul> <li><a href="index.php">Home</a></li> <li class="active">Account</li> </ul> </div> <!-- ===== BREADCRUMB END===== --> <!-- ===== CONTAINER START ===== --> <div class="container"> <div class="row"> <div class="col-md-3"> <div id="exTab3"> <ul class="nav nav-tabs"> <li class="active"> <a href="#r1" data-toggle="tab">Dashboard</a> </li> <!-- <li><a href="#r2" data-toggle="tab">Account Details</a> </li> --> <li><a href="#r3" data-toggle="tab">My Order List</a> </li> <li><a href="logout.php">Logout</a> </li> </ul> </div> </div> <div class="col-md-9"> <div class="tab-content "> <div class="tab-pane active" id="r1"> <div class="heading-part mb_10"> <h3 class="main_title">Account Dashboard</h3> </div> <div class="heading-part"> <?php if (isset($_SESSION['id'])) { $userid = $_SESSION['id']; $query = "SELECT * FROM users WHERE id = '$userid'"; $query_run =mysqli_query($conn, $query); if(mysqli_num_rows($query_run) > 0){ foreach($query_run as $row){ ?> <h3 class="sub_title">Hello, <?php echo $row['name']; ?></h3> <?php }}} ?> </div> <!-- <p>Subscribe to the Print Doodles mailing list to receive updates on new product, special offers and other discount information. <a class="account-link" id="subscribelink" href="#">Click Here</a></p> --> <!-- <div class="heading-part mtb_20"> <h3 class="sub_title">Account Information</h3> </div> --> <!-- <div class="row"> <div class="col-sm-12"> <div class="cart-total-table address-box commun-table"> <div class="table-responsive"> <table class="table"> <thead> <tr> <th>Shipping Address</th> </tr> </thead> <tbody> <tr> <td> <ul> <li class="inner-heading"> <b>Denial tom</b> </li> <li> <p>Steetwear ltd</p> </li> <li> <p>600 Anton Boulevard Costa</p> </li> <li> <p>Mesa, California</p> </li> </ul> </td> </tr> </tbody> </table> </div> </div> </div> <div class="col-sm-6"> <div class="cart-total-table address-box commun-table"> <div class="table-responsive"> <table class="table"> <thead> <tr> <th>Billing Address</th> </tr> </thead> <tbody> <tr> <td> <ul> <li class="inner-heading"> <b>Denial tom</b> </li> <li> <p>Steetwear ltd</p> </li> <li> <p>600 Anton Boulevard Costa</p> </li> <li> <p>Mesa, California</p> </li> </ul> </td> </tr> </tbody> </table> </div> </div> </div> </div> --> </div> <div class="tab-pane" id="r3"> <h3 class="mb_10 main_title">My Order List</h3> <div class="row"> <div class="col-xs-12 mb_xs-30"> <div class="cart-item-table commun-table"> <div class="table-responsive"> <table class="table"> <thead> <tr> <th>Order No</th> <th>Date</th> <!-- <th>Status</th> --> <th>Total</th> <th>Action</th> </tr> <!-- </thead> --> </thead> <tbody> <?php if (isset($_SESSION['id'])) { $userid = $_SESSION['id']; $query = "SELECT * FROM tbl_orders WHERE user_id = '$userid' ORDER BY id DESC"; $query_run =mysqli_query($conn, $query); if(mysqli_num_rows($query_run) > 0){ foreach($query_run as $row){ ?> <tr> <td><?php echo $row['order_number']; ?></td> <td><?php echo $row['created_at']; ?></td> <!-- <td>Pending</td> --> <td><?php echo $row['total_amt']; ?></td> <td><a href="order_details.php?order_number=<?php echo $row['order_number']; ?>">View</a></td> </tr> <!-- <td><a href="#"> <div class="product-title"> <a href="category_page.html"><?php echo $row['order_number']; ?></a> </div> </a></td> <td> <div class="product-title"> <a href="#"><?php echo $row['created_at']; ?></a> </div> <div class="product-info-stock-sku "> <div> <label>Quantity: </label> <span class="info-deta">1</span> </div> </div> </td> <td> <div class="base-price price-box"> <span class="price">$80.00</span> </div> </td> <td><i title="Remove Item From Cart" data-id="100" class="fa fa-trash cart-remove-item"></i> </td> </tr> <tr> <td><a href="category_page.html"> <div class="product-image"><img alt="Streetwear" src="images/product/product2.jpg"> </div> </a></td> <td> <div class="product-title"> <a href="category_page.html">Defyant Reversible Dot Shorts</a> </div> <div class="product-info-stock-sku "> <div> <label>Quantity: </label> <span class="info-deta">1</span> </div> </div> </td> <td> <div class="base-price price-box"> <span class="price">$80.00</span> </div> </td> <td><i title="Remove Item From Cart" data-id="100" class="fa fa-trash cart-remove-item"></i> </td> --> </tr> <?php }} } ?> </tbody> </table> </div> </div> </div> </div> </div> <div class="tab-pane" id="r4"> <h3 class="mb_10 main_title">Change Password</h3> <form class="main-form full"> <div class="row"> <div class="col-xs-12"> <div class="input-box mb_20"> <label for="old-pass">Old-Password</label> <input type="password" placeholder="Old Password" required id="old-pass"> </div> </div> <div class="col-sm-6"> <div class="input-box mb_20"> <label for="login-pass">Password</label> <input type="password" placeholder="Enter your Password" required id="login-pass"> </div> </div> <div class="col-sm-6"> <div class="input-box mb_20"> <label for="re-enter-pass">Re-enter Password</label> <input type="password" placeholder="Re-enter your Password" required id="re-enter-pass"> </div> </div> <div class="col-xs-12"> <a class="btn btn-black pull-left">Change Password</a> </div> </div> </form> </div> </div> </div> </div> </div> </div> <!-- ===== CONTAINER END ===== --> <!-- ===== FOOTER START ===== --> <?php require "inc/footer.php"; ?> <!-- ===== FOOTER END ===== --> <a id="scrollup">Scroll</a> <script src="js/jQuery_v3.1.1.min.js"></script> <script src="js/owl.carousel.min.js"></script> <script src="js/bootsnav.js"></script> <script src="js/bootstrap.min.js"></script> <script src="js/jquery.magnific-popup.js"></script> <script src="js/custom.js"></script> </html>