```php
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>Rekap Penghargaan Murid</title>

    <style>
        body {
            font-family: DejaVu Sans, sans-serif;
            font-size: 11px;
        }

        .judul {
            text-align: center;
            margin-bottom: 18px;
        }

        .judul h2 {
            margin: 0;
            font-size: 18px;
            text-transform: uppercase;
        }

        .judul h3 {
            margin: 4px 0;
            font-size: 14px;
            font-weight: normal;
        }

        .judul p {
            margin: 0;
            font-size: 11px;
        }

        .info {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 15px;
        }

        .info td {
            border: none;
            padding: 3px;
        }

        .tabel {
            width: 100%;
            border-collapse: collapse;
        }

        .tabel th,
        .tabel td {
            border: 1px solid #000;
            padding: 5px;
        }

        .tabel th {
            text-align: center;
            background: #d9d9d9;
            font-weight: bold;
        }

        .center {
            text-align: center;
        }

        .right {
            text-align: right;
        }

        .ttd {
            width: 100%;
            margin-top: 45px;
            border: none;
        }

        .ttd td {
            border: none;
            width: 50%;
            text-align: center;
        }

        .nama {
            margin-top: 70px;
            font-weight: bold;
            text-decoration: underline;
        }
    </style>

</head>

<body>

    <div class="judul">

        <h2>REKAP PENGHARGAAN MURID</h2>


        <br>

        <h2>KELAS <?= strtoupper($kelas['nama_kelas']); ?></h2>

    </div>


    <table class="info">

        <tr>

            <td width="18%"><b>Kelas</b></td>
            <td width="2%">:</td>
            <td width="30%"><?= $kelas['nama_kelas']; ?></td>

            <td width="18%"><b>Tanggal Cetak</b></td>
            <td width="2%">:</td>
            <td><?= $tanggal; ?></td>

        </tr>

        <tr>

            <td><b>Wali Kelas</b></td>
            <td>:</td>
            <td><?= $walikelas['nama'] ?? '-'; ?></td>

            <td><b>Jam Cetak</b></td>
            <td>:</td>
            <td><?= $jam; ?></td>

        </tr>

    </table>


    <table class="tabel">

        <thead>

            <tr>

                <th width="5%">No</th>

                <th width="12%">NIS</th>

                <th width="25%">Nama Murid</th>

                <th>Jenis Penghargaan</th>
                <th width="18%">Keterangan</th>

                <th width="18%">Guru Pencatat</th>
                <th width="13%">Tanggal</th>
                <th width="8%">Poin</th>
            </tr>

        </thead>

        <tbody>

            <?php if (!empty($penghargaan)): ?>

                <?php
                $no = 1;
                $totalPoin = 0;

                foreach ($penghargaan as $p):

                    $totalPoin += $p['poin'];
                ?>

                    <tr>

                        <td class="center"><?= $no++; ?></td>

                        <td class="center"><?= $p['nis']; ?></td>

                        <td><?= $p['nama']; ?></td>

                        <td><?= $p['nama_penghargaan']; ?></td>
                        <td><?= $p['keterangan_tambahan'] ?: '-'; ?></td>
                        <td><?= $p['nama_guru']; ?></td>
                        <td class="center"><?= date('d-m-Y H:i:s', strtotime($p['tanggal'])); ?></td>
                        <td class="center"><?= $p['poin']; ?></td>
                    </tr>

                <?php endforeach; ?>

            <?php else: ?>

                <tr>

                    <td colspan="8" class="center">

                        Belum ada data penghargaan.

                    </td>

                </tr>

            <?php endif; ?>

        </tbody>


    </table>


    <table class="ttd" width="100%">
        <tr>

            <td style="padding-top:40px;">
                Guru BK
                <div class="nama">
                    <?= $gurubk['nama'] ?? '(...................................)'; ?>
                </div>
            </td>

            <td style="padding-top:40px;">
                Bandung, <?= $tanggal; ?><br>
                Wali Kelas
                <div class="nama">
                    <?= $gurubk['nama'] ?? '(...................................)'; ?>
                </div>
            </td>

        </tr>
        <tr></tr>
        <tr></tr>
        <tr>

            <td>
                Mengetahui,<br>
                Plt. Kepala SMP Negeri 5 Bandung
                <div class="nama">
                    Trismawati, S.S., M.Pd.
                </div>
            </td>

            <td>

                Wakasek Kesiswaan
                <div class="nama">
                    <?= $kesiswaan['nama'] ?? '(...................................)'; ?>
                </div>
            </td>

        </tr>



    </table>

</body>

</html>
```