<?php include "layouts/menu.php"; ?>    
  <!--  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">Click more for Delete/Print</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">
                           <div class="alert alert-info">Customer Details</div>
                        </div>
                        <div class="panel-body">
                            <div class="row">
   
  <?php $hpl=$_REQUEST['hpl'];?>
                    <?php
					
						$qry=mysqli_query($conn, "select * from customer where mfin='$mfin' &&  hpl='$hpl'");
						$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>Hpl</th>
						<th>Name</th>
						<th>User Image</th>
						<th>Vehicle No</th>
						<th>Vehicle Name</th>
						<th>H.P Amount</th>
						<th>Address</th>
						<th>More Details</th>
					</tr></thead>
					<?php 
					while($row=mysqli_fetch_array($qry))
						{
					?>
					<tbody><tr class="warning">
					<col width="100px">
						<td><?php echo $row['hpl'];?></td>
						<td><?php echo $row['name']; ?></td>
						<td><img src="user/<?php echo $row['uimg'];?>" width="120" height="120"/></td>
						<td><?php echo $row['vno'];?></td>
						<td><?php echo $row['vname'];?></td>
						<td><?php echo $row['hpamount'];?></td>
						<td><?php echo $row['address'];?></td>
						<td><a href="m.udelete.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>
