<?php include('header.php');?>
    
<style>
form {border: 3px solid #f1f1f1;}

main {
  margin: 0;
  padding: 5px;
  background-color: lightgray;
}

main > .browser {
  margin: 10px;
  padding: 5px;
}

.browser {
  background: white;
}

.browser > h2 {
  margin: 4px;
  font-size: 90%;
}
input [type=password], [id=myPin], input[type=password]{
  width: 50%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}  
input [type=password], [id=myInput], input[type=password]{
  width: 50%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

input [type=password], [id=myPin_2], input[type=password]{
  width: 50%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}  
input [type=password], [id=myInput_2], input[type=password]{
  width: 50%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

input [type=email], input[type=email]{
  width: 50%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}  
input [type=email], input[type=email]{
  width: 50%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}


.dov {
  background-color: green;
  color: white;
  width: 20%;
  height: 20%;
  
}

</style>

<div class="container">
    
<h2>LOCAL TRANSFER</h2>
<br>

<main>
    <!--Change password section-->
    
  <h4>Receiver's Bank Name</h4>
  <br>
  <article class="browser">
  <label for="pass"><b>Enter Bank Name</b></label>
  &nbsp;&nbsp;<input type="password" name="old_password"  id="myInput" required>
  </article>
  
  <article class="browser">
  <label for="pass"><b>Receiver's Account Type</b></label>
  &nbsp;&nbsp;<input type="password" name="new_password" id="myPin"  required>
 </article>
  
  <!--Change pin section-->
  <h4>Change Transaction Pin</h4>
  <br>
  <article class="browser">
  <label for="pass"><b>Old Pin</b></label>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="password" id="myInput_2" name="pin" required>
  <br>
  <input type="checkbox" onclick="myFunction_2()">Show Pin
  <br><hr>
  <label for="pass"><b>New Pin</b></label>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="password" id="myPin_2" name="password" required>
  <br>
  <input type="checkbox" onclick="myFunction_3()">Show Pin
  <!--Change pin section ends-->
  <!--This codes javascript helps to view the pins-->
  <script>
function myFunction_2() {
  var x = document.getElementById("myInput_2");
  if (x.type === "password") {
    x.type = "text";
  } else {
    x.type = "password";
  }
}
</script>
<script>
function myFunction_3() {
  var x = document.getElementById("myPin_2");
  if (x.type === "password") {
    x.type = "text";
  } else {
    x.type = "password";
  }
}
</script>
<!--Pins visibility ends-->
 </article>
  
  <!--Change email section-->
  <h4>Change Account Email</h4>
  <br>
  <article class="browser">
  <label for="pass"><b>Existing Email</b></label>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="email" name="existing_email" required>
  <br><hr>
  <label for="pass"><b>New Email</b></label>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="email" name="new_email" required>
  </article>
  <br>
  <input type="button" class="dov" value="Update" name="update_settings">
  <!--Change email section ends-->
</main>
</div>
<br><br><br>




<? include('footer.php');?>