<table style="margin-top: -10px; width: 100%;">
    <tr>
        <td style="margin-top: -10px; width: 20%;"><img src="<?= base_url('images/logo.png'); ?>" width="70" height="50"></td>
        <td style="margin-top: -10px; width: 80%; text-align:center;">
            <b style='font-size:18px;'><?= $abdulradjak['NamaPerusahaan']; ?></b><br>
            <?= $abdulradjak['AlamatPerusahaan']; ?><br>
            <small>Telp. <?= $abdulradjak['TeleponPerusahaan']; ?>, Fax : <?= $abdulradjak['FaxPerusahaan']; ?></small>
        </td>
    </tr>
</table>
<hr>
<h3 style="text-align: center;"><u>SURAT KETERANGAN DOKTER</u></h3>
<div style="text-align: center;">Nomor : <?= $this->uri->segment(3); ?>/SKS/<?= date('Y') ?></div>
<br>
<p>Yang bertanda tangan dibawah ini Dokter Klinik Pratama dr Abdul Radjak Unit Cengkareng Kota Jakarta Barat menerangkan bahwa :</p>
<br><br>
<table>
    <tr>
        <td>Nama</td>
        <td>&nbsp;&nbsp;&nbsp;:&nbsp;&nbsp;&nbsp;</td>
        <td><?= $qdata['Description']; ?></td>
    </tr>
    <tr>
        <td>Tempat/Tgl Lahir</td>
        <td>&nbsp;&nbsp;&nbsp;:&nbsp;&nbsp;&nbsp;</td>
        <td><?= $qdata['HomeCity'] . ' / ' . date('d-m-Y', strtotime($qdata['DOB'])); ?></td>
    </tr>
    <tr>
        <td>Jenis Kelamin</td>
        <td>&nbsp;&nbsp;&nbsp;:&nbsp;&nbsp;&nbsp;</td>
        <td>
            <?php if ($qdata['Sex'] == 1) { ?>
                Perempuan
            <?php } else { ?>
                Laki - Laki
            <?php } ?>
        </td>
    </tr>
    <tr>
        <td>Alamat</td>
        <td>&nbsp;&nbsp;&nbsp;:&nbsp;&nbsp;&nbsp;</td>
        <td><?= $qdata['HomeAddress1']; ?></td>
    </tr>
</table>
<br><br>
<p>Setelah diperiksa kesehatan badan nya pada tanggal tersebut dan kedapatan :
    <u><b><i>SEHAT</i></b></u> surat keterangan ini di pergunakan untuk : Melamar Pekerjaan
</p>
<br><br>
<table>
    <tr>
        <td>Tinggi Badan</td>
        <td>&nbsp;&nbsp;&nbsp;:&nbsp;&nbsp;&nbsp;</td>
        <td><?= $qdata['TinggiBadan']; ?> Cm</td>
    </tr>
    <tr>
        <td>Berat Badan</td>
        <td>&nbsp;&nbsp;&nbsp;:&nbsp;&nbsp;&nbsp;</td>
        <td><?= $qdata['BeratBadan']; ?> Kg</td>
    </tr>
    <tr>
        <td>Tekanan Darah</td>
        <td>&nbsp;&nbsp;&nbsp;:&nbsp;&nbsp;&nbsp;</td>
        <td><?= $qdata['Tensi'] . '/' . $qdata['Diastole']; ?> mm/Hg</td>
    </tr>
    <tr>
        <td>Suhu</td>
        <td>&nbsp;&nbsp;&nbsp;:&nbsp;&nbsp;&nbsp;</td>
        <td><?= $qdata['Suhu']; ?> c</td>
    </tr>
</table>
<br><br>
<div style=" border: 2px solid black; text-align:center;"><br>"Sehat, Tidak Buta Warna dan Hasil Swab Antigen Negatif" <br><br><br> </div>
<br><br><br><br>
<?php $tgl = date('Y-m-d'); ?>
<p style="text-align:right;">Jakarta, <?= $tgl; ?></p>
<p style="text-align:right;margin-top: -10px;">Dokter Klinik Dr.Abdul Radjak
    <br style="margin-top: -10px;">Unit Cengkareng
</p>
<br><br>
<p style="text-align:right;"><b><u><?= $qdata['FirstName']; ?></u></b></p>
<br>
<p style="text-align:right;margin-top: -10px;">NOSIP :</p>