-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.php~
52 lines (38 loc) · 1.09 KB
/
index.php~
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
<html>
<head>
<script type="text/javascript" src="js/jquery.js"></script>
<link rel="stylesheet" href="magnific-popup/magnific-popup.css">
<!-- Magnific Popup core JS file -->
<link rel="stylesheet" type="text/css" href="css/layout.css">
</head>
<body>
<center>
<h1>BEER Factory</h1>
</center>
<div class="box effect">
<div class="login">
<br><br>
<p><center><h3>LOGIN WITH YOUR ID</h3></center></p>
<center><h3>ID: <input type="ID" id="loginid"></h3>
</center>
<center>
<button onclick="check($('#loginid').val())">LOGIN</button>
</center>
</div>
</div>
<form method="post" id="f1">
<input type="hidden" name="name" id="1">
</form>
</body>
</html>
<script>
function check(s) {
document.getElementById('1').value=s;
$.ajax({
type:"post",
url:"check.php",
data: {s:s},
success:function(data){
});
}
</script>