Your IP : 3.138.134.163
<?php
session_start(); ob_start();
include("lib/connect.inc.php");
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Dashboard</title>
<link rel="shortcut icon" href="img/fav.png" />
<!-- Tell the browser to be responsive to screen width -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Font Awesome -->
<?php include('head.php'); ?>
</head>
<body class="hold-transition sidebar-mini layout-fixed">
<div class="wrapper">
<?php include('nav.php'); ?>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0 text-dark">Dashboard</h1>
</div><!-- /.col -->
<div class="col-sm-6">
<ol class="breadcrumb float-sm-right">
<li class="breadcrumb-item"><a href="#">Home</a></li>
<li class="breadcrumb-item active">Dashboard </li>
</ol>
</div><!-- /.col -->
</div><!-- /.row -->
</div><!-- /.container-fluid -->
</div>
<!-- /.content-header -->
<section class="content">
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<!-- Profile Image -->
<div class="card">
<div class="card-header text-white bg-dark">
<h5>Join Global Matrix</h5>
</div>
<div class="card-body box-profile">
<!--<em>Note: <span class="text-danger">Joining Global Matrix will now cost $5</span></em>-->
<div class="text-center">
<?php if($covis->findGlobeUser($uid)==0 AND $covis->stage2l2Team($uid)==12){ ?>
<p>Enter username of prospective upline. Make sure the user is already in global matrix. If the username is verified, a button will appear below. click the button to join global matrix. </p>
<br/>
<form class="form-group" method="post">
<input type="text" class="form-control" name="recipient" placeholder="Enter Upline Username" id="username" required/>
<h5 id="output"></h5>
<br/>
<button class="btn btn-primary float-md-right" value="<?php echo $uid ?>" name="JoinGmatrix" > JOIN GLOBAL MATRIX </button>
<br/>
<br/><br/>
</form>
<?php } ?>
<?php if($covis->findGlobeUser($uid)==1){ ?>
<font color="green" size="+1">CONGRATULATIONS:<br>
You are now in global matrix
</font>
<?php } ?>
<?php if($covis->stage2l2Team($uid)<12){ ?>
<font color="red" size="+1">WARNING:<br>
You are not yet eligible for global matrix
</font>
<?php } ?>
</div>
</div>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
</div>
<!-- <div class="col-md-8">
<div class="box bg-white ">
<div class="box-block">
<h5 align="center">Join Global Matrix</h5>
</div>
</div>
</div> -->
</div>
</div>
</div>
</div>
<!-- /.content -->
</div></div></div>
<!-- /.content-wrapper -->
<?php include('foot.php'); ?>
<!-- Control Sidebar -->
<aside class="control-sidebar control-sidebar-dark">
<!-- Control sidebar content goes here -->
</aside>
<!-- /.control-sidebar -->
</div>
<!-- ./wrapper -->
<!-- jQuery -->
<script src="../plugins/jquery/jquery.min.js"></script>
<!-- jQuery UI 1.11.4 -->
<script src="../plugins/jquery-ui/jquery-ui.min.js"></script>
<!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
<script>
$.widget.bridge('uibutton', $.ui.button)
</script>
<!-- Bootstrap 4 -->
<script src="../plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- ChartJS -->
<script src="../plugins/chart.js/Chart.min.js"></script>
<!-- Sparkline -->
<script src="../plugins/sparklines/sparkline.js"></script>
<!-- JQVMap -->
<script src="../plugins/jqvmap/jquery.vmap.min.js"></script>
<script src="../plugins/jqvmap/maps/jquery.vmap.usa.js"></script>
<!-- jQuery Knob Chart -->
<script src="../plugins/jquery-knob/jquery.knob.min.js"></script>
<!-- daterangepicker -->
<script src="../plugins/moment/moment.min.js"></script>
<script src="../plugins/daterangepicker/daterangepicker.js"></script>
<!-- Tempusdominus Bootstrap 4 -->
<script src="../plugins/tempusdominus-bootstrap-4/js/tempusdominus-bootstrap-4.min.js"></script>
<!-- Summernote -->
<script src="../plugins/summernote/summernote-bs4.min.js"></script>
<!-- overlayScrollbars -->
<script src="../plugins/overlayScrollbars/js/jquery.overlayScrollbars.min.js"></script>
<!-- AdminLTE App -->
<script src="../dist/js/adminlte.js"></script>
<!-- AdminLTE dashboard demo (This is only for demo purposes) -->
<script src="../dist/js/pages/dashboard.js"></script>
<!-- AdminLTE for demo purposes -->
<script src="../dist/js/demo.js"></script>
<!-- DataTables -->
<script src="../plugins/datatables/jquery.dataTables.min.js"></script>
<script src="../plugins/datatables-bs4/js/dataTables.bootstrap4.min.js"></script>
<script src="../plugins/datatables-responsive/js/dataTables.responsive.min.js"></script>
<script src="../plugins/datatables-responsive/js/responsive.bootstrap4.min.js"></script>
<!-- page script -->
<script>
$(function () {
$("#example1").DataTable({
"responsive": true,
"autoWidth": false,
});
$('#example2').DataTable({
"paging": true,
"lengthChange": false,
"searching": false,
"ordering": true,
"info": true,
"autoWidth": false,
"responsive": true,
});
});
</script>
<script type="text/javascript">
$(function(){
$("#username").keyup(function(){
var v = $(this).val();
$.ajax({
type: 'get',
url : 'js/username.php?val='+v
}).done(function(data){
if(data == 0){
$("#output").html('');
}
else if(data == 1){
$("#output").html('Username Does Not Exist');
}
else {
$("#output").html(data);
}
})
})
})
</script>
</body>
</html>