| Server IP : 104.21.21.239 / Your IP : 216.73.216.11 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/home2/domains/nycyouth/Package-HTML/Canvas 7 Files/ |
Upload File : |
<!DOCTYPE html>
<html dir="ltr" lang="en-US">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta http-equiv="x-ua-compatible" content="IE=edge">
<meta name="author" content="SemiColonWeb">
<meta name="description" content="Get Canvas to build powerful websites easily with the Highly Customizable & Best Selling Bootstrap Template, today.">
<!-- Font Imports -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
<!-- Core Style -->
<link rel="stylesheet" href="style.css">
<!-- Font Icons -->
<link rel="stylesheet" href="css/font-icons.css">
<!-- Custom CSS -->
<link rel="stylesheet" href="css/custom.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Document Title
============================================= -->
<title>OTP Form | Canvas</title>
<style>
.form-otp-border .form-control {
--cnvs-input-btn-border-width: 3px;
--cnvs-input-btn-border-color: var(--bs-gray-300);
--cnvs-input-focus-border-color: var(--bs-gray-700);
}
</style>
</head>
<body class="stretched block-form-otp">
<!-- Document Wrapper
============================================= -->
<div id="wrapper">
<!-- Content
============================================= -->
<section id="content">
<div class="content-wrap">
<div class="container">
<div class="row justify-content-center align-items-center g-5">
<div class="col-xl-4 col-md-6">
<div class="card shadow-sm rounded-4">
<div class="card-body p-4 text-center">
<h4 class="mb-3">Please Enter the One Time Password to verify your Account</h4>
<p class="mb-4 text-danger">A code has been sent to<small>******68903</small></p>
<div class="form-otp d-flex flex-row justify-content-center mb-4">
<input class="mx-2 text-center form-control rounded" type="text" id="form-otp-first" maxlength="1">
<input class="mx-2 text-center form-control rounded" type="text" id="form-otp-second" maxlength="1">
<input class="mx-2 text-center form-control rounded" type="text" id="form-otp-third" maxlength="1">
<input class="mx-2 text-center form-control rounded" type="text" id="form-otp-fourth" maxlength="1">
<input class="mx-2 text-center form-control rounded" type="text" id="form-otp-fifth" maxlength="1">
<input class="mx-2 text-center form-control rounded" type="text" id="form-otp-sixth" maxlength="1">
</div>
<button name="submit" type="submit" id="form-otp-submit" tabindex="5" value="Submit" class="btn btn-danger w-100 py-2">Submit</button>
<div id="expireOTP" class="countdown countdown-inline customjs mt-3"></div>
<div class="expiry-text-wrap mt-3 d-none">Didn't receive OTP? <a href="#" id="btn-resend">Send Again</a></div>
</div>
</div>
</div>
<div class="col-xl-4 col-md-6">
<div class="card shadow-sm rounded-4">
<div class="card-body p-4 text-center">
<div class="form-widget">
<div class="form-result"></div>
<form class="mb-0" id="template-contactform" name="template-contactform" action="include/form.php" method="post">
<div class="form-process">
<div class="css3-spinner">
<div class="css3-spinner-scaler"></div>
</div>
</div>
<h4 class="mb-3">One Time Password sent Successfully to your Email Address.</h4>
<p class="mb-4 text-danger">A code has been sent to<small>******[email protected]</small></p>
<div class="form-otp form-otp-border d-flex flex-row justify-content-center mb-4">
<input class="mx-2 text-center form-control border-form-control required" name="otp-border-form-first" type="text" id="otp-boder-form-first" maxlength="1">
<input class="mx-2 text-center form-control border-form-control required" name="otp-border-form-second" type="text" id="otp-boder-form-second" maxlength="1">
<input class="mx-2 text-center form-control border-form-control required" name="otp-border-form-third" type="text" id="otp-boder-form-third" maxlength="1">
<input class="mx-2 text-center form-control border-form-control required" name="otp-border-form-fourth" type="text" id="otp-boder-form-fourth" maxlength="1">
</div>
<input type="text" id="otp-border-form-botcheck" name="otp-border-form-botcheck" value="" class=" d-none form-control">
<button name="submit" type="submit" id="otp-border-form-submit" tabindex="5" value="Submit" class="btn btn-danger w-100 py-2">Verify Now</button>
<input type="hidden" name="prefix" value="otp-border-form-">
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section><!-- #content end -->
</div><!-- #wrapper end -->
<!-- Go To Top
============================================= -->
<div id="gotoTop" class="uil uil-angle-up"></div>
<!-- JavaScripts
============================================= -->
<script src="js/jquery.js"></script>
<script src="js/functions.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function (event) {
function formOTP() {
const inputs = document.querySelectorAll(".form-otp > *[id]");
for (let i = 0; i < inputs.length; i++) {
inputs[i].addEventListener("keydown", function (event) {
if (event.key === "Backspace") {
inputs[i].value = "";
if (i !== 0) inputs[i - 1].focus();
} else {
if (i === inputs.length - 1 && inputs[i].value !== "") {
return true;
} else if (event.keyCode > 47 && event.keyCode < 58) {
inputs[i].value = event.key;
if (i !== inputs.length - 1) inputs[i + 1].focus();
event.preventDefault();
} else if (event.keyCode > 64 && event.keyCode < 91) {
inputs[i].value = String.fromCharCode(event.keyCode);
if (i !== inputs.length - 1) inputs[i + 1].focus();
event.preventDefault();
}
}
});
}
}
formOTP();
});
// Countdown
const resetTimer = 59;
jQuery('#expireOTP').countdown({
until: resetTimer,
format: 'S',
expiryText: '',
onExpiry: function () {
jQuery('.expiry-text-wrap').removeClass('d-none');
jQuery('#expireOTP').addClass('d-none');
}
});
jQuery('#btn-resend').click(function() {
let shortly = new Date();
shortly.setSeconds(shortly.getSeconds() + resetTimer);
jQuery('.expiry-text-wrap').addClass('d-none');
jQuery('#expireOTP').removeClass('d-none');
jQuery('#expireOTP').countdown('option', {until: shortly});
});
</script>
</body>
</html>