Your IP : 18.117.94.221
<?php
session_start();
include("lib/connect.inc.php");
if($uidx != 1){
header("Location:../login.php");
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="treant/examples/tree/basic-example2.css">
<!-- Neptune CSS -->
<link rel="stylesheet" href="css/core.css">
<title>Fast Track Promo</title>
<link rel="shortcut icon" href="img/fav.png" />
<link rel="stylesheet" href="treant/Treant.css">
<link rel="stylesheet" href="treant/examples/tree/basic-example2.css">
<!-- Neptune CSS -->
<link rel="stylesheet" href="css/core.css">
<!-- Neptune CSS -->
<!-- Tell the browser to be responsive to screen width -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Neptune CSS -->
<link rel="stylesheet" href="css/core.css">
<!-- Vendor CSS -->
<link rel="stylesheet" href="../vendor/bootstrap4/css/bootstrap.min.css">
<link rel="stylesheet" href="../vendor/themify-icons/themify-icons.css">
<link rel="stylesheet" href="../vendor/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="../vendor/animate.css/animate.min.css">
<link rel="stylesheet" href="../vendor/jscrollpane/jquery.jscrollpane.css">
<link rel="stylesheet" href="../vendor/waves/waves.min.css">
<link rel="stylesheet" href="../vendor/switchery/dist/switchery.min.css">
<link rel="stylesheet" href="../vendor/morris/morris.css">
<link rel="stylesheet" href="../vendor/dropify/dist/css/dropify.min.css">
<!-- Font Awesome -->
<?php include('head.php'); ?>
</head>
<body class="hold-transition sidebar-mini layout-fixed">
<?php include('nav.php'); ?>
<div class="content-wrapper">
<section class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1> Fast Track Promo</h1>
</div>
<div class="col-sm-6">
<ol class="breadcrumb float-sm-right">
<li class="breadcrumb-item"><a href="index.php">Home</a></li>
<li class="breadcrumb-item active">Fast Track Promo Candidate</li>
</ol>
</div>
</div>
</div><!-- /.container-fluid -->
</section>
<div class="content">
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-header text-white bg-dark">
<h5> Stage 2 Level 2 Members</h5>
</div>
<div class="card-body">
<div class="table-responsive">
<table class="table table-striped table-bordered dataTable" id="example1">
<thead>
<tr>
<th>Name</th>
<th>Username</th>
<th>Country</th>
<th>count</th>
<th>Date</th>
</tr>
</thead>
<tbody>
<?php //Criteria 1. Must have at least 3 referal. 2. Highest Stage. 3. Highest level. 4. Highest referral 5. Exclude covisadmin
$score='';
$start = strtotime('01-10-2020');
$end = strtotime('31-10-2020');
$level1 = $db->query("SELECT * FROM user WHERE level=4 ");
while($row1 = mysqli_fetch_array($level1)){
$created=strtotime($row1['created']);
$id = $row1['id'];
if($created>=$start AND $created<$end){?>
<tr>
<td><?php echo userName($id,'firstname').' '. userName($id,'lastname') ?></td>
<td><?php echo userName($id,'user') ?></td>
<td><?php echo userName($id,'state') ?>, <?php echo str_replace(',', '', userName($id,'country')) ?> </td>
<td><?php echo $covis->stageTeamLegs($id,2) ?></td>
<td><?php echo date('M j,y' ,strtotime(userName($id,'created'))) ?></td>
</tr>
<?php } ?>
<?php } ?>
</tbody>
</table>
<?php //echo $score ?> <br>
<?php //$sc = explode(',', $score); rsort($sc); echo $key[1] ?>
<?php if($uidx==1){ ?>
<form method="post">
<table class="table table-bordered">
<thead>
<tr><td>SEARCH MEMBER</td><td><input type="text" name="user" placeholder="Username" width="5" class="form-control"></td> <td>
<input type="submit" name="SearchUserG" class="btn btn-warning" value="Check Members Score"> </td></tr></thead></table>
</form>
<?php
if(isset($_POST['user'])){
$user = $_POST['user'] ;
$userid = $covis->userName3($user);
$level = $db->query("SELECT * FROM user WHERE id='$userid' ");
$rowl = $level->fetch_assoc();
$ssn=$rowl['sn'];
$point = $covis->levelDownlines($rowl['sn']);
$point = ($point<10) ? '0'.$point : $point;
$sp = ($rowl['sp']<10) ? '0'.$rowl['sp'] : $rowl['sp'];
$sp = ($sp>99) ? 99 : $sp;
$score = $rowl['level'].$point.$sp;
$k1 = $covis->myLegs($ssn,0);
$k2 = $covis->myLegs($ssn,1);
$k3 = $covis->myLegs($ssn,2);
$stat = '<table class="table table-bordered">
<tr><th colspan="2">MEMBER STATISTICS</th></tr>';
$stat .= '<tr><td>Name</th><td>'.userName($userid).'</th></tr>';
$stat .= '<tr><td>Username</th><td> '.$user.'</th></tr>';
$stat .= '<tr><td>Stage</th><td> '.$covis->stageCalc($rowl['sn']).'</th></tr>';
$stat .= '<tr><td>Stage Level</th><td> '.$covis->stageLevel($rowl['sn']).'</th></tr>';
$stat .= '<tr><td>Stage Team</th><td> '.number_format($point).': '.$covis->legStageTeam($k1).', '.$covis->legStageTeam($k2).', '.$covis->legStageTeam($k3).'</th></tr>';
$stat .= '<tr><td>Direct Referral</th><td> '.$rowl['sp'].'</th></tr>';
$stat .= '<tr><td>Top Score</th><td> '.number_format($score*1.001).'</th></tr>';
$stat .= '<tr><td>Address</th><td> '.$rowl['city'].', '.$rowl['state'].', '.$rowl['country'].'</th></tr>';
$stat .= '<tr><td>E-mial</th><td> '.$rowl['email'].'</th></tr>';
$stat .= '<tr><td>Account Number</th><td> '.$rowl['bank'].', '.$rowl['accountno'].'</th></tr>';
$stat .= '</table>';
echo mysqli_num_rows($level)==1 ? $stat : '<h2>Username not found</h2>';
?>
<?php } } ?>
</div>
</div>
</div>
</div>
<div class="col-md-12">
<div class="card">
<div class="card-header text-white bg-dark">
<h5> Stage 3 Level 0 Members</h5>
</div>
<div class="card-body">
<div class="table-responsive">
<table class="table table-striped table-bordered dataTable" id="example2">
<thead>
<tr>
<th>Name</th>
<th>Username</th>
<th>Country</th>
<th>Count</th>
<th>Date</th>
</tr>
</thead>
<tbody>
<?php //Criteria 1. Must have at least 3 referal. 2. Highest Stage. 3. Highest level. 4. Highest referral 5. Exclude covisadmin
$score='';
$start = strtotime('01-10-2020');
$end = strtotime('31-10-2020');
$level2 = $db->query("SELECT * FROM user WHERE level=5 ");
while($row2 = mysqli_fetch_array($level2)){
$created=strtotime($row2['created']);
$id = $row2['id'];
if($created>=$start AND $created<$end){?>
<tr>
<td><?php echo userName($id,'firstname').' '. userName($id,'lastname') ?></td>
<td><?php echo userName($id,'user') ?></td>
<td><?php echo userName($id,'state') ?>, <?php echo str_replace(',', '', userName($id,'country')) ?> </td>
<td><?php echo $covis->stageTeamLegs($id,3) ?></td>
<td><?php echo date('M j,y' ,strtotime(userName($id,'created'))) ?></td>
</tr>
<?php } ?>
<?php } ?>
</tbody>
</table>
<?php //echo $score ?> <br>
<?php //$sc = explode(',', $score); rsort($sc); echo $key[1] ?>
<?php if($uidx==1){ ?>
<form method="post">
<table class="table table-bordered">
<thead>
<tr><td>SEARCH MEMBER</td><td><input type="text" name="user" placeholder="Username" width="5" class="form-control"></td> <td>
<input type="submit" name="SearchUserG" class="btn btn-warning" value="Check Members Score"> </td></tr></thead></table>
</form>
<?php
if(isset($_POST['user'])){
$user = $_POST['user'] ;
$userid = $covis->userName3($user);
$level = $db->query("SELECT * FROM user WHERE id='$userid' ");
$rowl = $level->fetch_assoc();
$ssn=$rowl['sn'];
$point = $covis->levelDownlines($rowl['sn']);
$point = ($point<10) ? '0'.$point : $point;
$sp = ($rowl['sp']<10) ? '0'.$rowl['sp'] : $rowl['sp'];
$sp = ($sp>99) ? 99 : $sp;
$score = $rowl['level'].$point.$sp;
$k1 = $covis->myLegs($ssn,0);
$k2 = $covis->myLegs($ssn,1);
$k3 = $covis->myLegs($ssn,2);
$stat = '<table class="table table-bordered">
<tr><th colspan="2">MEMBER STATISTICS</th></tr>';
$stat .= '<tr><td>Name</th><td>'.userName($userid).'</th></tr>';
$stat .= '<tr><td>Username</th><td> '.$user.'</th></tr>';
$stat .= '<tr><td>Stage</th><td> '.$covis->stageCalc($rowl['sn']).'</th></tr>';
$stat .= '<tr><td>Stage Level</th><td> '.$covis->stageLevel($rowl['sn']).'</th></tr>';
$stat .= '<tr><td>Stage Team</th><td> '.number_format($point).': '.$covis->legStageTeam($k1).', '.$covis->legStageTeam($k2).', '.$covis->legStageTeam($k3).'</th></tr>';
$stat .= '<tr><td>Direct Referral</th><td> '.$rowl['sp'].'</th></tr>';
$stat .= '<tr><td>Top Score</th><td> '.number_format($score*1.001).'</th></tr>';
$stat .= '<tr><td>Address</th><td> '.$rowl['city'].', '.$rowl['state'].', '.$rowl['country'].'</th></tr>';
$stat .= '<tr><td>E-mial</th><td> '.$rowl['email'].'</th></tr>';
$stat .= '<tr><td>Account Number</th><td> '.$rowl['bank'].', '.$rowl['accountno'].'</th></tr>';
$stat .= '</table>';
echo mysqli_num_rows($level)==1 ? $stat : '<h2>Username not found</h2>';
?>
<?php } } ?>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-12">
<div class="card">
<div class="card-header text-white bg-dark">
<h5> Stage 3 Level 1 Members</h5>
</div>
<div class="card-body">
<div class="table-responsive">
<table class="table table-striped table-bordered dataTable" id="example3">
<thead>
<tr>
<th>Name</th>
<th>Username</th>
<th>Country</th>
<th>Count</th>
<th>Date</th>
</tr>
</thead>
<tbody>
<?php //Criteria 1. Must have at least 3 referal. 2. Highest Stage. 3. Highest level. 4. Highest referral 5. Exclude covisadmin
$score='';
$start = strtotime('01-10-2020');
$end = strtotime('31-10-2020');
$level3 = $db->query("SELECT * FROM user WHERE level=6 ");
while($row3 = mysqli_fetch_array($level3)){
$created=strtotime($row3['created']);
$id = $row3['id'];
if($created>=$start AND $created<$end){?>
<tr>
<td><?php echo userName($id,'firstname').' '. userName($id,'lastname') ?></td>
<td><?php echo userName($id,'user') ?></td>
<td><?php echo userName($id,'state') ?>, <?php echo str_replace(',', '', userName($id,'country')) ?> </td>
<td><?php echo $covis->stageTeamLegs($id,3) ?></td>
<td><?php echo date('M j,y' ,strtotime(userName($id,'created'))) ?></td>
</tr>
<?php } ?>
<?php } ?>
</tbody>
</table>
<?php //echo $score ?> <br>
<?php //$sc = explode(',', $score); rsort($sc); echo $key[1] ?>
<?php if($uidx==1){ ?>
<form method="post">
<table class="table table-bordered">
<thead>
<tr><td>SEARCH MEMBER</td><td><input type="text" name="user" placeholder="Username" width="5" class="form-control"></td> <td>
<input type="submit" name="SearchUserG" class="btn btn-warning" value="Check Members Score"> </td></tr></thead></table>
</form>
<?php
if(isset($_POST['user'])){
$user = $_POST['user'] ;
$userid = $covis->userName3($user);
$level = $db->query("SELECT * FROM user WHERE id='$userid' ");
$rowl = $level->fetch_assoc();
$ssn=$rowl['sn'];
$point = $covis->levelDownlines($rowl['sn']);
$point = ($point<10) ? '0'.$point : $point;
$sp = ($rowl['sp']<10) ? '0'.$rowl['sp'] : $rowl['sp'];
$sp = ($sp>99) ? 99 : $sp;
$score = $rowl['level'].$point.$sp;
$k1 = $covis->myLegs($ssn,0);
$k2 = $covis->myLegs($ssn,1);
$k3 = $covis->myLegs($ssn,2);
$stat = '<table class="table table-bordered">
<tr><th colspan="2">MEMBER STATISTICS</th></tr>';
$stat .= '<tr><td>Name</th><td>'.userName($userid).'</th></tr>';
$stat .= '<tr><td>Username</th><td> '.$user.'</th></tr>';
$stat .= '<tr><td>Stage</th><td> '.$covis->stageCalc($rowl['sn']).'</th></tr>';
$stat .= '<tr><td>Stage Level</th><td> '.$covis->stageLevel($rowl['sn']).'</th></tr>';
$stat .= '<tr><td>Stage Team</th><td> '.number_format($point).': '.$covis->legStageTeam($k1).', '.$covis->legStageTeam($k2).', '.$covis->legStageTeam($k3).'</th></tr>';
$stat .= '<tr><td>Direct Referral</th><td> '.$rowl['sp'].'</th></tr>';
$stat .= '<tr><td>Top Score</th><td> '.number_format($score*1.001).'</th></tr>';
$stat .= '<tr><td>Address</th><td> '.$rowl['city'].', '.$rowl['state'].', '.$rowl['country'].'</th></tr>';
$stat .= '<tr><td>E-mial</th><td> '.$rowl['email'].'</th></tr>';
$stat .= '<tr><td>Account Number</th><td> '.$rowl['bank'].', '.$rowl['accountno'].'</th></tr>';
$stat .= '</table>';
echo mysqli_num_rows($level)==1 ? $stat : '<h2>Username not found</h2>';
?>
<?php } } ?>
</div>
</div>
</div>
</div>
<div class="col-md-12">
<div class="card">
<div class="card-header text-white bg-dark">
<h5> Stage 3 Level 2 Members</h5>
</div>
<div class="card-body">
<div class="table-responsive">
<table class="table table-striped table-bordered dataTable" id="example4">
<thead>
<tr>
<th>Name</th>
<th>Username</th>
<th>Country</th>
<th>Count</th>
<th>Date</th>
</tr>
</thead>
<tbody>
<?php //Criteria 1. Must have at least 3 referal. 2. Highest Stage. 3. Highest level. 4. Highest referral 5. Exclude covisadmin
$score='';
$start = strtotime('01-10-2020');
$end = strtotime('31-10-2020');
$level4 = $db->query("SELECT * FROM user WHERE level=7 ");
while($row4 = mysqli_fetch_array($level4)){
$created=strtotime($row4['created']);
$id = $row4['id'];
if($created>=$start AND $created<$end){?>
<tr>
<td><?php echo userName($id,'firstname').' '. userName($id,'lastname') ?></td>
<td><?php echo userName($id,'user') ?></td>
<td><?php echo userName($id,'state') ?>, <?php echo str_replace(',', '', userName($id,'country')) ?> </td>
<td><?php echo $covis->stageTeamLegs($id,3) ?></td>
<td><?php echo date('M j,y' ,strtotime(userName($id,'created'))) ?></td>
</tr>
<?php } ?>
<?php } ?>
</tbody>
</table>
<?php //echo $score ?> <br>
<?php //$sc = explode(',', $score); rsort($sc); echo $key[1] ?>
<?php if($uidx==1){ ?>
<form method="post">
<table class="table table-bordered">
<thead>
<tr><td>SEARCH MEMBER</td><td><input type="text" name="user" placeholder="Username" width="5" class="form-control"></td> <td>
<input type="submit" name="SearchUserG" class="btn btn-warning" value="Check Members Score"> </td></tr></thead></table>
</form>
<?php
if(isset($_POST['user'])){
$user = $_POST['user'] ;
$userid = $covis->userName3($user);
$level = $db->query("SELECT * FROM user WHERE id='$userid' ");
$rowl = $level->fetch_assoc();
$ssn=$rowl['sn'];
$point = $covis->levelDownlines($rowl['sn']);
$point = ($point<10) ? '0'.$point : $point;
$sp = ($rowl['sp']<10) ? '0'.$rowl['sp'] : $rowl['sp'];
$sp = ($sp>99) ? 99 : $sp;
$score = $rowl['level'].$point.$sp;
$k1 = $covis->myLegs($ssn,0);
$k2 = $covis->myLegs($ssn,1);
$k3 = $covis->myLegs($ssn,2);
$stat = '<table class="table table-bordered">
<tr><th colspan="2">MEMBER STATISTICS</th></tr>';
$stat .= '<tr><td>Name</th><td>'.userName($userid).'</th></tr>';
$stat .= '<tr><td>Username</th><td> '.$user.'</th></tr>';
$stat .= '<tr><td>Stage</th><td> '.$covis->stageCalc($rowl['sn']).'</th></tr>';
$stat .= '<tr><td>Stage Level</th><td> '.$covis->stageLevel($rowl['sn']).'</th></tr>';
$stat .= '<tr><td>Stage Team</th><td> '.number_format($point).': '.$covis->legStageTeam($k1).', '.$covis->legStageTeam($k2).', '.$covis->legStageTeam($k3).'</th></tr>';
$stat .= '<tr><td>Direct Referral</th><td> '.$rowl['sp'].'</th></tr>';
$stat .= '<tr><td>Top Score</th><td> '.number_format($score*1.001).'</th></tr>';
$stat .= '<tr><td>Address</th><td> '.$rowl['city'].', '.$rowl['state'].', '.$rowl['country'].'</th></tr>';
$stat .= '<tr><td>E-mial</th><td> '.$rowl['email'].'</th></tr>';
$stat .= '<tr><td>Account Number</th><td> '.$rowl['bank'].', '.$rowl['accountno'].'</th></tr>';
$stat .= '</table>';
echo mysqli_num_rows($level)==1 ? $stat : '<h2>Username not found</h2>';
?>
<?php } } ?>
</div>
</div>
</div>
</div>
<div class="col-md-12">
<div class="card">
<div class="card-header text-white bg-dark">
<h5> Stage 4 Level 0 Members</h5>
</div>
<div class="card-body">
<div class="table-responsive">
<table class="table table-striped table-bordered dataTable" id="example5">
<thead>
<tr>
<th>Name</th>
<th>Username</th>
<th>Country</th>
<th>Count</th>
<th>Date</th>
</tr>
</thead>
<tbody>
<?php //Criteria 1. Must have at least 3 referal. 2. Highest Stage. 3. Highest level. 4. Highest referral 5. Exclude covisadmin
$score='';
$start = strtotime('01-10-2020');
$end = strtotime('31-10-2020');
$level5 = $db->query("SELECT * FROM user WHERE level=8 ");
while($row5 = mysqli_fetch_array($level5)){
$created=strtotime($row5['created']);
$id = $row5['id'];
if($created>=$start AND $created<$end){?>
<tr>
<td><?php echo userName($id,'firstname').' '. userName($id,'lastname') ?></td>
<td><?php echo userName($id,'user') ?></td>
<td><?php echo userName($id,'state') ?>, <?php echo str_replace(',', '', userName($id,'country')) ?> </td>
<td><?php echo $covis->stageTeamLegs($id,4) ?></td>
<td><?php echo date('M j,y' ,strtotime(userName($id,'created'))) ?></td>
</tr>
<?php } ?>
<?php } ?>
</tbody>
</table>
<?php //echo $score ?> <br>
<?php //$sc = explode(',', $score); rsort($sc); echo $key[1] ?>
<?php if($uidx==1){ ?>
<form method="post">
<table class="table table-bordered">
<thead>
<tr><td>SEARCH MEMBER</td><td><input type="text" name="user" placeholder="Username" width="5" class="form-control"></td> <td>
<input type="submit" name="SearchUserG" class="btn btn-warning" value="Check Members Score"> </td></tr></thead></table>
</form>
<?php
if(isset($_POST['user'])){
$user = $_POST['user'] ;
$userid = $covis->userName3($user);
$level = $db->query("SELECT * FROM user WHERE id='$userid' ");
$rowl = $level->fetch_assoc();
$ssn=$rowl['sn'];
$point = $covis->levelDownlines($rowl['sn']);
$point = ($point<10) ? '0'.$point : $point;
$sp = ($rowl['sp']<10) ? '0'.$rowl['sp'] : $rowl['sp'];
$sp = ($sp>99) ? 99 : $sp;
$score = $rowl['level'].$point.$sp;
$k1 = $covis->myLegs($ssn,0);
$k2 = $covis->myLegs($ssn,1);
$k3 = $covis->myLegs($ssn,2);
$stat = '<table class="table table-bordered">
<tr><th colspan="2">MEMBER STATISTICS</th></tr>';
$stat .= '<tr><td>Name</th><td>'.userName($userid).'</th></tr>';
$stat .= '<tr><td>Username</th><td> '.$user.'</th></tr>';
$stat .= '<tr><td>Stage</th><td> '.$covis->stageCalc($rowl['sn']).'</th></tr>';
$stat .= '<tr><td>Stage Level</th><td> '.$covis->stageLevel($rowl['sn']).'</th></tr>';
$stat .= '<tr><td>Stage Team</th><td> '.number_format($point).': '.$covis->legStageTeam($k1).', '.$covis->legStageTeam($k2).', '.$covis->legStageTeam($k3).'</th></tr>';
$stat .= '<tr><td>Direct Referral</th><td> '.$rowl['sp'].'</th></tr>';
$stat .= '<tr><td>Top Score</th><td> '.number_format($score*1.001).'</th></tr>';
$stat .= '<tr><td>Address</th><td> '.$rowl['city'].', '.$rowl['state'].', '.$rowl['country'].'</th></tr>';
$stat .= '<tr><td>E-mial</th><td> '.$rowl['email'].'</th></tr>';
$stat .= '<tr><td>Account Number</th><td> '.$rowl['bank'].', '.$rowl['accountno'].'</th></tr>';
$stat .= '</table>';
echo mysqli_num_rows($level)==1 ? $stat : '<h2>Username not found</h2>';
?>
<?php } } ?>
</div>
</div>
</div>
</div>
</div>
<!-- /.card-body -->
<!-- /.card -->
<!-- right col -->
<!-- /.row (main row) -->
</div><!-- /.container-fluid -->
<!-- /.content -->
</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": true,
"searching": true,
"ordering": true,
"info": true,
"autoWidth": false,
"responsive": true,
});
$('#example3').DataTable({
"paging": true,
"lengthChange": true,
"searching": true,
"ordering": true,
"info": true,
"autoWidth": false,
"responsive": true,
});
$('#example4').DataTable({
"paging": true,
"lengthChange": true,
"searching": true,
"ordering": true,
"info": true,
"autoWidth": false,
"responsive": true,
});
$('#example5').DataTable({
"paging": true,
"lengthChange": true,
"searching": true,
"ordering": true,
"info": true,
"autoWidth": false,
"responsive": true,
});
});
</script>
<!-- page script -->
<script type="text/javascript">
<?php
// if($covis->globeStage($uidy)==1 ){
if($stages==1 ){
echo $covis->covisTreeGlobe($uid);
}else{
echo $covis->covisTree4Globe($uid);
}
?>
</script>
<script src="treant/vendor/raphael.js"></script>
<script src="treant/Treant.js"></script>
<script>
new Treant( chart_config );
</script>
</body>
</html>