-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.php
40 lines (29 loc) · 821 Bytes
/
login.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
<!DOCTYPE html>
<html>
<head>
<title>LOGIN PAGE</title>
<link rel="stylesheet" type="text/css" href="css/login.css">
</head>
<body>
<h1>LOGIN PAGE</h1>
<?php
if(isset($_GET['pesan'])){
if($_GET['pesan']=="gagal"){
echo "<div class='alert'>Username dan Password tidak sesuai !</div>";
}
}
?>
<div class="kotak_login">
<p class="tulisan_login">Silahkan login</p>
<form action="cek_login.php" method="post">
<label>Username</label>
<input type="text" name="username" class="form_login" placeholder="Username" required="required">
<label>Password</label>
<input type="password" name="password" class="form_login" placeholder="Password" required="required">
<input type="submit" class="tombol_login" value="LOGIN">
<br/>
<br/>
</form>
</div>
</body>
</html>