Uname:
Linux server.thebazaar99.com 5.14.0-687.17.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jun 22 07:21:26 EDT 2026 x86_64
Software:
Apache
PHP version:
8.3.32 [ PHP INFO ] PHP os:
Linux
Server Ip:
163.227.92.254
Your Ip:
216.73.217.24
User:
gutlooks (1003) | Group:
gutlooks (1005)
Safe Mode:
OFF
Disable Function:
exec,passthru,shell_exec,system
//// OTP JS ///
/// Otp Timer Js
let timerOn = true;
function timer(remaining) {
var m = Math.floor(remaining / 60);
var s = remaining % 60;
m = m < 10 ? '0' + m : m;
s = s < 10 ? '0' + s : s;
document.getElementById('timer').innerHTML = m + ':' + s;
remaining -= 1;
if (remaining >= 0 && timerOn) {
setTimeout(function () {
timer(remaining);
}, 1000);
return;
}
if (!timerOn) {
// Do validate stuff here
return;
}
// Do timeout stuff here
let timerEl = document.querySelector(".time")
let resendOtp = document.querySelector(".resend-otp");
timerEl.style.setProperty("display", "none", "important")
resendOtp.style = "color:var(--theme-color); cursor:pointer;";
resendOtp.addEventListener("click", function () {
timerEl.style = "display: inline-block";
resendOtp.style = "color:#777777; curser:not-allowed;";
timer(30);
});
}
timer(30);
//// Otp Input Js////
let digitValidate = function (ele) {
ele.value = ele.value.replace(/[^0-9]/g, '');
}
let tabChange = function (val) {
let ele = document.querySelectorAll('input');
if (ele[val - 1].value != '') {
ele[val]?.focus()
} else if (ele[val - 1].value == '') {
ele[val - 2].focus()
}
}