<?php session_start();?>
<?php error_reporting(0);?>

<?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'];

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