You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
2.4 KiB
PHP
73 lines
2.4 KiB
PHP
<?php
|
|
if (IN_ADMIN !== true) {
|
|
die("Error.");
|
|
}
|
|
?>
|
|
<!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">
|
|
<meta name="description" content="">
|
|
<meta name="author" content="">
|
|
|
|
<title>TerranQuest :: Login</title>
|
|
|
|
<!-- Bootstrap Core CSS -->
|
|
<link href="css/bootstrap.min.css" rel="stylesheet">
|
|
|
|
<!-- Custom Fonts -->
|
|
<link href="css/font-awesome.min.css" rel="stylesheet" type="text/css">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="container">
|
|
<div class="row">
|
|
<br /><br />
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-4 col-md-offset-4 col-sm-8 col-sm-offset-2">
|
|
|
|
<?php
|
|
if ($page == "logout") {
|
|
?>
|
|
<div class="alert alert-success alert-dismissable">
|
|
You have logged out.
|
|
</div>
|
|
<?php
|
|
}
|
|
?>
|
|
|
|
<div class="login-panel panel panel-default">
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title">Please Sign In</h3>
|
|
</div>
|
|
<div class="panel-body">
|
|
<form role="form" action="" method="POST">
|
|
<fieldset>
|
|
<div class="form-group">
|
|
<input class="form-control" placeholder="Username" name="username" type="text" autofocus>
|
|
</div>
|
|
<div class="form-group">
|
|
<input class="form-control" placeholder="Password" name="password" type="password" value="">
|
|
</div>
|
|
<!-- Change this to a button or input when using this as a form -->
|
|
<input type="submit" href="index.html" class="btn btn-lg btn-success btn-block" value="Login" />
|
|
</fieldset>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|