<?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">Notice 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">Noice Details</div>
   <form name="form1" class="form-horizontal" method="post" action="notice4.php" enctype="multipart/form-data">
 
  <div class="form-group">
    <label for="inputPassword3" class="col-sm-2 control-label">HPL No</label>
    <div class="col-sm-4">
      <input type="text" class="form-control" id="hpl" name="hpl" value="" placeholder="HPL No"  required>
    </div>
  </div>
         <div class="form-group">
    <label for="inputPassword3" class="col-sm-2 control-label">Sizzing Date</label>
    <div class="col-sm-4">
      <input type="text" class="form-control" id="hpl" name="sdate" value="" placeholder=""  onfocus="insertDate(this,'DD-MM-YYYY')" required>
    </div>	
  </div>
        <div class="form-group">
    <label for="inputPassword3" class="col-sm-2 control-label">Pending Amount</label>
    <div class="col-sm-4">
      <input type="text" class="form-control" id="hpl" name="pamt" value="" placeholder=""  required>
    </div>	
  </div>   
  <div class="form-group">
    <label for="inputPassword3" class="col-sm-2 control-label">Current Vehicle Rate</label>
    <div class="col-sm-4">
      <input type="text" class="form-control" id="hpl" name="cver" value="" placeholder=""  required>
    </div>	
  </div>
  <div class="form-group">
    <label for="inputPassword3" class="col-sm-2 control-label">Last Date</label>
    <div class="col-sm-4">
      <input type="text" class="form-control" id="hpl" name="ldate" value="" placeholder=""  onfocus="insertDate(this,'DD-MM-YYYY')" required>
    </div>	
  </div>
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <button type="submit" class="btn btn-default" name="s1">View This</button>
    </div>
  </div>
      <div class="alert alert-success">
	<?php        if(isset($_POST['s1']))
								{
									extract($_POST);
					$pamt1=$pamt;
					$ldate1=$ldate;
					$sdate=$sdate;
					$cver=$cver;
					
					$qry=mysqli_query($conn, "select * from customerdetails where hpl='$hpl' && mfin='$mfin'");
						$n=mysqli_num_rows($qry);
						
while($row=mysqli_fetch_array($qry))
  {  ?>
<tr class="warning">
						<td><?php echo $row['hpl'];?></td>
						<td><?php echo $row['name'];?></td>
						<td><a href="interest2.php?hpl=<?php echo $row['hpl'];?>&name=<?php echo $row['name'];?>&mfin=<?php echo $row['mfin'];?>&pamt1=<?php echo $pamt1;?>&ldate1=<?php echo $ldate1;?>&sdate=<?php echo $sdate;?>&cver=<?php echo $cver;?>">PRINT</a></td>
						
						
					</tr>
						<?php
						}
				
								}else{  
								echo "Nothing is Display"; }
								
								
								
								?>

	  </div>
</form>
</div>
 
 
</div>
</div></div>
</div></div></div> <?php include "layouts/footer.php"; ?></body></html>