<?php session_start();?>
<?php error_reporting(0);?>
<?php include_once("../Header/Connection.php"); ?>

<?php
$user_id = $_SESSION['id'];
$sponsor_code=$_SESSION['sponsor_code'];
$ref_code=$_SESSION['ref_code'];
$level = $_SESSION['level'];
$rank = $_SESSION['rank'];
$email=$_SESSION['email'];
$name=$_SESSION['name'];
$phone_number=$_SESSION['phone_number'];
$profile_image=$_SESSION['profile_image'];
$type_of_user=$_SESSION['type_of_user'];
$activation_status=$_SESSION['activation_status'];

if (!isset($_SESSION['ref_code'])) 
{
 echo "<script type='text/javascript'> document.location='https://mygoldsdnbhd.com/log-masuk/'; </script>";
} 
?>

<!DOCTYPE html>
<html lang="en">
<?php include ("../Header/head.php"); ?>
<body class="skin-default fixed-layout">

    <?php include ("../Header/loader.php"); ?>
   
    <div id="main-wrapper">    
        <?php include ("../Header/header.php"); ?>
        <?php include ("../Header/left_menu.php"); ?>
        <?php include ("../Header/right_sidebar.php"); ?>
        <div class="page-wrapper">
            <div class="container-fluid">
                <br><br>
                <?php include ("user_dashboard_design.php"); ?>
            </div>
        </div>
        <?php include ("../Footer/footer.php"); ?>
    </div>

    <?php include ("../Header/all_jquery_and_dashboard.php"); ?>

</body>
</html>