
<?php

ob_start();
session_start();

if($_SESSION['frontuserid'] == '')
{
    
    header("location:login.php");
}
$userid=$_SESSION['frontuserid'];
include("config.php");
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!DOCTYPE html>
<html lang="en">
<head>
  <title>Meradiamond</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css">
  <link rel="stylesheet" href="assets/css/homstyle.css">
  <script src="https://cdn.jsdelivr.net/npm/jquery@3.6.3/dist/jquery.slim.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js"></script>
</head>
<body>



</body>
</html><title>Meradiamond</title>
<link rel="icon" type="image/x-icon" href="assets/img/logo1.png"><link rel="stylesheet" href="assets/css/style.css?v=2">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="description" content="Bitter Mobile Template">
<meta name="keywords" content="bootstrap, mobile template, bootstrap 4, mobile, html, responsive" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">


<style>
.order-btn.disabled {
    background: #f8d103;
    color: #000;
}
.btn{height:37px;width:108px;}
.pleft {
	padding-left:3px;
}
.pright {
	padding-right:3px;
}
.logo{
     width: 36px !important;
    padding: 0 0px;
}
  .height{ height: 40px;
    line-height: 40px;
    border-radius: 20px;
    font-size: 23px;}
.height .pageTitle{ line-height:39px;}/*2em*/

.l{color:#fff;}
.carousel-indicators{display:none;}
.hg{
     margin-bottom: 0px;
        display: inline-block;
    width: 100%;
    color: #fff;
    font-size: 16px;
    font-weight: normal;
    letter-spacing: .02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.carousel-inner {
	width: 100%;
	display: inline-block;
	position: relative;
}
.carousel-inner {
	padding-top:20.25%;
	display: block;
	content: "";
}
.carousel-item {
	position: absolute;
	top: 0;
	bottom: 0;
	height:312px;
	right: 0;
	left: 0;
	background: skyblue;
	background: no-repeat center center scroll;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.caption {
	position: absolute;
	top: 50%;
	left: 50%;
    transform: translateX(-50%) translateY(-50%);
	width: 60%;
	z-index: 9;
	margin-top: 20px;
	text-align: center;
}
.carousel-control-prev{display:none;}
.carousel-control-next{display:none;}
.caption h1 {
  color: #fff;
	font-size: 52px;
	font-weight: 700;
	margin-bottom: 23px;
}
.caption h2 {
  color: rgba(255,255,255,.75);
	font-size: 26px;
	font-weight: 300;
}
a.big-button {
	color: #fff;
	font-size: 19px;
	font-weight: 700;
	text-transform: uppercase;
	background: #eb7a00;
	background: rgba(255, 0, 0, 0.75);
	padding: 28px 35px;
	border-radius: 3px;
	margin-top: 80px;
	margin-bottom: 0;
	display: inline-block;
}
a.big-button:hover {
	text-decoration: none;
	background: rgba(255, 0, 0, 0.9);
}
a.view-demo {
	color: #fff;
	font-size: 21px;
	font-weight: 700;
	display: inline-block;
	margin-top: 35px;
}
a.view-demo:hover {
	text-decoration: none;
	color: #333;
}

.carousel-indicators .active {
  background: #fff;
}
.carousel-indicators li {
  background: rgba(255, 255, 255, 0.4);
  border-top: 20px solid;
  z-index: 15;
}
.spn{
        display: inline-block;
    width: auto;
    color: #616161;
    font-size: 20px;
    margin-left:7px;
    font-weight: 500;
    letter-spacing: .02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.order-list{margin-top:0px;}
.wp{
    text-align: center;
    padding: 0 12px 16px;
    color: #9a9a9a;
    font-size: 10px;
}
.index_list {
    width: 100%;
    padding: 0px 0 64px 0;
    box-sizing: border-box;
   /* background: #fafafa;*/
}
.index_list .list_content {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    background:#f1f1f1;
    /*box-shadow: 0 3px 1px -2px rgb(0 0 0 / 20%), 0 2px 2px 0 rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%);*/
    transition: .3s cubic-bezier(.25,.8,.5,1);
}
.index_list .list_content .list_ul {
     margin: 0 -39px;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
        list-style-type: none;
}
.list_ul .list_li {
    width: 100%;
        margin: 0 30px;
    padding: 4px;
    box-sizing: border-box;
}
.list_ul .list_li ol {
    padding:0px;
    background-color: #fff;
    border-color: #fff;
    color: rgba(0,0,0,.87);
    transition: .3s cubic-bezier(.25,.8,.5,1);
    /*box-shadow: 0 3px 1px -2px rgb(0 0 0 / 20%), 0 2px 2px 0 rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%);*/
        box-shadow: 3px 3px 4px rgb(26 26 26 / 20%);
    border-radius: 2px;
    overflow: hidden;
    /*height: 211px;*/
}
.mo12{position: absolute;
    top: 20%;
    left: 38%;
    list-style-type: circle;}
.list_ul .list_li ol .list_img_box {
        width: 100%;
    height: 100%;
    padding: 19px;
    box-sizing: border-box;
}
.list_ul .list_li ol .list_img {
    width: 155px;
    height: 80%;/*100%*/
    background-repeat: no-repeat;
    background-size: contain;
    /*background-position: 50%;*/
}
.list_ul .list_li ol .info{
       height: 31px;
    width: 70%;
    font-weight:bold;
    float: right;
    margin-top: 7px;
    /*overflow: hidden;*/
    padding: 8px;
    font-size: 22px;
    box-sizing: border-box;
    text-align: center;
    color: rgba(0,0,0,.87);
}
.mnb{margin-top:38px;}
.mo12{     position: absolute;
    top: 42px;
    right: -5%;
    list-style-type: circle;;
}
.mo li{font-size: 19px;}

.l {
    color: #fff;
}
.buy{      color: #fff;
    font-size: 18px;
    padding: 4px 26px;
    font-weight: normal;
    border-radius: 8px;
    background: #000;
    box-shadow: 2px 0px 10px 2px rgba(0,0,0,0.91) inset;
-webkit-box-shadow: 2px 0px 10px 2px rgba(0,0,0,0.91) inset;
-moz-box-shadow: 2px 0px 10px 2px rgba(0,0,0,0.91) inset;
}
.buy a{
           color: #e80909;
    padding: 12px;
    font-size: 21px;
}
.mo li {
    font-size: 14px;
}
.mo{left:-6%;     top: 132px;}
.pt23{margin-top:30px !impotant;}
.buy span{font-weight: bold;
    color: #dc51ff;}
.appHeader .pageTitle{}.appHeader .pageTitle(    margin-top: 3%;)
.appHeader .pageTitle {
    color: blue;
    font-size: 28px;
    text-align: center;
    line-height: 6px;
    margin-top: 3%;
    margin-left: 15px;
}
@media only screen and (max-width: 600px) {
    .top-header{width:91% !important;}
    .mo12 {
        position: absolute;
    left: -8%;
    top: 145px;
    font-size:13px;
}
    .appHeader .pageTitle{margin-top:29%;}
    .list_ul .list_li ol .list_img{height:117px !important;}
  .web_show {
    height:52px;
    padding: 0 9px;
  }
  .l{margin-left:-54px !important;}
  .spn{width:89px; margin-left:14px;}
  .hg{    font-size: 19px;
    padding-left: 0px;
    font-weight: normal;}
  .appHeader1 .pageTitle{    font-size: 14px;}
  .height .pageTitle {
    line-height: 26px;
    margin-top: 6px;
    margin-right: 12px;
}
.ion-md-download{font-size:29px;color: #b0b0b0;}


.carousel-inner {
   
    height:176px;
}
.lko {
    position: absolute;
    top: 236px;
    right: 7px;
    width: 145px;
}
.carousel-item{height:250px;}/*450*/
.list_ul .list_li ol .list_img{width:149px;}
.list_ul .list_li ol .info{height:41%; margin-top:0px; font-size:16px;    float: left;
    width: 100%;}
.list_ul .list_li ol .list_img_box{padding:9px; min-height: 351px;}
.list_ul .list_li ol{padding:0px; height:151px;}
.index_list .list_content .list_ul{margin: 0 -1px;}
.index_list .list_content .list_ul{padding:0px;}
.buy{    width: 460px;text-align: center;}
.l{margin-left:-54px !important;}
}


.top-header {
    /*background: url(assets/img/bgtiop.png) no-repeat;*/
    background:var(--background-color);
    overflow: hidden;
    
    background-size: cover;
         margin: 30px 0px 0px 16px;
    width: 98%;
    border-radius: 6px;
}
.top-header .nb{
	width: 40px;
    height: 20px;
    float: left;
	margin-top: 23px;
    margin-right: 15px;
    margin-left: 19px;
  
}
</style>
</head>

<body>
<!-- Page loading -->

<!-- * Page loading --> 


    
    <div class="web_show" style="    margin-top: -20 !important;">
        
            <div class="spn ">
                <img class="logo" src="assets/img/crypto.png">
                </div>
                
                
                <div class="d-flex l">
                    
                    
                   <!-- <marquee class="li" direction=”right” onmouseover="stop()" onmouseout="start()">★ <?php
      
      $sql="select* FROM `telegram` WHERE id='1'";
      $query=mysqli_query($com,$sql);
       $role=mysqli_fetch_array($query);
       echo $role['slid_notice'];
   ?> </marquee>-->
                <!--<h4 class="hg">Open with an app</h4>
                 <!--<h3 class="buy">To <span>BUY</span> this Project Contact <a href="tel:+918074999901"><i class="fa fa-phone"></i></a>
                 or <a href="https://wa.link/q3b7q0"><i class="fa fa-whatsapp"></i></a>-->
                 </h3>
                </div>
            
         <div class="d-flex">
                <div class=" height">
                  <div class="text-center"> 
        <!--            <div class="pageTitle"> <a target="_self" href="#" download="#" ><i style="color:#fff;font-size: 18px;cursor:pointer;" class="fa fa-arrow-circle-down" ></i>-->
        <!--</a></div>-->
                  </div>
                  
                  </div>
            </div>
            
            
            
            
            
            
     
        
        
    </div>
    
 
<!-- App Header -->

<div class="appHeader" >
  <div class="pageTitle"  ><!-- <h1 style="color:#4F0761; font-size: 18px; font-weight:normal; font-family: arial;"> Welcome Back</h1>
  <p class="wp">Quality Guarantee</p>-->
  
  </div>
</div>


<!-- App Capsule -->
<div id="appCapsule"> 

<style>
    /* Slider */
.carousel-item {
  height: 100vh;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.pp{text-align: center;
    padding: 39px;
    font-size: 30px;
    margin-bottom: 76px;}
</style>
 
 
 

        
        <h5 class="" style="    text-align: center;
    padding: 0px;
    font-size:27px;margin-bottom:18px;">My Product</h5>
  
  
  <div class="container-fluid top-header" style="height:100px"> 
  <div class="  text-white" style="padding: 8px 0;">
    <div class="row justify-content-center">
       
      <div class="col-md-6 col-6 mb-1 text-center">
        <div class="user-block"> 
        <div style="margin-top:14px; display:inline-block;"></div>
        <p style="font-size: 15px;">
            <?php
            $sql_buy = mysqli_fetch_assoc(mysqli_query($com,"select * from total_buy where userid='$userid'"));
            echo $sql_buy['amount'];
            ?>
            RS
        </p>
        <p>Total Assets</p>
        
        
        </div>
  </div>
  <div class="col-md-6 col-6 mb-1 text-center">
        <div class="user-block"> 
        <div style="margin-top:14px; display:inline-block;"></div>
        <p style="font-size: 15px;">
            <?php
            $sql_inte = mysqli_fetch_assoc(mysqli_query($com,"select * from total_interest where userid='$userid'"));
            echo $sql_inte['amount'];
            ?>
            RS
        </p>
        <p>Total Income</p>
        
        
        </div>
  </div>
  
  
  </div>
  
 </div>

</div>
  
  
  
  <div class=" index_list"><!--appContent-->
    <div class="list_content"> <!--sectionTitle mb-2-->
    
    <ul class="nav nav-tabs size2" id="myTab3" role="tablist">
        <li class="nav-item"> 
<a class="nav-link active" id="home-tab3" data-toggle="tab" href="#level1" role="tab">Valid</a> 
        </li>
        <li class="nav-item"> 
<a class="nav-link" id="profile-tab3" data-toggle="tab" href="#level2" role="tab">Expired</a>
         </li>
        
      </ul>
    
    
      <div class="mt-1">
      <div class="tab-content" id="myTabContent">
      
        <div class="tab-pane fade active show" id="level1" role="tabpanel">
        
    <ul class="list_ul">
        
        <?php
        $sqlvalid1 = mysqli_query($com,"select * from buy_1 where userid='$userid' and status='0'");
        while($datavalid1 = mysqli_fetch_array($sqlvalid1))
        {
        ?>
              
                <li class="list_li animate fadeInUp one" pright="">
                    
            <ol <a="" href="#" class="postItem">
                
                <div class="order-list">
                    <div class="order-item">
                        <div class="order-img">
                            <img src="assets/img/silver.jpeg"></div>
                            <div class="order-texts"> 
                            <h3>Silver</h3>
                            <p>Cycle : <span><?php echo $datavalid1['day']; ?>/<?php echo $datavalid1['cycle']; ?></span></p>
                            <p>Daily : <span><?php echo $datavalid1['daily']; ?> Rs</span></p>
                            <p>Total : <span><?php echo $datavalid1['total']; ?> Rs</span></p>
                            </div>
                    <!--<a  type="button" class="order-btn disabled">Get Income</a>-->
                    </div>
                    </div>
               <!-- <div class="list_img_box">
                    <p style="font-size:20px">Silver</p>
                   <a href=""> <img src="assets/img/silver.jpeg" alt="image" class="list_img"></a>
                   
                   
                   <ul class="mo12">
                       <li>Cycle <?php echo $datavalid1['day']; ?>/<?php echo $datavalid1['cycle']; ?></li>
                       <li>Daily <?php echo $datavalid1['daily']; ?> Rs</li>
                       <li>Total <?php echo $datavalid1['total']; ?> Rs</li>
                   </ul>


             
                </div>-->
            </ol>
            
            
        </li>
       
       <?php } ?> 
      
        <?php
        $sqlvalid2 = mysqli_query($com,"select * from buy_2 where userid='$userid' and status='0'");
        while($datavalid2 = mysqli_fetch_array($sqlvalid2))
        {
        ?>
              
                <li class="list_li animate fadeInUp one" pright="">
                    
            <ol <a="" href="#" class="postItem">
                
                <div class="order-list">
                    <div class="order-item">
                        <div class="order-img">
                            <img src="assets/img/silver.jpeg"></div>
                            <div class="order-texts"> 
                            <h3>Super Silver</h3>
                            <p>Cycle : <span><?php echo $datavalid2['day']; ?>/<?php echo $datavalid2['cycle']; ?></span></p>
                            <p>Daily : <span><?php echo $datavalid2['daily']; ?> Rs</span></p>
                            <p>Total : <span><?php echo $datavalid2['total']; ?> Rs</span></p>
                            </div>
                    <!--<a href="transactions.php" type="button" class="order-btn disabled">Get Income</a>-->
                    </div>
                </div>
                    
                <!--<div class="list_img_box">
                    <p style="font-size:20px">Super Silver</p>
                   <a href=""> <img src="assets/img/silver.jpeg" alt="image" class="list_img"></a>
                   
                   
                   <ul class="mo12">
                       <li>Cycle <?php echo $datavalid2['day']; ?>/<?php echo $datavalid2['cycle']; ?></li>
                       <li>Daily <?php echo $datavalid2['daily']; ?> Rs</li>
                       <li>Total <?php echo $datavalid2['total']; ?> Rs</li>
                   </ul>


             
                </div>-->
            </ol>
            
            
        </li>
       
       <?php } ?> 
        <?php
        $sqlvalid3 = mysqli_query($com,"select * from buy_3 where userid='$userid' and status='0'");
        while($datavalid3 = mysqli_fetch_array($sqlvalid3))
        {
        ?>
              
                <li class="list_li animate fadeInUp one" pright="">
                    
            <ol <a="" href="#" class="postItem">
                
                 <div class="order-list">
                    <div class="order-item">
                        <div class="order-img">
                            <img src="assets/img/gold.jpeg"></div>
                            <div class="order-texts"> 
                            <h3>Gold</h3>
                            <p>Cycle : <span><?php echo $datavalid3['day']; ?>/<?php echo $datavalid3['cycle']; ?></span></p>
                            <p>Daily : <span><?php echo $datavalid3['daily']; ?> Rs</span></p>
                            <p>Total : <span><?php echo $datavalid3['total']; ?> Rs</span></p>
                            </div>
                    <!--<a href="transactions.php" type="button" class="order-btn disabled">Get Income</a>-->
                    </div>
                </div>
                <!--<div class="list_img_box">
                    <p style="font-size:20px">Gold</p>
                   <a href=""> <img src="assets/img/gold.jpeg" alt="image" class="list_img"></a>
                   
                   
                   <ul class="mo12">
                       <li>Cycle <?php echo $datavalid3['day']; ?>/<?php echo $datavalid3['cycle']; ?></li>
                       <li>Daily <?php echo $datavalid3['daily']; ?> Rs</li>
                       <li>Total <?php echo $datavalid3['total']; ?> Rs</li>
                   </ul>


             
                </div>-->
            </ol>
            
            
        </li>
       
       <?php } ?> 
        <?php
        $sqlvalid4 = mysqli_query($com,"select * from buy_4 where userid='$userid' and status='0'");
        while($datavalid4 = mysqli_fetch_array($sqlvalid4))
        {
        ?>
              
                <li class="list_li animate fadeInUp one" pright="">
                    
            <ol <a="" href="#" class="postItem">
                
                <div class="order-list">
                    <div class="order-item">
                        <div class="order-img">
                            <img src="assets/img/gold.jpeg"></div>
                            <div class="order-texts"> 
                            <h3>Super Gold</h3>
                            <p>Cycle : <span><?php echo $datavalid4['day']; ?>/<?php echo $datavalid4['cycle']; ?></span></p>
                            <p>Daily : <span><?php echo $datavalid4['daily']; ?> Rs</span></p>
                            <p>Total : <span><?php echo $datavalid4['total']; ?> Rs</span></p>
                            </div>
                    <!--<a href="transactions.php" type="button" class="order-btn disabled">Get Income</a>-->
                    </div>
                </div>
                
                <!--<div class="list_img_box">
                    <p style="font-size:20px">Super Gold</p>
                   <a href=""> <img src="assets/img/gold.jpeg" alt="image" class="list_img"></a>
                   
                   
                   <ul class="mo12">
                       <li>Cycle <?php echo $datavalid4['day']; ?>/<?php echo $datavalid4['cycle']; ?></li>
                       <li>Daily <?php echo $datavalid4['daily']; ?> Rs</li>
                       <li>Total <?php echo $datavalid4['total']; ?> Rs</li>
                   </ul>


             
                </div>-->
            </ol>
            
            
        </li>
       
       <?php } ?> 
       <?php
        $sqlvalid5 = mysqli_query($com,"select * from buy_5 where userid='$userid' and status='0'");
        while($datavalid5 = mysqli_fetch_array($sqlvalid5))
        {
        ?>
              
                <li class="list_li animate fadeInUp one" pright="">
                    
            <ol <a="" href="#" class="postItem">
                
                <div class="order-list">
                    <div class="order-item">
                        <div class="order-img">
                            <img src="assets/img/diamond.jpeg"></div>
                            <div class="order-texts"> 
                            <h3>Diamond</h3>
                            <p>Cycle : <span><?php echo $datavalid5['day']; ?>/<?php echo $datavalid5['cycle']; ?></span></p>
                            <p>Daily : <span><?php echo $datavalid5['daily']; ?> Rs</span></p>
                            <p>Total : <span><?php echo $datavalid5['total']; ?> Rs</span></p>
                            </div>
                    <a href="transactions.php" type="button" class="order-btn disabled">Get Income</a>
                    </div>
                </div>
                
                
                <!--<div class="list_img_box">
                    <p style="font-size:20px">Diamond</p>
                   <a href=""> <img src="assets/img/diamond.jpeg" alt="image" class="list_img"></a>
                   
                   
                   <ul class="mo12">
                       <li>Cycle <?php echo $datavalid5['day']; ?>/<?php echo $datavalid5['cycle']; ?></li>
                       <li>Daily <?php echo $datavalid5['daily']; ?> Rs</li>
                       <li>Total <?php echo $datavalid5['total']; ?> Rs</li>
                   </ul>


             
                </div>-->
            </ol>
            
            
        </li>
       
       <?php } ?> 
       
       <?php
        $sqlvalid6 = mysqli_query($com,"select * from buy_6 where userid='$userid' and status='0'");
        while($datavalid6 = mysqli_fetch_array($sqlvalid6))
        {
        ?>
              
                <li class="list_li animate fadeInUp one" pright="">
                    
            <ol <a="" href="#" class="postItem">
                
                  <div class="order-list">
                    <div class="order-item">
                        <div class="order-img">
                            <img src="assets/img/superdiamond.jpeg"></div>
                            <div class="order-texts"> 
                            <h3>Super Diamond</h3>
                            <p>Cycle : <span><?php echo $datavalid6['day']; ?>/<?php echo $datavalid6['cycle']; ?></span></p>
                            <p>Daily : <span><?php echo $datavalid6['daily']; ?> Rs</span></p>
                            <p>Total : <span><?php echo $datavalid6['total']; ?> Rs</span></p>
                            </div>
                    <a href="transactions.php" type="button" class="order-btn disabled">Get Income</a>
                    </div>
                </div>
                
                
                <!--<div class="list_img_box">
                    <p style="font-size:20px">Super Diamond</p>
                   <a href=""> <img src="assets/img/superdiamond.jpeg" alt="image" class="list_img"></a>
                   
                   
                   <ul class="mo12">
                       <li>Cycle <?php echo $datavalid6['day']; ?>/<?php echo $datavalid6['cycle']; ?></li>
                       <li>Daily <?php echo $datavalid6['daily']; ?> Rs</li>
                       <li>Total <?php echo $datavalid6['total']; ?> Rs</li>
                   </ul>


             
                </div>-->
            </ol>
            
            
        </li>
       
       <?php } ?> 
       <?php
        $sqlvalid7 = mysqli_query($com,"select * from buy_7 where userid='$userid' and status='0'");
        while($datavalid7 = mysqli_fetch_array($sqlvalid7))
        {
        ?>
              
                <li class="list_li animate fadeInUp one" pright="">
                    
            <ol <a="" href="#" class="postItem">
                
                
                
                <div class="order-list">
                    <div class="order-item">
                        <div class="order-img">
                            <img src="assets/img/superdiamondpro.jpeg"></div>
                            <div class="order-texts"> 
                            <h3>Super Diamond Pro</h3>
                            <p>Cycle : <span><?php echo $datavalid7['day']; ?>/<?php echo $datavalid7['cycle']; ?></span></p>
                            <p>Daily : <span><?php echo $datavalid7['daily']; ?> Rs</span></p>
                            <p>Total : <span><?php echo $datavalid7['total']; ?> Rs</span></p>
                            </div>
                    <a href="transactions.php" type="button" class="order-btn disabled">Get Income</a>
                    </div>
                </div>
                
                
                <!--<div class="list_img_box">
                    <p style="font-size:20px">Super Diamond Pro</p>
                   <a href=""> <img src="assets/img/superdiamondpro.jpeg" alt="image" class="list_img"></a>
                   
                   
                   <ul class="mo12">
                       <li>Cycle <?php echo $datavalid7['day']; ?>/<?php echo $datavalid7['cycle']; ?></li>
                       <li>Daily <?php echo $datavalid7['daily']; ?> Rs</li>
                       <li>Total <?php echo $datavalid7['total']; ?> Rs</li>
                   </ul>


             
                </div>-->
            </ol>
            
            
        </li>
       
       <?php } ?> 
       
       
            </ul>
      
        </div>
       <!--=========================tab-1 end========================================-->
       <!--=========================tab-2========================================-->
        <div class="tab-pane fade" id="level2" role="tabpanel">
 
    <ul class="list_ul">
               <?php
        $sqlvalid1 = mysqli_query($com,"select * from buy_1 where userid='$userid' and status='1'");
        while($datavalid1 = mysqli_fetch_array($sqlvalid1))
        {
        ?>
              
                <li class="list_li animate fadeInUp one" pright="">
                    
            <ol <a="" href="#" class="postItem">
                
                <div class="order-list">
                    <div class="order-item">
                        <div class="order-img">
                            <img src="assets/img/silver.jpeg"></div>
                            <div class="order-texts"> 
                            <h3>Silver</h3>
                            <p>Cycle : <span><?php echo $datavalid1['day']; ?>/<?php echo $datavalid1['cycle']; ?></span></p>
                            <p>Daily : <span><?php echo $datavalid1['daily']; ?> Rs</span></p>
                            <p>Total : <span><?php echo $datavalid1['total']; ?> Rs</span></p>
                            </div>
                    <a href="transactions.php" type="button" class="order-btn disabled">Get Income</a>
                    </div>
                </div>
                
                
                
               <!-- <div class="list_img_box">
                    <p style="font-size:20px">Silver</p>
                   <a href=""> <img src="assets/img/silver.jpeg" alt="image" class="list_img"></a>
                   
                   
                   <ul class="mo12">
                       <li>Cycle <?php echo $datavalid1['day']; ?>/<?php echo $datavalid1['cycle']; ?></li>
                       <li>Daily <?php echo $datavalid1['daily']; ?> Rs</li>
                       <li>Total <?php echo $datavalid1['total']; ?> Rs</li>
                   </ul>


             
                </div>-->
            </ol>
            
            
        </li>
       
       <?php } ?> 
      
        <?php
        $sqlvalid2 = mysqli_query($com,"select * from buy_2 where userid='$userid' and status='1'");
        while($datavalid2 = mysqli_fetch_array($sqlvalid2))
        {
        ?>
              
                <li class="list_li animate fadeInUp one" pright="">
                    
            <ol <a="" href="#" class="postItem">
                
                
                 <div class="order-list">
                    <div class="order-item">
                        <div class="order-img">
                            <img src="assets/img/silver.jpeg"></div>
                            <div class="order-texts"> 
                            <h3>Super Silver</h3>
                            <p>Cycle : <span><?php echo $datavalid2['day']; ?>/<?php echo $datavalid2['cycle']; ?></span></p>
                            <p>Daily : <span><?php echo $datavalid2['daily']; ?> Rs</span></p>
                            <p>Total : <span><?php echo $datavalid2['total']; ?> Rs</span></p>
                            </div>
                    <a href="transactions.php" type="button" class="order-btn disabled">Get Income</a>
                    </div>
                </div>
                
                
                <!--<div class="list_img_box">
                    <p style="font-size:20px">Super Silver</p>
                   <a href=""> <img src="assets/img/silver.jpeg" alt="image" class="list_img"></a>
                   
                   
                   <ul class="mo12">
                       <li>Cycle <?php echo $datavalid2['day']; ?>/<?php echo $datavalid2['cycle']; ?></li>
                       <li>Daily <?php echo $datavalid2['daily']; ?> Rs</li>
                       <li>Total <?php echo $datavalid2['total']; ?> Rs</li>
                   </ul>


             
                </div>-->
            </ol>
            
            
        </li>
       
       <?php } ?> 
        <?php
        $sqlvalid3 = mysqli_query($com,"select * from buy_3 where userid='$userid' and status='1'");
        while($datavalid3 = mysqli_fetch_array($sqlvalid3))
        {
        ?>
              
                <li class="list_li animate fadeInUp one" pright="">
                    
            <ol <a="" href="#" class="postItem">
                
                
                 <div class="order-list">
                    <div class="order-item">
                        <div class="order-img">
                            <img src="assets/img/gold.jpeg"></div>
                            <div class="order-texts"> 
                            <h3>Gold</h3>
                            <p>Cycle : <span><?php echo $datavalid3['day']; ?>/<?php echo $datavalid3['cycle']; ?></span></p>
                            <p>Daily : <span><?php echo $datavalid3['daily']; ?> Rs</span></p>
                            <p>Total : <span><?php echo $datavalid3['total']; ?> Rs</span></p>
                            </div>
                    <a href="transactions.php" type="button" class="order-btn disabled">Get Income</a>
                    </div>
                </div>
                
                
                <!--<div class="list_img_box">
                    <p style="font-size:20px">Gold</p>
                   <a href=""> <img src="assets/img/gold.jpeg" alt="image" class="list_img"></a>
                   
                   
                   <ul class="mo12">
                       <li>Cycle <?php echo $datavalid3['day']; ?>/<?php echo $datavalid3['cycle']; ?></li>
                       <li>Daily <?php echo $datavalid3['daily']; ?> Rs</li>
                       <li>Total <?php echo $datavalid3['total']; ?> Rs</li>
                   </ul>


             
                </div>-->
            </ol>
            
            
        </li>
       
       <?php } ?> 
        <?php
        $sqlvalid4 = mysqli_query($com,"select * from buy_4 where userid='$userid' and status='1'");
        while($datavalid4 = mysqli_fetch_array($sqlvalid4))
        {
        ?>
              
                <li class="list_li animate fadeInUp one" pright="">
                    
            <ol <a="" href="#" class="postItem">
                
                 <div class="order-list">
                    <div class="order-item">
                        <div class="order-img">
                            <img src="assets/img/gold.jpeg"></div>
                            <div class="order-texts"> 
                            <h3>Super Gold</h3>
                            <p>Cycle : <span><?php echo $datavalid4['day']; ?>/<?php echo $datavalid4['cycle']; ?></span></p>
                            <p>Daily : <span><?php echo $datavalid4['daily']; ?> Rs</span></p>
                            <p>Total : <span><?php echo $datavalid4['total']; ?> Rs</span></p>
                            </div>
                    <a href="transactions.php" type="button" class="order-btn disabled">Get Income</a>
                    </div>
                </div>
                
                
                <!--<div class="list_img_box">
                    <p style="font-size:20px">Super Gold</p>
                   <a href=""> <img src="assets/img/gold.jpeg" alt="image" class="list_img"></a>
                   
                   
                   <ul class="mo12">
                       <li>Cycle <?php echo $datavalid4['day']; ?>/<?php echo $datavalid4['cycle']; ?></li>
                       <li>Daily <?php echo $datavalid4['daily']; ?> Rs</li>
                       <li>Total <?php echo $datavalid4['total']; ?> Rs</li>
                   </ul>


             
                </div>-->
            </ol>
            
            
        </li>
       
       <?php } ?> 
       <?php
        $sqlvalid5 = mysqli_query($com,"select * from buy_5 where userid='$userid' and status='1'");
        while($datavalid5 = mysqli_fetch_array($sqlvalid5))
        {
        ?>
              
                <li class="list_li animate fadeInUp one" pright="">
                    
            <ol <a="" href="#" class="postItem">
                
                
                 <div class="order-list">
                    <div class="order-item">
                        <div class="order-img">
                            <img src="assets/img/diamond.jpeg"></div>
                            <div class="order-texts"> 
                            <h3>Diamond</h3>
                            <p>Cycle : <span><?php echo $datavalid5['day']; ?>/<?php echo $datavalid5['cycle']; ?></span></p>
                            <p>Daily : <span><?php echo $datavalid5['daily']; ?> Rs</span></p>
                            <p>Total : <span><?php echo $datavalid5['total']; ?> Rs</span></p>
                            </div>
                    <a href="transactions.php" type="button" class="order-btn disabled">Get Income</a>
                    </div>
                </div>
                
                
               <!-- <div class="list_img_box">
                    <p style="font-size:20px">Diamond</p>
                   <a href=""> <img src="assets/img/diamond.jpeg" alt="image" class="list_img"></a>
                   
                   
                   <ul class="mo12">
                       <li>Cycle <?php echo $datavalid5['day']; ?>/<?php echo $datavalid5['cycle']; ?></li>
                       <li>Daily <?php echo $datavalid5['daily']; ?> Rs</li>
                       <li>Total <?php echo $datavalid5['total']; ?> Rs</li>
                   </ul>


             
                </div>-->
            </ol>
            
            
        </li>
       
       <?php } ?> 
       
       <?php
        $sqlvalid6 = mysqli_query($com,"select * from buy_6 where userid='$userid' and status='1'");
        while($datavalid6 = mysqli_fetch_array($sqlvalid6))
        {
        ?>
              
                <li class="list_li animate fadeInUp one" pright="">
                    
            <ol <a="" href="#" class="postItem">
                
                
                
                 <div class="order-list">
                    <div class="order-item">
                        <div class="order-img">
                            <img src="assets/img/superdiamond.jpeg"></div>
                            <div class="order-texts"> 
                            <h3>Super Diamond</h3>
                            <p>Cycle : <span><?php echo $datavalid6['day']; ?>/<?php echo $datavalid6['cycle']; ?></span></p>
                            <p>Daily : <span><?php echo $datavalid6['daily']; ?> Rs</span></p>
                            <p>Total : <span><?php echo $datavalid6['total']; ?> Rs</span></p>
                            </div>
                    <a href="transactions.php" type="button" class="order-btn disabled">Get Income</a>
                    </div>
                </div>
                
                
               <!-- <div class="list_img_box">
                    <p style="font-size:20px">Super Diamond</p>
                   <a href=""> <img src="assets/img/superdiamond.jpeg" alt="image" class="list_img"></a>
                   
                   
                   <ul class="mo12">
                       <li>Cycle <?php echo $datavalid6['day']; ?>/<?php echo $datavalid6['cycle']; ?></li>
                       <li>Daily <?php echo $datavalid6['daily']; ?> Rs</li>
                       <li>Total <?php echo $datavalid6['total']; ?> Rs</li>
                   </ul>


             
                </div>-->
            </ol>
            
            
        </li>
       
       <?php } ?> 
       <?php
        $sqlvalid7 = mysqli_query($com,"select * from buy_7 where userid='$userid' and status='1'");
        while($datavalid7 = mysqli_fetch_array($sqlvalid7))
        {
        ?>
              
                <li class="list_li animate fadeInUp one" pright="">
                    
            <ol <a="" href="#" class="postItem">
                
                
                
                  <div class="order-list">
                    <div class="order-item">
                        <div class="order-img">
                            <img src="assets/img/superdiamondpro.jpeg"></div>
                            <div class="order-texts"> 
                            <h3>Super Diamond Pro</h3>
                            <p>Cycle : <span><?php echo $datavalid7['day']; ?>/<?php echo $datavalid7['cycle']; ?></span></p>
                            <p>Daily : <span><?php echo $datavalid7['daily']; ?> Rs</span></p>
                            <p>Total : <span><?php echo $datavalid7['total']; ?> Rs</span></p>
                            </div>
                    <a href="transactions.php" type="button" class="order-btn disabled">Get Income</a>
                    </div>
                </div>
                
                
                <!--<div class="list_img_box">
                    <p style="font-size:20px">Super Diamond Pro</p>
                   <a href=""> <img src="assets/img/superdiamondpro.jpeg" alt="image" class="list_img"></a>
                   
                   
                   <ul class="mo12">
                       <li>Cycle <?php echo $datavalid7['day']; ?>/<?php echo $datavalid7['cycle']; ?></li>
                       <li>Daily <?php echo $datavalid7['daily']; ?> Rs</li>
                       <li>Total <?php echo $datavalid7['total']; ?> Rs</li>
                   </ul>


             
                </div>-->
            </ol>
            
            
        </li>
       
       <?php } ?> 
        
            </ul>
      
        </div>
      
        </div>
      </div>
    
   
      
      
      <div class="p-3"></div>
      
      <!-- * listview --> 
      
    </div>
    
    <!-- app Footer --> 
    
    <!-- * app Footer --> 
    
  </div>
</div>
<!-- * appCapsule -->

<?php include 'footer.php';?>

<!-- ///////////// Js Files ////////////////////  --> 
<!-- Jquery --> 
<script src="assets/js/lib/jquery-3.4.1.min.js"></script> 
<!-- Bootstrap--> 
<script src="assets/js/lib/popper.min.js"></script> 
<script src="assets/js/lib/bootstrap.min.js"></script> 
<!-- Owl Carousel --> 
<script src="assets/js/plugins/owl.carousel.min.js"></script> 
<!-- Main Js File --> 
<script src="assets/js/app.js"></script>
</body>
</html>