<?php include "layouts/menu.php"; ?> <div class="right_col" role="main">
            <div class="row">
                 <!-- page header -->
                <div class="col-lg-12">
                    <h1 class="page-header  alert alert-info">Settlements</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 id="mydiv">
  <input type="button" value="Print" onclick="PrintElem('#mydiv')"  style="margin:20px;">
    <div class="alert alert-info">Full Settlement Details</div>
   
                    <?php
					
						$qry=mysqli_query($conn, "select * from net2");
						$n=mysqli_num_rows($qry);
						if($n==0)
						{
							echo "Nothing To Display";
						}
						else
					{ 
						?></p>
					<div class="table-responsive">
  <table class="table table-bordered table-hover"><thead>
  <tr class="info">
						<th>Name</th>
						<th>Hpl</th>
						<th>Duedate</th>
						<th>Dueamount</th>
						<th>Paid month</th>
						<th>Balance Month</th>
						<th>tot</th>
						<th>R.No</th>
						<th>Paydate</th>
						<th>P IN</th>
						<th>P OUT</th>
						<th>Delete</th>
					</tr></thead>
					<?php 
					while($row=mysqli_fetch_array($qry))
						{
					?>
					<tbody><tr class="warning">
					<col width="100px">
						<td><?php echo $row['name'];?></td>
						<td><?php echo $row['hpl'];?></td>
					
						<td><?php echo $row['duedate'];?></td>
						<td><?php echo $row['dueamount'];?></td>
						<td><?php echo $row['paid'];?></td>
						<td><?php echo $row['bmnt'];?></td>
						<td><?php echo $row['tot'];?></td>
						<td><?php echo $row['rno'];?></td>
						<td><?php echo $row['paydate'];?></td>
						<td><?php echo $row['cre'];?></td>
						<td><?php echo $row['deb'];?></td>
						<td><a href="mfdelete.php?hpl=<?php echo $row['hpl'];?>&name=<?php echo $row['name'];?>">More Info</a></td>
					</tr></tbody>
					<?php
						}
					}
				
					?>
					</table>
	</div></div></div></div></div></div></div>
<?php include "layouts/footer.php"; ?></body></html>