-
Notifications
You must be signed in to change notification settings - Fork 0
/
login_form.php
57 lines (48 loc) · 1.57 KB
/
login_form.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
47
48
49
50
51
52
53
54
55
56
57
<?php
require 'function.php';
if (isset($_POST["submit"])) {
$nomor = $_POST["nomor"];
$password = $_POST["password"];
login($nomor, $password);
}
?>
<!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">
<title>Login</title>
<link rel="stylesheet" href="CSS/login.css">
<link rel="icon" href="img/logo.ico" type="image/icon type">
</head>
<body>
<div class="container">
<div class="navbar">
<div class="logo">
</div>
<h3>PeduliLindungi</h3>
</div>
<div class="form">
<div class="brand">
<div class="logo-2">
</div>
<h3>PeduliLindungi</h3>
</div>
<form action="" method="post">
<label for="nik">Nik / Passport</label>
<br>
<input type="text" id="nik" placeholder="Masukan Nik / Passport" name="nomor" minlength="15" maxlength="16" required><br>
<label for="password">Kata Sandi</label>
<br>
<input type="password" id="password" placeholder="Masukan Kata Sandi" name="password" required><br>
<button id="submit" type="submit" name="submit">MASUK</button>
</form>
<div class="daftar">
<p>Belum punya akun PeduliLindungi? <a href="register_form.php">Daftar</a></p>
</div>
</div>
</div>
</div>
</body>
</html>