View difference between Paste ID: ahbiAwSY and r3RniGhp
SHOW: | | - or go back to the newest paste.
1
<?php
2
session_start();
3
if(isset($_SESSION['username'])) {
4
header('location:index.php'); }
5
require_once("koneksi.php");
6
?>
7
<html>
8
<head>
9
<title>Form Login</title>
10
</head>
11
<body>
12
<center>
13
<form action="proseslogin.php" method="post">
14
<tr><td colspan="2" align="center"><h1>Masuk</h1></td></tr>
15
<table>
16
<tr><td>Username</td><td> : <input type="text" name="username"></td></tr>
17
<tr><td>Password</td><td> : <input type="password" name="password"></td></tr>
18
<tr><td colspan="2" align="right"><input type="submit" value="Login"> <input type="reset" value="Batal"></td></tr>
19
<tr><td colspan="2" align="center">Belum Punya akun ? <a href="daftar.php"><b>Daftar</b></a></td></tr>
20
</table>
21
</form>
22
</center>
23
</body>
24
</html>