<?php ob_start(); session_start(); ?>
	<!DOCTYPE html>
	<html>
	<?php include "../layouts/db_connect.php"; ?>
	<?php
	
if(isset($_SESSION['code'])) {
	  $code = $_SESSION['code'];
	  $scode = $_SESSION['code'];
	   
		$staff = $_SESSION['name'];
		 $postt = $_SESSION['postt'];
		  $mfin222 = $_SESSION['mfin222'];
	} 

$fid=$_REQUEST['fid'];
$hpl=$_REQUEST['hpl'];

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


	?>
		<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		
		<!-- Meta, title, CSS, favicons, etc. -->
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta http-equiv="X-UA-Compatible" content="chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
* {
    box-sizing: border-box;
}

input[type=text], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}

label {
    padding: 12px 12px 12px 0;
    display: inline-block;
}

input[type=submit] {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    float: right;
}

input[type=submit]:hover {
    background-color: #45a049;
}

.container {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;
}

.col-25 {
    float: left;
    width: 25%;
    margin-top: 6px;
}

.col-75 {
    float: left;
    width: 75%;
    margin-top: 6px;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .col-25, .col-75, input[type=submit] {
        width: 100%;
        margin-top: 0;
    }
}

.button {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    margin: 4px 2px;
    cursor: pointer;
}

.button2 {background-color: #008CBA;} /* Blue */
.button3 {background-color: #f44336;} /* Red */ 
.button4 {background-color: #e7e7e7; color: black;} /* Gray */ 
.button5 {background-color: #555555;} /* Black */

</style>
		<title>INFOSSEL SOFT SOLUTIONS </title> </head>
		<body>
 
    <!--  page-wrapper -->
         <div class="right_col" role="main">

            <div class="row">
                <div class="col-lg-12">
                    <!-- Form Elements -->
                    <div class="panel panel-default">
                       
                        
                        <div class="panel-body">
                            <div class="row">
							 <div class="col-lg-6">
   
   <form name="form1" class="form-horizontal" method="post" action="" enctype="multipart/form-data">
   <div>

     <input type="text" class="form-control" id="inputPassword3" name="hpl" value="" placeholder="Loan No" ></br></br>
	  <input type="text" class="form-control" id="inputPassword3" name="vno" value="" placeholder="Phone NO" ></br></br>
	   <input type="text" class="form-control" id="inputPassword3" name="area" value="" placeholder="AREA" ></br></br>
	       <input type="text" class="form-control" id="inputPassword3" name="name" value="" placeholder="Name" ></br></br>
		   <input type="hidden" class="form-control" id="inputPassword3" name="add" value="" placeholder="Address" >
		   <input type="hidden" class="form-control" id="inputPassword3" name="model" value="" placeholder="VEHICLE NAME" >
	       <input type="hidden" class="form-control" id="inputPassword3" name="adhaar" value="" placeholder="ADHAAR ID" >
		   <input type="hidden" class="form-control" id="inputPassword3" name="broker" value="" placeholder="broker" >
		    <input type="hidden" class="form-control" id="inputPassword3" name="mfin2" value="" placeholder="mfin" >
			
  </div>
 <center>
    <button type="submit" class="button button1" name="s2">Search It</button>
	</BR>
	

 </center>
      <div>
      <?php
								if(isset($_POST['s2']))
								{
									extract($_POST);
												 echo "<script>window.location.href='search.php?hpl=$hpl&vno=$vno&area=$area&name=$name&add=$add';</script>";
    exit;
								}
							?>
	  </div>
</form>
</div>

</div></div>
</div></div></div>
 <center>

	
	<a href="area.php"><button type="submit" class="button button2">Area Search</button></a>

	
	<a href="areag.php"><button type="submit" class="button button3">Area Group Search</button></a>
	<?php $actual_link = "$_SERVER[HTTP_HOST]"; 
//	echo $actual_link; ?>
	<a href="https://<?php echo $actual_link; ?>/col/geo5.php"><button type="submit" class="button button1">PRE LOAN GEO LOCATION</button></a>
	<a href="https://<?php echo $actual_link; ?>/col/geo.php"><button type="submit" class="button button1">GEO LOCATION</button></a>
	
		
		
 </center>
 

</div></body></html>
