-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadmin.php
More file actions
50 lines (48 loc) · 918 Bytes
/
Copy pathadmin.php
File metadata and controls
50 lines (48 loc) · 918 Bytes
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
<!DOCTYPE html>
<?php
/*
if (empty($_SESSION['id_user']) AND empty($_SESSION['level']))
{
echo "gagal";
}
// ============== JIKA LOGIN BERHASILL ==========
else{
$sql = "SELECT * FROM parkir WHERE nim ='$nim'";
if(!$result = $db->query($sql)){
die('There was an error running the query [' . $db->error . ']');
}
$value = $result->fetch_assoc();
$id_status_mhs_dt=$value['id_status_mhs'];
*/
?>
<html>
<head>
<title>Administrator</title>
</head>
<body>
<form align="center" action="admin_aksi.php" method="POST">
<table>
<tr>
<td>Nama</td>
<td>: </td>
<td><input type="text" name="name" /></td>
</tr>
<tr>
<td>Username</td>
<td>: </td>
<td><input type="text" name="username" /></td>
</tr>
<tr>
<td>Password</td>
<td>: </td>
<td><input type="text" name="password" /></td>
</tr>
</table>
<br/>
<input type="submit" value="Simpan" />
</form>
</body>
</html>
<?php
// }
?>