-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdetail_pengaduan.php
80 lines (60 loc) · 2.84 KB
/
detail_pengaduan.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>SB Admin 2 - Blank</title>
<!-- Custom fonts for this template-->
<link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet">
<!-- Custom styles for this template-->
<link href="css/sb-admin-2.min.css" rel="stylesheet">
</head>
<body id="page-top">
<div class="card shadow">
<div class="card-header">
Detail Pengaduan
</div>
<div class="card-body">
<a href="?url=lihat_pengaduan" class="btn btn-success col-sm-1 btn-sm"><i class="fas fa-arrow-left"></i>Kembali</a>
</div>
<div class="card-body">
<form action="" method="post" class="form-horizontal" enctype="multipart/form-data">
<?php
require("koneksi.php");
$query = mysqli_query($koneksi, "SELECT * FROM pengaduan WHERE id_pengaduan='$_GET[id]'");
$data = mysqli_fetch_array($query);
if ($query) {
?>
<div class="form-group col-sm-6">
<label>Tanggal Pengaduan</label>
<input type="text" name="tgl_pengaduan" value="<?= $data['tgl_pengaduan']; ?>" class="form-control" readonly>
</div>
<!-- <div class="form-group col-sm-6">
<label>NIK</label>
<input type="text" name="nik" value="<?= $_SESSION['nik']; ?>" class="form-control" readonly>
</div> -->
<div class="form-group col-sm-6">
<label>Tulis Laporan</label>
<textarea type="text" name="isi_laporan" rows="7" class="form-control" readonly><?= $data['isi_laporan'] ?></textarea>
</div>
<div class="form-group col-sm-6">
<label>Bukti Foto:</label>
<img src="foto/<?= $data['foto'] ?>" width="150" readonly>
</div>
<?php } ?>
</form>
</div>
</div>
<!-- Bootstrap core JavaScript-->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Core plugin JavaScript-->
<script src="vendor/jquery-easing/jquery.easing.min.js"></script>
<!-- Custom scripts for all pages-->
<script src="js/sb-admin-2.min.js"></script>
</body>
</html>