<?php 
	include_once("../view/header-footer/InnerHeader.php");   
	include_once("leftMenu.php");   
?>
                
                <script>
                  
                  function myFunction(id) 
                  {    
                    
                    navigator.clipboard.writeText($('#referral_link_left').val()); 
                    $("#referral_link_left").select();
                    document.execCommand("copy");  
                    
                  }
                
                </script>

<div class="page-wrapper">
<div class="page-content">

<div class="row">
<div class="col-lg-6 col-md-12 col-sm-12">
<div class="demo_detail_section" style="background:#28c76f !important;">
<div class="detail_welcome_section">
<h3 class="welcome_heading">Welcome Back, <?php echo $userNam->nm." (".$_SESSION['userid'].")"; ?> </h3>
            <div style="color:#ffff">Package  : $<?php echo $PckAmt;?></div>
</div>
</div>
</div>
<div class="col-lg-3 col-md-12 col-sm-12">
<div class="demo_detail_section" style="background:#7367f0 !important;">
<div class="detail_welcome_section">
<h3 class="welcome_heading">Trading Income</h3>

<h5> 
    $<?php echo $totalTrade;?>
</h5>
</div>
</div>
</div>
<div class="col-lg-3 col-md-12 col-sm-12">
<div class="demo_detail_section" style="background:#7367f0 !important;">
<div class="detail_welcome_section">
<h3 class="welcome_heading">Sponsor Income</h3>

<h5>
        $<?php echo $totalDirect;?>
</h5>
</div>
</div>
</div>
<div class="col-lg-6 col-md-12 col-sm-12">
<div class="demo_detail_section" style="background:#7367f0 !important;">
<div class="detail_welcome_section">
<h3 class="welcome_heading">Booster Income</h3>

<h5>$&nbsp;0</h5>
</div>
</div>
</div>
<div class="col-lg-6 col-md-12 col-sm-12">
<div class="demo_detail_section" style="background:#7367f0 !important;">
<div class="detail_welcome_section">
<h3 class="welcome_heading">Matching Income</h3>

<h5>$<?php echo $totalBinary;?></h5>
</div>
</div>
</div>

</div>
<div class="row">
<div class="col-lg-6 col-md-12 col-sm-12">
<div class="demo_detail_section new" style="background:#00005c !important;">
<div class="detail_welcome_section">
<div class="inner_side_content">
<div class="data_detail_inner">
<p>USDT Wallet</p>
<h4>$<?php echo $Mnnnt->Mnnnt;?></h4>
</div>
<div class="data_detail_inner_icon">
<i class="fa fa-dollar" aria-hidden="true"></i>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-6 col-md-12 col-sm-12">
<div class="demo_detail_section new" style="background:#00005c !important;">
<div class="detail_welcome_section">
<div class="inner_side_content">
<div class="data_detail_inner">
<p>Fund Wallet</p>
<h4>$<?php echo $UI__Fundtransfer->availableFund;?></h4>
</div>
<div class="data_detail_inner_icon">
<i class="fa fa-dollar" aria-hidden="true"></i>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-4 col-md-12 col-sm-12">
<div class="demo_detail_section new" style="background:#009688 !important;">
<div class="detail_welcome_section">
<div class="inner_side_content">
 <div class="data_detail_inner">
<p>Total Withdrawal</p>
<h4>$<?php echo $totalWithdrwa;?></h4>
</div>
<div class="data_detail_inner_icon">
<i class="fa fa-dollar" aria-hidden="true"></i>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-4 col-md-12 col-sm-12">
<div class="demo_detail_section new" style="background:#009688 !important;">
<div class="detail_welcome_section">
<div class="inner_side_content">
<div class="data_detail_inner">
<p>Total Income</p>
<h4>$<?php echo ($totalTrade+$totalBinary+$totalBooster+$totalDirect);?></h4>
</div>
<div class="data_detail_inner_icon">
<i class="fa fa-dollar" aria-hidden="true"></i>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-4 col-md-12 col-sm-12">
<div class="demo_detail_section new" style="background:#009688 !important;">
<div class="detail_welcome_section">
<div class="inner_side_content">
<div class="data_detail_inner">
<p>Capping Per Day</p>
<h4>$<?php echo $PckAmt;?></h4>
 </div>
<div class="data_detail_inner_icon">
<i class="fa fa-dollar" aria-hidden="true"></i>
</div>
</div>
</div>
</div>
</div>

</div>
<div class="row">
<div class="col-lg-6 col-md-12 col-sm-12">
<div class="demo_detail_section" id="section_tema_detail_data">
<h2> Team Section</h2>
<div class="user_list_team">
<ul>
<li><i class="fa fa-users" style="color:;"></i>
<span>0</span>Total Directs </li>
</ul>
</div>
<div class="user_list_team">
<ul>
<li><i class="fa fa-user" style="color:#147e14;"></i>
<span>0</span>Active Directs </li>
</ul>
</div>
<div class="user_list_team">
<ul>
<li><i class="fa fa-users" style="color:;"></i>
<span>0</span>Inactive Directs </li>
</ul>
</div>
<div class="user_list_team">
<ul>
<li><i class="fa fa-users" style="color:#147e14;"></i>
<span>0</span>Total generation </li>
</ul>
</div>
<div class="user_list_team">
<ul>
<li><i class="fa fa-users" style="color:;"></i>
<span>0</span>Active generation </li>
</ul>
</div>
<div class="user_list_team">
<ul>
<li><i class="fa fa-user-plus" style="color:;"></i>
<span>0</span>Left team </li>
</ul>
</div>
<div class="user_list_team">
<ul>
<li><i class="fa fa-user-plus" style="color:;"></i>
<span>0</span>Right team </li>
</ul>
</div>
<div class="user_list_team">
<ul>
<li><i class="fa fa-users" style="color:;"></i>
<span>0</span>Matched </li>
</ul>
</div>
<div class="user_list_team">
<ul>
<li><i class="fa fa-users" style="color:;"></i>
<span>0</span>Carry </li>
</ul>
</div>

</div>
</div>
<div class="col-lg-6 col-md-12 col-sm-12">
<div class="demo_detail_section" id="section_tema_detail_data">
<div class="card_new_body">
<div class="earn_refer_title">
<div class="user_eran_heading">
<h5>Refer Us &amp; Earn</h5>
<p>Use the bellow link to invite your friends.</p>
</div>

</div>
<div class="input-group card-bg-2 ">
<div class="input-group-prepend">
<span class="input-group-text text-black label_font">Left Referral</span>
</div>
<input type="text" style="height:50px;" id="referral_link_left" class="form-control" value="<?php echo ROOTPATH;?>/registration/default.php?leftSet=1&refId=<?php echo $_SESSION['userid']?>">
<div class="input-group-append">
 
</div>
</div>   

<div class="user_invite" style="margin-top:5px;">
    <!--a href="javascript:void(0);" class="user_anchor" onclick="myFunction('referral_link_left');">Copy Left Referral</a-->
</div>

<br>
 
<div class="input-group card-bg-2 ">
<div class="input-group-prepend">
<span class="input-group-text text-black label_font">Right Referral</span>
</div>
<input type="text" style="height:50px;" id="right_link_left" class="form-control" value="<?php echo ROOTPATH;?>/registration/default.php?right=1&refId=<?php echo $_SESSION['userid']?>">
<div class="input-group-append">
 
</div>
</div>   

<div class="user_invite" style="margin-top:5px;">
    <!--a href="" class="user_anchor"  onclick="myFunction('right_link_left')">Copy Right Referral</a-->
</div> 
 


</div>
</div>
<div class="demo_detail_section" id="section_tema_detail_data">
<div class="card_new_body">
<div class="location_link">
<h2>We're here to help you!</h2>
<p>Ask a question or file a support ticket, manage request, report an issues. Our team support team will get back to you by email.</p>
<div class="user_support">
<a href="" class="user_anchor">Get Support Now</a>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<br>
</div>
</div>
<?php 
	include_once("../view/header-footer/footer.php");    
?> 