| Server IP : 210.245.233.93 / Your IP : 216.73.216.226 Web Server : Apache/2.2.15 (CentOS) System : Linux webserver2.onesolution.com.hk 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : apache ( 48) PHP Version : 5.3.3 Disable Function : exec, shell_exec, system, passthru, popen, proc_open, pcntl_exec MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/hkosl.com/course_demo/view/ |
Upload File : |
<!DOCTYPE html>
<html lang="en">
<head>
<?php include 'inc/headlinks.php'; ?>
</head>
<body class="bodyBg">
<section class="bodyWrap align-items-center">
<div class="w-100">
<div class="loginWrap">
<p class="mainTitle"><img src="../assets/images/logo.svg" class="logo" alt="logo"> ATIC 網上平台</p>
<div class="courseContent">
<div class="courseContentDetail">
<div class="courseTitle">
<p class="h1 greenFont">課程A(CSK23001)</p>
<p class="small">課程名稱/課程編號</p>
</div>
<!-- <ul class="formList mb-4">
<li><span><i class="fas fa-building"></i></span>L'Oréal Company
</li>
<li><span><i class="fas fa-user-tie"></i></span>陳大文(CHAN TAI MAN)
</li>
</ul> -->
<p class="mb-2">請輸入手機驗證</p>
<div class="inputCustom">
<label class="input">
<div class="inputCustomIcon">
<div class="selectionSelecter">
<select class="inputCustom-control" id="exampleFormControlSelect1">
<option>852</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
</div>
<i class="fas fa-phone"></i>
<input class="input__field" type="text" placeholder="電話號碼" value="" />
</div>
</label>
</div>
</div>
<button class="fancy-button bg-gradient1 smsBtn"><span>發送驗證碼</span></button>
</div>
<div class="mt-4 smsContent">
<div class="smsContentDetail">
<div class="form-group mb-4">
<input type="text" class="form-control text-center" id="sms" aria-describedby="emailHelp"
placeholder="請輸入 SMS 認証碼">
<p class="form-text text-danger text-center small">**認証碼錯誤!</p>
</div>
<button class="btn btn-success btn-lg w-100 smsReBtn mb-4" disabled>重發驗證碼<span
class="sec">(30秒重發)</span></button>
</div>
<button class="fancy-button bg-gradient1 smsSubmitBtn"
onclick="window.location.href='index.php'"><span>提 交</span></button>
</div>
</div>
</div>
</div>
</section>
</body>
<script>
$(function() {
$('.smsContent').hide();
$("#sms").on("keyup", function() {
if ($(this).val() == "") {
$(".smsSubmitBtn").prop("disabled", true);
} else {
$(".smsSubmitBtn").prop("disabled", false);
}
});
});
function counstSec() {
$('.sec').show();
var countDownTime = 30;
$(".smsReBtn").prop("disabled", true);
var x = setInterval(function() {
// Decrement the countdown time
countDownTime--;
// Calculate remaining seconds
var seconds = countDownTime % 60;
// Output the result in an element with id="countdown"
$(".sec").html("(" + seconds + "秒重發)");
// If the countdown is finished, display a message
if (countDownTime == 0) {
clearInterval(x);
$('.smsReBtn').prop("disabled", false);
$('.sec').hide();
}
}, 1000);
}
$('.smsBtn').click(function() {
$('.courseContent').hide();
$('.smsContent').show();
counstSec();
});
$('.smsReBtn').click(function() {
counstSec();
});
</script>
</html>