Server : LiteSpeed System : Linux us-phx-web1202.main-hosting.eu 4.18.0-553.84.1.lve.el8.x86_64 #1 SMP Tue Nov 25 18:33:03 UTC 2025 x86_64 User : u615232177 ( 615232177) PHP Version : 8.1.33 Disable Function : NONE Directory : /home/u615232177/domains/bond-lounge.com/public_html/ |
<?php session_start();
$page_name = basename($_SERVER['PHP_SELF']);
$page_title = "Your Account";
$page_header = "account_header.jpg";
include("headerstrict.php"); ?>
<title><?php echo $company_name; ?> - <?php echo $page_title; ?></title>
<?php include("page_header.php"); ?>
<br><br>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="blog.css">
<title><?php echo $company_name; ?> - Your Account</title>
<?php
$stmt = $con -> prepare('SELECT first_name,last_name,email,phone,address,date_signed_up FROM users WHERE user_id=?');
$stmt -> bind_param('s',$user_id);
$stmt -> execute();
$stmt -> store_result();
$stmt -> bind_result($first_name,$last_name,$email,$phone,$address,$date_signed_up);
$numrows = $stmt -> num_rows();
if($numrows > 0){
while ($stmt -> fetch()) {
}
//get these bonuses
$credit_word = "Credit";
$balance = 0;
$all_orders = 0;
$pending_orders = 0;
$completed_orders = 0;
$todays_date = date('Y-m-d');
$completed = "Completed";
$reg_word = "Registration";
$upgrade_word = "Upgrade";
$one = 1;
$act_word = "Activation";
//get number of orders
$stmt_o = $con -> prepare('SELECT status FROM my_orders WHERE user_id = ?');
$stmt_o -> bind_param('s',$user_id);
$stmt_o -> execute();
$stmt_o -> store_result();
$stmt_o -> bind_result($ostatus);
$numrows_o = $stmt_o -> num_rows();
if($numrows_o > 0){
while ($stmt_o -> fetch()) {
if($ostatus == "Pending"){
$pending_orders++;
}
if($ostatus == "Completed"){
$completed_orders++;
}
}
}
}
else{echo "<meta http-equiv=\"refresh\" content=\"0; url=$link\">";exit();}
?>
<section class="section-b-space pt-0">
<div class="custom-container container user-dashboard-section">
<div class="row">
<?php include("account_sidebar.php"); ?>
<div class="col-xl-9 col-lg-8">
<div class="tab-content" id="v-pills-tabContent">
<div class="tab-pane fade show active" id="dashboard" role="tabpanel" aria-labelledby="dashboard-tab">
<div class="dashboard-right-box">
<div class="my-dashboard-tab">
<div class="dashboard-items"> </div>
<div class="sidebar-title">
<div class="loader-line"></div>
<h4>My Dashboard</h4>
</div>
<div class="dashboard-user-name">
<h6>Hello, <b><?php echo $first_name ?></b></h6>
<br>
</div>
<?php include("account_boxes.php"); ?>
</div>
</div>
</div>
<div class="tab-pane fade" id="notifications" role="tabpanel" aria-labelledby="notifications-tab">
<div class="dashboard-right-box">
<div class="notification-tab">
<div class="sidebar-title">
<div class="loader-line"></div>
<h4>Notifications</h4>
</div>
<iframe src="iframe_notifications" id='iFrameResizer0' frameborder="0" style='width:100%;height:100vh;'></iframe>
</div>
</div>
</div>
<div class="tab-pane fade" id="order" role="tabpanel" aria-labelledby="order-tab">
<iframe src="iframe_orders" id='iFrameResizer0' frameborder="0" style='width:100%;height:100vh;'></iframe>
</div>
</div>
</div>
</div>
</div>
</section>
<script src="assets/js/dashboard-left-sidebar.js"></script>
<?php include("footer.php"); ?>