[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
xampp
/
htdocs
/
simaku
/
application
/
views
/
laporan
/
[
Home
]
File: daftar_unit_pdf.php
<html> <style type="text/css"> body { width: 100%; margin: 0.1in; } #kiri { width: 20%; float: left; padding: 10px; } #kanan { width: 80%; } h1, h2, h3, h4, h5, h6, li, blockquote, p, th, td { font-family: Helvetica, Arial, Verdana, sans-serif; /*Trebuchet MS,*/ } h1, h2, h3, h4 { color: #000000; font-weight: normal; } h4, h5, h6 { color: #000000; } h2, h3 { margin: 0 auto auto auto; font-size: large; } li, blockquote, p, th, td { font-size: 80%; } ul { list-style: url(/img/bullet.gif) none; } #footer { border-top: 1px solid #000000; text-align: right; } table, th, td { border: 1px solid black; border-collapse: collapse; font-family: "Trebuchet MS", Arial, sans-serif; color: black; } td, th { padding: 4px; } tr { page-break-inside: avoid; } </style> <body> <table width="100%" style="font-size:80%"> <tr> <td align="left" rowspan="3"> <img src="<?= base_url() ?>images/logo_ueu.gif" width="75" height="75" /> </td> <td align="center" colspan="7"> <h4>DAFTAR UNIT KERJA</h4> </td> </tr> <tr> <td align="center" colspan="7"> <h4>RENCANA ANGGARAN DAN KEGIATAN TAHUNAN (RKAT) <?php echo date("Y"); ?></h4> </td> </tr> <tr> <td align="center" colspan="7"> <h4><?php echo strtoupper($info->row()->namapt); ?></h4> </td> </tr> </table> <table style="page-break-after:auto; page-break-before:auto; font-size:75%" width="100%" border="1" cellpadding="5"> <?php echo '<thead><tr> <th>No</th><th>Kode Unit</th><th>Nama Unit</th><th>Nama Pimpinan</th><th>NIP</th>'; if ($pagu->num_rows() > 0) { echo '<th>' . $pagu->row(0)->sumber . '</th> <th>' . $pagu->row(1)->sumber . '</th> <th>' . $pagu->row(2)->sumber . '</th>'; } echo '<th>Nama User</th> <th>Password</th> </tr></thead>'; $no = 1; foreach ($query->result() as $row) { echo '<tr> <td align="center">' . $no . '</td> <td align="center">' . $row->kode . '</td> <td align="left">' . $row->nama; $q = $this->Mpass->cek_idlog($row->id_unit); foreach ($q as $user) { if ($user->wewenang == 'otorisator2') { echo ' <font color="blue">(otorisator 2)</font>'; } } foreach ($q as $user) { if ($user->wewenang == 'otorisator1') { echo ' <font color="blue">(otorisator 1)</font>'; } } echo '</td> <td align="left">' . $row->nama_pimp . '</td> <td align="center">' . $row->nip . '</td>'; if ($pagu->num_rows() > 0) { echo '<td align="center">' . number_format($row->pagu1, 0, ",", ".") . '</td> <td align="center">' . number_format($row->pagu2, 0, ",", ".") . '</td> <td align="center">' . number_format($row->pagu3, 0, ",", ".") . '</td>'; } echo '<td align="center">' . $row->namauser . '</td> <td align="center">' . $row->pass . '</td> </tr>'; $no++; } echo '</table><br>'; echo '</div>'; ?> </table> </body> </html>