View difference between Paste ID: QjJx5q0F and v6v0aACi
SHOW: | | - or go back to the newest paste.
1
<?php
2-
/**
2+
3-
 * SENAYAN application bootstrap files
3+
if(isset($_SESSION['username'])) {
4-
 *
4+
header('location:index.php'); }
5-
 * Copyright (C) 2007,2008  Arie Nugraha (dicarve@yahoo.com)
5+
require_once("koneksi.php");
6-
 * Some modifications & patches by Hendro Wicaksono (hendrowicaksono@yahoo.com)
6+
?>
7-
 *
7+
<html>
8-
 * This program is free software; you can redistribute it and/or modify
8+
<head>
9-
 * it under the terms of the GNU General Public License as published by
9+
<title>Form Login</title>
10-
 * the Free Software Foundation; either version 3 of the License, or
10+
</head>
11-
 * (at your option) any later version.
11+
<body>
12-
 *
12+
<center>
13-
 * This program is distributed in the hope that it will be useful,
13+
<form action="proseslogin.php" method="post">
14-
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
<tr><td colspan="2" align="center"><h1>Masuk</h1></td></tr>
15-
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15+
<table>
16-
 * GNU General Public License for more details.
16+
<tr><td>Username</td><td> : <input type="text" name="username"></td></tr>
17-
 *
17+
<tr><td>Password</td><td> : <input type="password" name="password"></td></tr>
18-
 * You should have received a copy of the GNU General Public License
18+
<tr><td colspan="2" align="right"><input type="submit" value="Login"> <input type="reset" value="Batal"></td></tr>
19-
 * along with this program; if not, write to the Free Software
19+
<tr><td colspan="2" align="center">Belum Punya akun ? <a href="daftar.php"><b>Daftar</b></a></td></tr>
20-
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
20+
</table>
21-
 *
21+
</form>
22-
 */
22+
</center>
23-
23+
</body>
24-
// key to authenticate
24+
</html>