-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.html
75 lines (72 loc) · 3.04 KB
/
login.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
<!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">
<title>BATMAN-Login</title>
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
$(if chap-id)
<form name="sendin" action="$(link-login-only)" method="post">
<input type="hidden" name="username" />
<input type="hidden" name="password" />
<input type="hidden" name="dst" value="$(link-orig)" />
<input type="hidden" name="popup" value="true" />
</form>
<script type="text/javascript" src="md5.js"></script>
<script type="text/javascript">
<!--
function doLogin() {
document.sendin.username.value = document.login.username.value;
document.sendin.password.value = hexMD5('$(chap-id)' + document.login.password.value + '$(chap-challenge)');
document.sendin.submit();
return false;
}
//-->
</script>
$(endif)
<div class="container">
<div class="row">
<div class="col-sm-6 col-md-4 col-md-offset-4">
<!-- box login -->
<div class="batman-box">
<img class="profile-img" src="img/batman.png" alt="batmanLogin">
<div class="text-center">
<h1 class="login-title">Hai superhero</h1>
<p><i>Silahkan login terlebih dahulu untuk masuk di arena bertarung</i></p>
</div>
<!-- form login -->
<form class="form-signin" method="post" action="$(link-login-only)" $(if chap-id) onSubmit="return doLogin()" $(endif)>
<p>ID</p>
<input type="text" name="username" value="$(username)" class="form-control" placeholder="Input your ID" required autofocus>
<br>
<p>Password</p>
<input type="password" name="password" class="form-control" placeholder="Input your password">
<button class="buton btn-block" type="submit" name="Log in">Log in</button>
</form>
<!-- footer -->
<div class="footer-box">
<div class="text-kiri">
$(if trial == 'yes')<a style="color: #000"href="$(link-login-only)?dst=$(link-orig-esc)&username=T-$(mac-esc)"><i>Free login</i></a>.$(endif)
</div>
<div class="text-kanan">
<a href="cek_id.html"><i>Cek ID</i></a>
</div>
</div>
<div class="text-center">
$(if error)<div style="color: #FF8080; font-size: 9px"><div class="alert alert-danger" role="alert"><h5>$(error)</h5></div></div>$(endif)
</div>
</div>
</div>
</div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="js/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
</body>
</html>