-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathreport.php
More file actions
154 lines (141 loc) · 7.42 KB
/
report.php
File metadata and controls
154 lines (141 loc) · 7.42 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<?php
include 'config/controller.php';
session_start();
if(!isset($_SESSION['username'])){
header('location:login.php');
}
$db = new database();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous" />
<script src="assets/js/dashboard.js"></script>
<link rel="stylesheet" href="assets/css/dashboard.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.1/font/bootstrap-icons.css" />
<title>Report</title>
</head>
<body>
<header class="navbar navbar-dark bg-primary sticky-top flex-md-nowrap">
<a class="fs-4 navbar-brand col-md-3 col-lg-2 px-3" href="index.php">Perpustakaan</a>
<button class="m-2 navbar-toggler position-absolute top-0 end-0 d-md-none collapsed" type="button"
data-bs-toggle="collapse" data-bs-target="#sidebarMenu" aria-controls="sidebarMenu" aria-expanded="false"
aria-label="Toggle Navigation">
<span class="navbar-toggler-icon"></span>
</button>
<span class="w-100"></span>
<div class="nav-item text-nowrap">
<a class="nav-link px-3 text-light" data-bs-toggle="modal" data-bs-target="#modalLogout"
style="cursor: pointer">Log Out</a>
</div>
</header>
<div class="container-fluid">
<div class="row">
<nav id="sidebarMenu"
class="sidebar bg-primary bg-opacity-10 collapse col-md-3 col-lg-2 d-md-block position-fixed">
<div class="position-sticky pt-4">
<ul class="nav flex-column">
<li class="nav-item">
<a href="index.php" class="nav-link"><i class="bi bi-house-door me-2"></i>Dashboard</a>
</li>
<li class="nav-item">
<a href="peminjaman.php" class="nav-link"><i class="bi bi-book me-2"></i>Peminjaman Buku</a>
</li>
<li class="nav-item">
<a href="buku.php" class="nav-link"><i class="bi bi-bookshelf me-2"></i>Data Buku</a>
</li>
<li class="nav-item">
<a href="anggota.php" class="nav-link"><i class="bi bi-people me-2"></i>Data Anggota</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link active"><i class="bi bi-journal me-2"></i></i>Report</a>
</li>
</ul>
</div>
</nav>
<div class="col-md-9 ms-sm-auto col-lg-10 mt-5">
<h2 class="fs-1 fw-normal text-capitalize">
Report
</h2>
<hr />
<div class="table-responsive">
<table class="table table-hover mt-2 w-100 border border-dark ">
<thead class="text-center table-primary align-middle">
<th>No</th>
<th>Report</th>
<th>Opsi</th>
</thead>
<tbody class="align-middle">
<td class="text-center">1</td>
<td class="text-center">Laporan Peminjaman Bulanan</td>
<td class="text-center col-1">
<div class="btn-group">
<a href="report/peminjamanbulanan.php" class="btn btn-primary" title="Cetak Report"
data-bs-toggles="tooltip" data-bs-placement="top" target="__blank"><i
class="bi bi-printer"></i></a>
</div>
</td>
</tbody>
<tbody class="align-middle">
<td class="text-center">2</td>
<td class="text-center">Laporan Denda Bulanan</td>
<td class="text-center col-1">
<div class="btn-group">
<a href="report/dendabulanan.php" class="btn btn-primary" title="Cetak Report"
data-bs-toggles="tooltip" data-bs-placement="top" target="__blank"><i
class="bi bi-printer"></i></a>
</div>
</td>
</tbody>
<tbody class="align-middle">
<td class="text-center">3</td>
<td class="text-center">Laporan Buku</td>
<td class="text-center col-1">
<div class="btn-group">
<a href="report/laporanBuku.php" class="btn btn-primary" title="Cetak Report"
data-bs-toggles="tooltip" data-bs-placement="top" target="__blank"><i
class="bi bi-printer"></i></a>
</div>
</td>
</tbody>
<tbody class="align-middle">
<td class="text-center">4</td>
<td class="text-center">Laporan Anggota Baru</td>
<td class="text-center col-1">
<div class="btn-group">
<a href="report/anggotaBulanan.php" class="btn btn-primary" title="Cetak Report"
data-bs-toggles="tooltip" data-bs-placement="top" target="__blank"><i
class="bi bi-printer"></i></a>
</div>
</td>
</tbody>
</div>
</div>
</div>
<!-- Modal Logout -->
<div class="modal fade" id="modalLogout" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Anda akan Logout !</h5>
</div>
<div class="modal-footer">
<form method="post" action="config/process.php?aksi=logout">
<button type="button" class="btn btn-outline-primary"
data-bs-dismiss="modal">Kembali</button>
<button type="submit" class="btn btn-outline-primary">Ya</button>
</form>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous">
</script>
</body>
</html>