-
Notifications
You must be signed in to change notification settings - Fork 0
/
form_warna.php
56 lines (54 loc) · 1.01 KB
/
form_warna.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
<?php
if ($_SESSION['level'] == "admin")
{
?>
<html>
<head>
<title>Untitled Document</title>
<style type="text/css">
td
{
padding:5px 9px;
border:none;
}
</style>
</head>
<body>
<div id="judulHalaman"><strong>Form Tambah Warna</strong></div>
<form id="form1" name="form1" method="post" action="proses.php">
<input name="proses" type="hidden" value="warna_insert" />
<table border="0" cellspacing="1" cellpadding="0">
<tr>
<td>Kategori </td>
<td>:</td>
<td><label>
<input type="text" name="nama" id="input" />
</label></td>
</tr>
<tr>
<td>warna</td>
<td>:</td>
<td><label>
<input type="text" name="warna" id="input" />
</label></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td>
<input type="submit" name="simpan" id="tombol" value="simpan" />
<input type="reset" name="batal" id="tombol" value="batal" />
</td>
</tr>
</table>
</form>
<p> </p>
</body>
</html>
<?php
}
else
{
echo "anda tidak berhak meng-akses halaman ini !";
}
?>