Update index.php
This commit is contained in:
36
index.php
36
index.php
@@ -43,10 +43,40 @@ if(isset($_POST['username']) && isset($_POST['password'])){
|
|||||||
|
|
||||||
}else{
|
}else{
|
||||||
?>
|
?>
|
||||||
<form action="#" method="POST">
|
<!doctype html>
|
||||||
<label for="username">Username: </label><input id="username" type="text" name="username" />
|
<html lang="en">
|
||||||
<label for="password">Password: </label><input id="password" type="password" name="password" /> <input type="submit" name="submit" value="Submit" />
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
<meta name="description" content="">
|
||||||
|
<meta name="author" content="">
|
||||||
|
|
||||||
|
<title>Gaunt VPN Config Download</title>
|
||||||
|
|
||||||
|
<!-- Bootstrap core CSS -->
|
||||||
|
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.3/css/bootstrap.min.css" rel="stylesheet">
|
||||||
|
|
||||||
|
<!-- Custom styles for this template -->
|
||||||
|
<link href="loginform.css" rel="stylesheet">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
|
|
||||||
|
<form class="form-signin">
|
||||||
|
<h2 class="form-signin-heading">Please sign in</h2>
|
||||||
|
<label for="inputUsername" class="sr-only">Username</label>
|
||||||
|
<input type="text" id="inputUsername" class="form-control" placeholder="Username" required autofocus>
|
||||||
|
<label for="inputPassword" class="sr-only">Password</label>
|
||||||
|
<input type="password" id="inputPassword" class="form-control" placeholder="Password" required>
|
||||||
|
<button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
</div> <!-- /container -->
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
<?php }
|
<?php }
|
||||||
|
|
||||||
function getDN($ad, $samaccountname, $basedn) {
|
function getDN($ad, $samaccountname, $basedn) {
|
||||||
|
|||||||
Reference in New Issue
Block a user