<?php
@session_start();
@ob_start();
include "header.php";
?>
<!-- Page wrapper  -->
        <div class="page-wrapper">
            <!-- Bread crumb -->
            <div class="row page-titles">
                <div class="col-md-5 align-self-center">
                    <h3 class="text-primary"></h3> </div>
                <div class="col-md-7 align-self-center">
                    <ol class="breadcrumb">
                        <li class="breadcrumb-item"><a href="javascript:void(0)">Home</a></li>
                        <li class="breadcrumb-item active">Bank Details</li>
                    </ol>
                </div>
            </div>
            <!-- End Bread crumb -->
            <!-- Container fluid  -->
            <div class="container-fluid">
                <!-- Start Page Content -->
                <div class="row">
                    <div class="col-12">
                        <div class="card">
                            <div class="card-body">
							
							<h3>Bank Details</h3>
     <a href="add_bank.php" class="btn btn-block btn-primary" name="add_ward" style="width:100px; float:right; margin-bottom:10px;">Add</a>
<table id="example23" class="display nowrap table table-hover table-striped table-bordered" cellspacing="0" width="100%">
                                    <thead>
                                        <tr>
                                            <td>#</td>
                                            <td>Bank Name</td>
                                             <td>Branch Name</td>
											  <td>Account No</td>
											   <td>Ifsc</td>
                                            
                                        </tr>
                                    </thead>
                                    <tbody>
                                       <?php
							

 	 $q = "SELECT * FROM tbl_bank_detail where session_login_id = '".$_SESSION['login_id']."' order by id desc";
	 $query = mysql_query($q);
	 $i=1;
								while($row=mysql_fetch_assoc($query)){  
     
	
				
  ?>
  <tr>
  <td><?php echo $i++;?></td>
   <td><?php echo $row["bank_name"];?></td>
      <td><?php echo $row["branch_name"];?></td>
	   <td><?php echo $row["acc_no"];?></td>
	    <td><?php echo $row["ifsc"];?></td>
    
                                          
                                        </tr>
                                       <?php }?>
                                    </tbody>
                                </table>
                            </div>
                            <!-- /.table-responsive -->
                        </div>
                        <!-- /.panel-body -->
                    </div>
                </div>
                <!-- /.row -->
            </div>
            <!-- /.container-fluid -->
        </div>
        <!-- /#page-wrapper -->


  


    

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


		