Your IP : 18.117.254.177
<?php
session_start(); ob_start();
if(array_key_exists('EnProfilexy', $_POST)) {
$_SESSION['user_id'] = $_POST['EnProfilexy'];
header('location: index.php'); exit;
}
include("lib/connect.inc.php");
$uid = $covis->Uid();
if($uidx != 1){
header("Location:../login.php");
}
$stagel = $covis->stageCalc($uidx);
$lev = $covis->stageLevel($uidx);
if(array_key_exists('btnName', $_POST)){ $_SESSION['FindUser'] = $_POST['btnName']; header('location: searchuser.php'); }
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Search Members</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">
<!-- 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/jvectormap/jquery-jvectormap-2.0.3.css">
<!-- Neptune CSS -->
<!-- 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">Search Members</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">Search Member</li>
</ol>
</div><!-- /.col -->
</div><!-- /.row -->
</div><!-- /.container-fluid -->
</div>
<!-- /.content-header --> <!-- Content Header (Page header) -->
<!-- Content Wrapper. Contains page content -->
<!-- /.row -->
<!-- Main row -->
<!-- Custom tabs (Charts with tabs)-->
<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 style="float: left">Search Members</h5>
<form class="mt-3" method="post">
<div class="float-right" style="margin-top: -20px"><table><tr><td><input type="text" name="q" required class="form-control" placeholder="Serach for"></td><td><select required name="filter" class="form-control">
<option value="">Select Option</option>
<option value="firstname">Firstname</option>
<option value="lastname">Lastname</option>
<option value="user">Username</option>
<option value="email">E-mail</option>
<option value="phone">Phone Number</option>
</select></td><td><button type="submit" name="Serach" class="btn btn-primary">Search Item</button></td><td></td></tr></table></div>
</form>
</div><!-- /.card-header -->
<div class="card-body">
<?php $action = ['EnProfilexy','Profile','id'];
$head = ['Firstname','Lastname','Username','E-mail','Sponsor'];
$body = ['firstname','lastname','user','email','sponsor'];
$sql = $db->query("SELECT * FROM user WHERE sn<100 ");
if(isset($_POST['q'])){
$q = $_POST['q']; $filter = $_POST['filter'];
$sql = $db->query("SELECT * FROM user WHERE $filter LIKE '%$q%' ");
}else{$sql='';}
echo dTable($head,$body,$sql,$action); ?>
</div><!-- /.card-body -->
</div>
<!-- -->
<!-- /.card -->
<!-- <li class="nav-item">-->
<!-- <a class="nav-link active" href="#">Activity</a>-->
<!-- </li>-->
<!-- <li class="nav-item">-->
<!-- <a class="nav-link text-muted" href="#">Projects monitor</a>-->
<!-- </li>-->
<!-- <li class="nav-item">-->
<!-- <a class="nav-link text-muted" href="#">Memory usage</a>-->
<!-- </li>-->
<!-- <div class="box box-block bg-white b-t-0 mb-2">-->
<!-- <div class="text-muted mb-1">Calculated in last 10 days</div>-->
<!-- <div class="chart-container demo-chart">-->
<!-- <div id="main-chart" class="chart-placeholder"></div>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="row row-md mb-2">-->
<!-- <div class="col-md-4">-->
<!-- <div class="box bg-white text-xs-center">-->
<!-- <div class="box-block pb-1">-->
<!-- <h5 class="mb-2">Open projects</h5>-->
<!-- <div class="btn-group mb-1">-->
<!-- <button type="button" class="btn btn-secondary active waves-effect waves-light">Week</button>-->
<!-- <button type="button" class="btn btn-secondary waves-effect waves-light">Month</button>-->
<!-- <button type="button" class="btn btn-secondary waves-effect waves-light">Year</button>-->
<!-- </div>-->
<!-- <div id="donut" class="chart-container demo-chart-2"></div>-->
<!-- </div>-->
<!-- <div class="box-block b-t">-->
<!-- <span class="text-muted">last contract signed</span> <a class="text-primary" href="#"><span class="underline">today at 14:57</span></a>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="col-md-8">-->
<!-- <div class="box bg-white">-->
<!-- <table class="table table-grey-head mb-md-0">-->
<!-- <thead>-->
<!-- <tr>-->
<!-- <th>#</th>-->
<!-- <th>Username</th>-->
<!-- <th>Project</th>-->
<!-- <th>Last update</th>-->
<!-- <th>Progress</th>-->
<!-- </tr>-->
<!-- </thead>-->
<!-- <tbody>-->
<!-- <tr>-->
<!-- <th scope="row">1</th>-->
<!-- <td>Jonathan Mel</td>-->
<!-- <td>-->
<!-- <a class="text-primary" href="#"><span class="underline">First project</span></a>-->
<!-- </td>-->
<!-- <td>-->
<!-- <span class="text-muted">5 minutes ago</span>-->
<!-- </td>-->
<!-- <td>-->
<!-- <progress class="progress progress-success progress-sm d-inline-block mb-0" value="44" max="100">100%</progress>-->
<!-- </td>-->
<!-- </tr>-->
<!-- <tr>-->
<!-- <th scope="row">2</th>-->
<!-- <td>Larry Hal</td>-->
<!-- <td>-->
<!-- <a class="text-primary" href="#"><span class="underline">Second project</span></a>-->
<!-- </td>-->
<!-- <td>-->
<!-- <span class="text-muted">3 days ago</span>-->
<!-- </td>-->
<!-- <td>-->
<!-- <progress class="progress progress-danger progress-sm d-inline-block mb-0" value="75" max="100">100%</progress>-->
<!-- </td>-->
<!-- </tr>-->
<!-- <tr>-->
<!-- <th scope="row">3</th>-->
<!-- <td>Ron Carran</td>-->
<!-- <td>-->
<!-- <a class="text-primary" href="#"><span class="underline">Third project</span></a>-->
<!-- </td>-->
<!-- <td>-->
<!-- <span class="text-muted">Last monday</span>-->
<!-- </td>-->
<!-- <td>-->
<!-- <progress class="progress progress-warning progress-sm d-inline-block mb-0" value="20" max="100">100%</progress>-->
<!-- </td>-->
<!-- </tr>-->
<!-- <tr>-->
<!-- <th scope="row">4</th>-->
<!-- <td>Carleton Josiah</td>-->
<!-- <td>-->
<!-- <a class="text-primary" href="#"><span class="underline">Another project</span></a>-->
<!-- </td>-->
<!-- <td>-->
<!-- <span class="text-muted">5 minutes ago</span>-->
<!-- </td>-->
<!-- <td>-->
<!-- <progress class="progress progress-primary progress-sm d-inline-block mb-0" value="10" max="100">100%</progress>-->
<!-- </td>-->
<!-- </tr>-->
<!-- <tr>-->
<!-- <th scope="row">5</th>-->
<!-- <td>Wolfe Stevie</td>-->
<!-- <td>-->
<!-- <a class="text-primary" href="#"><span class="underline">Old project</span></a>-->
<!-- </td>-->
<!-- <td>-->
<!-- <span class="text-muted">3 days ago</span>-->
<!-- </td>-->
<!-- <td>-->
<!-- <progress class="progress progress-info progress-sm d-inline-block mb-0" value="90" max="100">100%</progress>-->
<!-- </td>-->
<!-- </tr>-->
<!-- <tr>-->
<!-- <th scope="row">6</th>-->
<!-- <td>Vance Osborn</td>-->
<!-- <td>-->
<!-- <a class="text-primary" href="#"><span class="underline">Important project</span></a>-->
<!-- </td>-->
<!-- <td>-->
<!-- <span class="text-muted">Last monday</span>-->
<!-- </td>-->
<!-- <td>-->
<!-- <progress class="progress progress-warning progress-sm d-inline-block mb-0" value="35" max="100">100%</progress>-->
<!-- </td>-->
<!-- </tr>-->
<!-- <tr>-->
<!-- <th scope="row">7</th>-->
<!-- <td>Jonathan Mel</td>-->
<!-- <td>-->
<!-- <a class="text-primary" href="#"><span class="underline">First project</span></a>-->
<!-- </td>-->
<!-- <td>-->
<!-- <span class="text-muted">5 minutes ago</span>-->
<!-- </td>-->
<!-- <td>-->
<!-- <progress class="progress progress-success progress-sm d-inline-block mb-0" value="44" max="100">100%</progress>-->
<!-- </td>-->
<!-- </tr>-->
<!-- <tr>-->
<!-- <th scope="row">8</th>-->
<!-- <td>Larry Hal</td>-->
<!-- <td>-->
<!-- <a class="text-primary" href="#"><span class="underline">Second project</span></a>-->
<!-- </td>-->
<!-- <td>-->
<!-- <span class="text-muted">3 days ago</span>-->
<!-- </td>-->
<!-- <td>-->
<!-- <progress class="progress progress-danger progress-sm d-inline-block mb-0" value="75" max="100">100%</progress>-->
<!-- </td>-->
<!-- </tr>-->
<!-- <tr>-->
<!-- <th scope="row">9</th>-->
<!-- <td>Ron Carran</td>-->
<!-- <td>-->
<!-- <a class="text-primary" href="#"><span class="underline">Third project</span></a>-->
<!-- </td>-->
<!-- <td>-->
<!-- <span class="text-muted">Last monday</span>-->
<!-- </td>-->
<!-- <td>-->
<!-- <progress class="progress progress-warning progress-sm d-inline-block mb-0" value="20" max="100">100%</progress>-->
<!-- </td>-->
<!-- </tr>-->
<!-- </tbody>-->
<!-- </table>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="box box-block bg-white">-->
<!-- <div class="clearfix mb-1">-->
<!-- <h5 class="float-xs-left">Sales statistics</h5>-->
<!-- <div class="float-xs-right">-->
<!-- <button class="btn btn-link btn-sm text-muted" type="button"><i class="ti-angle-down"></i></button>-->
<!-- <button class="btn btn-link btn-sm text-muted" type="button"><i class="ti-reload"></i></button>-->
<!-- <button class="btn btn-link btn-sm text-muted" type="button"><i class="ti-close"></i></button>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="row">-->
<!-- <div class="col-md-8">-->
<!-- <div id="world" style="height: 400px;"></div>-->
<!-- </div>-->
<!-- <div class="col-md-4 demo-progress">-->
<!-- <p class="mb-0-5">New York City <span class="float-xs-right">25%</span></p>-->
<!-- <progress class="progress progress-success progress-sm" value="25" max="100">100%</progress>-->
<!-- <p class="mb-0-5">Singapore <span class="float-xs-right">15%</span></p>-->
<!-- <progress class="progress progress-info progress-sm" value="15" max="100">100%</progress>-->
<!-- <p class="mb-0-5">Tokyo <span class="float-xs-right">30%</span></p>-->
<!-- <progress class="progress progress-warning progress-sm mb-2" value="30" max="100">100%</progress>-->
<!-- <p class="mb-0-5">Hong Kong <span class="float-xs-right">5%</span></p>-->
<!-- <progress class="progress progress-danger progress-sm mb-2" value="5" max="100">100%</progress>-->
<!-- <a class="btn btn-outline-primary" href="#">Detail statistics</a>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
</div>
</div>
<!-- /.row (main row) -->
</div><!-- /.container-fluid -->
</section>
<!-- /.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>
</body>
</html>