-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgiao_dien_nhap_the.html
91 lines (81 loc) · 2.99 KB
/
giao_dien_nhap_the.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Thanh toán</title>
<link
rel="stylesheet"
href="./assets/libs/fontawesome-free-6.1.1-web/css/all.css"
/>
<link rel="stylesheet" href="./assets/css/style.css" />
</head>
<body>
<header id="header">
<a class="header_left" href="#">
<img src="./assets/images/bus-school.png" alt="bus-school.png" />
<h3>VeXeGia.com</h3>
</a>
<ul class="header_center">
<li class="my-hover"><a href="#">Trang chủ</a></li>
<li class="my-hover"><a href="#">Tìm tuyến xe</a></li>
</ul>
<div class="header_right">
<a class="header_right-item login my-hover" href="#">
<i class="fa-regular fa-circle-user"></i>
<p>Login</p>
</a>
<a class="header_right-item sign-up my-hover" href="#">
<i class="fa-solid fa-user-plus"></i>
<p>Sign up</p>
</a>
</div>
</header>
<div id="content">
<div id="ticket-diagram-gh-16">
<div class="left">
<div class="ticket-diagram">
<h1>Nhập thẻ để thanh toán</h1>
<div class="enterCard">
<form id="myForm" onsubmit="myFunction()" method="post">
<label>Số thẻ:</label> <input type="text" name="SoThe" id="soThe" ><br>
<label>Ngày hết hạn:</label> <input type="text" name="Date" ><br>
<label>CVV:</label> <input type="text" name="CVV" ><br>
</form>
<class class="summitFinal">
<button type="submit" form="myForm" value="submit" style="font-size: 30px">Kiểm tra</button>
</class>
<script>
function myFunction() {
const soThe = 13579
if (soThe == document.getElementById("soThe").value ) {
alert('Nhập thẻ thành công!!!')
window.open('/giao_dien_chon_cho.html/giao_dien_xac_thuc_thanh_toan.html', '_blank');
self.close()
}else {
alert('Vui lòng kiểm tra lại thẻ')
}
}
</script>
</div>
<div class="choose-diagram">Vui lòng nhập đúng thẻ để thanh toán.</div>
</div>
</div>
<div class="right">
<div class="note">
<h1>Lưu ý</h1>
<div class="note-list">
<p>Vui lòng kiểm tra kĩ số thẻ để nhập chính xác!</p>
</div>
</div>
<a href="/giao_dien_chon_cho.html/giao_dien_chon_the.html" class="book-ticket my-hover">Quay Về</a>
</div>
</div>
</div>
<div id="footer">
Footer
</div>
<script src="./assets/js/main.js"></script>
</body>
</html>