<?php
session_start();
//include 'api/apikey.php';
if(ISSET($_SESSION['unique_user_id']))
{
    $id=$_SESSION['unique_user_id'];
}
/*$ary=array();
$ary=$_REQUEST;
$id=$ary['0']['email'];

$session_security = md5(substr(str_shuffle(str_repeat("ABCDEFGHIJKLMNOPQRSTUVWXYZ", 8)), 0, 8));  //  ganerate suffle string
	$slt2="update registration set login_session='".$session_security."' where unique_user_id='$id'";
	$qry=mysqli_query($conn,$slt2);
	if($qry)
	{
		$_SESSION['login_id']=$session_security;
	}	*/



?>
<html>
	<head>
		<title> Bank details </title>
		 <meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
	   <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
	   <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
	   

	</head>
	<body>
		<div class="container">
		<div class="row">
		<div class="col-sm-12 text-center" style="padding: 4%; font-size: 18px">
				Bank account verification
		</div>
		
		
		
		<div class="col-sm-6 col-sm-offset-3">
		<div class="well">
			<div class="row text-center">
				<span style="font-weight: bold; font-size: 15px">Bank details </span>
			</div>
			<br>
			<div class="row">
				<div class="form-group">
				<div class="col-sm-10 col-sm-offset-1">
						<input type="text" class="form-control" id="ac" placeholder="Enter Account number">
						<div id="ac_error" style="color:red"></div>
				</div>
				</div>
			</div>
			<br>
			<div class="row">
				<div class="form-group">
				<div class="col-sm-10 col-sm-offset-1">
				        <!-----     hidden user unique id   ------->
				        <input type="hidden" id="user_id" value="<?php if(isset($id)){echo $id;}?>">
						<input type="text" class="form-control" id="adhar" placeholder="Enter ADHAR/ID card number">
						<div id="adhar_error" style="color:red"></div>
				</div>
				</div>
			</div>
			<br>
			<div class="row">
				<div class="form-group">
				<div class="col-sm-10 col-sm-offset-1">
						<input type="text" class="form-control" id="pan" placeholder="Enter PAN card number">
						<div id="pan_error" style="color:red"></div>
				</div>
				</div>
			</div>
			<br>
			<div class="row">
				<div class="form-group">
				<div class="col-sm-10 col-sm-offset-1">
						<input type="text" class="form-control" id="holder_name" placeholder="Enter Account holder name ">
						<div id="holder_name_error" style="color:red"></div>
				</div>
				</div>
			</div>
			<br>
			<div class="row">
				<div class="form-group">
				<div class="col-sm-10 col-sm-offset-1">
						<input type="text" class="form-control" id="ifsc" placeholder="Enter IFSC code">
						<div id="ifsc_error" style="color:red"></div>
				</div>
				</div>
			</div>
			<br>
			<div class="row">
				<div class="form-group">
				<div class="col-sm-10 col-sm-offset-1">
						<input type="text" class="form-control" id="nominee" placeholder="Enter NOMINEE name">
						<div id="nominee_error" style="color:red"></div>
				</div>
				</div>
			</div>
			<br>
			<div class="row">
			<div class="col-sm-9 col-sm-offset-2">
				<input type="button" class="btn btn-default col-sm-5" onclick="window.location.href='dashboard.php';" value="Skip">
				<input type="button" class="btn btn-default col-sm-5" style="margin-left: 10px" value="Next" id="bank_details_btn">
			</div>
			</div>
		</div>
		</div>
		</div>
		</div>
		
<script src="js/custom.js"></script>
	</body>
</html>