feat: Implement Age Report, Dynamic Headers, KK Auto-Link, and Rebranding

- Added Age Classification Report (admin/laporan/laporan_klasifikasi.php)
- Updated Reports to use Dynamic Village Profile (tb_profil)
- Use 'nama_desa' column for village name
- Enhanced KK Scan to auto-link existing members by NIK
- Updated Index menu for Age Report (Admin & Kaur scope)
- Rebranded Footer to Wartana 2026
- Removed legacy 'Versi 2020' text
This commit is contained in:
2026-01-18 21:51:20 +08:00
parent 3935519d02
commit 7c71bdc1f9
10 changed files with 206 additions and 17 deletions

View File

@@ -1,6 +1,11 @@
<?php
include "../inc/koneksi.php";
$tanggal = date("d/m/y");
// Ambil Data Profil
$sql_profil = "SELECT * FROM tb_profil WHERE id_profil='1'";
$query_profil = mysqli_query($koneksi, $sql_profil);
$data_profil = mysqli_fetch_array($query_profil,MYSQLI_BOTH);
?>
<!DOCTYPE html>
<html lang="en">
@@ -9,8 +14,9 @@
</head>
<body>
<center>
<h2>PEMERINTAH KABUPATEN PERCONTOHAN</h2>
<h3>KECAMATAN PERCONTOHAN <br> DESA PERCONTOHAN</h3>
<h2>PEMERINTAH KABUPATEN <?php echo strtoupper($data_profil['kabupaten']); ?></h2>
<h3>KECAMATAN <?php echo strtoupper($data_profil['kecamatan']); ?> <br> DESA <?php echo strtoupper($data_profil['nama_desa']); ?></h3>
<p><?php echo $data_profil['alamat']; ?></p>
<p>________________________________________________________________________</p>
<h3>LAPORAN DATA PENDUDUK</h3>
<p align="left">Dicetak Tanggal : <?php echo $tanggal; ?></p>