<html>
 <head> 
  <meta charset="utf-8"> 
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> 
  <title>team</title> 
  <link rel="stylesheet" href="/mamber/layui.css"> 
  <link rel="stylesheet" href="/mamber/swiper-bundle.min.css"> 
  <link rel="stylesheet" href="/mamber/common.css"> 
  <style>

		</style> 
 </head> 
 <body> 
  <div class="club_header" style="background-image: url(/mamber/img/i1.png);background-size: 100%;height: 200px;"> 
  </div> 
  <div style="margin:15px"> 
   <div style="position:absolute;top:5%;width:80%;padding:0px 5%;"> 
    <div> 
     <div style="color:#fff;">
       Total Commission
      <br> 
      <span style="font-size:26px;font-weight:700;"> <?php echo e(price(user()->balance)); ?> </span> 
     </div> 
     <div style="display:flex;justify-content:space-between;margin-top:30px;"> 
      <div style="color:#fff;">
        Total Registration
       <br> 
       <span style="font-size:26px;font-weight:700;"> <?php echo e($team_size); ?> </span> 
      </div> 
      <div style="color:#fff;">
        Total Commission
       <br> 
       <span style="font-size:26px;font-weight:700;"> 35% </span> 
      </div> 
     </div> 
    </div> 
   </div> 
  </div> 
  <div class="flex_space" style="margin: 15px 0;padding:0px 20px;"> 
   <div style="font-weight: 700;font-size: 22px;color: #2a415c;border-left:2px solid #e7cca0;padding-left:15px;">
     Re-invite commission
   </div> 
   <!--<a href="/myTeamMember/1" style="font-weight: 400;font-size: 14px;color: #104B91;">Team details ></a>--> 
  </div> 
  <div style="font-size:18px;color:#818393;padding:0px 20px;">
    Invite friends to reinvest commissions 
  </div> 
  <div style="margin-bottom: 8px;padding:0px 20px;"> 
   <a href="/myTeamMember/1" class="team_member_card"> 
    <div style="background: #f2f2f2;border-radius:15px;padding:10px 20px;"> 
     <div class="team_member_item" style="height: 50px;text-align:left;display:flex;align-items:center;width:100%;"> 
      <img src="/mamber/img/lv1.png" style="height:38px;margin-right:10px;"> 
      <div> 
       <p class="" style="font-size:24px;font-weight:bold;"> 33% </p> 
       <p class="team_member_label" style="">Commission Rates</p> 
      </div> 
     </div> 
     <div style="display:flex;justify-content:space-between;background: #f2f2f2;padding:0px 20%;"> 
      <div class="team_member_item"> 
       <p class="team_member_value"> <?php echo e($first_level_users->count()); ?> </p> 
       <p class="team_member_label">Registered</p> 
      </div> 
      <div class="team_member_item"> 
       <p class="team_member_value"> <?php echo e($first_level_users->where('investor', 1)->count()); ?>  </p> 
       <p class="team_member_label"> Active</p> 
      </div> 
     </div> 
    </div> </a> 
   <a href="/myTeamMember/2" class=" team_member_card"> 
    <div style="background: #f2f2f2;border-radius:15px;padding:10px 20px;"> 
     <div class="team_member_item" style="height: 50px;text-align:left;display:flex;align-items:center;width:100%;"> 
      <img src="/mamber/img/lv2.png" style="height:38px;margin-right:10px;"> 
      <div> 
       <p class="" style="font-size:24px;font-weight:bold;"> 2% </p> 
       <p class="team_member_label" style="">Commission Rates</p> 
      </div> 
     </div> 
     <div style="display:flex;justify-content:space-between;background: #f2f2f2;padding:0px 20%;"> 
      <div class="team_member_item"> 
       <p class="team_member_value"> <?php echo e($second_level_users->count()); ?> </p> 
       <p class="team_member_label">Registered</p> 
      </div> 
      <div class="team_member_item"> 
       <p class="team_member_value"> <?php echo e($second_level_users->where('investor', 1)->count()); ?>  </p> 
       <p class="team_member_label"> Active</p> 
      </div> 
     </div> 
    </div> </a> 
   <a href="/myTeamMember/3" class=" team_member_card"> 
    <div style="background: #f2f2f2;border-radius:15px;padding:10px 20px;"> 
     <div class="team_member_item" style="height: 50px;text-align:left;display:flex;align-items:center;width:100%;"> 
      <img src="/mamber/img/lv3.png" style="height:38px;margin-right:10px;"> 
      <div> 
       <p class="" style="font-size:24px;font-weight:bold;"> 1% </p> 
       <p class="team_member_label" style="">Commission Rates</p> 
      </div> 
     </div> 
     <div style="display:flex;justify-content:space-between;background: #f2f2f2;padding:0px 20%;"> 
      <div class="team_member_item"> 
       <p class="team_member_value"> <?php echo e($third_level_users->count()); ?> </p> 
       <p class="team_member_label">Registered</p> 
      </div> 
      <div class="team_member_item"> 
       <p class="team_member_value"> <?php echo e($third_level_users->where('investor', 1)->count()); ?>  </p> 
       <p class="team_member_label"> Active</p> 
      </div> 
     </div> 
    </div> </a> 
  </div> 
  <div class="" style="padding-bottom:50px;"> 
   <div class="index_invite_btn" id="copy" style="background:#053c8f;border-radius:10px;color:#fff;font-weight:700;width:80%;padding:10px 20px;font-size:22px;margin-left:5%;"
   onclick="copyLink('<?php echo e(url('register').'?shareCode='.auth()->user()->ref_id); ?>')">
     Copy Invitation Link 
   </div> 
   <a href="/tasks"> 
    <div class="index_invite_btn" id="copy" style="background:#d2aa69;border-radius:10px;color:#fff;font-weight:700;width:80%;padding:10px 20px;font-size:22px;margin-left:5%;margin-top:20px;margin-bottom:30px;">
      Accept the assignment 
    </div> </a> 
  </div> 
  <div class="footer_menu"> 
   <div class="content"> 
    <a href="/" class="item "> <img src="/mamber/img/logo.svg"> <p>About</p> </a> 
    <a href="/invest" class="item "> <img src="/mamber/img/INCEST.svg"> <p>Investments</p> </a> 
    <a href="/club" class="item "> <img src="/mamber/img/clbu.jpg" style="width:28px;"> <p>Club</p> </a> 
    <a href="/myTeam" class="item active"> <img src="/mamber/img/GIFTBOS.svg"> <p>Welfare</p> </a> 
    <a href="/account" class="item "> <img src="/mamber/img/Account.svg"> <p>Account</p> </a> 
   </div> 
  </div> 
  <textarea style="height: 1px;opacity: 0" name="copyTxt" id="copyTxt" readonly>http://www.reliab-fund.com/?invite_code=YBACU</textarea> 
  <script src="https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.js"></script>
<?php echo $__env->make('alert-message', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<script>

    function copyLink(text) {
        const body = document.body;
        const input = document.createElement("input");
        body.append(input);
        input.style.opacity = 0;
        input.value = text.replaceAll(' ', '');
        input.select();
        input.setSelectionRange(0, input.value.length);
        document.execCommand("Copy");
        input.blur();
        input.remove();
        message('copy success')
    }
</script>

<script>
  const swiper = new Swiper('.mySwiper', {
    slidesPerView: 'auto',
    centeredSlides: true,
    freeMode: true,
    initialSlide: 1,
    spaceBetween: 10,
    pagination: {
      el: '.swiper-pagination',
      clickable: true,
    },
  });
</script>

</body>
</html>
   <?php /**PATH /home/zgvdquyg/public_html/resources/views/app/main/team/index.blade.php ENDPATH**/ ?>