You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

27 lines
755 B

<?php
session_start();
if (isset($_SESSION['nim'])) {
header('location:index.php');
}
require_once("conn/db.php");
?>
<html>
<head>
<title>Login Pemira</title>
<link rel="stylesheet" href="public/css/bootstrap.min.css" />
</head>
<body>
<form action="authenticate.php" method="POST">
<div class="input-group">
<span class="input-group-addon" id="basic-addon1">@</span>
<input type="text" name="nim" class="form-control" placeholder="Username" aria-describedby="basic-addon1">
<input type="password" name="pass" class="form-control" placeholder="Password" aria-describedby="basic-addon1">
<input type="submit" name="formSubmit" value="Login" />
</div>
</form>
</body>
</html>