-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathadmin-data_user_petugas.php
More file actions
101 lines (73 loc) · 2.75 KB
/
Copy pathadmin-data_user_petugas.php
File metadata and controls
101 lines (73 loc) · 2.75 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<htmL>
<title>Koperasi</title>
<head>
<link type="text/css" rel="stylesheet" href="css/style-admin.css" media="screen">
</head>
<body>
<div id="wrapper">
<div class="sidebar">
<div class="head_sidebar">
<h3 class="kop">Koperasi</h3><span>Ulul Albab</span>
</div>
<div class="isi_sidebar">
<img src="gambar/koperasi.png" class="img"><br>
<span>Ulul</span><h3 class="logo">Albab</h3>
<div class="menu">
<div>
<input id="ac-1" type="checkbox" checked>
<label for="ac-1"><img src="gambar/admin.png">Beranda</label>
<article class="artikel-1">
<li><a href="admin.php">Home</a></li>
</article>
</div>
<div>
<input id="ac-2" type="checkbox">
<label for="ac-2"><img src="gambar/user.png">User</label>
<article class="artikel-2">
<li><a href="admin-data_petugas.php">Input Petugas</a></li>
<li><a href="admin-data_user_petugas.php">Data Petugas</a></li>
<li><a href="admin-data_anggota.php">Input Anggota</a></li>
<li><a href="admin-data_user_anggota.php">Data Anggota</a></li>
</article>
</div>
<div>
<input id="ac-3" type="checkbox" >
<label for="ac-3"><img src="gambar/laporan.png">Laporan</label>
<article class="artikel-3">
<li><a href="admin-laporan_simpanan.php">Simpanan</a></li>
<li><a href="admin-laporan_pinjaman.php">Pinjaman</a></li>
<li><a href="admin-laporan_angsuran.php">Angsuran</a></li>
</article>
</div>
</div>
</div>
</div>
<div class="konten">
<div class="head_konten">
<span><?php echo date("l, d F Y"); ?></span>
<table align="right">
<tr>
<td><tulisan><h4>Welcome ,(<?php session_start(); echo $_SESSION['username'] ; ?>)</h4></tulisan></td><td><a href="logout.php"><h3>Logout</h3></a></td>
</tr>
</table>
</div>
<div class="isi_konten">
<div class="isi">
<div class="title"><img src="gambar/add_user.png">Data Petugas</div>
<?php
mysql_connect("localhost","root","");
mysql_select_db("koperasi_ujikom");
echo"<table class='border'>
<tr bgcolor='#009999' ><th>ID Petugas</th><th>Nama Petugas</th><th>Alamat Petugas</th><th>No Telepon</th><th>Tempat Lahir</th><th>Tanggal Lahir</th><th>Keterangan</th><th>Aksi</th></tr>
";
$query=mysql_query("select * from petugas_koperasi");
while($a=mysql_fetch_array($query)){
echo"<tr><td>$a[id_petugas]</td><td>$a[nama]</td><td>$a[alamat]</td><td>$a[no_telepon]</td><td>$a[tempat_lahir]</td><td>$a[tanggal_lahir]</td><td>$a[keterangan]</td><td><a href='update_petugas.php?id_petugas=$a[id_petugas]'><input type='image' src='gambar/edit.jpg' width='40px' height='30px'></a><img src='gambar/slash.png' height='20' width='20'><a href='form/delete_petugas.php?id_petugas=$a[id_petugas]'><input type='image' src='gambar/delete.jpg' width='40px' height='30px'></a></td></td></tr>";
}
?>
</div>
</div>
</div>
</div>
</body>
</html>