<?php
session_start();
@$userKey = $_SESSION['loginKey'];
$am=$_REQUEST['am'];
if($userKey == "")
{
    echo "<script>window.open('./login.php','_self')</script>";
}
?>
<!DOCTYPE html>
<html>
<head>
<title>Recharge Now</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
</head>
<body>
<div class="container p-5">
    
<div class="row">
    
<div class="col-md-4 mb-2 card p-4">    

          
<img class="img-fluid" src="https://omwin.in/payment/paytm/image.png" alt="alternative">
<!--
<img class="img-fluid mt-2" src="../images/step1-illus.svg">
-->
</div>    
    
<div class="col-md-7 mb-2">
    
<h2>Add Money To Wallet</h2>
<span>Fill Carefully Payment Detail and Pay</span><hr>
<form action="txnProcess.php" method="post">
<!--<h4>Payment Type:</h4>-->
<input type="hidden" name="gateway_type" value="Advanced" class="form-control" required>
<!--<select type="text" name="gateway_type" class="form-control" required>
<option "Advanced">Advanced</option>
<option "Robotics">Robotics</option>
<option "Normal">Normal</option>
</select>    -->
<br>
<h4>Add Amount:</h4>
<input type="text" name="txnAmount" value="<?php echo $am ?>" class="form-control" readonly required><br>
<!--
<select type="text" name="txnAmount" class="form-control" required>

<option "1000">1000</option>
<option "2000">2000</option>
<option "1000">5000</option>
<option "2000">10000</option>
<option "50000">50000</option>
</select>  
--->
<!--<input type="text" name="txnAmount"  class="form-control" required><br>-->
<!--<h4>Txn Note:</h4>-->
<input type="hidden" name="txnNote"  Placeholder="Enter Txn Note" value="<?php echo $userKey?>" class="form-control" required><br>
<!--<h4>Your Mobile No:</h4>-->
<input type="hidden" name="cust_Mobile" placeholder="Enter Your Mobile"  value="9876543212" class="form-control" required><br>
<h4>Your Email:</h4>
<input type="email" name="cust_Email" placeholder="Enter Your Email" value="admin@gmail.com" class="form-control" required><br>
<input type="submit" value="Click to Recharge" class="btn btn-primary">
</form>
</div> 

    
<div class="col-md-12 mt-5 mb-4 card p-4">    
<h2>Recommendation</h2>
<span>If You are not able to payment with the same mobile phone. We recommend you to scan and pay from other Device. </span><hr>


</div>  

</div>

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