<?php include "config/init.php"?>

<?php include "template/header.php"?>

    <!-- Main Header  -->
    <?php include "template/main-header.php"?>

    <!-- Left side column. contains the logo and sidebar -->
    <?php include "template/main-sidebar.php"?>

    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            
            <!--<ol class="breadcrumb">
                <li><a href="index.php"><i class="fa fa-dashboard"></i> Home</a></li>
                <li class="active">Customer</li>
            </ol>-->
        </section>

        <!-- Main content -->
        <section class="content">

            <div class="row">
                <div class="col-md-12">
                    <div class="panel panel-default">
                        <!-- List of All Payout -->
						<div class="panel-heading"><h3>List of Configured KYC Limits</h3></div>
                        <div class="panel-body">
                            <table class="table table-striped" id="t9">
                                <thead>
                                <tr>
                                    <th>#</th>
                                    <th>KYC Type</th>
                                    <th>Transaction Limit</th>
                                    <th>Daily Limit</th>
                                    <th>Monthly Limit</th>
                                </tr>
                                </thead>
								
								    <tbody>

<?php
    $query = "SELECT * FROM kyc_tbl";
    $q = mysqli_query($dbc,$query);
    while( $row=mysqli_fetch_array($q) ) {  

                                // preparing an array$row["prod_curr"]." ".description
            echo "<tr><td>{$row['id']}</td><td>{$row['name']}</td><td>{$row['transaction_limit']}</td><td>{$row['dailyAmount']}</td><td>{$row['monthlyAmount']}</td></td></tr>";
                                }



    ?>



                        </tbody>
								
                            </table>
                            <hr>
                        </div>
                    </div>
                </div>
            </div>

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

<?php include "template/footer.php"?>


