`).hide().fadeIn(300)).children(':last'); }); } getAlert($(`.alerts`), data); }); }); function secondsToHms(d) { d = Number(d); var h = Math.floor(d / 3600); var m = Math.floor(d % 3600 / 60); var s = Math.floor(d % 3600 % 60); return ('0' + h).slice(-2) + ":" + ('0' + m).slice(-2) + ":" + ('0' + s).slice(-2); } let seconds =
Warning: Undefined variable $card in /var/www/findteam.cc/html/view/static/js/my.php on line 28
Warning: Trying to access array offset on value of type null in /var/www/findteam.cc/html/view/static/js/my.php on line 28
0; $('.countdown').html(`End: ` + secondsToHms(seconds)); let interval = setInterval(function() { --seconds; $('.countdown').html(`End: ` + secondsToHms(seconds)); if (seconds <= 0) clearInterval(interval); timer = seconds; }, 1000); getCardTime(); getPrettyTimeAndDate();