-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.php
46 lines (40 loc) · 1.43 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
<?php
session_start();
if (isset($_SESSION['status'])) {
header("Location:dashboard/index.php");
}
?>
<!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.0">
<link rel="stylesheet" href="style.css">
<title>LOGIN SISTEM ABSENSI</title>
</head>
<body>
<div class="container">
<section class="wrapper">
<h2 class="title">LOGIN CAFE SENJA ☕</h2>
<!-- Notifikasi Login -->
<?php
if (isset($_GET['message'])) {
$msg = $_GET['message'];
echo "<div class='notif-login'</div>$msg</div>";
}
?>
<!-- End Notifikasi Login -->
<div>
<form action="login.php" method="POST" class="form-login">
<label for="">Masukkan Nomer Induk Pegawai</label>
<input type="number" placeholder="Masukkan Nomer Induk" id="nip" name="nip" class="input-login" required autocomplete="off">
<label for="">Masukkan Password</label>
<input type="password" placeholder="******" id="password" name="password" class="input-login" required>
<button class="button-login" name="login">LOGIN</button>
</form>
</div>
</section>
</div>
</body>
</html>