<?php include "layouts/menu.php"; ?> 
  <?php $hpl=$_REQUEST['hpl'];?>
  <?php $name=$_REQUEST['name'];?>  
  <!--  page-wrapper -->
         <div class="right_col" role="main">
            <div class="row">
                 <!-- page header -->
                <div class="col-lg-12">
                    <h1 class="page-header  alert alert-info">Net Details</h1>
                </div>
                <!--end page header -->
            </div>
            <div class="row">
                <div class="col-lg-12">
                    <!-- Form Elements -->
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            Details
                        </div>
                        <div class="panel-body">
                            <div class="row">
   <div class="alert alert-info">Monthly Due</div>
  
                    <?php
					
						$qry=mysqli_query($conn, "select * from net where mfin='$mfin'");
						$n=mysqli_num_rows($qry);
						if($n==0)
						{
							echo "Nothing To Display";
						}
						else
					{ 
						?></p>
					<table table class="table" border="0" align="center" cellspacing="0" cellpadding="10" width="100%" style="table-layout: fixed;">
					<col width="100px">
						<tr class="danger" style="color:purple;">
						<th>Name</th>
						<th>Hpl</th>
						<th>Duemonth</th>
						<th>Duedate</th>
						<th>Total</th>
						<th>R.No</th>
						<th>Paydate</th>
						<th>Delete</th>
					</tr>
					<?php 
					while($row=mysqli_fetch_array($qry))
						{
					?>
					<tr class="warning">
					<col width="100px">
						<td><?php echo $row['name'];?></td>
						<td><?php echo $row['hpl'];?></td>
						<td><?php echo $row['no'];?></td>
						<td><?php echo $row['duedate'];?></td>
						<td><?php echo $row['tot'];?></td>
						<td><?php echo $row['rno'];?></td>
						<td><?php echo $row['paydate'];?></td>
						<td><a href="ndelete.php?hpl=<?php echo $row['hpl'];?>&name=<?php echo $row['name'];?>">More Info</a></td>
					</tr>
					<?php
						}
					}
				
					?>
					</table>
</div>
</div></div>
</div></div></div> <?php include "layouts/footer.php"; ?></body></html>