     
<?php $__env->startSection('content'); ?>    
                    


<body class="huiBg">
<div class="top">
    <div class="topTit">Me</div>
</div>
<div class="my-main">
    <div class="my-top">
        <div class="my-top-left" id="avatar">
            <img src="<?php echo e(asset ('core/img/logo.png')); ?>"/>
        </div>
        <div class="my-top-right">
            <h3>ID : 133256</h3>
            <p>+234 <?php echo e($user->username); ?></p>
        </div>
        <div class="my-income-tab">
            <div class="my-income-info">
                <div>
                    <p>Recharge Wallet</p>
                    <h3><?php echo e($general->cur_text); ?><span><?php echo e(showAmount(auth()->user()->deposit_wallet)); ?></span></h3>
                </div>
                <div>
                    <p>Earn Wallet</p>
                    <h3><?php echo e($general->cur_text); ?><span><?php echo e(showAmount(auth()->user()->interest_wallet)); ?></span></h3>
                </div>
            </div>
        </div>
    </div>
    <div class="home-num">
        <ul class="flexB">
            <li>
                <p>Max product</p>
                <h3> <?php echo e($general->cur_text); ?> <?php echo e(showAmount(auth()->user()->deposit_wallet)); ?></h3>
            </li>
            <li>
                <p>Total assets</p>
                <h3><?php echo e($general->cur_text); ?> <?php echo e(showAmount(auth()->user()->interest_wallet)); ?></h3>
            </li>
            <li>
                <p>Today Earn</p>
                <h3><?php echo e($general->cur_text); ?> <?php echo e(showAmount(auth()->user()->interest_wallet)); ?></h3>
            </li>
        </ul>
    </div>
    <?php
  $authUser = Auth::user();
  $userCount = App\Models\User::where('ref_by', $authUser->id)->count();
    $referralCommission = App\Models\Transaction::where('user_id', $authUser->id)
                                    ->where('remark', 'referral_commission')
                                    ->sum('amount');
?>
    
    <div class="my-container">
        <div class="home-sign">
            <img src="<?php echo e(asset ('core/img/img_1.png')); ?>" alt="">
            <ul>
                <li>
                    <span><?php echo e($userCount); ?></span>
                    <label>Total Team</label>
                </li>
                <li>
                    <span><?php echo e(showamount($referralCommission)); ?> <?php echo e($general->cur_text); ?></span>
                    <label>Team Income</label>
                </li>
                <li>
                    <span><?php echo e($general->cur_text); ?> <?php echo e(showAmount(auth()->user()->interest_wallet)); ?></span>
                    <label>Today Income</label>
                </li>
            </ul>
        </div>
        <div class="my-nav-list">
            <ul>
                <li>
                    <a href="<?php echo e(route ('user.withdraw.history')); ?>">
                        <img src="<?php echo e(asset ('core/img/m_11.png')); ?>" alt="">
                        <p>My withdraw</p>
                    </a>
                </li>
                <li>
                    <a href="<?php echo e(route ('user.deposit.history')); ?>">
                        <img src="<?php echo e(asset ('core/img/m_13.png')); ?>" alt="">
                        <p>Reecharge Record</p>
                    </a>
                </li>
                <li>
                    <a href="<?php echo e(route ('user.invest.log')); ?>">
                        <img src="<?php echo e(asset ('core/img/m_12.png')); ?>" alt="">
                        <p>My Salary</p>
                    </a>
                </li>
            </ul>
        </div>
        <div class="my-top-nav">
            <ul>
    
                <li>
                    <a href="<?php echo e(route('user.invest.ranking')); ?>">
                        <img src="<?php echo e(asset ('core/img/m_8.png')); ?>" alt="">
                        <p>User Ranking</p>
           
                    </a>
                </li>
     
                <li>
                    <a href="<?php echo e(route('user.change.password')); ?>">
                        <img src="<?php echo e(asset ('core/img/m_3.png')); ?>" alt="">
                        <p>Change Password</p>

                    </a>
                </li>
                <li>
                    <a href="https://t.me/ng_scripts">
                        <img src="<?php echo e(asset ('core/img/m_5.png')); ?>" alt="">
                        <p>App Download</p>
         
                    </a>
                </li>
                <li>
                    <a href="<?php echo e(route ('user.logout')); ?>">
                        <img src="<?php echo e(asset ('core/img/m_6.png')); ?>" alt="">
                        <p>Log out</p>
      
                    </a>
                </li>
            </ul>
        </div>
    </div>
</div>
<a href="https://t.me/ng_scripts ">
    <img src="<?php echo e(asset ('core/img/ico-service.png')); ?>" alt="">
</a>

</body>
</html>
   
                    
                    
                    
                    <?php $__env->stopSection(); ?>
<?php echo $__env->make($activeTemplate.'layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/robotgpt/public_html/core/resources/views/templates/invester/user/profile_setting.blade.php ENDPATH**/ ?>