-
Notifications
You must be signed in to change notification settings - Fork 0
/
listPengaduanPublik.html
75 lines (64 loc) · 2.7 KB
/
listPengaduanPublik.html
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
<?php
require_once("config.php");
$connection = new mysqli($db_host, $db_username, $db_password, $db_name);
$result = $connection->query("SELECT pengaduan.id, pengaduan.nama_pelapor, pengaduan.judul, pengaduan.tanggal, pengaduan.isi,pengaduan.status, pengaduan.link_foto, taman.nama FROM pengaduan,taman where pengaduan.tid = taman.id");
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="product" content="Metro UI CSS Framework">
<meta name="description" content="Simple responsive css framework">
<meta name="author" content="Sergey S. Pimenov, Ukraine, Kiev">
<link href="css/metro-bootstrap.css" rel="stylesheet">
<link href="css/metro-bootstrap-responsive.css" rel="stylesheet">
<link href="css/iconFont.css" rel="stylesheet">
<link href="css/docs.css" rel="stylesheet">
<link href="js/prettify/prettify.css" rel="stylesheet">
<!-- Load JavaScript Libraries -->
<script src="js/jquery/jquery.min.js"></script>
<script src="js/jquery/jquery.widget.min.js"></script>
<script src="js/jquery/jquery.mousewheel.js"></script>
<script src="js/prettify/prettify.js"></script>
<!-- Metro UI CSS JavaScript plugins -->
<script src="js/load-metro.js"></script>
<!-- Local JavaScript -->
<script src="js/docs.js"></script>
<script src="js/github.info.js"></script>
<title>Daftar Pengaduan</title>
</head>
<body class="metro" background-color="green">
<div class="navigation-bar dark">
<div class="navigation-bar-content container">
<a href="homeUser.html" class="element"><span class="icon-home"></span><b> Home</b></a>
<a href="listPengaduanPublik.html" class="element"><span class="icon-list"></span><b> Daftar Pengaduan</b></a>
</div>
</div>
<div class="">
<div style="background: url(images/bg.jpg); background-size: cover; height:1000px">
<div class="container" style="padding: 20px 10px">
<div class="row">
<div class="panel-content fg-dark nlp nrp">
<?php
while ($row = $result->fetch_array())
{
?>
<div class="bg-darkBlue" style="height: 200px">
<img src="images/lansia1.jpg" class="place-left margin20 nlm ntm size4" style="height: 200px">
<h2 class="fg-white" style="padding: 10px 10px"><?php echo $row['judul'];?></h2>
<p class="fg-yellow" style="font-size: 20px"><?php echo $row['nama'];?> | <?php echo $row['tanggal'];?> | <?php echo $row['status'];?></p>
<p class="fg-white"><?php echo $row['isi'];?></p>
</div><br>
<?php
}
?>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="js/hitua.js"></script>
</body>
</html>