<?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="notice6.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">Print Type</label>
    <div class="col-sm-4">
      <select type="text" class="form-control" id="typp" name="typp" value="" placeholder="HPL No"  required>+
	 
	    <option value="2">Ledger Photo Print</option>
		 <option value="1">Ledger Print</option>
	    <option value="0">F9 Photo Print</option>
	    </select>
    </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);
						
					$qry=mysqli_query($conn, "select * from customerdetails where hpl='$hpl' && mfin='$mfin'");
						$n=mysqli_num_rows($qry);
						$row=mysqli_fetch_array($qry);
if($typp == 1) {


echo "<script>window.open('mathoor2.php?hpl=".$row['hpl']."&name=".$row['name']."&mfin=".$row['mfin']."','myNewWinsr','width=620,height=800,toolbar=0,menubar=no,status=no,resizable=yes,location=no,directories=no');</script>";
}
elseif($typp == 2) {


echo "<script>window.open('mathoor24.php?hpl=".$row['hpl']."&name=".$row['name']."&mfin=".$row['mfin']."','myNewWinsr','width=620,height=800,toolbar=0,menubar=no,status=no,resizable=yes,location=no,directories=no');</script>";
}

else {


echo "<script>window.open('mathoor23.php?hpl=".$row['hpl']."&name=".$row['name']."&mfin=".$row['mfin']."','myNewWinsr','width=620,height=800,toolbar=0,menubar=no,status=no,resizable=yes,location=no,directories=no');</script>";
}
?>

						<?php
				
								}else{  
								echo "Nothing is Display"; }
								
								
								
								?>

	  </div>
</form>








 <div class="alert alert-info">Due Card Print</div>
   <form name="form14444" class="form-horizontal" method="post" action="" 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>

      <input type="hidden" class="form-control" id="typp" name="typp" value="" placeholder="HPL No"  required>+
	 
	
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <button type="submit" class="btn btn-default" name="s12424">View This</button>
    </div>
  </div>
      <div class="alert alert-success">
	<?php        if(isset($_POST['s12424']))
								{
									extract($_POST);
						
					$qry=mysqli_query($conn, "select * from customerdetails where hpl='$hpl' && mfin='$mfin'");
						$n=mysqli_num_rows($qry);
						$row=mysqli_fetch_array($qry);

echo "<script>window.open('duecard.php?hpl=".$row['hpl']."&name=".$row['name']."&mfin=".$row['mfin']."','myNewWinsr','width=620,height=800,toolbar=0,menubar=no,status=no,resizable=yes,location=no,directories=no');</script>";

?>

						<?php
				
								}else{  
								echo "Nothing is Display"; }
								
								
								
								?>

	  </div>
</form>


 <div class="alert alert-info">RANGE</div>
   <form name="form1" class="form-horizontal" method="post" action="notice6.php" enctype="multipart/form-data">
 
  <div class="form-group">
    <label for="inputPassword3" class="col-sm-2 control-label">HPL No From</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">HPL No To</label>
    <div class="col-sm-4">
      <input type="text" class="form-control" id="hpl2" name="hpl2" value="" placeholder="HPL No"  required>
    </div>
  </div>
 <div class="form-group">
    <label for="inputPassword3" class="col-sm-2 control-label">Print Type</label>
    <div class="col-sm-4">
      <select type="text" class="form-control" id="typp" name="typp" value="" placeholder="HPL No"  required>+
	 
	    <option value="2">Ledger Photo Print</option>
		 <option value="1">Ledger Print</option>
	    <option value="0">F9 Photo Print</option>
	    </select>
    </div>
  </div>
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <button type="submit" class="btn btn-default" name="s155">View This</button>
    </div>
  </div>
      <div class="alert alert-success">
	<?php        if(isset($_POST['s155']))
								{
									extract($_POST);
						
			
if($typp == 1) {


echo "<script>window.open('mathoor02.php?hpl=".$hpl."&hpl2=".$hpl2."&mfin=".$mfin."','myNewWinsr','width=620,height=800,toolbar=0,menubar=no,status=no,resizable=yes,location=no,directories=no');</script>";
}
if($typp == 2) {


echo "<script>window.open('mathoor024.php?hpl=".$hpl."&hpl2=".$hpl2."&mfin=".$mfin."','myNewWinsr','width=620,height=800,toolbar=0,menubar=no,status=no,resizable=yes,location=no,directories=no');</script>";
}

else {


echo "<script>window.open('mathoor023.php?hpl=".$hpl."&hpl2=".$hpl2."&mfin=".$mfin."','myNewWinsr','width=620,height=800,toolbar=0,menubar=no,status=no,resizable=yes,location=no,directories=no');</script>";
}
?>

						<?php
				
								}else{  
								echo "Nothing is Display"; }
								
								
								
								?>

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