Your IP : 3.145.170.164


Current Path : /home/lentoinv/covisclubinternational.com/profile/
Upload File :
Current File : /home/lentoinv/covisclubinternational.com/profile/c_request.php

<?php
session_start();
include("lib/connect.inc.php");
$uid = $covis->Uid();

$stage = $covis->stageCalc($uidx);
$lev = $covis->stageLevel($uidx);

if(isset($_SESSION['report'])){$report = $_SESSION['report']; }

?>

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Crad Request</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 -->

    <!-- Content Header (Page header) -->
    
        <!-- Content Header (Page header) -->
            <!-- Content Wrapper. Contains page content -->
            <div class="content-wrapper">
    <section class="content-header">
      <div class="container-fluid">
        <div class="row mb-2">
          <div class="col-sm-6">
            <h1>CARD APPLICATION REQUEST</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">Card Application Request</li>
            </ol>
          </div>
        </div>
      </div><!-- /.container-fluid -->
    </section>                <!-- Content Header (Page header) -->
                <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> Card Application Request</h5>
                                </div> 

                                <div class="card-body">
                    <div id="refresh"><?php if(isset($report)){$covis->Alert(); } ?></div>

                <div>
                    <div>
                        <div class="col-md-12">
                            <div class="box bg-white ">
                                <div class="row box-block">
                                    <!-- <div class="col-md-12"> <h5 align="">  CARD APPLICATION REQUEST</h5> -->
                                        <hr/></div>
                                    <div class="col-md-6">

                                        <h6>Covis Club International offers ATM Card to every users which withdrawal and debit transaction can be manage on it </h6>
                                        <b>NOTE</b><br>
                                        1. Card attract yearly Maintenance fee  <br>
                                        2. You can use the card all over the world<br>
                                        3. A person is entitled to a single card, regarless of the number of accounts<br>
                                        4. Kindly ensure the email address on your onepayng account is the same with your ATM Card request account, if not kindly effect changes on your Profile page.<br><br>
                                    </div>
                                    <h5 id="end"></h5>
                                    <?php include('countdown.php'); ?>
                                    <div class="col-md-6">
                                            <?php //$amt = '<span id="val"></span>';
                                               // $_SESSION['a'] = $amt;

                                                //echo time()+30*60*60*24;
                                            ?>
                                            <form class="form-group" method="post">
                                                <b> Card Request Charge is $<?php echo 12;//$amt; ?></b>
                                                
                                                
                                                 <input type="text" name="user" value="<?php echo ucwords(userName($uid,'user')) ?>" class="form-control" placeholder="Username" required /> <br/>
                                                <input type="text"  name="firstname" value="<?php echo ucwords(userName($uid,'firstname')) ?>" class="form-control" placeholder="firstname" required/> <br/>
                                                <input type="text"  name="lastname" value="<?php  echo ucwords(userName($uid,'lastname')) ?>" class="form-control" placeholder="lastname" required/> <br/>
                                                 <input type="text"  name="phone"  value="<?php  echo ucwords(userName($uid,'phone')) ?>"
                                                  class="form-control" placeholder="Phone" required/> <br/>


                                                <input type="text"  name="email" value="<?php echo userName($uid,'email') ?>" class=" form-control" placeholder="Email" required/> <br/>
                                                <input type="text"  name="bvn" value="" class="form-control mt-3" placeholder=" Enter your bvn" required/> <br/>

                                                <br>

                                                <br/>
                                                <button class="btn btn-success float-md-right" name="CardApplication">Submit Card Request</button>
                                                <br/><br/>
                                            </form>

                                            <h5></h5>

                                    </div>
                                </div>

                            </div>

                        </div>

                    </div>
                                    <div class="row">
                                        <div class="col-md-12">
                                            <div class="card">
                                                <div class="card-header text-white bg-dark">
                                                    <h5> Card Request History</h5>
                                                </div>
                                                <br/>
                                                <div class="card-body">
                                                    <div class="col-md-12">
                                                        <table class="table table-bordered table-hover">
                                                            <tr>
                                                                <th>S/N</th>
                                                               
                                                               <!--  <th>Firstname</th>
                                                                <th>Lastname</th>
                                                                <th>Email</th>
                                                                <th>Phone</th> -->
                                                                <th>id</th>
                                                                <th>Date Applied</th>
                                                                <th>Bvn</th>
                                                                <th>Status</th>
                                                                

                                                            </tr>
                                                            <?php

                                                           
                                                            $id = $_SESSION['user_id'];

                                                            $sql = $db->query("SELECT * FROM c_request WHERE id = '$id'"); 
                                                            $i = 0;
                                                            while($row = mysqli_fetch_assoc($sql)){ $i ++;

                                                                ?>
                                                                <tr>
                                                                    <td><?php echo $i  ?></th>
                                                                   
<!-- 
                                                                    <td><?php echo $row['firstname']  ?></th>
                                                                    <td><?php echo $row['lastname']  ?></th>
                                                                    <td><?php echo $row['email']  ?></th>
                                                                    <td><?php echo $row['phone'] ?></th> -->
                                                                    <td><?php echo $row['id'] ?></td>
                                                                    <td><?php echo date("jS M, Y H:i", strtotime($row['created']))  ?></td>
                                                                    <td><?php echo $row['bvn'] ?></td>
                                                                    <td><?php echo $covis->Stat($row['status']); ?></td>

                                                                </tr>
                                                            <?php } ?>
                </div>
            </div>

                        </div>
                </div>





                    <!-- /.card-body -->
                </div>
                <!-- /.card -->

                <!-- right col -->
            </div>
            <!-- /.row (main row) -->
        </div><!-- /.container-fluid -->

        <!-- /.content -->
    </div>




    <!-- /.content-wrapper -->


    <!-- 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>

?>