Your IP : 216.73.216.26


Current Path : /home2/wtmwscom/www/member/
Upload File :
Current File : /home2/wtmwscom/www/member/give_help_history_bank_detail.php

<?php
$title = "Bank Detail";
include 'header.php';

$uid = $_SESSION['userid'];
$i = 1;
$user = mysqli_fetch_object(mysqli_query($connection, "SELECT * FROM user WHERE uid='" . $_GET['uid'] . "'"));

if (!isset($_GET['uid'])) {
    redirect("./index.php");
}
?>
<div class="container-fluid">

    <div class="row">
        <div class="col-sm-12">
            <div class="page-title-box">
                <h4 class="page-title">Bank Details</h4>
                <ol class="breadcrumb">
                    <li class="breadcrumb-item"><a href="javascript:void(0);">Home</a></li>
                    <li class="breadcrumb-item"><a href="javascript:void(0);">Report</a></li>
                    <li class="breadcrumb-item active">Bank Details</li>
                </ol>

                <!--                                    <div class="state-information d-none d-sm-block">
                                                        <div class="state-graph">
                                                            <div id="header-chart-1"></div>
                                                            <div class="info">Balance $ 2,317</div>
                                                        </div>
                                                        <div class="state-graph">
                                                            <div id="header-chart-2"></div>
                                                            <div class="info">Item Sold 1230</div>
                                                        </div>
                                                    </div>-->
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <div class="card m-b-20">
                <div class="card-body">

                    <!--                                        <h4 class="mt-0 header-title">Basic example</h4>
                                                            <p class="text-muted m-b-30">For basic styling—light padding and
                                                                only horizontal dividers—add the base class <code>.table</code> to any
                                                                <code>&lt;table&gt;</code>.
                                                            </p>-->

                    <table class="table mb-0 datatable">
                        <thead>
                            <tr>
                                <th>Account Number</th>
                                <th>Account Holder Name</th>
                                <th>IFSC</th>
                                <th>Bank Name</th>
                                <th>Branch Name</th>
                            </tr>
                        </thead>
                        <tbody>
                            <?php
                            $query = "SELECT * FROM user WHERE uid='" . $_GET['uid'] . "'";

                            $rs = mysqli_query($connection, $query);
//                            $i = 1;
                            if ($rs) {
                                while ($bank = mysqli_fetch_object($rs)) {
                                    ?>
                                    <tr>
                                        <!--<td><?php // echo $i; ?></td>-->
                                        <td><?php echo $user->account_number; ?></td>
                                        <td><?php echo $user->account_holder_name; ?></td>
                                        <td><?php echo $user->ifsc; ?></td>
                                        <td><?php echo $user->bank_name; ?></td>
                                        <td><?php echo $user->branch_name; ?></td>
                                    </tr>
                                    <?php
//                                    $i++;
                                }
                            }
                            ?>
                        </tbody>
                    </table>
                    <?php //echo $pager->renderFullNav(); ?>  
                </div>
            </div>
        </div> <!-- end col -->
    </div>
    <!--table content ends here-->
</div>
<!-- end row -->

<?php include 'footer.php'; ?>