-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsaloon_payment.html
40 lines (38 loc) · 1.23 KB
/
saloon_payment.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
<html>
<head>
<link rel="stylesheet" href="all_father.css">
<link rel="stylesheet" href="saloon_payment.css">
<script src="login_check.js"></script>
<script>
function auth()
{
check_login();
check_admin();
nav();
}
function showoptions()
{
auth();
document.getElementById("txtHint").innerHTML="hello";
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
document.getElementById("txtHint").innerHTML = this.responseText;
}
};
xmlhttp.open("GET","load_due.php?",true);
xmlhttp.send();
}
</script>
</head>
<body id="bdy" onload="showoptions()">
<h1>Saloons under you are,</h1>
<div class="topnav" id="topnav"></div>
<form action="saloon_payment.php" method="post">
<div id="txtHint">Date should be here</div>
<label for="Cost">Payment:</label>
<input type="number" name="Cost" id="Cost" value=0 min="0" required></input>
<input type="submit" value="Pay">
</form>
</body>
</html>